/* ARVI Eye Care - Advanced 3D Animations Theme */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #7dd3fc;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --text: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-3d: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #0891b2 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-3d: 0 20px 60px rgba(14,165,233,0.3), 0 10px 30px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --perspective: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================
   Floating Particles
   ============================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -20px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
    transform-style: preserve-3d;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) rotate(0deg) translateZ(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-50vh) rotate(360deg) translateZ(50px);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg) translateZ(0);
        opacity: 0;
    }
}

/* ============================
   Morphing Shapes
   ============================ */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    perspective: 1000px;
}

.morph-shape {
    position: absolute;
    border-radius: 50%;
    animation: morphFloat 8s ease-in-out infinite;
}

@keyframes morphFloat {
    0%, 100% {
        border-radius: 50% 40% 60% 50%;
        transform: translateZ(0) rotate(0deg);
    }
    25% {
        border-radius: 40% 60% 50% 50%;
        transform: translateZ(20px) rotate(90deg);
    }
    50% {
        border-radius: 60% 50% 40% 60%;
        transform: translateZ(40px) rotate(180deg);
    }
    75% {
        border-radius: 50% 50% 60% 40%;
        transform: translateZ(20px) rotate(270deg);
    }
}

/* ============================
   3D Text Effects
   ============================ */
.section-title {
    transform-style: preserve-3d;
}

.section-title span {
    display: inline-block;
    transform-style: preserve-3d;
}

/* ============================
   Tilt Glare Effect
   ============================ */
.tilt-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    opacity: 0;
    pointer-events: none;
    border-radius: inherit;
    z-index: 10;
}

/* ============================
   3D Depth Layers
   ============================ */
.depth-layer-1 {
    transform: translateZ(10px);
}

.depth-layer-2 {
    transform: translateZ(20px);
}

.depth-layer-3 {
    transform: translateZ(30px);
}

