/* Complete stylesheet to reconstruct the IVYRA landing page */
:root {
    /* Timing / transitions */
    --transition-base: 200ms ease;

    /* New Medical/Health Color Palette */
    /* Primary Brand Brown - Warm Chestnut */
    --color-primary: #6B3F2A;
    --color-primary-light: #8B5A3C;
    --color-primary-dark: #4A2B1C;

    /* Secondary - Soft Ivory (Background) */
    --color-white: #ffffff;
    --color-black: #0b0b0b;
    --color-background: #FAF9F7;
    --color-gray-50: #FAF9F7;
    --color-gray-100: #F2F8F6;
    --color-gray-300: #B8C2C8;
    --color-gray-600: #5A5A5A;
    --color-gray-700: #3A3A3A;
    --color-gray-900: #2A2A2A;

    /* Support Color - Sage Green (Calm & Healing) */
    --color-sage: #7FAF9B;
    --color-sage-light: #9FC5B5;
    --color-sage-dark: #5F8F7B;

    /* Accent - Sky Teal (CTAs, Icons, Highlights) */
    --color-accent: #4FB3B3;
    --color-accent-light: #6FC9C9;
    --color-accent-dark: #3A9393;

    /* Card Backgrounds - Very Light Mint */
    --color-card: #F2F8F6;

    /* Subtext/Borders - Cool Gray */
    --color-border: #B8C2C8;

    /* Legacy accent mappings for compatibility */
    --accent-1: #6B3F2A;
    /* Primary Brown */
    --accent-2: #8B5A3C;
    /* Light Brown */
    --accent-3: #7FAF9B;
    /* Sage Green */
    --accent-4: #4FB3B3;
    /* Sky Teal */

    /* Gradient mixes - Updated for new palette */
    --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 100%); /* Black overlay for text visibility */
    /* To use a white overlay instead, comment above and uncomment below: */
    /* --gradient-hero: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.35) 100%); */
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-sage) 100%);
    --gradient-badge: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    --gradient-button: linear-gradient(135deg, var(--color-accent) 0%, var(--color-sage) 100%);

    /* Radii & shadows */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-2xl: 24px;
    --shadow-sm: 0 6px 18px rgba(42, 42, 42, 0.06);
    --shadow-lg: 0 24px 48px rgba(42, 42, 42, 0.10);
    --shadow-xl: 0 40px 80px rgba(42, 42, 42, 0.14);

    /* Spacing */
    --container-padding: 1rem;

    /* Logo sizes */
    --logo-height-desktop: 60px;
    --logo-height-mobile: 48px;
    --shield-height-desktop: 55px;
    --shield-height-mobile: 44px;
    --max-logo-width: 220px;

    /* Layout */
    --max-width: 1200px;
}

/* Base reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html,
body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--color-gray-900);
    background: var(--color-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility */
.sr-only {
    /* accessible hide */
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header / Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 60;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    transition: box-shadow var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    background: var(--color-white);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}

.logo-img {
    height: var(--logo-height-desktop);
    width: auto;
    max-width: var(--max-logo-width);
    object-fit: contain;
    display: block;
    transition: transform var(--transition-base);
}

.logo-img:hover {
    transform: scale(1.03);
}

/* Shield Logo Styles */
.logo-shield {
    height: var(--shield-height-desktop);
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-base);
}

.logo-shield:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu .nav-link {
    color: var(--color-gray-900);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-weight: 500;
}

.nav-menu .nav-link:hover {
    background: var(--color-gray-100);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 18px;
    background: var(--color-gray-900);
    margin: 4px 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Backdrop used by mobile nav */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 40;
}

.nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile menu (overlay) */
@media (max-width: 880px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(320px, 90%);
        flex-direction: column;
        padding: 3.5rem 1.5rem;
        gap: 1rem;
        background: var(--color-white);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-base);
        z-index: 50;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .btn {
        margin-top: 0.5rem;
    }

    /* Tablet shield logo size */
    .logo-shield {
        height: 50px;
    }

    .logo-img {
        height: 52px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-sage));
    color: white;
    box-shadow: 0 10px 30px rgba(79, 179, 179, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(79, 179, 179, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(107, 63, 42, 0.15);
}

.section-title {
    font-size: 1.9rem;
    margin: .6rem 0 0.6rem;
    color: var(--color-gray-900);
}

.section-description {
    color: var(--color-gray-600);
    max-width: 70ch;
    margin: 0.5rem auto 0;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100dvh;
    min-height: 520px;
    overflow: hidden;
    max-width: 100vw;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 600ms ease, transform 600ms ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    mix-blend-mode: multiply;
    opacity: 0.95;
}

.hero-content {
    position: relative;
    color: white;
    max-width: 720px;
    padding: 3rem 1rem;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-weight: 700;
    background: var(--gradient-badge);
    color: white;
    box-shadow: 0 10px 30px rgba(107, 139, 255, 0.12);
}

.hero h1 {
    font-size: 2.6rem;
    margin: 0 0 1rem;
    line-height: 1.05;
}

.hero p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.25rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
}

.hero-stat-number {
    font-weight: 700;
}

.hero-stat-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Slider nav */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    z-index: 30;
    transition: background var(--transition-base), transform var(--transition-base);
    pointer-events: auto;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: 1.5rem;
}

.slider-next {
    right: 1.5rem;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 30;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.slider-dot.active {
    background: linear-gradient(90deg, var(--color-accent), var(--color-sage));
    box-shadow: 0 6px 18px rgba(79, 179, 179, 0.20);
}

/* About section visuals */
.about-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    display: block;
}

