      
       /* Base Styles */
        :root {
            --primary-color: #1977cc;
            --primary-hover: #166bb7;
            --secondary-color: #3291e6;
            --dark-color: #0c3c53;
            --light-color: #f6f9fe;
            --white: #ffffff;
            --black: #000000;
            --gray: #444444;
            --light-gray: #f1f7fd;
            --transition: all 0.3s ease-in-out;
            --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
            --border-radius: 4px;
            --border-radius-lg: 8px;
        }



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            font-family: 'Raleway', sans-serif;
            color: var(--gray);
            line-height: 1.6;
            background-color: var(--white);
            overflow-x: hidden;
            transition: background-color 0.3s ease;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            color: var(--dark-color);
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
        }

        ul {
            list-style: none;
        }

        .container {
            width: 100%;
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title h2 {
            font-size: 32px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            color: #6c757d;
        }

        .section-title::after {
            content: '';
            position: absolute;
            display: block;
            width: 80px;
            height: 3px;
            background: var(--primary-color);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-align: center;
            font-size: 15px;
        }

        .btn-primary {
            background: var(--primary-color);
            color: var(--white);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .btn-outline-primary {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-outline-primary:hover {
            background: var(--primary-color);
            color: var(--white);
        }




        /* Header Styles */
        .header {
            background-color: var(--white);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
            
        }

        .header.scrolled {
            box-shadow: var(--shadow-lg);
        }

        .social-links {
            display: none;
            align-items: center;
            gap: 15px;
        }


    /* Main Navigation */
        .navbar {
            height: 120px;
            display: flex;
            align-items: center;
            transition: var(--transition);
        }

        .navbar.scrolled {
            height: 100px;
        }

 .navbar-container {
            width: 100%;
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        } 

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--black);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            height: 80px;
            width: auto;
        }

        .logo span {
            color: var(--primary-color);
        }

        /* Desktop Navigation */
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-menu > ul {
            display: flex;
            list-style: none;
            gap: 20px;
        }
 .nav-menu a {
            color: var(--dark-color);
            font-weight: 500;
            font-size: 15px;         
           /*  position: relative; */
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
        } 
     
        .nav-menu a:hover,
        .nav-menu .active {
            color: var(--primary-color);
            color: ;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
          
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }

           .nav-menu ul a::after {
            background: var(--primary-color);
        }

        .nav-menu a:hover::after,
        .nav-menu .active::after {
            width: 100%;
        }

        /* Dropdown Menu */
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: var(--white);
            box-shadow: var(--shadow-md);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 1000;
            border-radius: var(--border-radius);
            padding: 10px 0;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(5px);
        }

        .dropdown-menu li {
            padding: 0;
        }

        .dropdown-menu a {
            padding: 10px 20px;
            display: block;
            white-space: nowrap;
        }

        .dropdown-menu a:hover {
            background: var(--light-gray);
        }

        .dropdown-menu .dropdown-menu {
            top: 0;
            left: 100%;
        }

        /* Mobile Navigation Toggle */
        .mobile-nav-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--dark-color);
            background: none;
            border: none;
            padding: 5px;
            transition: var(--transition);
        }

        .mobile-nav-toggle:hover {
            color: var(--primary-color);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            background: none;
            border: none;
            color: var(--dark-color);
            font-size: 20px;
            cursor: pointer;
            margin-left: 15px;
            transition: var(--transition);
        }

        .theme-toggle:hover {
            color: var(--primary-color);
            transform: rotate(30deg);
        }

/* CTA Button */
.cta-button {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition, all 0.3s ease);
    border:1px solid var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm, 0 2px 6px rgba(0, 0, 0, 0.1));
    margin-left: 20px;
    
}

/* Hover effect */
.cta-button:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
    text-decoration: none;
}

