/* Program Advantages Carousel – 97bc3e3a */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Roboto+Slab:wght@400;600;700&display=swap');

.pac-97bc-section {
    width: 100%;
    padding: 80px 0;
    background-color: #FAFDF7;
    overflow: hidden;
    position: relative;
}

/* Header */
.pac-97bc-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 24px;
}

.pac-97bc-title {
    font-family: 'Roboto Slab', 'Georgia', serif;
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.pac-97bc-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #54595F;
    line-height: 1.7;
    margin: 0;
}

/* Carousel Wrapper */
.pac-97bc-carousel-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* SVG Wave Lines */
.pac-97bc-wave-svg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 320px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.pac-97bc-wave-path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #0A2463; /* Changed from green to blue */
    opacity: 0.1; /* Adjusted for visual balance with blue */
}

@keyframes pac97bcWaveDrift1 {
    0%, 100% { d: path("M0,200 C150,100 300,280 450,180 C600,80 750,260 900,160 C1050,60 1150,200 1200,160"); }
    50%      { d: path("M0,190 C150,120 300,260 450,170 C600,100 750,240 900,150 C1050,80 1150,190 1200,170"); }
}

@keyframes pac97bcWaveDrift2 {
    0%, 100% { d: path("M0,180 C120,260 280,100 420,200 C560,300 720,120 860,220 C1000,320 1100,140 1200,200"); }
    50%      { d: path("M0,190 C120,240 280,120 420,210 C560,280 720,140 860,210 C1000,300 1100,160 1200,190"); }
}

@keyframes pac97bcWaveDrift3 {
    0%, 100% { d: path("M0,220 C180,120 320,300 500,190 C680,80 800,280 950,170 C1100,60 1180,220 1200,180"); }
    50%      { d: path("M0,210 C180,140 320,280 500,200 C680,100 800,260 950,180 C1100,80 1180,210 1200,190"); }
}

.pac-97bc-wave-1 { animation: pac97bcWaveDrift1 8s ease-in-out infinite; }
.pac-97bc-wave-2 { animation: pac97bcWaveDrift2 10s ease-in-out infinite; }
.pac-97bc-wave-3 { animation: pac97bcWaveDrift3 12s ease-in-out infinite; }

/* Track */
.pac-97bc-track-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 40px 0;
}

.pac-97bc-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Slides */
.pac-97bc-slide {
    flex: 0 0 33.333%;
    padding: 0 14px;
    box-sizing: border-box;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0.85);
    opacity: 0.5;
}

.pac-97bc-slide.pac-97bc-active {
    transform: scale(1);
    opacity: 1;
}

.pac-97bc-slide.pac-97bc-adjacent {
    transform: scale(0.9);
    opacity: 0.7;
}

/* Card */
.pac-97bc-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pac-97bc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A2463, #3B82F6); /* Changed from green to blue */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pac-97bc-active .pac-97bc-card::before {
    opacity: 1;
}

.pac-97bc-active .pac-97bc-card {
    box-shadow: 0 12px 45px rgba(10, 36, 99, 0.12); /* Changed from green to blue */
}

/* Card Image */
.pac-97bc-card-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.pac-97bc-card-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #EBF5FF; /* Changed from green to blue */
    background: linear-gradient(135deg, #EBF5FF 0%, #F5F9FF 100%); /* Changed from green to blue */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 4px 16px rgba(10, 36, 99, 0.1); /* Changed from green to blue */
}

.pac-97bc-active .pac-97bc-card-img {
    transform: scale(1.08);
    border-color: #0A2463; /* Changed from green to blue */
}

.pac-97bc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* Card Text */
.pac-97bc-card-title {
    font-family: 'Roboto Slab', 'Georgia', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.35;
}

.pac-97bc-card-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #7A7A7A;
    line-height: 1.65;
    margin: 0;
}

/* Navigation */
.pac-97bc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    position: relative;
    z-index: 2;
}

.pac-97bc-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0A2463; /* Changed from green to blue */
    background-color: #0A2463; /* Changed from green to blue */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.2); /* Changed from green to blue */
    padding: 0;
    outline: none;
}

.pac-97bc-nav-btn svg {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.pac-97bc-nav-btn:hover {
    background-color: #051336; /* Changed from green to blue */
    border-color: #051336; /* Changed from green to blue */
    box-shadow: 0 6px 20px rgba(10, 36, 99, 0.35); /* Changed from green to blue */
    transform: scale(1.08);
}

/* Dots */
.pac-97bc-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pac-97bc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #BFDBFE; /* Changed from green to blue */
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
}

.pac-97bc-dot.pac-97bc-dot-active {
    background-color: #0A2463; /* Changed from green to blue */
    width: 28px;
    border-radius: 5px;
}

/* Fade-in animation for section */
@keyframes pac97bcFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pac-97bc-header {
    animation: pac97bcFadeUp 0.7s ease-out both;
}

.pac-97bc-carousel-wrap {
    animation: pac97bcFadeUp 0.8s 0.15s ease-out both;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pac-97bc-title {
        font-size: 34px;
    }
    .pac-97bc-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .pac-97bc-section {
        padding: 60px 0;
    }
    .pac-97bc-title {
        font-size: 28px;
    }
    .pac-97bc-desc {
        font-size: 15px;
    }
    .pac-97bc-slide {
        flex: 0 0 75%;
    }
    .pac-97bc-card {
        padding: 28px 20px 22px;
    }
    .pac-97bc-card-img {
        width: 100px;
        height: 100px;
    }
    .pac-97bc-nav-btn {
        width: 42px;
        height: 42px;
    }
    .pac-97bc-wave-svg {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .pac-97bc-section {
        padding: 48px 0;
    }
    .pac-97bc-title {
        font-size: 24px;
    }
    .pac-97bc-header {
        margin-bottom: 32px;
    }
    .pac-97bc-slide {
        flex: 0 0 85%;
    }
    .pac-97bc-card-title {
        font-size: 16px;
    }
    .pac-97bc-card-desc {
        font-size: 13px;
    }
    .pac-97bc-card-img {
        width: 88px;
        height: 88px;
    }
    .pac-97bc-track-container {
        padding: 24px 0;
    }
}
