:root{
  --accent: #0dcaf0;
  --accent-dark: #099bbf;
  --gold: #f4c062;
  --bg-base: #f5fafc;
  --text-dark: #1e2f37;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f7fdff;
  color: #2d3b4c;
  overflow-x: hidden;
}

/* NAVBAR */
.custom-navbar {
  background-color: #ffffff;
  padding: 12px 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Brand */
.navbar-brand {
  
  font-weight: 700;
  font-size: 15px;
  color: #2d3b4c !important;
  font-family:Cinzel;
}
.navbar-brand:hover {
  color: var(--accent-dark) !important;
}

/* Reduce Menu Gap */
.navbar-nav {
  gap: 20px; /* reduced spacing */
}

/* Nav Links */
.nav-link {
  color: #2d3b4c !important;
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--accent-dark);
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--accent-dark) !important;
}

/* Icons SAME STYLE as menu items */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;   /* same gap as menu */
}
.nav-icons i {
  font-size: 1.1rem;
  color: #2d3b4c;
  transition: 0.3s ease;
}
.nav-icons i:hover {
  color: var(--accent-dark);
  transform: scale(1.1);
}
.nav-link.active {
  color: var(--accent-dark) !important;
}

.nav-link.active::after {
  width: 100% !important;
}

/* ---------------------------------
   HERO SECTION 
-----------------------------------*/
/* ================= HERO SECTION ================= */

.hero-section {
  position: relative;
  height: 60vh;
  background:
    linear-gradient(90deg, rgba(245,250,252,0.96) 0%, rgba(245,250,252,0.88) 25%, rgba(13,202,240,0.08) 70%, rgba(13,202,240,0.18) 100%),
    url('../images/Background/image.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  filter: brightness(0.95) contrast(1.04);
  color: var(--text-dark);
}

/* Light overlay */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.08));
  z-index: 1;
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-left: clamp(18px, 8vw, 90px);
}

/* MAIN HEADING */
.hero-content h1 {
  margin: 0 0 14px 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #02191d; /* darker tone */
  position: relative;
  display: inline-block;
}

/* Name color emphasis */
.hero-content h1 span {
  color: var(--accent);
}

/* FULL WIDTH UNDERLINE */
.hero-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 4px;
  animation: underlineAnim 0.6s ease forwards 0.4s;
}

@keyframes underlineAnim {
  to { width: 100%; }
}

/* Remove old underline element if included in HTML */
.underline-bar { display: none; }

/* DESCRIPTION */
.hero-content p {
  margin: 18px 0 28px 0;
  max-width: 640px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #1e3c44;
  opacity: 0.95;
}

/* BUTTON */
.book-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(13,202,240,0.22);
  transition: 0.28s ease;
}

.book-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(13,202,240,0.32);
}

/* Glow Element */
.hero-glow {
  position: absolute;
  right: -90px;
  top: -110px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(13,202,240,0.25), transparent 60%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(14px);
}

/* Smooth Entrance Animation */
.hero-content * {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.7s ease forwards;
}

.hero-content *:nth-child(1) { animation-delay: 0.1s; }
.hero-content *:nth-child(2) { animation-delay: 0.25s; }
.hero-content *:nth-child(3) { animation-delay: 0.45s; }
.hero-content *:nth-child(4) { animation-delay: 0.65s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-section {
    height: auto;
    padding: 85px 0 60px;
    text-align: center;
  }
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-content h1::after {
    margin: 0 auto;
  }
  .hero-glow {
    display: none;
  }
}

/* =======hero section end======= */
/* profile card */
.profile-card1 {
  background: #e9f7f9;
  padding: 40px 0px; /* just spacing outside */
}

/* Card */
.profile-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 48px 50px; /* Increased to look bigger */
  max-width: 1280px;  /* ✅ Wider container */
  margin: auto;
  transition: all 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.15);
}

