* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  padding-top: 85px;
  background-color: #f8f9fa;
}

/* ===== Navbar ===== */
.custom-navbar {
  background-color: #ffffff !important;
  padding: 12px 0;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}
.nav-logo {
  display: flex;
  align-items: center;   
}

.nav-logo img {
  height: 40px;          
  margin-right: 8px;    
}

.navbar-brand {
  display: flex;
  align-items: center;   
  margin: 0;             
  padding: 0;            
}


.brand-text {
  font-size: 1rem;
  font-weight: 700;
  color: #009688;  /* your teal color */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.nav-link {
  font-weight: 500;
  color:black !important;
  transition: color 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #009688 !important;
}
.social-icons i {
  font-size: 1.1rem;
  color: #555;
  transition: all 0.3s ease;
}
.navbar-brand img {
  width:50px;
}
.social-icons i:hover {
  transform: scale(1.2);
  /* color: #009688; */
}
/* ==============profile section=============== */

.profile-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin: 50px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-img {
  width: 100%;
  transition: transform 0.4s ease;
}

.profile-img-wrapper:hover .profile-img {
  transform: scale(1.05);
}

.sub-heading {
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.profile-heading {
  font-weight: bold;
  color: #1d2e5f;
  font-size: 2rem;
  position: relative;
  margin-bottom: 1rem;
}

.title-underline {
  display: block;
  width: 200px;
  height: 4px;
  background-color: #13efd5;
  margin-top: 8px;
  border-radius: 2px;
}

.doctor-name {
  font-weight: 600;
  color: #0c3c3c;
  margin-bottom: 0.5rem;
font-family: 'Playfair Display', serif;
 font-weight: bold;

}

.credentials,
.position,
.department {
  font-size: 1rem;
  color: #555;
}

.section-title {
  font-weight: 600;
  margin-top: 20px;
  color: #1d2e5f;
  font-size: 2rem;
  padding: 10px 0px;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.qualification-list li {
  background: #f1f5ff;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.qualification-list li:hover {
  background: #dff8f6;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 10px;
  text-align:justify;
  color: #fff;
  transition: color 0.3s ease;
}

.about-text:hover {
  color: black;
}
.about1{
   background-color: #1877F2;
}
/* ============================= */
/* ===== Carousel ===== */
.carousel-item {
  height: 80vh;
  background-position: center;
  background-size: cover;
  position: relative;
}
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 15px;
  max-width: 800px;
  margin: auto;
}
.carousel-caption h2 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}
.carousel-caption h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  background-color: rgba(0, 150, 136, 0.85);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
}

/* ===== Expertise Section ===== */
.expertise-section {
  padding: 70px 20px;
  background: linear-gradient(to bottom right, #e0f7f4, #ffffff);
}
.section-title {
  text-align: center;
  font-weight: 700;
  color: #00695c;
  margin-bottom: 50px;
  font-size: 2.4rem;
  letter-spacing: 1px;
}
.expertise-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 150, 136, 0.2);
}
.expertise-icon {
  font-size: 48px;
  color: #009688;
  margin-bottom: 20px;
}
.expertise-card h5 {
  font-weight: 600;
  color: #004d40;
  margin-bottom: 15px;
}
.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  text-align: left;
  display: inline-block;
}
.expertise-card ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.expertise-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #009688;
  font-size: 14px;
}

/* Hover Glow Effect */
.expertise-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 150, 136, 0.2);
}

/* Decorative hover gradient */
.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(0, 150, 136, 0.1),
    rgba(0, 150, 136, 0.2),
    rgba(0, 150, 136, 0.1)
  );
  transition: all 0.6s ease;
  z-index: 0;
}

.expertise-card:hover::before {
  left: 0;
}
/* }=========================== */


/* ===== Awareness Gallery ===== */
.awareness-gallery {
  background: linear-gradient(to bottom right, #c7f6ef, #ffffff); 
}
 
.awareness-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  margin-top: 20px;
        background: #fff;
      border-radius: 10px;
      overflow: hidden;
      
      /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.awareness-card img {
  width: 100%;
   height: 200px;
      object-fit: cover;
      display: block;
  object-fit: cover; 
  transition: transform 0.6s ease;
  display: block;
  border-radius: 14px 14px 0 0; 
  /* transition: transform 0.6s ease; */
  
     
}



.awareness-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 150, 136, 0.85);
  color: #fff;
  padding: 15px;
  text-align: center;
  opacity: 0;
  /* transform: translateY(100%);
  transition: all 0.4s ease; */
}

/* .awareness-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}  */