/* Hover effect */
.ss a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
    text-decoration: none;
}



        /* Mobile Navigation */
        @media (max-width: 991px) {
            .social-links {
                display: flex;
            }

            .mobile-nav-toggle {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 70px;
                right: -100%;
                width: 80%;
                max-width: 400px;
                height: calc(100vh - 120px);
                background: var(--white);
                transition: var(--transition);
                overflow-y: auto;
                flex-direction: column;
                padding: 20px;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                
            }
                .logo img {
                height: 80px;
                width: auto;
        }

  .navbar {
            height: 100px;
            display: flex;
            align-items: center;
            transition: var(--transition);
        }

            .nav-menu.active {
                right: 0;
            }

            .nav-menu > ul {
                flex-direction: column;
                width: 100%;
                gap: 0;
            }

            .nav-menu li {
                width: 100%;
                padding: 0;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            }
            .nav-menu a {
                padding: 12px 0;
            }
            /* CTA Button */
         .cta-button {
                 display: grid;
                 align-items: center;
                 place-content: center;
           }
  
            /* Hover effect */
                   .cta-button:hover {
                      background: white;
                     color: var(--primary-color);
                     transform: translateY(-3px);
                  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
                   }



            .dropdown-menu {
                position: static;
                display: none;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                padding-left: 15px;
                border-left: 2px solid var(--primary-color);
            }

            .dropdown:hover .dropdown-menu,
            .dropdown.active .dropdown-menu {
                display: block;
            }

            .dropdown-menu .dropdown-menu {
                left: 15px;
            }

            .cta-button {
                margin: 20px 0 0;
                width: 100%;
                text-align: center;
            }

            .theme-toggle {
                margin-left: 0;
                margin-top: 20px;
                width: 100%;
                text-align: center;
            }
        }

        @media (max-width: 768px) {
            .topbar {
                height: auto;
                padding: 10px 0;
            }
              .navbar {
            height: 90px;
            display: flex;
            align-items: center;
            transition: var(--transition);
        }

    .logo img {
            height: 60px;
            width: auto;
        }

           
        .navbar.scrolled {
            height: 70px;
        }

            .social-links {
                width: 100%;
                justify-content: flex-start;
            }

            .nav-menu {
                top: 70px;
                height: 100lvh;
            }
        }

/* about-header */
.about-header {
    font-family: 'Inter', sans-serif;
}

.header-container {
     background: linear-gradient(
        rgba(25, 119, 204, 0.6),rgba(25, 119, 204, 0.6) ),url('img/thia.jpg') center center no-repeat;
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
/*   background-attachment: fixed; */
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.header-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}


#servise{
    background: linear-gradient(
    rgba(25, 119, 204, 0.6),rgba(25, 119, 204, 0.6) ),url('img/pexels-thirdman-5327584.jpg') center center no-repeat;
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#Departments{
    background: linear-gradient(
    rgba(25, 119, 204, 0.6),rgba(25, 119, 204, 0.6) ),url('img/Cardiology.jpg') center center no-repeat;
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#Doctors{
    background: linear-gradient(
    rgba(25, 119, 204, 0.6),rgba(25, 119, 204, 0.6) ),url('img/pexels-gustavo-fring-3985163.jpg') center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


