/* GLOBAL CHECK ICON STYLE */
.check-icon {
    /* The Premium Teal Gradient */
    background: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%); 
    /* The Soft Glow Shadow */
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4); 
    /* Subtle Border for pop */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* FORCE STOP HORIZONTAL SCROLL */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}


/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --brand-teal: #10b981;
    --brand-cyan: #06b6d4;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fcfdfe;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

.bg-mesh {
    background-image: 
        radial-gradient(at 0% 0%, hsla(160,100%,95%,1) 0, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(190,100%,95%,1) 0, transparent 50%);
    background-attachment: fixed;
}

/* =========================================
   2. NAVIGATION & HAMBURGER
   ========================================= */

/* Glassmorphism Pill */
.nav-pill {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    animation: slideDown 0.8s var(--ease-out-expo);
    transition: all 0.3s ease;
}

/* Desktop Dropdown Animation */
.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger Menu Icon Animation */
#mobile-menu-btn span {
    transform-origin: center;
}

#mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #0f172a; /* Slate-900 */
}

#mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #0f172a; /* Slate-900 */
}

/* =========================================
   3. ANIMATIONS
   ========================================= */

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}
.animate-pulse-slow {
    animation: pulse-slow 8s infinite;
}

.text-gradient {
    background: linear-gradient(to right, #0d9488, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   4. COMPONENT STYLING
   ========================================= */

/* Gradient Buttons with Shine Effect */
.btn-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-teal:hover {
    box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

.btn-teal::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s;
    z-index: -1;
}

.btn-teal:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* Clinic Cards (White) */
.clinic-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.4s var(--ease-out-expo);
    will-change: transform;
}

.clinic-card:hover {
    border-color: #cbd5e1; 
    transform: translateY(-10px) !important; /* Override AOS */
    box-shadow: 0 20px 40px -12px rgba(148, 163, 184, 0.15);
    background: #fdfdfe;
}

.clinic-card:hover .clinic-icon {
    transform: scale(1.1) rotate(3deg);
}

/* Check Icons */
.check-icon {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    box-shadow: 0 4px 10px -2px rgba(20, 184, 166, 0.3);
}

/* Suite Cards (Pharmacy/Dental/Vet) */
.suite-card {
    background: white;
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.suite-card.pharmacy:hover { border-color: #5eead4; box-shadow: 0 20px 40px -10px rgba(20, 184, 166, 0.2); transform: translateY(-5px); }
.suite-card.dental:hover { border-color: #c084fc; box-shadow: 0 20px 40px -10px rgba(147, 51, 234, 0.2); transform: translateY(-5px); }
.suite-card.vet:hover { border-color: #60a5fa; box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2); transform: translateY(-5px); }

/* =========================================
   5. HORIZONTAL SCROLL (HYBRID APPROACH)
   ========================================= */

/* Dark Background & Edges */
.sticky-content {
    background: #0B1120;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Fade edges on Desktop only */
@media (min-width: 1024px) {
    .sticky-content::before {
        content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 15%;
        background: linear-gradient(to right, #0B1120, transparent); z-index: 20; pointer-events: none;
    }
    .sticky-content::after {
        content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 15%;
        background: linear-gradient(to left, #0B1120, transparent); z-index: 20; pointer-events: none;
    }
    
    .sticky-wrapper {
        position: relative;
        height: 350vh; 
    }
    .sticky-content {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    .cards-track {
        display: flex;
        gap: 3rem;
        padding-left: 15vw; /* Start card off-center */
        will-change: transform;
    }
}

/* Mobile/Tablet Touch Slider (Native Snap) */
@media (max-width: 1023px) {
    .sticky-wrapper {
        height: auto;
        padding: 4rem 0;
    }
    .sticky-content {
        position: relative;
        height: auto;
        display: block;
    }
    .cards-track {
        display: flex;
        gap: 1.5rem;
        padding: 0 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2rem;
        /* Hide scrollbar */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    .cards-track::-webkit-scrollbar { 
        display: none; 
    }
    
    .refined-card {
        scroll-snap-align: center;
        width: 85vw !important; /* Responsive width */
        margin-right: 0;
    }
}

/* Feature Cards (Dark Glass) */
.refined-card {
    width: 420px;
    height: 520px;
    flex-shrink: 0;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.refined-card:hover {
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
    box-shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.1);
}

.card-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}
.card-list-item:last-child { border-bottom: none; }
.card-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   6. MARQUEE & ACCORDION
   ========================================= */

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: scroll-left 40s linear infinite;
    will-change: transform;
}
.animate-marquee-logos {
    animation: scroll-left 50s linear infinite;
    will-change: transform;
}
.hover\:pause:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 300px;
    flex-shrink: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
@media(min-width: 768px){
    .testimonial-card { width: 400px; padding: 2rem; }
}

.testimonial-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 20px 40px -10px rgba(20, 184, 166, 0.1);
    transform: translateY(-4px);
}

/* Practice Types Accordion */
.accordion-panel {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .accordion-panel:hover {
        flex: 3; 
        background: linear-gradient(145deg, rgba(20, 184, 166, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
        border-color: rgba(20, 184, 166, 0.3);
    }
    .accordion-panel:hover .panel-content {
        opacity: 1;
        transform: translateY(0);
    }
    .accordion-panel:hover .panel-icon {
        background: #14b8a6; 
        color: white;
        transform: scale(1.1);
    }
}

.panel-icon {
    transition: all 0.5s ease;
    width: 64px; height: 64px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #14b8a6;
    margin-bottom: 2rem;
}
.panel-content { 
    transition: all 0.5s ease 0.1s; 
}