:root {
  --primary-color: #00c6a9;
  --primary-hover: #029882;
  --accent-color: #59c3aa;
  --secondary-color: #44b4a7;
  --background-color: #f8f9fa;
  --text-color: #333;
  --white: #ffffff;
  --black: #111111;
  --gray: #ccc;
  --gray-light: #f1f1f1;
  --gray-dark: #707070;
  --dark-bg: #222222;
} 

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;

}

body {
  font-family: 'Open Sans', sans-serif;
  background: white; 
  color: var(--text-color);
  overflow-x:hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
/* Scrollbar */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background:white
}
body::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: white;
}

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

        /* Top Bar */
        .top-bar-section {
            background: var(--primary-color);
        }
        
        .top-bar {
            padding: 10px 20px;
            font-size: 0.9rem;
            color: var(--white);
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .top-bar i {
            margin-right: 8px;
        }

        /* Navbar */
        .navbar-section {
            background: var(--white);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            position: fixed;
            z-index: 1000;
            width: 100%;
            top: 0;
        }


        /* #mainHeader {
            transition: all 0.3s ease;
        }

        #mainHeader.fixed {
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            background-color: var(--white);
            width: 100%;
            z-index: 9999;
        } */

        .navbar {
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            position: relative;
        }

        .navbar h2 {
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar h2 i {
            font-size: 1.8rem;
        }

        .navbar nav {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .navbar nav a {
            font-weight: 600;
            color: var(--text-color);
            padding: 10px 15px;
            text-decoration: none;
            position: relative;
            transition: all 0.3s ease;
            border-radius: 4px;
        }

        .navbar nav a:hover {
            color: var(--primary-color);
            background-color: rgba(42, 125, 225, 0.1);
        }
        /* Dropdown Styles */
        .dropdown {
            position: relative;
        }

        .dropdown > a {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .dropdown > a::after {
            content: "\f078";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }
        
        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white); 
            min-width: 220px;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            z-index: 1000; 
        }

        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-content a {
            display: block;
            padding: 12px 20px;
            color: var(--text-color);
            text-decoration: none;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s ease;
        }

        .dropdown-content a:last-child {
            border-bottom: none;
        }

        .dropdown-content a:hover {
            background-color: rgba(42, 125, 225, 0.1);
            color: var(--primary-color);
            padding-left: 25px;
        }

        .dropdown-content a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: var(--primary-color);
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .top-bar {
                justify-content: center;
                gap: 15px;
            }
            
            .navbar {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .navbar nav {
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                display: none;
                margin-top: 15px;
                padding-top: 15px;
                border-top: 1px solid #eee;
            }
            
            .navbar nav.active {
                display: flex;
            }
            
            .menu-toggle {
                display: block;
                position: absolute;
                right: 20px;
                top: 20px;
            }
            
           
        }

        @media (max-width: 576px) {
            .top-bar {
                flex-direction: column;
                gap: 5px;
                text-align: center;
            }
            
            .navbar h2 {
                font-size: 1.3rem;
            }
        }
/* Hero */
 /* Swiper Hero */

.hero {
    position: relative;
    width: 100%;
    height: 90vh; 
    color: white;
}

.heroSwiper, .swiper-slide {
    width: 100%;
    height: 100%;
}
 

/* Background image */
.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;

}

/* Overlay */
.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 900px;
    z-index: 2;
    font-family: 'Open Sans', sans-serif;
}




/* Title from TOP */
.slide-title {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(90px);
    transition: all 0.8s ease;
}


/* Paragraph + Button from BOTTOM */
.slide-text, .hero-btn {
    opacity: 0;
    transform: translateY(-90px);
    transition: all 0.8s ease;
}


/* Button */
.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 35px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.hero-btn:hover {
    background: transparent;
    border: 2px solid var(--primary-color);
}

/* ANIMATE when active slide loads */
.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .slide-text,
.swiper-slide-active .hero-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: white;
    width: 12px;
    height: 12px;
}

/* Section */
.section {
  padding: 60px 20px;
  max-width: 1300px;
  margin: auto;
}
.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}
.sub-heading {
  font-size: 14px;
  text-align: center;
  margin-top: -35px;
  margin-bottom: 40px;
  color: var(--gray-dark);
}

/* Flex Layouts */
.flex-row {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,2fr));
  gap: 30px; 
}


/* Cards */
.card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 280px;
  max-width: 500px;
} 


.card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.services .card:hover,
.team .card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* Team */
.team .card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}
.team .card h4 {
  margin: 10px 0 5px;
  color: var(--primary-color);
}
.team .card p {
  font-size: 0.9rem;
  color: #777;
}

