/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #6ee7b7;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg-dark: #1e293b;
    --card-bg-light: #ffffff;
    --text-dark: #1e293b;
    --text-light: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode {
    --bg: var(--dark-bg);
    --card-bg: var(--card-bg-dark);
    --text: var(--text-light);
    --border: var(--border-dark);
}

body.light-mode {
    --bg: var(--light-bg);
    --card-bg: var(--card-bg-light);
    --text: var(--text-dark);
    --border: var(--border-light);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    opacity: 0.7;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== THEME TOGGLE ==================== */
.theme-toggle {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    background: var(--card-bg);
    border: 2px solid var(--border);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    background: var(--primary-color);
    color: white;
}

.theme-toggle i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .theme-toggle {
        top: auto;
        bottom: 8rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        z-index: 98;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        bottom: 7rem;
        width: 45px;
        height: 45px;
    }
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: linear-gradient(135deg, var(--card-bg), rgba(16, 185, 129, 0.05));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--border);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

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

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    font-size: 2rem;
}

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

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

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

/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.99;
}

.hero-slide.fade-in {
    animation: slideBackgroundFade 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideBackgroundFade {
    0% { opacity: 0.85; }
    50% { opacity: 0.95; }
    100% { opacity: 1; }
}

/* ==================== REPLACEABLE BACKGROUND IMAGES ==================== */
/* 
HOW TO REPLACE IMAGES:

All hero section background images are easily replaceable. 
Each slide has a URL like: url('https://...')

To use your own images:
1. Upload your hospital images to a service like:
   - Unsplash (free): https://unsplash.com
   - Pexels (free): https://pexels.com
   - Pixabay (free): https://pixabay.com
   - Cloudinary or your own server

2. Copy the image URL

3. Replace the URLs below - keep the gradient overlay intact:
   background-image: linear-gradient(...), url('PASTE_YOUR_URL_HERE');

SECTION 1 (5 slides): Lines for "HERO SECTION 1 BACKGROUND IMAGES"
SECTION 2 (5 slides): Lines for "HERO SECTION 2 BACKGROUND IMAGES"  
SECTION 3 (5 slides): Lines for "HERO SECTION 3 BACKGROUND IMAGES"

Image recommendations:
- Size: At least 1400x900px (16:9 aspect ratio)
- Format: JPG or WebP for best performance
- Content: Clear, professional hospital/healthcare imagery
*/

/* ==================== HERO SECTION 1 BACKGROUND IMAGES ==================== */
/* Replace these URLs with your own hospital images */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#heroCarousel .hero-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1570057811613-5ac715e0afec?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OTR8fHBhdGllbnQlMjBjZW50cmljJTIwaW1hZ2VzfGVufDB8fDB8fHww') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel .hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://plus.unsplash.com/premium_photo-1663099562501-5a8eaf61026e?w=700&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTd8fGhvc3BpdGFsJTIwaW1hZ2VzfGVufDB8fDB8fHww') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel .hero-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1758691462493-120a069304e6?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fGRpYWdub3N0aWMlMjBleGVsbGVuY2UlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel .hero-slide:nth-child(4) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1758205307849-56d762128dbd?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTUyfHxwYXRpZW50JTIwY2VudHJpYyUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel .hero-slide:nth-child(5) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1666214275172-ccc3b98e5519?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8ODh8fGhvbGlzdGljJTIwaGVhbHRoY2FyZSUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ==================== HERO SECTION 2 BACKGROUND IMAGES ==================== */
#heroCarousel2 .hero-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1742627541273-33ebe14bf1f3?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8c3BlY2lhbGlzdCUyMGNsaW5pYyUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel2 .hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1570057811613-5ac715e0afec?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTh8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel2 .hero-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://media.istockphoto.com/id/1413603540/photo/doctor-researcher-or-scientist-browsing-the-internet-on-a-tablet-for-information-while.webp?a=1&b=1&s=612x612&w=0&k=20&c=3gR1O1ouJJr5dleMv2nnisjvpjcyjlMvrEesiltJjtk=') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel2 .hero-slide:nth-child(4) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1599999904438-c6e25307afd0?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NDN8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel2 .hero-slide:nth-child(5) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1678872381876-a2a3afe03fd8?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NDd8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ==================== HERO SECTION 3 BACKGROUND IMAGES ==================== */
#heroCarousel3 .hero-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://plus.unsplash.com/premium_photo-1702599152585-1df5fd640e74?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NTd8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel3 .hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1514416205405-075ab2f15964?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NTl8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel3 .hero-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1758691461935-202e2ef6b69f?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nzl8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel3 .hero-slide:nth-child(4) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://images.unsplash.com/photo-1630226092782-9c851567e84e?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OTJ8fHNwZWNpYWxpc3QlMjBjbGluaWMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#heroCarousel3 .hero-slide:nth-child(5) {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65), rgba(16, 185, 129, 0.25)), url('https://plus.unsplash.com/premium_photo-1664476911056-ca371bb2a8c5?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTE3fHxzcGVjaWFsaXN0JTIwY2xpbmljJTIwaW1hZ2VzfGVufDB8fDB8fHww') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 3rem 2rem;
}