/* Keep columns aligned */
.profile-card .row {
  align-items: center;
}

/* Image Wrapper */
.profile-img-wrapper {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 8px 28px rgba(13,202,240,0.22);
  max-width: 92%;
  margin: auto;
}

.profile-img {
  width: 100%;
  border-radius: 22px;
  transition: transform 0.5s ease;
}

.profile-img-wrapper:hover .profile-img {
  transform: scale(1.07);
}

/* Heading */
.profile-heading {
  font-weight: 700;
  font-size: 1.9rem;
  color: #0c2a2e;
  margin-bottom: 14px;
}

.highlight {
  color: var(--accent);
}

/* Doctor Name + Underline */
.doctor-name-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.doctor-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #072b2b;
}

.name-underline {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 4px;
  margin-top: 6px;
  width: 63%;
}

/* Info lines */
.credentials,
.position,
.department {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #2d3b4c;
  margin-bottom: 8px;
}

.credentials i,
.position i,
.department i {
  margin-right: 10px;
  color: var(--accent-dark);
  font-size: 1.05rem;
}

/* Mobile Adjustments */
@media (max-width: 500px) {
  .doctor-name { font-size: 1.9rem; }
  .profile-heading { font-size: 1.4rem; }
  .credentials, .position, .department { font-size: 0.92rem; }
  .profile-card { padding: 28px 24px; }
}

/* profile card end */
/* ============kidney health=============== */
.kidney-health-section {
  margin-top: 20px;
  padding: 80px 0;
  background: #f4feff;  /* soft medical tone */
 
}

.kidney-health-content {
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

/* Title */
.kidney-health-section h2 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 32px;
}
.kidney-health-section h2 span {
  color: #0dcaf0;
}

/* Paragraph */
.kidney-health-section .info-text {
  max-width: 650px;
  margin: 0 auto 50px auto;
}

/* Grid */
.kidney-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

/* Fact Box */
.kidney-fact-box {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.07);
  transition: transform .3s ease;
}
.kidney-fact-box:hover {
  transform: translateY(-6px);
}
.kidney-fact-box i {
  font-size: 30px;
  color: #0dcaf0;
  margin-bottom: 10px;
}

/* Responsive Fix */
@media(max-width: 480px){
  .kidney-health-section h2 { font-size: 26px; }
  .kidney-health-content { padding: 0 15px; }
}
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  animation: fadeUp .9s ease forwards;
}