/* Section Flex */
.section-flex {
  display: flex;
  flex-wrap: wrap; 
  gap: 40px;
  justify-content: space-between;
}
.left-column,
.right-column {
  flex: 1 1 450px;
}
.section p {
  margin-bottom: 20px;
}
.articles {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.article {
  flex: 1 1 260px;
}
.article img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}
.read-more-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* Accordion */
.accordion-item {
  background-color: #e0e0e0;
  border-radius: 30px;
  padding: 10px 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.accordion-item.active {
  background-color: var(--primary-color);
  color: var(--white);
}
.accordion-title {
  display: flex;
  align-items: center;
  font-weight: bold;
}
.counter>p{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px; 
}
.accordion-title .icon {
  background: var(--white);
  color: var(--accent-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 14px;
  padding: 20px;
}

.accordion-content {
  display: none;
  color: var(--text-color);
  padding-left: 55px !important;
}
.accordion-item.active .accordion-content {
  display: block;
  color: var(--white);
}

/* Why Choose Us */
.why-choose-us {
  text-align: center;
  padding: 40px 20px;
}
.why-choose-us h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.why-choose-us p {
  max-width: 700px;
  margin: 0 auto 40px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.features {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 350px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}
.feature-icon {
  background: var(--primary-color);
  padding: 15px;
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-icon img {
  width: 30px;
}
.feature-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.center-image {
  flex: 1 1 300px;
  max-width: 300px;
}
.center-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Counter Section */
.counter-section {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}
.counterIcon {
  font-size: 40px;
  margin-bottom: 10px;
}
.counter-section .counter {
  font-size: 2.5rem;
  font-weight: bold;
}
.counter-section p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Gallery */
.gallery-section {
  background: var(--secondary-color);
  padding: 60px 20px;
  color: var(--white);
  text-align: center;
}
.gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.gallery-section p {
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  flex: 1 1 calc(33.333% - 40px);
  max-width: 300px;
  min-width: 260px;
  transition: transform 0.3s ease;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h3 {
  margin-bottom: 10px;
}

/* Offer Section */
.offer-section {
  background-color: var(--accent-color);
  padding: 30px 20px;
}
.offer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}
.offer-text {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  flex: 1 1 auto;
}
.offer-button {
  background-color: var(--white);
  color: var(--accent-color);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  border: 3px solid var(--white) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}
.offer-button:hover {
  background: transparent;
  border: 3px solid var(--white) !important;
}

/* Scroll to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--accent-color);
  color: var(--white);
  border: 3px solid var(--accent-color);
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #1a6ba5;
  border: 3px solid var(--white);
  color: var(--accent-color) !important;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--gray);
  padding: 50px 20px 0px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}
.footer-column h3 {
  color: var(--white);
  margin-bottom: 20px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li::before {
  content: '▸';
  color: var(--primary-color);
  margin-right: 8px;
}
.footer-column p {
  margin: 10px 0;
  display: flex;
  align-items: center;
}
.footer-column p i {
  margin-right: 10px;
  font-style: normal;
}
.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background: var(--dark-bg);
  border: none;
  border-bottom: 1px solid #555;
  color: var(--white);
}
.footer-form button {
  padding: 10px 30px;
  border: none;
  /* background: var(--primary-color); */
  color: var(--white);
  border-radius: 20px;
  cursor: pointer;
  /* border: 3px solid var(--primary-color) !important; */
}
.footer-social {
  text-align: center;
  margin-top: 30px;
  background: var(--dark-bg);
  padding: 29px;
  margin: -20px; 
  margin-top: 20px;
}
.footer-social a {
  color: var(--white);
  margin: 0 10px;
  font-size: 20px;
  text-decoration: none;
}

 @media (max-width: 768px) {
  html{
    overflow-x: hidden;
  }
.navbar nav {
  display: none;
  flex-direction: column;
  background: #fff;
  width: 100%;
  position: absolute;
  top: 74%;
  left: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 19px;
}
.navbar nav.show {display: flex;z-index: 999;}
.menu-toggle {display: block;}
.hero h1{font-size: 40px!important;}
.top-bar{display: none;}

 .team .card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

}

.subscribe {
  position: relative;
}

.subscribe .form-control {
  border-radius: 50px;
  height: 50px;
  padding-left: 25px;
  border-color: #eee;
}

.subscribe .btn {
  position: absolute;
  right: 6px;
  top: 6px; 
}

/* meet our team */

/* ============================
   DOCTOR SWIPER STYLING
============================ */
 
/* Center slide content */
.swiper-slide {
    display: flex;
    justify-content: center;
}

/* Card */
.doctor-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 25px;
    width: 350px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    border: none;
}

/* Hover effect */
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

/* Doctor Image */
.doctor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #E6E6E6;
}

/* Name */
.doctor-card h5 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2F2F2F;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Position */
.doctor-card p.text-muted {
    font-size: 1.1rem;
    color: #868686 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Description */
.doctor-card p.small {
    font-size: 1rem;
    color: #A3A3A3;
    line-height: 1.5;
    margin-top: 10px;
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
           
    background: transparent;
    font-size: 25px !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    
    
    transition: 0.3s ease-in-out;
}

/* Pagination Dots */
.swiper-pagination-bullet {
    background: #CFCFCF;
    width: 11px;
    height: 11px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #25A244; /* Green */
    width: 13px;
    height: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .doctor-card {
        width: 90%;
        padding: 35px 25px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .heroSwiper, .swiper-slide {
    width: 100%; 
    height: 80%; 

}


 
}


/* dynamic rendering  */
.dept-display {
    margin-top: 25px;
    border-radius: 15px; 
    text-align: center;
} 

.dept-display img {
    width: 100%;
    height: 90vh; 
    border-radius: 12px;
    margin-bottom: 15px;
}

.dept-display h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.dept-display p {
    font-size: 1rem;
    color: #555;
}

.fade-slide {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.fade-slide.show {
    opacity: 1;
    transform: translateY(0);
}