/* =========================================
   Variables & Theme Base
   ========================================= */
:root {
    /* Colors */
    --soft-teal: #14B8A6;
    --soft-teal-dark: #0D9488;
    --soft-teal-light: #CCFBF1;
    --vet-green: #10B981;
    --vet-green-light: #D1FAE5;
    --navy-blue: #1E293B;
    --navy-blue-light: #334155;
    
    /* Neutrals */
    --warm-white: #FAFAF9;
    --bg-light: #F8FAFC;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Accents */
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sizing & Spacing */
    --container-max: 1280px;
    --section-padding: 6rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-teal: 0 10px 25px -5px rgba(20, 184, 166, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-600);
    background-color: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* =========================================
   Utility Classes & Layout
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-body);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--soft-teal);
    color: white;
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    background-color: var(--soft-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(20, 184, 166, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-800);
}

.btn-outline:hover {
    border-color: var(--soft-teal);
    color: var(--soft-teal);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--soft-teal-light);
    color: var(--soft-teal-dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.logo i {
    color: var(--soft-teal);
    font-size: 2rem;
}

.logo strong {
    color: var(--soft-teal);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--soft-teal);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--soft-teal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.emergency-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--danger);
}

.emergency-nav-btn i {
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--gray-800);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--soft-teal-light);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--vet-green-light);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--soft-teal);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Hero Image & Floating Cards */
.hero-image-wrapper {
    position: relative;
    height: 100%;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: 30px;
    /* Glassmorphism blob effect */
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(16, 185, 129, 0.1));
    padding: 2rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.5);
}

.hero-float-1 {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 3s;
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--soft-teal-light);
    color: var(--soft-teal);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
}

.float-icon.green {
    background-color: var(--vet-green-light);
    color: var(--vet-green);
}

.float-text strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.float-text span {
    color: var(--gray-600);
    font-size: 0.75rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease-in;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-actions .btn { display: none; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .floating-card {
        transform: scale(0.9);
    }
    
    .hero-float-1 { left: -5%; }
    .hero-float-2 { right: -5%; }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-float-1, .hero-float-2 {
        display: none;
    }
}


/* =========================================
   Services Section
   ========================================= */
.section { padding: var(--section-padding) 0; }
.section-header { text-align: center; margin-bottom: 4rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.5rem); margin-bottom: 1rem; color: var(--navy-blue); }
.section-subtitle { font-size: 1.125rem; color: var(--gray-600); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: white; border-radius: var(--radius-lg); padding: 2.5rem 2rem; border: 1px solid var(--gray-200); transition: all var(--transition-normal); text-align: left; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--soft-teal-light); }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background-color: var(--soft-teal-light); color: var(--soft-teal); display: flex; justify-content: center; align-items: center; font-size: 2rem; margin-bottom: 1.5rem; transition: all var(--transition-normal); }
.service-card:hover .service-icon { background-color: var(--soft-teal); color: white; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--navy-blue); }
.service-card p { color: var(--gray-600); margin-bottom: 1.5rem; }
.service-link { font-weight: 600; color: var(--soft-teal); display: inline-flex; align-items: center; gap: 0.5rem; }
.service-link i { transition: transform var(--transition-fast); }
.service-card:hover .service-link i { transform: translateX(5px); }



/* =========================================
   Digital Clinic (SaaS Demo)
   ========================================= */