#Testimonials{
    background: linear-gradient(
    rgba(25, 119, 204, 0.6),rgba(25, 119, 204, 0.6) ),url('img/pexels-gustavo-fring-3985163.jpg') center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: white;
}
.header-content h1{
    color: white;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item {
    font-size: 1.1rem;
}

.breadcrumb-item a {
    color: rgba(182, 22, 22, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color:rgba(25, 119, 204, 1);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.breadcrumb-divider {
    color: rgba(255,255,255,0.7);
    margin: 0 12px;
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb-item {
        font-size: 1rem;
    }
    
    .header-container {
        padding: 3.5rem 0;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 2rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .breadcrumb-divider {
        display: none;
    }
    
    .breadcrumb-item {
        margin: 0 5px;
    }
}


        /* Hero Section */
 /*        .hero {
            position: relative;
            width: 100%;
            height: 100vh;
            min-height: 600px;
            background: 
            linear-gradient(to left, rgba(25, 119, 204, 0), rgba(25, 119, 204, 1)),
            url('img/pexels-thirdman-5327584.jpg') center center / cover no-repeat;
            background: linear-gradient( rgba(25, 119, 204,0.2), rgba(25, 119, 204, 0.2)),
            url('img/pexels-pavel-danilyuk-5998448.jpg') center center / cover no-repeat;

           
           background-size: cover;
            background-size: cover;
            display: flex;
            align-items: center;
            padding: 0;
            color: var(--white);
            text-align:left;
            overflow: hidden;
        }
 */    
/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  z-index: 1;
}

/* BACKGROUND SLIDESHOW CONTAINER */
.bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* EACH BACKGROUND SLIDE */
.bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fade 35s infinite;
}

/* INDIVIDUAL SLIDE IMAGES WITH DELAY */
.bg1 { background-image: url('img/pexels-thirdman-5327584.jpg'); animation-delay: 0s; }
.bg2 { background-image: url('img/pexels-pavel-danilyuk-5998448.jpg'); animation-delay: 5s; }
.bg3 { background-image: url('img/pediatrics.jpg'); animation-delay: 10s; }
.bg4 { background-image: url('img/thiata.jpg'); animation-delay: 15s; }
.bg5 { background-image: url('img/thi.jpg'); animation-delay: 20s; }
.bg6 { background-image: url('img/thia.jpg'); animation-delay: 25s; }
.bg7 { background-image: url('img/pexels-gustavo-fring-3985163.jpg'); animation-delay: 30s; }

/* KEYFRAMES FOR FADING EFFECT */
@keyframes fade {
  0%, 100% { opacity: 0; }
  5%, 20% { opacity: 1; }
  25%, 100% { opacity: 0; }
}

/* GRADIENT OVERLAY */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(25, 119, 204, 0.4), rgba(25, 119, 204, 0.4));
  z-index: 1;
  pointer-events: none;
}

/* TEXT CONTAINER ON TOP */
.hero-container {
  position: relative;
  z-index: 2;
  padding: 0 20px;

   max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

/* TYPOGRAPHY (OPTIONAL STYLE) */
.hero h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.hero p {
  font-size: 22px;
  max-width: 800px;
  margin-bottom: 30px;
}


        .hero h1 {
            font-size: 88px;
            font-weight: 700;
            margin-bottom: 20px;
            animation: fadeInDown 1s ease-out;
             color: white ;


             
        }

        .hero p {
            font-size: 25px;
            margin-bottom: 30px;
            max-width: 800px;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .hero-btns {
            display: flex;
            gap: 15px;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .hero .btn {
            min-width: 180px;
        }

        .hero .btn-outline-primary {
            border-color: var(--white);
            color: var(--white);
        }

        .hero .btn-outline-primary:hover {
            background: var(--white);
            color: var(--primary-color);
        }



        /* About Section */
        .about {
            background: var(--light-gray);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .about-img {
            position: relative;
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }

        .about-img img {
            transition: var(--transition);
        }

        .about-img:hover img {
            transform: scale(1.03);
        }

        .about-text h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--dark-color);
        }

        .about-text ul {
            margin: 20px 0 30px;
        }

        .about-text ul li {
            padding: 8px 0;
            display: flex;
            align-items: center;
        }

        .about-text ul li i {
            color: var(--primary-color);
            margin-right: 10px;
            font-size: 18px;
        }


 /* .milestones section*/
    .milestones {
      background: url('img/thi.jpg') no-repeat center center;
      background-size: cover;
      padding: 80px 0;
      position: relative;
      color: #fff;
    }
    .milestones::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 50, 0.6);
      z-index: 1;
    }
    .milestones_container {
      position: relative;
      z-index: 2;
    }
    .milestone {
      background: rgba(255, 255, 255, 0.1);
      padding: 30px;
      border-radius: 15px;
      transition: transform 0.3s ease;
      backdrop-filter: blur(6px);
    }
    .milestone:hover {
      transform: translateY(-8px);
    }
    .milestone_icon {
      font-size: 3rem;
      margin-bottom: 15px;
      color: #00e6e6;
    }
    .milestone_counter {
      font-size: 2.5rem;
      font-weight: bold;
    }
    .milestone_text {
      font-size: 1.1rem;
      margin-top: 10px;
      color: #f1f1f1;
    }

        /* Features Section */
        .features {
            padding: 80px 0;
        }

        .features-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .feature-card {
            background: var(--white);
            padding: 30px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            text-align: center;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: var(--light-gray);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--primary-color);
            font-size: 32px;
        }

        .feature-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        /* Services Section */
        .services {
            background: var(--light-gray);
        }

        .services-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .service-img {
            height: 200px;
            overflow: hidden;
        }

        .service-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .service-card:hover .service-img img {
            transform: scale(1.1);
        }

        .service-content {
            padding: 25px;
        }

        .service-content h3 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        .service-content p {
            margin-bottom: 20px;
        }

        .service-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary-color);
            font-weight: 600;
        }

        .service-link i {
            margin-left: 5px;
            transition: var(--transition);
        }

        .service-link:hover i {
            transform: translateX(5px);
        }

        /* Appointment Section */