.hero-slide-content.active .slide-number {
    animation: slideNumberFadeIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0s forwards;
}

.hero-slide-content.active .hero-slide-title {
    animation: slideTitleFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.hero-slide-content.active .hero-slide-description {
    animation: slideDescriptionFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.hero-slide-content.active .hero-btn {
    animation: slideButtonFadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

.slide-number {
    display: inline-block;
    font-size: 5rem;
    font-weight: 800;
    opacity: 0;
    margin-bottom: -1rem;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-slide-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 3px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
}

.hero-slide-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #10b981, #6ee7b7);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
    opacity: 0;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #10b981);
}

@keyframes slideNumberFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.15;
        transform: translateY(0);
    }
}

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

@keyframes slideDescriptionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

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

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

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

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Hero Navigation Dots */
.hero-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.hero-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-dot.active {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
    border-color: white;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-slide-content {
        padding: 2rem 1.5rem;
    }

    .slide-number {
        font-size: 3rem;
    }

    .hero-slide-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-slide-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    .hero-dots {
        bottom: 2rem;
        gap: 0.7rem;
    }

    .hero-dot {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .hero-slide-content {
        padding: 1.5rem 1rem;
    }

    .slide-number {
        font-size: 2rem;
        margin-bottom: -0.5rem;
    }

    .hero-slide-title {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 0.8rem;
    }

    .hero-slide-description {
        font-size: clamp(0.85rem, 1.5vw, 0.95rem);
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .hero-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-dots {
        bottom: 1.5rem;
        gap: 0.5rem;
    }

    .hero-dot {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, white, #f0f9ff);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: left 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    border-color: var(--primary-light);
}

.btn-secondary:hover::after {
    left: 0;
}

/* ==================== BOUNCE ANIMATION ==================== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.bounce-animation {
    animation: bounce 1.5s ease-in-out 3s forwards;
}

/* ==================== HERO CAROUSEL ==================== */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background images for each slide (replaceable) */
.hero-slide[data-slide="1"] {
    background-image: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(16, 185, 129, 0.4)),
        url('https://images.unsplash.com/photo-1576091160421-112376e2e842?w=1200&h=600&fit=crop');
}

.hero-slide[data-slide="2"] {
    background-image: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(16, 185, 129, 0.4)),
        url('https://images.unsplash.com/photo-1631217314830-4700bde1ee31?w=1200&h=600&fit=crop');
}

.hero-slide[data-slide="3"] {
    background-image: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(16, 185, 129, 0.4)),
        url('https://images.unsplash.com/photo-1579154204601-01d82b27c584?w=1200&h=600&fit=crop');
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 2rem;
    animation: slideInUp 0.8s ease forwards;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 6rem 0;
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-description {
    opacity: 0.7;
    line-height: 1.8;
}

/* ==================== DOCTORS SECTION ==================== */
.doctors {
    padding: 6rem 0;
    background: var(--bg);
}

.carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 1;
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease both;
}

