/* ============================================
   SECTION BACKGROUNDS - CONSISTENT PATTERN
   ============================================ */

/* Standard Section Backgrounds */
.section-white {
    background: var(--white);
}

.section-light {
    background: var(--bg-light);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

/* About Home Section */
.about-home-section {
    padding: 7rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fb 100%);
    position: relative;
    overflow: hidden;
}

.about-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(18, 41, 107, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(26, 95, 212, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about-home-section .container {
    position: relative;
    z-index: 2;
}

.about-home-section .section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.about-home-section .section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.about-home-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

.about-home-section .section-header p {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .about-home-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-home-right {
        grid-column: span 2;
        flex-direction: row;
        gap: 1rem;
    }
}

/* Fix homepage About accordion cards at tablet sizes - make full width */
@media (max-width: 1200px) and (min-width: 768px) {
    .about-home-right {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }

    .about-card,
    .homepage-about-card {
        width: 100%;
        max-width: 100%;
        flex: none;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-home-right {
        grid-column: span 1;
        flex-direction: column;
    }
}

.about-home-left {
    display: flex;
    flex-direction: column;
    padding-right: 1rem;
}

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 95, 212, 0.1) 0%, rgba(18, 41, 107, 0.08) 100%);
    color: var(--secondary-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    width: fit-content;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid rgba(26, 95, 212, 0.15);
}

.about-home-left h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.75rem;
    margin-top: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about-home-left p {
    font-size: 1.05rem;
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.85;
    margin-bottom: 2.5rem;
    font-family: 'DM Sans', sans-serif;
}

/* Legacy button classes - standardized */
.btn-about-learn {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 1.125rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(26, 95, 212, 0.25);
}

.btn-about-learn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-about-learn:hover::before {
    left: 100%;
}

.btn-about-learn:hover {
    background: #1a5fd4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 212, 0.4);
}

.about-home-center {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: clamp(400px, 50vw, 650px);
    box-shadow: 
        0 10px 40px rgba(18, 41, 107, 0.12),
        0 2px 8px rgba(18, 41, 107, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.about-home-center:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 50px rgba(18, 41, 107, 0.15),
        0 4px 12px rgba(18, 41, 107, 0.1);
}

.about-home-center img {
    width: 65%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.about-home-center:hover img {
    transform: scale(1.05);
}

/* Homepage-specific About Us Styles - Larger and More Prominent */
.homepage-about {
    padding: 7rem 0;
    background: linear-gradient(to bottom, #fafbfc 0%, #f8fafc 100%);
}

.homepage-about-grid {
    gap: 5rem;
    align-items: stretch;
}

.homepage-about-left {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homepage-about-heading {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.homepage-about-left p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--dark-text);
    opacity: 0.85;
}

.homepage-about-center {
    min-height: clamp(400px, 50vw, 700px);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.homepage-about-center img {
    width: 100%;
    height: 100%;
    min-height: clamp(400px, 50vw, 700px);
    object-fit: cover;
    object-position: 15% center;
    opacity: 1;
    display: block;
    position: relative;
    z-index: 1;
    display: block;
    transition: transform 0.5s ease;
}

.homepage-about-center:hover img {
    transform: scale(1.02);
}

.homepage-about-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.homepage-about-card {
    padding: 2rem;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.homepage-about-card.about-card-expanded {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #1a5fd4 100%);
    border-color: var(--secondary-blue);
    box-shadow: 
        0 12px 40px rgba(26, 95, 212, 0.25),
        0 4px 16px rgba(26, 95, 212, 0.15);
}

.homepage-about-card.about-card-expanded h3,
.homepage-about-card.about-card-expanded p {
    color: var(--white);
}

.homepage-about-card.about-card-expanded .about-card-toggle svg {
    stroke: var(--white);
}

.homepage-about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.homepage-about-card p {
    font-size: 1rem;
    line-height: 1.75;
}

.about-home-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.about-card {
    background: var(--white);
    border: 1.5px solid rgba(18, 41, 107, 0.1);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 
        0 2px 12px rgba(18, 41, 107, 0.06),
        0 1px 4px rgba(18, 41, 107, 0.04);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-gold), var(--secondary-blue));
    transition: height 0.4s ease;
    border-radius: 0 2px 2px 0;
}

.about-card:hover::before {
    height: 100%;
}

.about-card:hover {
    box-shadow: 
        0 8px 30px rgba(18, 41, 107, 0.12),
        0 4px 12px rgba(18, 41, 107, 0.08);
    transform: translateY(-4px);
    border-color: rgba(26, 95, 212, 0.2);
}

.about-card-expanded {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #1a5fd4 100%);
    border-color: var(--secondary-blue);
    box-shadow: 
        0 10px 35px rgba(26, 95, 212, 0.25),
        0 4px 15px rgba(26, 95, 212, 0.15);
}

.about-card-expanded::before {
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-gold), rgba(255, 215, 0, 0.6));
}

.about-card-expanded:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(26, 95, 212, 0.3),
        0 6px 18px rgba(26, 95, 212, 0.2);
}

.about-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.about-card-expanded .about-card-header {
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.about-card-expanded h3 {
    color: var(--white);
}

.about-card-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 41, 107, 0.12);
    border: 2px solid rgba(18, 41, 107, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--secondary-blue);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.about-card-expanded .about-card-toggle {
    background: var(--white);
    color: var(--secondary-blue);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-card-toggle:hover {
    transform: scale(1.15) rotate(90deg);
    background: rgba(26, 95, 212, 0.2);
}

.about-card-expanded .about-card-toggle:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.15) rotate(90deg);
}