.profile-image {
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.floating-stat {
    position: absolute;
    display: flex;
    gap: .6rem;
    align-items: center;
    background: white;
    border-left: 4px solid var(--color-sage);
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.floating-stat-top {
    top: -18px;
    left: 6%;
}

.floating-stat-bottom {
    bottom: -18px;
    right: 6%;
}

.expertise-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.expertise-pill {
    background: var(--color-white);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 880px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .about-showcase {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-card) 100%);
    position: relative;
    overflow: hidden;
    padding: 1.4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-sage));
}

.card-icon {
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.card-title {
    margin: 0 0 0.5rem;
    color: var(--color-gray-900);
}

.card-description {
    color: var(--color-gray-600);
}

/* Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.highlight-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: var(--color-white);
    padding: 0.85rem;
    border-radius: 12px;
}

.highlight-icon {
    color: var(--color-accent);
}

/* Testimonials */
.testimonials-slider-container {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 300px;
    max-width: 420px;
    background: var(--color-white);
    padding: 1.25rem;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
    border-top: 6px solid transparent;
}

.testimonial-card:nth-child(odd) {
    border-top-color: var(--color-primary);
}

.testimonial-card:nth-child(even) {
    border-top-color: var(--color-accent);
}

.testimonial-rating {
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 0.5rem;
}

.testimonial-quote {
    color: var(--color-gray-700);
}

/* Google Verified Badge */
.google-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(66, 133, 244, 0.12);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #4285F4;
    font-weight: 600;
}

.google-verified-badge svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    fill: #4285F4;
    flex-shrink: 0;
}

.google-verified-badge span {
    color: #4285F4;
    white-space: nowrap;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 20;
}

.testimonial-prev {
    left: -10px;
}

.testimonial-next {
    right: -10px;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    background: var(--color-gray-300);
    border-radius: 999px;
    border: none;
}

.testimonial-dot.active {
    background: var(--color-accent);
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form-container {
    background: transparent;
}

.contact-form {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
input[type="number"],
input[type="tel"],
select,
textarea {
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--color-gray-300);
    background: white;
    color: var(--color-gray-900);
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(75, 139, 92, 0.14);
    border-color: var(--color-accent);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(79, 179, 179, 0.06) 0%, rgba(127, 175, 155, 0.04) 100%);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.footer-section h4 {
    margin: 0 0 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-links a {
    color: var(--color-gray-700);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
}

@media (max-width: 880px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Small screens */
@media (max-width: 600px) {
    .hero-slider {
        height: 100dvh;
        min-height: 360px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    /* keep default nav hidden; mobile menu handled by .nav-toggle */
    .nav-menu.active {
        display: flex;
    }

    /* Smaller testimonial card */
    .testimonial-card {
        min-width: 88%;
        flex: 0 0 88%;
        max-width: 88%;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    /* Mobile shield logo size */
    .logo-shield {
        height: var(--shield-height-mobile);
    }

    .logo-img {
        height: var(--logo-height-mobile);
    }
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .hero-slider {
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 2.25rem 1rem;
    }

    .about-showcase {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 880px) {

    /* Ensure hero content centers on narrow viewports */
    .hero-content {
        margin: 0 auto;
        text-align: center;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        display: none;
    }

    /* hide to reduce clutter */

    /* Testimonials become full-width cards with snap */
    .testimonials-slider {
        gap: 1rem;
        padding: 0.5rem 0;
    }

    .testimonial-card {
        min-width: 85%;
        flex: 0 0 85%;
        max-width: 85%;
    }

    .testimonial-prev {
        left: 8px;
    }

    .testimonial-next {
        right: 8px;
    }

    /* Footer and contact stack */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Improve accessibility focus states for interactive elements on small screens */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(75, 139, 92, 0.12);
    outline-offset: 2px;
}

/* Animations & utilities */
.scroll-animate {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

a,
button:not(.slider-nav):not(.slider-dot):not(.testimonial-nav):not(.testimonial-dot),
.card,
.testimonial-card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

a:hover,
button:not(.slider-nav):not(.slider-dot):not(.testimonial-nav):not(.testimonial-dot):hover,
.card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* end of stylesheet */

/* Consultation Services Redesign */
.programs-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
    align-items: start;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    height: 100%;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.about-features li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.about-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Expertise Card */
.expertise-card {
    background: linear-gradient(135deg, #fff 0%, #fafffc 100%);
    border: 1px solid rgba(127, 175, 155, 0.2);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-lg);
}

.expertise-header {
    text-align: center;
    margin-bottom: 2rem;
}

.expertise-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    box-shadow: 0 10px 20px rgba(79, 179, 179, 0.2);
}

.expertise-icon-wrapper i {
    width: 32px;
    height: 32px;
}

.expertise-title {
    font-size: 1.5rem;
    color: var(--color-gray-900);
    margin: 0 0 0.5rem;
}

.expertise-subtitle {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: background var(--transition-base);
}

.expertise-list li:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.check-icon {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.expertise-list span {
    color: var(--color-gray-700);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .programs-layout {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        position: static;
        margin-top: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {

    /* Horizontal Scroll for Services */
    .services-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1.5rem;
        margin: 0 -1rem;
        padding: 0 1rem 1.5rem;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar for cleaner look but keep functionality */
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        min-width: 85vw;
        max-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
        margin-right: 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Compact Expertise Card */
    .expertise-card {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }

    .expertise-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .expertise-list li {
        font-size: 0.8rem;
        padding: 0.5rem;
        gap: 0.4rem;
        line-height: 1.2;
    }

    .check-icon {
        width: 16px;
        height: 16px;
    }

    .expertise-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 0.75rem;
    }

    .expertise-icon-wrapper i {
        width: 24px;
        height: 24px;
    }
}