/* ============================
   Animated Gradient Border
   ============================ */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-border {
    background: linear-gradient(270deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 200%;
    animation: gradientBorder 3s ease infinite;
}

/* ============================
   3D Card Stack Effect
   ============================ */
.card-stack {
    perspective: 1000px;
}

.card-stack:hover .card-stack-item:nth-child(1) {
    transform: translateZ(30px) rotateY(-5deg);
}

.card-stack:hover .card-stack-item:nth-child(2) {
    transform: translateZ(20px) rotateY(-3deg);
}

.card-stack:hover .card-stack-item:nth-child(3) {
    transform: translateZ(10px) rotateY(-1deg);
}

/* ============================
   Holographic Effect
   ============================ */
.holographic {
    background: linear-gradient(
        135deg,
        rgba(14,165,233,0.3) 0%,
        rgba(6,182,212,0.3) 25%,
        rgba(125,211,252,0.3) 50%,
        rgba(6,182,212,0.3) 75%,
        rgba(14,165,233,0.3) 100%
    );
    background-size: 400% 400%;
    animation: holographicShift 5s ease infinite;
}

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

/* ============================
   Scroll Reveal Animations
   ============================ */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-float {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-float.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================
   Typography
   ============================ */
.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(14,165,233,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14,165,233,0.4);
}

/* ============================
   Navigation
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-eye {
    width: 40px;
    height: 26px;
    border: 2.5px solid var(--primary);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-iris {
    width: 16px;
    height: 16px;
    background: var(--gradient);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: transform 0.1s ease;
}

.logo-pupil {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    z-index: 2;
}

.logo-shine {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    top: 4px;
    right: 8px;
    z-index: 3;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.navbar:not(.scrolled) .logo-text {
    color: #fff;
}

.dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s ease;
    position: relative;
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.9);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--gradient);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar:not(.scrolled) .hamburger span {
    background: #fff;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================
   Hero Section - Advanced 3D
   ============================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
    perspective: var(--perspective);
}

/* Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

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

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(14,165,233,0.15);
    top: -100px;
    right: 10%;
    animation: shapeFloat 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(6,182,212,0.1);
    bottom: 10%;
    left: 5%;
    animation: shapeFloat 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(125,211,252,0.1);
    top: 40%;
    left: 40%;
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: rgba(14,165,233,0.08);
    bottom: 20%;
    right: 20%;
    animation: shapeFloat 9s ease-in-out infinite reverse;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}

/* Eye Outline Decoration */
.eye-outline {
    position: absolute;
    width: 300px;
    height: 160px;
    border: 2px solid rgba(14,165,233,0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: eyePulse 4s ease-in-out infinite;
}

.eye-outline::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(14,165,233,0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eye-outline::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(14,165,233,0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes eyePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Hero Container */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content.reveal-up.revealed {
    animation: heroContentIn 1s ease-out forwards;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
    50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 30px;
    position: relative;
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    color: #fff;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 500px;
}

.hero-visual.reveal-float.revealed {
    animation: heroVisualIn 1s ease-out 0.2s forwards;
    opacity: 0;
}

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

.hero-image-container {
    position: relative;
    width: 380px;
    height: 450px;
}

.image-glow {
    position: absolute;
    inset: -30px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: scale(1.02);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Cards - Fixed Positioning */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 10;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.card-tech {
    top: 20px;
    right: -60px;
    animation: floatCard 4s ease-in-out infinite;
}

.card-rating {
    bottom: 100px;
    left: -50px;
    animation: floatCard 4s ease-in-out infinite 1s;
}

.card-safe {
    bottom: 30px;
    right: -40px;
    animation: floatCard 4s ease-in-out infinite 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(14,165,233,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-icon.pulse-icon {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(14,165,233,0); }
}

.stars-mini {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ============================
   About Section
   ============================ */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-reveal {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-reveal img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-reveal:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,165,233,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-reveal:hover .image-overlay {
    opacity: 1;
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background: var(--gradient);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 15px 40px rgba(14,165,233,0.4);
    z-index: 2;
}

.experience-badge.reveal-float.revealed {
    animation: badgeBounce 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes badgeBounce {
    0% { opacity: 0; transform: translateY(30px) scale(0.8); }
    60% { transform: translateY(-10px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.exp-num {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 42px;
    color: #fff;
    line-height: 1;
}

.exp-text {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    margin-top: 4px;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.4s ease;
    border-left: 3px solid transparent;
}

.list-item:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary);
    transform: translateX(8px);
}

.list-item.reveal-left.revealed {
    animation: listSlide 0.6s ease-out forwards;
    opacity: 0;
}

.list-item:nth-child(1).revealed { animation-delay: 0.1s; }
.list-item:nth-child(2).revealed { animation-delay: 0.2s; }
.list-item:nth-child(3).revealed { animation-delay: 0.3s; }

@keyframes listSlide {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.list-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(14,165,233,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.list-item:hover .list-icon {
    background: var(--gradient);
    color: #fff;
    transform: rotate(360deg);
}

.list-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.list-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================
   Services Section - Advanced 3D
   ============================ */
.services {
    padding: 100px 0;
    background: var(--bg-light);
    perspective: var(--perspective);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    transform-style: preserve-3d;
}

.service-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,165,233,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-card:hover {
    transform: translateY(-12px) translateZ(20px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.service-card.reveal-up.revealed {
    animation: cardReveal3D 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes cardReveal3D {
    0% {
        opacity: 0;
        transform: translateY(60px) translateZ(-100px) rotateX(15deg);
    }
    50% {
        transform: translateY(-10px) translateZ(10px) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0);
    }
}

/* 3D Card Shine Effect */
.service-card .service-icon-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.8) 50%, transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.service-card:hover .service-icon-wrap::before {
    transform: rotate(45deg) translateX(100%);
}

.service-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.service-icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(14,165,233,0.08);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-bg {
    background: var(--gradient);
    transform: scale(1.1) rotate(180deg);
}

.service-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon {
    color: #fff;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.card-line {
    width: 40px;
    height: 3px;
    background: var(--gradient);
    margin: 20px auto 0;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover .card-line {
    transform: scaleX(1);
}

/* ============================
   Doctor Section - Advanced 3D
   ============================ */
.doctor {
    padding: 100px 0;
    background: var(--bg);
    perspective: var(--perspective);
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.doctor-image {
    position: relative;
    perspective: 1000px;
}

.doctor-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.doctor-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,165,233,0.2) 0%, transparent 50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.doctor-img-wrapper:hover::before {
    opacity: 1;
}

.doctor-img-wrapper:hover {
    transform: rotateY(0) rotateX(0) translateZ(20px);
    box-shadow: var(--shadow-3d);
}

.doctor-img-wrapper img {
    width: 100%;
    max-width: 480px;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.doctor-img-wrapper:hover img {
    transform: scale(1.08);
}

.img-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: -1;
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    transform: translateZ(-20px);
}

.doctor-img-wrapper:hover ~ .img-decoration {
    transform: translateZ(-40px) scale(1.05);
    opacity: 0.5;
}

.doctor-img-wrapper.reveal-left.revealed {
    animation: doctorImgIn3D 1s ease-out forwards;
    opacity: 0;
}

@keyframes doctorImgIn3D {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateZ(-100px) rotateY(20deg) rotateX(10deg);
    }
    60% {
        transform: translateX(10px) translateZ(10px) rotateY(-3deg) rotateX(-1deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateZ(0) rotateY(-5deg) rotateX(2deg);
    }
}

.verified-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    transform: translateZ(30px);
    transition: transform 0.4s ease;
}

.doctor-img-wrapper:hover .verified-badge {
    transform: translateZ(40px) scale(1.05);
}

.verified-badge svg {
    animation: checkPulse3D 2s infinite;
}

@keyframes checkPulse3D {
    0%, 100% { transform: scale(1) rotateZ(0deg); }
    25% { transform: scale(1.1) rotateZ(5deg); }
    50% { transform: scale(1.2) rotateZ(0deg); }
    75% { transform: scale(1.1) rotateZ(-5deg); }
}

.doctor-info .section-title {
    margin-bottom: 16px;
}

.doctor-role {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.schedule-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.schedule-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.schedule-card.reveal-up.revealed {
    animation: scheduleIn 0.6s ease-out forwards;
    opacity: 0;
}

.schedule-card:nth-child(1).revealed { animation-delay: 0.1s; }
.schedule-card:nth-child(2).revealed { animation-delay: 0.2s; }

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

.schedule-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(14,165,233,0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.schedule-card:hover .schedule-icon {
    background: var(--gradient);
    color: #fff;
    transform: rotateY(180deg);
}

.schedule-label {
    display: block;
    font-size: 12px;
    color: var(--text-lighter);
    margin-bottom: 2px;
}

.schedule-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ============================
   Testimonials Section - Advanced 3D
   ============================ */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
    perspective: var(--perspective);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    transform-style: preserve-3d;
}

.testimonial-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(14,165,233,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.testimonial-card:hover {
    transform: translateY(-15px) translateZ(30px) rotateX(5deg) rotateY(-2deg);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.testimonial-card.featured {
    background: var(--gradient-3d);
    border-color: transparent;
    color: #fff;
    transform: translateZ(10px);
}

.testimonial-card.featured:hover {
    transform: translateY(-20px) translateZ(50px) rotateX(8deg) rotateY(-3deg);
}

.testimonial-card.featured * {
    color: #fff;
}

.testimonial-card.reveal-up.revealed {
    animation: testimonialIn3D 0.9s ease-out forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1).revealed { animation-delay: 0.1s; }
.testimonial-card:nth-child(2).revealed { animation-delay: 0.2s; }
.testimonial-card:nth-child(3).revealed { animation-delay: 0.3s; }

@keyframes testimonialIn3D {
    0% {
        opacity: 0;
        transform: translateY(80px) translateZ(-150px) rotateX(20deg) rotateY(10deg);
    }
    40% {
        transform: translateY(-20px) translateZ(20px) rotateX(-5deg) rotateY(-3deg);
    }
    70% {
        transform: translateY(5px) translateZ(5px) rotateX(1deg) rotateY(1deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0) rotateY(0);
    }
}

.quote-icon {
    font-family: 'DM Serif Display', serif;
    font-size: 80px;
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 28px;
    transform: translateZ(20px);
    transition: all 0.4s ease;
}

.testimonial-card:hover .quote-icon {
    transform: translateZ(40px) scale(1.2) rotate(10deg);
    opacity: 0.25;
}

.stars {
    font-size: 18px;
    color: #fbbf24;
    margin-bottom: 16px;
    letter-spacing: 2px;
    transform: translateZ(10px);
}

.testimonial-card.featured .stars {
    color: #fff;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transform: translateZ(15px);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateZ(20px);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(14,165,233,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.testimonial-card:hover .author-avatar {
    transform: translateZ(25px) rotateY(180deg);
}

.testimonial-card.featured .author-avatar {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    opacity: 0.8;
}

/* ============================
   Contact Section - Advanced 3D
   ============================ */
.contact {
    padding: 100px 0;
    background: var(--bg);
    perspective: var(--perspective);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transform-style: preserve-3d;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    transform-style: preserve-3d;
    transform: translateZ(0);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, var(--primary) 10%, transparent 20%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateGlow 3s linear infinite;
    pointer-events: none;
}

.info-card:hover::before {
    opacity: 0.15;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.info-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-light);
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 0;
    transition: background 0.4s ease;
}

.info-card:hover::after {
    background: #fff;
}

.info-card > * {
    position: relative;
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-15px) translateZ(30px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.info-card.reveal-up.revealed {
    animation: infoCardIn3D 0.8s ease-out forwards;
    opacity: 0;
}

.info-card:nth-child(1).revealed { animation-delay: 0.1s; }
.info-card:nth-child(2).revealed { animation-delay: 0.2s; }
.info-card:nth-child(3).revealed { animation-delay: 0.3s; }

@keyframes infoCardIn3D {
    0% {
        opacity: 0;
        transform: translateY(60px) translateZ(-80px) rotateX(15deg) rotateY(-10deg);
    }
    50% {
        transform: translateY(-10px) translateZ(15px) rotateX(-3deg) rotateY(3deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0) rotateX(0) rotateY(0);
    }
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    box-shadow: 0 10px 30px rgba(14,165,233,0.3);
}

.info-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.info-card:hover .info-icon::before {
    opacity: 0.6;
}

.info-card:hover .info-icon {
    transform: translateZ(30px) rotateY(180deg) scale(1.15);
    box-shadow: 0 15px 40px rgba(14,165,233,0.4);
}

.info-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    transform: translateZ(10px);
}

.info-value {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    transform: translateZ(15px);
}

.info-card a.info-value {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-card:hover a.info-value {
    color: var(--primary-dark);
    transform: translateZ(20px);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--secondary);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact svg {
    color: var(--primary);
    margin-top: 3px;
    min-width: 18px;
}

.footer-contact span,
.footer-contact a {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ============================
   Custom Cursor Styles
   ============================ */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--accent);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(14, 165, 233, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease;
}

.cursor-follower.hover {
    width: 80px;
    height: 80px;
    border-color: rgba(6, 182, 212, 0.3);
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ripple {
    position: fixed;
    width: 0;
    height: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999997;
    transform: translate(-50%, -50%);
    animation: rippleExpand 0.6s ease-out forwards;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Touch device cursor ripple - larger for touch */
@media (hover: none), (pointer: coarse) {
    .cursor-ripple {
        width: 60px;
        height: 60px;
        border: 3px solid var(--primary);
        background: rgba(14, 165, 233, 0.1);
    }
}

/* Hide default cursor on desktop only */
@media (min-width: 769px) and (hover: hover) {
    * {
        cursor: none !important;
    }
}

/* Show default cursor on touch devices */
@media (hover: none), (pointer: coarse) {
    .custom-cursor,
    .cursor-follower,
    .cursor-dot {
        display: none !important;
    }
}

/* ============================
   Touch Ripple Effect
   ============================ */
.touch-ripple {
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: touchRippleExpand 0.6s ease-out forwards;
}

@keyframes touchRippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ============================
   Mouse Trail Sparkle
   ============================ */
.mouse-sparkle {
    animation: sparkleFade 0.8s ease-out forwards;
}

@keyframes sparkleFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) translateY(-30px);
    }
}

/* ============================
   Orbital Elements
   ============================ */
.orbital-element {
    transition: opacity 0.3s ease;
}

/* ============================
   Draggable Element Styles
   ============================ */
.floating-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.floating-card:active {
    cursor: grabbing !important;
}

/* Touch-friendly drag feedback */
@media (hover: none), (pointer: coarse) {
    .floating-card {
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .floating-card:active {
        border-color: var(--primary);
        transform: scale(1.05) rotate(2deg);
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }
}

/* ============================
   Magnetic Button Effect
   ============================ */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================
   Gravity Affected Elements
   ============================ */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.4s ease;
}

/* Touch-friendly card interactions */
@media (hover: none), (pointer: coarse) {
    .service-card:active,
    .testimonial-card:active,
    .info-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }
    
    .service-card:active .service-icon-bg {
        background: var(--gradient);
        transform: scale(1.1) rotate(180deg);
    }
    
    .service-card:active .service-icon {
        color: #fff;
    }
    
    .info-card:active .info-icon {
        transform: scale(1.1) rotateY(180deg);
    }
}

/* ============================
   Back to Top
   ============================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(14,165,233,0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(14,165,233,0.5);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-btn {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 16px;
        border-radius: 0 0 var(--radius) var(--radius);
    }
    
    .nav-links.active a {
        color: var(--text) !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 120px 24px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .stat-item {
        padding: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
}
