/*
Theme Name: Vrinda Ayurveda
Theme URI: 
Author: Custom Builder
Author URI: 
Description: Custom WordPress theme for Vrinda Ayurveda, based on Figma design.
Version: 1.0.0
Text Domain: vrinda
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ================================================
   VRINDA AYURVEDA - PIXEL-PERFECT FIGMA CSS
   ================================================ */

/* Reset WordPress defaults that conflict */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --color-primary: #376a2d;
    --color-primary-light: #eaf1e9;
    --color-secondary: #f48c36;
    --color-secondary-light: #fef5ec;
    --color-text-dark: #333333;
    --color-text-muted: #555555;
    --color-bg-body: #FAF8F5;
    --color-bg-white: #FFFFFF;
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main) !important;
    color: var(--color-text-dark);
    background: var(--color-bg-body) !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main) !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-top: 0;
}

a { text-decoration: none !important; transition: 0.3s; }
img { max-width: 100%; height: auto; }


/* ============ BUTTONS ============ */
/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    line-height: 1.4;
}
.btn-primary {
    background: var(--color-secondary);
    color: #fff !important;
    border: 2px solid var(--color-secondary);
}
.btn-primary:hover {
    background: #e07a2a;
    border-color: #e07a2a;
    color: #fff !important;
}
.btn-outline-green {
    position: relative;
    border: 1.5px solid transparent;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    z-index: 1;
}
.btn-outline-green::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}
.btn-outline-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ============ HEADER ============ */
.site-header {
    background: var(--color-bg-body);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}
.main-logo, .custom-logo { height: 55px; width: auto; }
.main-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation a {
    color: #222 !important;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.main-navigation a.active,
.main-navigation a.text-green,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--color-primary) !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--color-primary) !important;
}
.main-navigation a:hover {
    color: var(--color-primary) !important;
    border-color: var(--color-primary);
}
.header-actions { display: flex; gap: 12px; align-items: center; }

/* ============ MOBILE MENU ============ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* ============ HERO ============ */
.hero-section {
    padding: 30px 0;
    background: var(--color-bg-body);
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}
.hero-content { flex: 1; }
@keyframes textGradient {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #2C4A1E, var(--color-primary));
    background-size: 200% auto;
    color: var(--color-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 3s linear infinite;
    display: inline-block;
}
.hero-title {
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-primary);
}
.hero-title .text-green { display: block; }
.hero-title .text-orange { display: block; }
.hero-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    max-width: 90%;
    line-height: 1.7;
    font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-image { flex: 1.1; }
.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ============ STATS ============ */
.stats-section {
    padding: 20px 30px 50px;
    background: #ffffff;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-card {
    background: #ffffff;
    position: relative;
    border-radius: 24px;
    padding: 16px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(55, 106, 45, 0.02);
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for WebKit border-radius clipping bug */
    mask-image: radial-gradient(white, black);
    isolation: isolate;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(55, 106, 45, 0.08);
}
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2.5px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary), var(--color-secondary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 10;
    pointer-events: none;
    opacity: 0.55;
    animation: running-gradient 5s linear infinite;
    transition: opacity 0.3s ease;
}
.stat-card:hover::before {
    opacity: 1;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary-light);
    border: 2px solid transparent;
    box-shadow: 0 0 0 4px rgba(55, 106, 45, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.4s ease;
}
.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 0 0 6px rgba(244, 140, 54, 0.15);
    background: var(--color-secondary-light);
}
.stat-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #8F7249;
}

/* ============ STEPS ============ */
.steps-section {
    padding: 30px 0;
    background: var(--color-bg-body);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.section-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 55px;
    font-weight: 700;
    font-style: italic;
}
.step-row {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto 80px auto;
    padding: 0 30px;
}
.step-row:last-child {
    margin-bottom: 0;
}
.step-row.reverse { flex-direction: row-reverse; }
.step-content { flex: 1; }
.step-title {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 18px;
    font-weight: 600;
    font-style: italic;
}
.step-title .text-orange { color: var(--color-secondary) !important; }
.step-content p {
    font-size: 15px;
    color: var(--color-text-dark);
    margin-bottom: 25px;
    line-height: 1.7;
}
.step-image { flex: 1; }
.step-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ============ EXPERTS ============ */
.experts-section {
    padding: 30px 0;
    background: var(--color-bg-body);
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}
.experts-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 45px;
    line-height: 1.7;
}
.experts-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 30px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.experts-carousel::-webkit-scrollbar {
    display: none;
}
.expert-card {
    background: #ffffff;
    color: var(--color-text-dark);
    width: 680px;
    min-width: 680px;
    flex: 0 0 auto;
    border-radius: 24px;
    display: flex;
    text-align: left;
    overflow: hidden;
    align-items: center;
    scroll-snap-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(55, 106, 45, 0.08);
}
.expert-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2.5px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary), var(--color-secondary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 10;
    pointer-events: none;
    opacity: 0.65;
    animation: running-gradient 4s ease infinite;
    transition: opacity 0.3s ease;
}
.expert-card:hover::before {
    opacity: 1;
}
@keyframes running-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.expert-img {
    width: 35%;
    min-width: 35%;
    padding: 30px 0 30px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expert-img-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-primary-light);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    position: relative;
    background: #FAF8F5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expert-img-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}