.doctor-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.doctor-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.doctor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent);
    pointer-events: none;
}

/* ==================== DOCTOR IMAGES (REPLACEABLE URLS) ==================== */
.doctor-card[data-doctor="1"] .doctor-image {
    background: url('https://images.unsplash.com/photo-1659353888906-adb3e0041693?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTl8fGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="2"] .doctor-image {
    background: url('https://images.unsplash.com/photo-1612531385476-a86dc00daf9a?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="3"] .doctor-image {
    background: url('https://plus.unsplash.com/premium_photo-1682089874677-3eee554feb19?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mjl8fGZlbWFsZSUyMGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="4"] .doctor-image {
    background: url('https://plus.unsplash.com/premium_photo-1661718954553-f775043016d5?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NDl8fGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="5"] .doctor-image {
    background: url('https://images.unsplash.com/photo-1758691462651-611d730c5272?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mzh8fGZlbWFsZSUyMGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="6"] .doctor-image {
    background: url('https://images.unsplash.com/photo-1758691461513-88a0aef72160?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTMxfHxkb2N0b3JzJTIwaW1hZ2VzfGVufDB8fDB8fHww') center/cover no-repeat !important;
}
.doctor-card[data-doctor="7"] .doctor-image {
    background: url('https://plus.unsplash.com/premium_photo-1661713608017-4dd54745232a?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NDl8fGZlbWFsZSUyMGRvY3RvcnMlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D') center/cover no-repeat !important;
}
.doctor-card[data-doctor="8"] .doctor-image {
    background: url('https://plus.unsplash.com/premium_photo-1661745717091-488b4d4af658?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NzN8fG1hbGUlMjBkb2N0b3JzJTIwaW1hZ2VzfGVufDB8fDB8fHww') center/cover no-repeat !important;
}
.doctor-card[data-doctor="9"] .doctor-image {
    background: url('https://images.unsplash.com/photo-1758691461530-b215ed4ede6a?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OTl8fG1hbGUlMjBkb2N0b3JzJTIwaW1hZ2VzfGVufDB8fDB8fHww') center/cover no-repeat !important;
}

.doctor-info {
    padding: 1.5rem;
}

.doctor-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    padding: 6rem 0;
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

/* Super Responsive Grid */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1025px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
    animation: fadeInUp 0.6s ease both;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s ease;
}

.gallery-item:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    position: relative;
    filter: brightness(1);
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(15, 23, 42, 0.5));
    transition: opacity 0.4s ease;
    opacity: 0.5;
}

.gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(0.9);
}

.gallery-item:hover .gallery-image::after {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* ==================== GALLERY IMAGE URLS (REPLACEABLE) ==================== */
[data-gallery="1"] .gallery-image {
    background-image: url('https://plus.unsplash.com/premium_photo-1764691400654-cde59d1d6294?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8aG9zcGl0YWwlMjBsb2JieSUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D');
}
[data-gallery="2"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/501707914/photo/empty-hospital-operating-theatre-with-lighting-over-bed.webp?a=1&b=1&s=612x612&w=0&k=20&c=jdcHyWsMKMgL6bRPfWquiZ5-cJgRveltVbwJ-5-K9a0=');
}
[data-gallery="3"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/1027139762/photo/theres-always-something-waiting-to-be-discovered.webp?a=1&b=1&s=612x612&w=0&k=20&c=dLFC-6MU5kbgEShUaPusTk5TlpP8q0wyQHERdRu9Gak=');
}
[data-gallery="4"] .gallery-image {
    background-image: url('https://images.unsplash.com/photo-1635585558406-23471c000853?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8ZW1lcmdhbmN5JTIwd2FyZCUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D');
}
[data-gallery="5"] .gallery-image {
    background-image: url('https://images.unsplash.com/photo-1633488781325-d36e6818d0c8?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8cGF0aWVudCUyMGNhcmUlMjBpbWFnZXN8ZW58MHx8MHx8fDA%3D');
}
[data-gallery="6"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/2226664352/photo/senior-woman-in-hospital-bed.webp?a=1&b=1&s=612x612&w=0&k=20&c=DzZpp9-YpU6SGjj2iC3v-SBz6DWmhAqDmRL6amRWXhM=');
}
[data-gallery="7"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/2210069702/photo/female-nurse-operating-mri-scan-machine-at-mri-scanner-room.webp?a=1&b=1&s=612x612&w=0&k=20&c=SgN8Cnae3BgEFRlUQbEzd1kR1orTlNrbM3DTvz2HB1g=');
}
[data-gallery="8"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/2223338895/photo/heart-attack-and-heart-disease-ecg-background-3d-illustration.webp?a=1&b=1&s=612x612&w=0&k=20&c=OGbNIsOaD9zFgvQVopACgWf-31hD3LDm6CL1P5vb3Ik=');
}
[data-gallery="9"] .gallery-image {
    background-image: url('https://images.unsplash.com/photo-1569937715901-8daefd21a270?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTR8fHJlaGFiaWxpdGF0aW9uJTIwaW1hZ2VzfGVufDB8fDB8fHww');
}
[data-gallery="10"] .gallery-image {
    background-image: url('https://media.istockphoto.com/id/2190716573/photo/experienced-radiographer-examines-chest-x-rays-on-multiple-computer-monitors-in-a-dark.webp?a=1&b=1&s=612x612&w=0&k=20&c=PArk9NIJjkLw_kUN50G3xRUANULfh2wGBo1ec9j1C00=');
}
[data-gallery="11"] .gallery-image {
    background-image: url('https://plus.unsplash.com/premium_photo-1661777752178-fa6055526eb8?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTd8fHBoYXJtYWN5JTIwaW1hZ2VzfGVufDB8fDB8fHww');
}
[data-gallery="12"] .gallery-image {
    background-image: url('https://images.unsplash.com/photo-1684607633062-b31b5d134814?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8N3x8c3BlY2lhbGlzdCUyMGNsaW5pYyUyMGltYWdlc3xlbnwwfHwwfHx8MA%3D%3D');
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 6rem 0;
    background: var(--bg);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    text-align: center;
    animation: fadeInUp 0.6s ease both;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.7;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* ==================== BLOG SECTION ==================== */
.blog {
    padding: 6rem 0;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: transform 0.4s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-excerpt {
    opacity: 0.7;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    align-self: flex-start;
}

.blog-btn:hover {
    gap: 1rem;
}

/* ==================== APPOINTMENT FORM ==================== */
.appointment {
    padding: 6rem 0;
    background: var(--bg);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 15px;
    animation: fadeInUp 0.6s ease;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.form-submit:hover::before {
    left: 100%;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: none;
}

.form-error.show {
    display: block;
}

/* ==================== LOCATION MAP SECTION ==================== */
.location-map {
    padding: 6rem 0;
    background: var(--bg);
}

.map-wrapper {
    display: flex;
    animation: fadeInUp 0.6s ease;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    border: 1px solid var(--border);
    min-height: 500px;
    width: 100%;
}

.map-frame {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: 15px;
}

/* Responsive Map Section */
@media (max-width: 768px) {
    .location-map {
        padding: 4rem 0;
    }

    .map-container {
        min-height: 400px;
    }

    .map-frame {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .location-map {
        padding: 3rem 0;
    }

    .map-container {
        min-height: 300px;
    }

    .map-frame {
        min-height: 300px;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section p {
    opacity: 0.7;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ==================== SCROLLBAR ANIMATION ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }

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

    .carousel-slide {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .hero-carousel-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .hero-slide-title {
        font-size: 1.8rem;
    }

    .hero-slide-description {
        font-size: 0.95rem;
    }

    .hero-carousel-dots {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

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

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

    .form-container {
        padding: 1.5rem;
    }

    .testimonial-slide {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-slide-content {
        padding: 1.5rem;
    }

    .hero-carousel-dots {
        gap: 0.5rem;
        bottom: 1rem;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-dot.active {
        width: 24px;
    }

}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .theme-toggle,
    .scroll-to-top,
    .navbar {
        display: none;
    }
}