/* Appointment Section */
.appointment {
    background: linear-gradient(
        rgba(25, 119, 204, 0.5),
        rgba(25, 119, 204, 0.5)
    ),
    url('img/pexels-gustavo-fring-3985163.jpg') center center no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 80px 0;
}

.appointment .section-title h2,
.appointment .section-title p {
    color: var(--white);
}

.appointment .section-title::after {
    background: var(--white);
}

/* Appointment Form Container */
.appointment-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Grid Layout */
.form-roww {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row{
    display: grid;
     grid-template-columns: 1fr 1fr 1fr;gap: 20px; margin-bottom: 20px;
}
/* Form Fields */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 119, 204, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ✅ Responsive Fix */
@media (max-width: 767px) {
    .form-roww {
        grid-template-columns: 1fr;
    }

.form-row{

     grid-template-columns:  1fr;
}
    .appointment-form {
        padding: 30px 20px;
    }

    textarea.form-control {
        min-height: 150px;
    }
}



        /* Departments Section */
        .departments {
            padding: 80px 0;
        }

        .departments-tabs {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
        }

        .tab-btn {
            padding: 12px 25px;
            background: none;
            border: none;
            cursor: pointer;
            font-weight: 600;
            color: var(--gray);
            position: relative;
            transition: var(--transition);
        }

        .tab-btn.active {
            color: var(--primary-color);
        }

        .tab-btn::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--primary-color);
            transition: var(--transition);
        }

        .tab-btn.active::after {
            width: 100%;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease-out;
        }

        .tab-content.active {
            display: block;
        }

        .department-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .department-text h3 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        .department-text p {
            margin-bottom: 15px;
        }

        .department-img img {
            border-radius: var(--border-radius-lg);
            box-shadow: var(--shadow-md);
        }

        /* Doctors Section */
        .doctors {
            background: var(--light-gray);
        }

        .doctors-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .doctor-card {
            background: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            text-align: center;
        }

        .doctor-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .doctor-img {
            height: 300px;
            overflow: hidden;
        }

        .doctor-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .doctor-card:hover .doctor-img img {
            transform: scale(1.05);
        }

        .doctor-info {
            padding: 25px;
        }

        .doctor-info h3 {
            font-size: 20px;
            margin-bottom: 5px;
        }

        .doctor-info span {
            display: block;
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 14px;
        }

        .doctor-social {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .doctor-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--light-gray);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            transition: var(--transition);
        }

        .doctor-social a:hover {
            background: var(--primary-color);
            color: var(--white);
        }

        /* Testimonials Section */
        .testimonials {
            padding: 80px 0;
            background: url('img/pexels-pavel-danilyuk-5998448.jpg') center center no-repeat;
            background-size: cover;
            position: relative;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
        }

        .testimonials .section-title h2,
        .testimonials .section-title p {
            color: var(--white);
            position: relative;
            z-index: 1;
        }

        .testimonials .section-title::after {
            background: var(--white);
            z-index: 1;
        }

        .testimonial-slider {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .testimonial-item {
            background: rgba(255, 255, 255, 0.9);
            padding: 30px;
            border-radius: var(--border-radius);
            text-align: center;
            margin: 0 15px;
        }

        .testimonial-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 15px;
            overflow: hidden;
            border: 4px solid var(--white);
            box-shadow: var(--shadow-sm);
        }

        .testimonial-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
        }

        .testimonial-author h3 {
            font-size: 18px;
            margin-bottom: 5px;
        }

        .testimonial-author h4 {
            font-size: 14px;
            color: var(--gray);
            font-weight: 400;
        }

        .testimonial-rating {
            color: #ffc107;
            margin-bottom: 15px;
        }

        /* Contact Section */