.about-card-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card-expanded .about-card-toggle svg {
    transform: rotate(180deg);
}

.about-card-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.5s ease, opacity 0.4s ease;
    margin-top: 0;
    opacity: 0;
    position: relative;
    z-index: 2;
}

.about-card-expanded .about-card-content {
    max-height: 500px;
    margin-top: 0;
    opacity: 1;
}

.about-card-content p {
    font-size: 0.975rem;
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.75;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
}

.about-card-expanded .about-card-content p {
    color: var(--white);
    opacity: 0.98;
}

@media (max-width: 1200px) {
    .about-home-section {
        padding: 5rem 0;
    }

    .about-home-section .section-header {
        margin-bottom: 3.5rem;
    }

    .about-home-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .about-home-right {
        grid-column: span 2;
        flex-direction: row;
        gap: 1rem;
    }
    
    .about-card {
        flex: 1;
        padding: 1.5rem;
    }

    .about-home-center {
        min-height: 550px;
        padding: 1.75rem;
    }
}

/* Fix homepage About accordion cards at tablet sizes (768px - 1200px) - make full width */
@media (max-width: 1200px) and (min-width: 768px) {
    .about-home-right {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }

    .about-card,
    .homepage-about-card {
        width: 100%;
        max-width: 100%;
        flex: none;
        box-sizing: border-box;
    }

    .about-home-center img {
        width: 60%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .about-home-section {
        padding: 4rem 0;
    }

    .about-home-section .section-header {
        margin-bottom: 3rem;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-home-left {
        padding-right: 0;
    }

    .about-home-center {
        min-height: 400px;
        order: -1;
        border-radius: 12px;
        padding: 1.5rem;
    }

    .about-home-center img {
        width: 55%;
        max-width: 250px;
    }
    
    .about-home-right {
        grid-column: span 1;
        flex-direction: column;
        gap: 1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-card h3 {
        font-size: 1.15rem;
    }
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    padding: 6rem 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(18, 41, 107, 0.08), transparent);
}

.services-list {
    max-width: 1200px;
    margin: 3rem auto 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(18, 41, 107, 0.12);
    border: 1px solid rgba(18, 41, 107, 0.08);
    overflow: hidden;
    position: relative;
}

.services-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-navy), var(--secondary-blue));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-item {
    border-bottom: 1px solid rgba(18, 41, 107, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-blue);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom;
}

.service-item:hover::before,
.service-item.active::before {
    transform: scaleY(1);
    transform-origin: top;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item.active {
    background: linear-gradient(135deg, rgba(26, 95, 212, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: inset 0 0 30px rgba(26, 95, 212, 0.05);
}

.service-item-header {
    display: flex;
    align-items: flex-start;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex-wrap: wrap;
}

.service-item.active .service-item-header {
    padding-bottom: 2rem;
}

.service-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: rgba(18, 41, 107, 0.25);
    font-family: 'Instrument Sans', sans-serif;
    min-width: clamp(50px, 8vw, 70px);
    flex-shrink: 0;
    line-height: 1;
    transition: all 0.4s ease;
    position: relative;
}

.service-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-blue);
    transition: width 0.4s ease;
}

.service-item.active .service-number {
    color: var(--secondary-blue);
    font-weight: 400;
    transform: scale(1.1);
}

.service-item.active .service-number::after {
    width: 100%;
}

.service-item-content {
    flex: 1;
}

.service-item h3 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: all 0.4s ease;
    position: relative;
}

.service-item:hover h3 {
    color: var(--primary-navy);
    transform: translateX(5px);
}

.service-item.active h3 {
    color: var(--primary-navy);
    transform: translateX(0);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tags span {
    font-size: 0.8rem;
    color: rgba(18, 41, 107, 0.65);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    background: rgba(18, 41, 107, 0.06);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-tags span:not(:last-child)::after {
    display: none;
}

.service-item:hover .service-tags span {
    background: rgba(26, 95, 212, 0.1);
    border-color: rgba(26, 95, 212, 0.2);
    color: var(--secondary-blue);
    transform: translateY(-2px);
}

.service-item.active .service-tags span {
    background: rgba(26, 95, 212, 0.15);
    border-color: rgba(26, 95, 212, 0.3);
    color: var(--secondary-blue);
    font-weight: 600;
}

.service-item-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 3rem;
    opacity: 0;
}

.service-item.active .service-item-expanded {
    max-height: 800px;
    padding: 0 3rem 3rem;
    opacity: 1;
}

.service-expanded-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@media (max-width: 968px) {
    .service-expanded-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-expanded-image {
        order: -1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-expanded-text {
    display: flex;
    flex-direction: column;
}

.service-expanded-text p {
    color: var(--dark-text);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'DM Sans', sans-serif;
}

.service-item.active .service-expanded-text p {
    color: var(--dark-text);
    opacity: 0.85;
}

.service-expanded-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(18, 41, 107, 0.2);
    height: 350px;
    transition: all 0.4s ease;
}

.service-expanded-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(18, 41, 107, 0.3);
}

.service-expanded-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 95, 212, 0.1) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.service-expanded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item.active .service-expanded-image img {
    transform: scale(1.05);
}