.delay-1 { animation-delay: .2s; }
.delay-2 { animation-delay: .35s; }
.delay-3 { animation-delay: .5s; }
.delay-4 { animation-delay: .65s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============kidney health end=========== */
/* =========about======== */
.about-section1 {
  padding: 90px 0;
  background: linear-gradient(180deg, #e0f0f4, #c7e4eb); /* slightly darker, still soft */
  font-family: 'Poppins', sans-serif;
  color: #2d3b4c;
}


/* IMAGE */
.about-img img {
  width: 100%;
  max-height: 500px;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08);
  object-fit: cover;
  transition: transform .45s ease, box-shadow .45s ease;
}

.about-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* HEADINGS */
.section-label {
  color: #0f8680;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.15rem;
  font-weight: 700;
  color: #1e3a4c;
  margin-bottom: 24px;
  line-height: 1.25;
}

/* TEXT CONTENT */
.about-content p {
  color: #47545f;
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 400;
}

.about-content strong {
  color: #0f8680;
  font-weight: 600;
}

/* LIST */
.about-list {
  text-decoration: none;
  margin-bottom: 22px;
  padding-left: 18px;
}

.about-list li {
  
  color: #42535f;
  margin-bottom: 7px;
  line-height: 1.75;
  font-size: 1.02rem;
  position: relative;
}


/* ANIMATION (Soft Fade-In) */
[data-aos] {
  transition: all 0.7s ease;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-title { font-size: 1.85rem; }
  .about-content p { font-size: 0.96rem; }
}

@media (max-width: 575px) {
  .about-section1 { padding: 65px 0; }
  .about-title { font-size: 1.65rem; }
  .about-content p, .about-list li { font-size: 0.9rem; }
}

@media (max-width: 360px) {
  .about-section1 { padding: 50px 0; }
  .about-title { font-size: 1.45rem; }
  .about-content p, .about-list li {
    font-size: 0.82rem;
    line-height: 1.6;
  }
}

/* ======next last section========= */
   .services-section {
  padding: 80px 0;
  background: #f2f6ff; /* Soft contrast background */
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  color: #555;
  font-size: 16px;
}

/* Top 4 Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Bottom 2 Cards (High Contrast) */
.special-services-row {

  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

.special-service-card {
 
  background: #ffffff;

  border-radius: 16px;
  padding: 35px 30px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.special-service-card:hover {
  transform: translateY(-6px);
}

/* footer */
/* Footer */
.footer-section {
  background: #0c2a2e;
  color: #f4fafc;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

/* Flex Container */
.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

/* Footer Columns */
.footer-col {
  flex: 1 1 220px; /* grow, shrink, basis */
  min-width: 220px;
}

.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0dcaf0;
}

.footer-col p,
.footer-col li,
.footer-col a {
  color: #f4fafc;
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transition: 0.3s;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: #0dcaf0;
  color: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  color: #cfd8dc;
}

/* Responsive */
@media (max-width: 991px) {
  .footer-flex {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
/* gallery */

.procedure-flex-section {
  padding: 80px 0;
  background: #e5ebfb;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 50px;
}

/* --- FLEX LAYOUT --- */
.procedure-flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.procedure-flex-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  width: 48%;                       /* 2 cards per row */
  min-height: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-left: 8px solid #1783ff;
  transition: 0.3s ease;
}

.procedure-flex-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Bigger Icons */
.pf-icon img {
  width: 150px;
  height: 200px;
  /* object-fit: contain; */
  border-radius: 10px;
}

.pf-content h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pf-content p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .procedure-flex-card {
    flex-direction: column;
    width: 100%;
    text-align: center;
    border-left: none;
    border-top: 8px solid #1783ff;
  }

  .pf-icon img {
    width: 200px;
    height: 200px;
  }
}

@media only screen and (min-width:992px){
   .pf-icon img {
    width: 200px;
    height: 200px;
  }
}
/* end */
/* taking care */
.kidney-care-section {
  background: #e0f3f8; /* Light blue for contrast */
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  color: #1e3a4c;
}

.kidney-care-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d5c73; /* darker contrast color */
  margin-bottom: 50px;
}

.kidney-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kidney-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card-img-wrapper {
  overflow: hidden;
  height: 180px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kidney-card:hover .card-img {
  transform: scale(1.1) rotate(1deg);
}

.card-body h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0d5c73;
}

.card-body p {
  font-size: 0.95rem;
  color: #47545f;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .kidney-care-section h2 { font-size: 1.9rem; }
  .card-body h5 { font-size: 1.1rem; }
  .card-body p { font-size: 0.9rem; }
}

@media (max-width: 575px) {
  .kidney-care-section { padding: 60px 0; }
  .kidney-care-section h2 { font-size: 1.6rem; }
  .card-body h5 { font-size: 1rem; }
  .card-body p { font-size: 0.85rem; }
  .card-img-wrapper { height: 140px; }
}

/* end */
/* =========end========= */
/* MOBILE */
@media (max-width: 991px) {
  
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    gap: 12px; /* even smaller gap for mobile */
    margin-top: 10px;
  }

  .nav-icons {
    justify-content: center;
    margin-top: 12px;
  }
}

@media only screen and (min-width:992px){
    .navbar-brand {
                font-size: 1.35rem;
           }
    /*===============*/

.hero-section {

  height: 80vh;
 
}

}