.awareness-card h5 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
} 
    

    
.last_content {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.last_content img {
  width: 100%;
  height: 280px;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.last_content:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.last_content div {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.last_content:hover div {
  color: #198754; 
}

/* -----------------------*/
@media (max-width: 576px) {
  .awareness-card h5 {
    font-size: 0.95rem;
  }
}
    /* Swiper adjustments */
    .swiper {
      padding: 40px 20px;
    }

    /* Move navigation arrows outside */
    .swiper-button-next, .swiper-button-prev {
      color: rgba(0, 150, 136, 0.85);
     
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      top: 40%;
      
      transform: translateY(-50%);
    }

    .swiper-button-next {
      right: -10px;
      
    }

    .swiper-button-prev {
      left: -10px;
    }

    

/* ================stat=========== */
.stats-section {
    background: #fff;
    padding: 3rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .stat-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
    min-width: 150px;
  }
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    border-right: 1px solid #ccc;
  }
  .stat-number {
    font-size: 3.5rem;
    font-weight: 600;
    color: #1f2c56; /* dark blue */
    line-height: 1;
  }
  .stat-label {
    margin-top: 0.3rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #c1272d; /* red */
  }
  @media (max-width: 575.98px) {
    .stat-item:not(:last-child)::after {
      display: none;
    }
  }
  
  /*=========================*/
  /* CSS */
.top-flex {
  padding: 2rem;
}

.intro-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #00796b;
  margin-bottom: 1.5rem;
}

.intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: #95e8f3;
  padding: 1.5rem;
  border-radius: 8px;
  flex-wrap: wrap;
}

.flex-img img {
  max-width: 300px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.flex-text {
  max-width: 500px;
}

.flex-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-weight: bold;
}
.social-icons i{
 color:#fff;
}
/* Responsive */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }
  .flex-text {
    max-width: 100%;
  }
}

/* Common Section Heading */
.section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a4d69;
  margin-bottom: 1rem;
  text-align: left;
}

/* Section Divider */
.section-divider {
  border: none;
  height: 2px;
  background-color: #ddd;
  margin: 2rem 0;
}

/* Cards Layout */
.kidney-role{
  padding: 20px 30px;
  background-color: #cbe9e6;
}

.flex-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.card {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1rem;
}

.card-header {
  font-weight: bold;
  font-size: 1.1rem;
  color: #1e3d59;
  margin-bottom: 0.5rem;
}

.card-body ul {
  padding-left: 1.2rem;
}

.card-body p {
  margin-bottom: 0.5rem;
}

/* Urgent Warning */
.urgent {
  color: #c0392b;
  font-weight: bold;
}

/* Quick Checklist */
.quick-checklist {
  list-style: none;
  padding-left: 0;
}

.quick-checklist li {
  background: #eaf4f4;
  margin-bottom: 0.5rem;
  padding: 0.6rem;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .flex-cards {
    flex-direction: column;
  }
}

/*
 =============================== */
/* kidney card */
.kidney-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kidney-card img {
  width: 100%;
  /* height: 300px; */
  border-radius: 15px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card-title {/* Blue */
  color: white;
  background-color: #c5fcf6; 
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}
.card-title:hover{
    background-color: #2ac9b7; 
}
/* Make responsive text scaling */
@media (max-width: 576px) {
  .card-title {
    font-size: 0.75rem;
    padding: 6px 8px;
  }
}

@media only screen and (min-width:992px){
.navbar-brand img {
  height: 50px;          
    
}



.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #009688;  /* your teal color */
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
}
/* ===== Footer ===== */
.custom-footer {
  background: #009688;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ffffffcc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact i {
  margin-right: 8px;
  color: #fff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: black;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}


/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-image {
    margin-top: 40px;
  }
}
@media (max-width: 992px) {
  .carousel-caption h2 {
    font-size: 4rem;
  }
  .carousel-caption h1 {
    font-size: 2.2rem;
    padding: 8px 15px;
  }
}
@media (max-width: 576px) {
  .carousel-item {
    height: 65vh;
  }
  .carousel-caption h2 {
    font-size: 1.2rem;
  }
  .carousel-caption h1 {
    font-size: 1.6rem;
    padding: 6px 12px;
  }
  .social-icons {
    display: none;
  }
}
@media (min-width: 992px) {
  
  .title-underline {
    display: block;
    width: 400px;
    height: 4px;
    background-color: #13efd5;
    margin-top: 8px;
    border-radius: 2px;
  }
  .kidney-card img {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.awareness-card img {
  width: 100%;
   height: 300px;
     
     
}
.flex-text p{
  font-size:1rem;
}
/* ----------- */

.last_content img {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


}