.expert-info {
    padding: 30px 35px;
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.expert-info h3 {
    color: var(--color-primary) !important;
    font-size: 24px;
    margin: 0 0 4px;
    font-weight: 700;
}
.expert-role {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--color-secondary) !important;
}
.expert-bio {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 18px;
    color: var(--color-text-muted) !important;
    font-weight: 400;
}
.expert-social {
    display: flex;
    gap: 15px;
    align-items: center;
}
.expert-social a {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-primary-light);
    border-radius: 20px;
    transition: background 0.2s, transform 0.2s;
}
.expert-social a:hover {
    background: #d4e2d2;
    transform: translateY(-1px);
}
.expert-social a svg {
    fill: var(--color-primary);
    height: 14px;
    width: auto;
}

/* Experts header alignment */
.experts-header-row {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 20px;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.carousel-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.carousel-control-btn:hover {
    background: var(--color-primary);
}
.carousel-control-btn svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
    transition: fill 0.3s ease;
}
.carousel-control-btn:hover svg {
    fill: #ffffff;
}

/* ============ BADGES ============ */
.badges-section {
    background: var(--color-primary);
    padding: 30px 0;
}
.badges-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 30px;
}
.badges-container img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* ============ SERVICES ============ */
.services-section {
    padding: 30px 0;
    background: var(--color-bg-body);
    border-top: 1px solid rgba(0,0,0,0.04);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.service-img {
    height: 170px;
    width: 100%;
    object-fit: cover;
    display: block;
}
.service-content { 
    padding: 18px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-title {
    font-size: 15px;
    color: var(--color-primary) !important;
    margin: 0 0 8px 0;
    font-weight: 600;
    text-decoration: none !important;
}
.service-desc {
    font-size: 13px;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.55;
}
.service-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    margin-top: auto;
    align-self: flex-start;
    
    /* Gradient text */
    background: linear-gradient(to right, #f48c36 0%, #376a2d 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
.service-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(to right, #f48c36 0%, #376a2d 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    transition: opacity 0.3s ease;
}
.service-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(to right, #f48c36 0%, #376a2d 100%);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-btn:hover {
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}
.service-btn:hover::before {
    opacity: 1;
}


/* ============ FOOTER ============ */
.site-footer {
    background: var(--color-bg-body);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 25px;
    max-width: 1280px;
    margin: 0 auto 35px;
    padding: 0 30px;
}
.footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 18px;
}
.footer-desc {
    color: var(--color-text-dark);
    font-size: 13px;
    margin-bottom: 22px;
    line-height: 1.65;
    max-width: 90%;
}
.footer-socials {
    display: flex;
    gap: 8px;
}
.social-icon {
    width: 32px;
    height: 32px;
    background: var(--color-secondary);
    color: #fff !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.social-icon:hover { background: #e07a2a; }
.footer-title {
    color: var(--color-primary) !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--color-text-dark) !important;
    font-size: 14px;
    text-decoration: none !important;
}
.footer-links a:hover { color: var(--color-primary) !important; }
.footer-bottom {
    border-top: 2px solid var(--color-primary);
    padding-top: 18px;
    text-align: center;
    color: var(--color-primary);
    font-size: 13px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}
.footer-bottom a {
    color: var(--color-secondary) !important;
    text-decoration: underline !important;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        padding: 0 16px;
    }
}
@media (max-width: 400px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 992px) {
    .section-title { font-size: 28px; }
    
    /* Mobile Menu Styles */
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .mobile-menu-toggle {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        z-index: 1005;
    }
    .site-branding {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        z-index: 1004;
    }
    .main-navigation {
        display: flex !important;
        position: fixed;
        top: 0;
        left: -320px;
        width: 75vw;
        max-width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 1000;
        transition: left 0.3s ease;
        flex-direction: column;
        padding-top: 110px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.05);
        margin: 0;
        border: none;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        gap: 30px;
        width: 100%;
    }
    .main-navigation a {
        font-size: 18px;
    }
    .header-actions {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: -320px;
        width: 75vw;
        max-width: 300px;
        z-index: 1001;
        transition: left 0.3s ease;
        flex-direction: column;
        padding: 30px;
        background: transparent;
    }
    .site-header.menu-open .main-navigation,
    .site-header.menu-open .header-actions {
        left: 0;
    }
    
    /* Hamburger to X animation */
    .site-header.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .site-header.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
}