.digital-clinic { background-color: var(--navy-blue); color: white; position: relative; overflow: hidden; }
.digital-clinic .badge { background-color: rgba(255,255,255,0.1); color: var(--soft-teal-light); }
.digital-clinic .section-title { color: white; }
.digital-clinic .section-subtitle { color: var(--gray-400); }
.saas-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.saas-features { display: flex; flex-direction: column; gap: 2rem; }
.saas-feature { display: flex; gap: 1.5rem; }
.saas-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 12px; background: rgba(20, 184, 166, 0.2); color: var(--soft-teal); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.saas-feature h4 { color: white; font-size: 1.25rem; margin-bottom: 0.5rem; }
.saas-feature p { color: var(--gray-400); margin: 0; }
.saas-visual { position: relative; }
.saas-dashboard { background: var(--gray-900); border-radius: var(--radius-lg); border: 1px solid var(--gray-800); padding: 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.dash-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-800); margin-bottom: 1.5rem; }
.dash-user { display: flex; gap: 1rem; align-items: center; }
.dash-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--soft-teal); display: flex; align-items: center; justify-content: center; font-weight: bold; }
.dash-content { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.dash-card { background: var(--gray-800); border-radius: var(--radius-md); padding: 1.5rem; }
.dash-card-title { font-size: 0.875rem; color: var(--gray-400); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.pet-stats { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.stat-pill { background: rgba(20, 184, 166, 0.1); color: var(--soft-teal); padding: 0.5rem 1rem; border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 500; }
.rx-list { display: flex; flex-direction: column; gap: 0.75rem; }
.rx-item { display: flex; justify-content: space-between; background: var(--gray-900); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; }
.rx-status { color: var(--vet-green); font-weight: 500; }
@media (max-width: 1024px) { .saas-container { grid-template-columns: 1fr; } .dash-content { grid-template-columns: 1fr; } }



/* =========================================
   Pharmacy Section
   ========================================= */
.pharmacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.product-card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--gray-200); transition: all var(--transition-normal); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-image { height: 200px; display: flex; justify-content: center; align-items: center; background: var(--gray-100); border-radius: var(--radius-md); margin-bottom: 1.5rem; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform var(--transition-slow); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-tag { position: absolute; top: 1rem; right: 1rem; background: var(--soft-teal); color: white; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.product-category { font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; margin-bottom: 0.5rem; }
.product-title { font-size: 1.125rem; color: var(--navy-blue); margin-bottom: 1rem; flex-grow: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--navy-blue); }
.add-to-cart { width: 40px; height: 40px; border-radius: 50%; background: var(--soft-teal-light); color: var(--soft-teal); border: none; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition-fast); }
.add-to-cart:hover { background: var(--soft-teal); color: white; transform: scale(1.1); }



/* =========================================
   Team Section
   ========================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.team-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition-normal); border: 1px solid var(--gray-200); }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-image { height: 350px; overflow: hidden; position: relative; }
.team-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.team-card:hover .team-image img { transform: scale(1.05); }
.team-info { padding: 2rem; position: relative; }
.team-role { font-size: 0.875rem; color: var(--soft-teal); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; display: block; }
.team-name { font-size: 1.5rem; color: var(--navy-blue); margin-bottom: 1rem; }
.team-desc { color: var(--gray-600); margin-bottom: 1.5rem; font-size: 0.95rem; }
.team-social { display: flex; gap: 1rem; }
.team-social a { color: var(--gray-400); font-size: 1.25rem; transition: color var(--transition-fast); }
.team-social a:hover { color: var(--soft-teal); }
.app-download-links { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.app-btn { background: rgba(255, 255, 255, 0.05); color: white; padding: 0.6rem 1.25rem; border-radius: 12px; display: flex; align-items: center; gap: 0.875rem; transition: all var(--transition-normal); border: 1px solid rgba(255, 255, 255, 0.1); min-width: 170px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.app-btn i { font-size: 2rem; color: white; }
.app-btn-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.app-btn-text span { font-size: 0.65rem; text-transform: uppercase; opacity: 0.7; font-weight: 500; letter-spacing: 0.8px; }
.app-btn-text strong { font-size: 1.05rem; font-weight: 700; font-family: var(--font-heading); }
.app-btn:hover { background: var(--soft-teal); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3); border-color: var(--soft-teal); }
.app-btn:active { transform: translateY(0); }
@media (max-width: 640px) { .app-download-links { justify-content: center; } .app-btn { width: 100%; justify-content: center; } }



/* =========================================
   Gallery & Testimonials Section
   ========================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-auto-rows: 250px; gap: 1rem; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery-item.large { grid-row: span 2; grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.1); }
@media (max-width: 768px) { .gallery-item.large { grid-row: span 1; grid-column: span 1; } }

.testimonials-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2rem; padding-bottom: 2rem; scrollbar-width: none; -ms-overflow-style: none; }
.testimonials-slider::-webkit-scrollbar { display: none; }
.testimonial-card { min-width: 350px; background: white; padding: 2.5rem; border-radius: var(--radius-lg); scroll-snap-align: center; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); position: relative; }
.testimonial-icon { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--soft-teal-light); }
.testimonial-text { font-size: 1.125rem; font-style: italic; color: var(--gray-800); margin-bottom: 2rem; line-height: 1.8; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gray-200); display: flex; justify-content: center; align-items: center; font-weight: bold; color: var(--gray-600); }
.author-info h4 { font-size: 1rem; color: var(--navy-blue); margin-bottom: 0.25rem; }
.author-info span { font-size: 0.875rem; color: var(--gray-400); }



/* =========================================
   Appointment & Emergency Section
   ========================================= */
.appointment-section { padding: 8rem 0; position: relative; background: linear-gradient(to right, var(--soft-teal-light) 0%, var(--warm-white) 100%); }
.booking-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; background: white; padding: 4rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200); }
@media (max-width: 900px) { .booking-container { grid-template-columns: 1fr; padding: 2rem; } }
.booking-info h2 { font-size: 2.5rem; color: var(--navy-blue); margin-bottom: 1.5rem; }
.booking-info p { color: var(--gray-600); margin-bottom: 2rem; font-size: 1.125rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; font-weight: 500; color: var(--navy-blue); }
.contact-item i { color: var(--soft-teal); font-size: 1.5rem; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group.full { grid-column: span 2; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; color: var(--gray-800); font-size: 0.875rem; }
.form-control { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; transition: border-color var(--transition-fast); background: var(--warm-white); }
.form-control:focus { outline: none; border-color: var(--soft-teal); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2); background: white; }

