/* Global Styles */
        :root {
            --primary: #0d6efd;
            --secondary: #6c757d;
            --success: #198754;
            --info: #0dcaf0;
            --light: #f8f9fa;
            --dark: #212529;
            --white: #fff;
            --hospital-blue: #1a8cff;
            --hospital-green: #28a745;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            overflow-x: hidden;
            color: #333;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: var(--hospital-blue);
        }

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

        .btn {
            display: inline-block;
            padding: 12px 24px;
            background: var(--hospital-blue);
            color: var(--white);
            border: none;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .btn:hover {
            background: #0066cc;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--hospital-blue);
            color: var(--hospital-blue);
        }

        .btn-outline:hover {
            background: var(--hospital-blue);
            color: var(--white);
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--hospital-blue);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title p {
            color: var(--secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Header Styles */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
            padding: 20px 0;
        }

        header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
        }

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

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 50px;
            margin-right: 10px;
        }

        .logo h1 {
            color: var(--hospital-blue);
            font-size: 1.8rem;
            font-weight: 700;
        }

        .logo span {
            color: var(--hospital-green);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            color: var(--dark);
            font-weight: 600;
            transition: color 0.3s ease;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--hospital-blue);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        nav ul li a:hover {
            color: var(--hospital-blue);
        }

        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--dark);
        }
        

        /* Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            animation: fadeInUp 1s ease;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .hero-btns .btn {
            animation: fadeIn 1s ease 0.5s both;
        }

        .hero-btns .btn-outline {
            animation: fadeIn 1s ease 0.7s both;
        }

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

        .about-container {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-img {
            flex: 1;
            position: relative;
            animation: fadeInLeft 1s ease;
        }

        .about-img img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        }

        .about-img::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 5px solid var(--hospital-blue);
            border-radius: 10px;
            top: -20px;
            left: -20px;
            z-index: -1;
        }

        .about-content {
            flex: 1;
            animation: fadeInRight 1s ease;
        }

        .about-content h3 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .about-content p {
            margin-bottom: 20px;
            color: var(--secondary);
        }

        .about-features {
            margin-top: 30px;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .feature-icon {
            background: var(--hospital-blue);
            color: var(--white);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
            font-size: 1.2rem;
        }

        /* Services Section */
        .services {
            padding: 100px 0;
        }

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

        .service-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            animation: fadeInUp 0.5s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .service-img {
            height: 200px;
            overflow: hidden;
        }

        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .service-card:hover .service-img img {
            transform: scale(1.1);
        }

        .service-content {
            padding: 25px;
        }

        .service-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .service-content p {
            color: var(--secondary);
            margin-bottom: 20px;
        }

        .read-more {
            display: inline-flex;
            align-items: center;
            color: var(--hospital-blue);
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .read-more i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .read-more:hover i {
            transform: translateX(5px);
        }

        /* Departments Section */
        .departments {
            padding: 100px 0;
            background: var(--light);
        }

        .departments-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .department-card {
            background: var(--white);
            border-radius: 10px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            animation: fadeIn 0.5s ease;
        }

        .department-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .department-icon {
            width: 80px;
            height: 80px;
            background: rgba(26, 140, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 2rem;
            color: var(--hospital-blue);
        }

        .department-card h3 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .department-card p {
            color: var(--secondary);
            font-size: 0.9rem;
        }

        /* Doctors Section */
        .doctors {
            padding: 100px 0;
        }

        .doctors-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .doctor-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            animation: fadeIn 0.5s ease;
        }

        .doctor-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .doctor-img {
            height: 300px;
            overflow: hidden;
        }

        .doctor-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .doctor-card:hover .doctor-img img {
            transform: scale(1.05);
        }

        .doctor-info {
            padding: 25px;
            text-align: center;
        }

        .doctor-info h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .doctor-info p {
            color: var(--hospital-blue);
            font-weight: 600;
            margin-bottom: 15px;
        }

        .doctor-social {
            display: flex;
            justify-content: center;
            gap: 15px;
        }

        .doctor-social a {
            width: 35px;
            height: 35px;
            background: var(--light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            transition: all 0.3s ease;
        }

        .doctor-social a:hover {
            background: var(--hospital-blue);
            color: var(--white);
        }

        /* Testimonials Section */
        .testimonials {
            padding: 100px 0;
            background: var(--light);
        }

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

        .testimonial-slide {
            background: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .testimonial-slide.active {
            display: block;
        }

        .testimonial-content {
            font-size: 1.1rem;
            font-style: italic;
            color: var(--dark);
            margin-bottom: 30px;
            position: relative;
        }

        .testimonial-content::before,
        .testimonial-content::after {
            content: '"';
            font-size: 3rem;
            color: var(--hospital-blue);
            opacity: 0.3;
            position: absolute;
        }

        .testimonial-content::before {
            top: -20px;
            left: -10px;
        }

        .testimonial-content::after {
            bottom: -40px;
            right: -10px;
        }

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

        .author-img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }

        .author-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .author-info p {
            color: var(--secondary);
            font-size: 0.9rem;
        }

        .testimonial-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            gap: 10px;
        }

        .testimonial-nav button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: none;
            background: #ccc;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .testimonial-nav button.active {
            background: var(--hospital-blue);
            transform: scale(1.2);
        }

        /* Appointment Section */
        .appointment {
            padding: 100px 0;
            background: linear-gradient(rgba(26, 140, 255, 0.9), rgba(26, 140, 255, 0.9)), url('https://images.unsplash.com/photo-1581056771107-24ca5f033842?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
            color: var(--white);
        }

        .appointment-container {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .appointment-info {
            flex: 1;
            animation: fadeInLeft 1s ease;
        }

        .appointment-info h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .appointment-info p {
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .appointment-features {
            margin-top: 40px;
        }

        .appointment-feature {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .appointment-feature i {
            font-size: 1.5rem;
            margin-right: 15px;
            color: var(--white);
        }

        .appointment-form {
            flex: 1;
            background: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: fadeInRight 1s ease;
        }

        .appointment-form h3 {
            color: var(--dark);
            font-size: 1.8rem;
            margin-bottom: 20px;
            text-align: center;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--dark);
            font-weight: 600;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--hospital-blue);
            box-shadow: 0 0 0 3px rgba(26, 140, 255, 0.2);
            outline: none;
        }

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

        /* Contact Section */
        .contact {
            padding: 100px 0;
        }

        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .contact-info {
            animation: fadeInLeft 1s ease;
        }

        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .contact-details {
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: rgba(26, 140, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--hospital-blue);
            font-size: 1.2rem;
        }

        .contact-text h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .contact-text p, .contact-text a {
            color: var(--secondary);
        }

        .contact-social {
            display: flex;
            gap: 15px;
        }

        .contact-social a {
            width: 40px;
            height: 40px;
            background: var(--light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            transition: all 0.3s ease;
        }

        .contact-social a:hover {
            background: var(--hospital-blue);
            color: var(--white);
            transform: translateY(-5px);
        }

        .contact-map {
            height: 100%;
            min-height: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            animation: fadeInRight 1s ease;
        }

        .contact-map iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: var(--white);
            padding: 70px 0 0;
        }

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

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--hospital-blue);
            bottom: 0;
            left: 0;
        }

        .footer-col p {
            color: #aaa;
            margin-bottom: 20px;
        }

        .footer-links li {
            margin-bottom: 10px;
            list-style: none;
        }

        .footer-links a {
            color: #aaa;
            transition: all 0.3s ease;
            display: inline-block;
        }

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

        .footer-contact li {
            margin-bottom: 15px;
            list-style: none;
            display: flex;
            align-items: flex-start;
            color: #aaa;
        }

        .footer-contact i {
            margin-right: 10px;
            color: var(--hospital-blue);
        }

        .footer-newsletter p {
            margin-bottom: 20px;
        }

        .newsletter-form {
            display: flex;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 5px 0 0 5px;
            font-size: 1rem;
        }

        .newsletter-form button {
            background: var(--hospital-blue);
            color: var(--white);
            border: none;
            padding: 0 20px;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-form button:hover {
            background: #0066cc;
        }

        .footer-bottom {
            background: #111;
            padding: 20px 0;
            text-align: center;
        }

        .footer-bottom p {
            color: #aaa;
            font-size: 0.9rem;
        }

        .footer-bottom p a {
            color: var(--hospital-blue);
            font-weight: 600;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

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

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

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

        /* Responsive Styles */
        @media (max-width: 992px) {
            .about-container,
            .appointment-container {
                flex-direction: column;
            }

            .about-img,
            .about-content,
            .appointment-info,
            .appointment-form {
                flex: none;
                width: 100%;
            }

            .about-img {
                margin-bottom: 40px;
            }

            .appointment-info {
                margin-bottom: 40px;
                text-align: center;
            }

            .appointment-feature {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
             .mobile-menu-close {
                display: block;
            }
            .mobile-menu-btn {
                display: block;
            }

            nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background: var(--white);
                box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
                transition: all 0.3s ease;
                z-index: 1001;
                padding: 80px 30px 30px;
            }

            nav.active {
                right: 0;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li {
                margin: 0 0 20px;
            }

            .mobile-menu-close {
                display: none;
                position: absolute;
                top: 20px;
                right: 20px;
                font-size: 1.5rem;
                cursor: pointer;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .hero-btns {
                flex-direction: column;
                gap: 15px;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .service-card,
            .department-card,
            .doctor-card {
                animation: none !important;
            }
        }

        @media (max-width: 576px) {
            .logo h1 {
                font-size: 1.5rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .appointment-form {
                padding: 30px 20px;
            }

            .testimonial-slide {
                padding: 30px 20px;
            }
        }