/* ============ TESTIMONIALS REDESIGN ============ */
.testimonials-section {
    padding: 30px 0;
    background: var(--color-bg-body);
    border-top: 1px solid rgba(0,0,0,0.04);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 30px;
}
.test-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    /* Reset old square shape */
    width: auto;
    min-height: unset;
}
.test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.test-stars {
    color: #f48c36;
    font-size: 20px;
    letter-spacing: 2px;
}
.test-text {
    color: #3a3a3a;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    flex: 1;
    font-style: normal;
    white-space: normal;
    word-wrap: break-word;
}
.test-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.test-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.test-info {
    display: flex;
    flex-direction: column;
}
.test-name {
    color: var(--color-primary) !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px;
}
.test-role {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.test-quote-mark {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 100px;
    line-height: 1;
    color: rgba(244, 140, 54, 0.10);
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============ MOBILE LAYOUT FIXES ============ */
@media (max-width: 768px) {
    /* Hero layout */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 0;
        padding: 0 16px;
    }
    .hero-content {
        display: contents;
    }
    .hero-subtitle { order: 1; margin: 0 auto 10px; }
    .hero-title { order: 2; margin: 0 auto 20px; font-size: 32px; }
    .hero-image { order: 3; margin: 10px 0 25px; }
    .hero-desc { order: 4; margin: 0 auto 30px; text-align: center; }
    .hero-actions { order: 5; justify-content: center; }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .badges-container {
        padding: 0 16px;
    }

    /* Steps layout */
    .step-row, .step-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .step-content {
        display: contents;
    }
    .step-subtitle { order: 1; }
    .step-title { order: 2; margin-bottom: 20px; }
    .step-image { order: 3; margin: 0 0 25px; }
    .step-content p { order: 4; margin-bottom: 25px; }
    .step-content .btn { order: 5; margin: 0 auto; display: inline-flex; }

    /* Subtitles under headings */
    .experts-subtitle, .section-subtitle, .hero-desc, .page-subtitle {
        text-align: center !important;
        font-weight: 600 !important;
        padding: 0 10px;
    }

    /* Experts layout */
    .experts-section {
        position: relative;
    }
    .experts-carousel {
        padding: 10px 16px 20px;
        gap: 15px;
    }
    .expert-card {
        flex-direction: column;
        width: 75vw;
        min-width: 75vw;
        padding-top: 20px;
    }
    .expert-img {
        width: 100%;
        min-width: 100%;
        padding: 0 0 10px;
    }
    .expert-img-container {
        width: 90px;
        height: 90px;
    }
    .expert-bio {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .expert-info {
        padding: 0 15px 20px;
        text-align: center;
    }
    .expert-social {
        justify-content: center;
    }
    .carousel-controls {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
        gap: 40px;
    }
    .footer-col-brand {
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   GLOBAL UTILITIES & HELPER CLASSES
   ========================================================================== */
.text-center { text-align: center !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-50 { margin-top: 50px !important; }

.text-orange { color: var(--color-secondary) !important; }
.text-brown { color: #8F7249 !important; }
.bg-green { background-color: var(--color-primary) !important; }

.btn-outline-brown {
    background-color: transparent;
    border: 2px solid #8F7249;
    color: #8F7249;
}
.btn-outline-brown:hover {
    background-color: #8F7249;
    color: #fff;
}

.text-gradient {
    background: linear-gradient(to right, #b48535 0%, #4d6d2b 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    width: fit-content;
}
.text-gradient-center {
    background: linear-gradient(to right, #b48535 0%, #4d6d2b 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* ============ DYNAMIC TEXT HERO EFFECTS ============ */
#hero-dynamic-text {
    transition: opacity 0.4s ease;
}

/* ============ POLICY PAGES ============ */
.policy-header {
    text-align: center;
    padding: 80px 20px 40px;
    background: var(--color-bg-body);
}
.policy-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, #b48535 0%, #4d6d2b 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.policy-subtitle {
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.policy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.policy-divider::before,
.policy-divider::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: rgba(72, 187, 120, 0.4);
}
.policy-divider .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #48bb78;
}
.policy-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}
.policy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    margin-bottom: 30px;
    display: flex;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    align-items: flex-start;
}
.policy-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.policy-icon-wrapper svg {
    width: 24px;
    height: 24px;
}
.policy-icon-wrapper.green {
    background: #eaffea;
    color: #38a169;
}
.policy-icon-wrapper.orange {
    background: #fff4ea;
    color: #dd6b20;
}
.policy-icon-wrapper.blue {
    background: #ebf8ff;
    color: #3182ce;
}
.policy-icon-wrapper.purple {
    background: #faf5ff;
    color: #805ad5;
}
.policy-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    margin-top: 5px;
    background: linear-gradient(to right, #b48535 0%, #4d6d2b 100%);
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    width: fit-content;
}
.policy-card-body p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.policy-card-body p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .policy-card {
        flex-direction: column;
        padding: 25px;
        gap: 15px;
    }
}