/* Contact Section */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.contact {
  padding: 80px 0;
}

.contact-info {
  margin-bottom: 40px;
}

.contact-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-card p {
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-map {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ✅ Responsive Fix */
@media (max-width: 1000px) {
  .row {
    grid-template-columns: 1fr;
  }
}


        /* Footer */
        .footer {
            background: var(--dark-color);
            color: var(--white);
            padding: 60px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background: var(--primary-color);
        }

        .footer-col p {
            margin-bottom: 20px;
        }

        .footer-links ul li {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-links ul li:last-child {
            border-bottom: none;
        }

        .footer-links ul li a {
            color: rgba(255, 255, 255, 0.7);
            display: flex;
            align-items: center;
        }

        .footer-links ul li a i {
            margin-right: 10px;
            font-size: 12px;
        }

        .footer-links ul li a:hover {
            color: var(--white);
            padding-left: 5px;
        }

        .footer-contact ul li {
            padding: 8px 0;
            display: flex;
            align-items: center;
        }

        .footer-contact ul li i {
            margin-right: 10px;
            color: var(--primary-color);
            font-size: 18px;
        }

        .footer-newsletter input {
            width: 100%;
            padding: 12px 15px;
            border: none;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
        }

        .footer-newsletter .btn {
            width: 100%;
        }

        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            margin-bottom: 0;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--primary-color);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            box-shadow: var(--shadow-md);
            border: none;
            cursor: pointer;
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--primary-hover);
            transform: translateY(-5px);
        }

        /* Preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--white);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s ease;
        }

        #preloader:before {
            content: '';
            position: absolute;
            width: 50px;
            height: 50px;
            border: 8px solid var(--light-gray);
            border-top-color: var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 1200px) {
            .hero h1 {
                font-size: 42px;
            }
        }

        @media (max-width: 992px) {
            .section {
                padding: 60px 0;
            }

            .about-content,
            .department-content {
                grid-template-columns: 1fr;
            }

            .about-img {
                order: -1;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 18px;
            }
        }

/* Medium screens (tablets and small laptops) */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 28px;
    }

    .hero h1 {
        font-size: 32px;
        margin-top: -4rem;
    }

    .hero p {
        font-size: 16px;
    }

    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 600px;

        display: flex;
        align-items: center;
        padding: 0;
        color: var(--white);
        text-align: left;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: url('assets/img/wave.svg') repeat-x;
        background-size: 2000px 100px;
        animation: wave 10s linear infinite;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero .btn {
        width: 100%;
    }

    .services-container {
        grid-template-columns: 1fr;
    }
}

/* Small screens (phones) */
@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 38px;
    }
}