.btn-service-cta {
    background: transparent;
    color: var(--dark-text);
    border: 1px solid var(--dark-text);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
}

.btn-service-cta:hover {
    background: var(--dark-text);
    color: var(--white);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .services-list {
        margin: 3rem 1rem 0;
        border-radius: 12px;
    }
    
    .service-item-header {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .service-item.active .service-item-header {
        padding-bottom: 1rem;
    }
    
    .service-item-expanded {
        padding: 0 1.5rem;
    }
    
    .service-item.active .service-item-expanded {
        max-height: 1000px;
        padding: 0 1.5rem 1.5rem;
    }
    
    .service-expanded-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-expanded-image {
        height: 250px;
        order: -1;
    }
    
    .service-expanded-text {
        order: 2;
    }
    
    .service-number {
        min-width: 40px;
        font-size: 1.25rem;
    }
    
    .service-item h3 {
        font-size: 1.25rem;
    }
    
    .service-tags span {
        font-size: 0.8rem;
    }
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(18, 41, 107, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(18, 41, 107, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(18, 41, 107, 0.15);
    border-color: rgba(18, 41, 107, 0.2);
}

.service-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-blue));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(18, 41, 107, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-badge {
    background: var(--white);
    color: var(--primary-navy);
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, #F6F7FB 0%, #E9ECF0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(18, 41, 107, 0.08), transparent);
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 95, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
}

/* Viewport wrapper - clips content */
.testimonials-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
    width: 100%;
    position: relative;
    will-change: transform;
}

.testimonial-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(18, 41, 107, 0.1);
    border: 1px solid rgba(18, 41, 107, 0.08);
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-navy), var(--secondary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 16px 60px rgba(18, 41, 107, 0.15);
    border-color: rgba(26, 95, 212, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-featured {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border: none;
}

.testimonial-featured::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.testimonial-featured .testimonial-text,
.testimonial-featured .testimonial-author-name,
.testimonial-featured .testimonial-author-role {
    color: var(--white);
}

.testimonial-featured .testimonial-quote-icon {
    color: rgba(255, 255, 255, 0.15);
}

.testimonial-quote-icon {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: rgba(18, 41, 107, 0.08);
    z-index: 0;
}

.testimonial-quote-icon svg {
    width: 64px;
    height: 64px;
}

.testimonial-stars {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    color: #FFB800;
    flex-shrink: 0;
}

.testimonial-featured .testimonial-stars svg {
    color: #FFD700;
}

.testimonial-text {
    color: var(--dark-text);
    margin-bottom: 2.5rem;
    line-height: 1.85;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    border-top: 1px solid rgba(18, 41, 107, 0.1);
}

.testimonial-featured .testimonial-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-author-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.testimonial-author-role {
    font-size: 0.95rem;
    color: var(--dark-text);
    opacity: 0.7;
    font-family: 'DM Sans', sans-serif;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 95, 212, 0.1);
    border: 1px solid rgba(26, 95, 212, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-blue);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.testimonial-featured .testimonial-badge {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid rgba(18, 41, 107, 0.15);
    color: var(--primary-navy);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(18, 41, 107, 0.12);
    backdrop-filter: blur(10px);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.carousel-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(18, 41, 107, 0.25);
    border-color: var(--primary-navy);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(18, 41, 107, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
    background: var(--primary-navy);
    transform: scale(1.2);
    border-color: rgba(18, 41, 107, 0.1);
}

    .carousel-dot.active::before {
        transform: translate(-50%, -50%) scale(1);
    }

@media (max-width: 968px) {
    .testimonials-carousel {
        padding: 0 3.5rem;
    }
    
    .testimonial-card {
        padding: 2.5rem;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
    
    .carousel-prev {
        left: 0;
    }
    
    .carousel-next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 0;
        background: linear-gradient(180deg, #F6F7FB 0%, #E9ECF0 100%);
    }
    
    .testimonials-carousel {
        padding: 0 2.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .testimonial-quote-icon {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .testimonial-quote-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .testimonial-badge {
        align-self: flex-start;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        display: none;
    }
    
    .carousel-dots {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.75rem;
        border-radius: 16px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    
    .testimonial-author-name {
        font-size: 1rem;
    }
    
    .testimonial-author-role {
        font-size: 0.875rem;
    }
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 6rem 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(18, 41, 107, 0.08), transparent);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(18, 41, 107, 0.08);
    border: 1px solid rgba(18, 41, 107, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 25px rgba(18, 41, 107, 0.12);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--secondary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--dark-text);
    opacity: 0.8;
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