.emergency-section { background-color: var(--danger); color: white; padding: 4rem 0; text-align: center; }
.emergency-box { max-width: 800px; margin: 0 auto; }
.emergency-box h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.emergency-box h2 i { animation: pulse 2s infinite; }
.emergency-box p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.btn-white { background: white; color: var(--danger); }
.btn-white:hover { background: var(--gray-100); color: var(--danger); transform: scale(1.05); }



/* =========================================
   Footer
   ========================================= */
.footer { background-color: var(--navy-blue); color: white; padding: 6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { color: white; margin-bottom: 1.5rem; display: inline-flex; }
.footer-text { color: var(--gray-400); margin-bottom: 2rem; max-width: 300px; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; display: flex; justify-content: center; align-items: center; transition: all var(--transition-fast); }
.social-links a:hover { background: var(--soft-teal); transform: translateY(-3px); }
.footer h4 { color: white; font-size: 1.125rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: var(--gray-400); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--soft-teal); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: var(--gray-400); font-size: 0.875rem; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; } }



/* =========================================
   Hero Slider & Services Update
   ========================================= */
.hero-slider { position: relative; width: 100%; max-width: 550px; height: 550px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.8); border: none; font-size: 1.5rem; color: var(--navy-blue); cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.slider-nav:hover { background: white; color: var(--soft-teal); }
.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }
.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 3; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all var(--transition-fast); }
.slider-dots .dot.active { background: white; transform: scale(1.2); }

.service-img-wrapper { height: 200px; margin: -2.5rem -2rem 1.5rem; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.service-card:hover .service-img-wrapper img { transform: scale(1.05); }



/* =========================================
   3D Mobile Mockup & Animation
   ========================================= */
.phone-mockup-wrapper { perspective: 1000px; width: 100%; max-width: 380px; margin: 0 auto; }
.phone-mockup { width: 100%; height: 750px; background: #0f172a; border-radius: 40px; padding: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 0 0 2px #334155, -20px 20px 40px rgba(0,0,0,0.4); transform-style: preserve-3d; transition: transform 0.5s; transform: rotateY(-15deg) rotateX(5deg); position: relative; }
.phone-mockup:hover { transform: rotateY(0deg) rotateX(0deg); }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #0f172a; border-radius: 0 0 15px 15px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: var(--bg-light); border-radius: 30px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.saas-dashboard-scroll { overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; /* Auto scroll trick */ padding: 4rem 1.5rem 2rem; }
.saas-dashboard-scroll::-webkit-scrollbar { display: none; }
.dash-card-light { background: white; border-radius: var(--radius-md); padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.dash-card-title-light { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 1rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.apt-card { display: flex; gap: 1rem; align-items: center; }
.apt-date { background: var(--soft-teal-light); color: var(--soft-teal); border-radius: 12px; padding: 0.75rem; text-align: center; min-width: 60px; }
.apt-date span { display: block; font-size: 0.75rem; font-weight: 700; }
.apt-date strong { display: block; font-size: 1.25rem; line-height: 1; }
.apt-details strong { display: block; color: var(--navy-blue); font-size: 1rem; }
.apt-details span { display: block; color: var(--gray-600); font-size: 0.875rem; margin-top: 0.25rem; }
.apt-time { display: flex; align-items: center; gap: 0.25rem; color: var(--soft-teal) !important; font-weight: 600; margin-top: 0.5rem !important; }
.pet-stats-light { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.stat-pill-light { background: var(--gray-100); color: var(--navy-blue); padding: 0.35rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500; border: 1px solid var(--gray-200); }
.rx-list-light { display: flex; flex-direction: column; gap: 1rem; }
.rx-item-light { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-100); }
.rx-item-light:last-child { border-bottom: none; padding-bottom: 0; }
.dash-content-scroll { animation: autoScroll 15s linear infinite; }
@keyframes autoScroll { 0% { transform: translateY(0); } 40% { transform: translateY(-30%); } 60% { transform: translateY(-30%); } 100% { transform: translateY(0); } }



/* =========================================
   Gallery GIFs Object Fit
   ========================================= */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

