html {
    font-size: 16px; /* Sets the base size */
  }

  body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
  }
  
  h1, h2, h3 {
    font-family: 'Montserrat', Arial, sans-serif;
  }
:root {
  --blue: #1e90ff;
  --darkblue:#073968;
  --bluemid:#0056b3;
  --bluetone:#337ec8;
  --white: #ffffff;
  --black:#333;
}


  .text-center{ text-align: center;}

  .top-bar {
    display: flex;
    height:42px;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    padding:5px 15px 5px 15px;
    margin-bottom: 5px;
    background-color: var(--darkblue, #02132b); /* Fallback color if --blue isn't defined */
    color: #fff;
  }
.column-mail{ text-align: center; color: var(--white); }
.column{ text-align: center; color: var(--white); }

.top-phone-number {
  font-weight: bold; /* Makes the text bold */
  font-size: 1.2rem; /* Increases the font size */
  color: var(--white); /* Ensures it matches the top bar color scheme */
  justify-content: center;
}
a.ph{ color:var(--white); text-decoration: none;}

ul.social-top{ display: flex; gap: 10px; margin:0px; padding:0px;}
ul.social-top li { list-style-type: none;}

.social-icons i {
  font-size: 1.6rem; /* Adjust icon size */
  color: #fff; /* Default color */
  transition: color 0.3s ease; /* Smooth hover effect */
}
.social-icons i:hover {
  color: #007bff; /* Change color on hover */
}

.brand-identity { margin: 0px; padding: 0px; }
.brand { display: flex; flex-direction: row;   }
.logo{ text-align: left;}
.text-container {text-align: center; }
.brand-name{ font-size: 1.8rem; text-align: center; font-weight: bold; line-height: 38px; }
.brand-adrs { font-size: 1.2rem; text-align: center;line-height: 32px; }
.brand-phno { font-size: 1.2rem; text-align: center; }
.brand-phno a{ color: #333; font-size: 1.2rem; text-decoration: none;}



    /* Mobile */
    @media (max-width: 480px) {
.brand-name{ font-size: 1.2rem; text-align: center; font-weight: bold; line-height: 38px; }
.brand-adrs { font-size: 0.8rem; text-align: center;line-height: 32px; }
.brand-phno { font-size: 0.8rem; text-align: center; }
.brand-phno a{ color: #333; font-size: 0.8rem; text-decoration: none;}

}

.button-aptn{ display: flex; flex-direction: row; justify-content: center; align-items: center;  }
ul.dropdown-menu{ background-color: var(--bluetone) }
a.dropdown-item{ color: var(--white); font-weight: bold; border-bottom: 1px solid #696969;}

nav.navbar{background-color: var(--bluetone); margin-top: 5px;}
li.nav-item{color: var(--white)}
a.nav-link{ color: var(--white); font-weight: bold;}


.appointment-btn {
    display: inline-block; 
    background-color: #007bff; 
    color: #fff; 
    text-align: center; 
    font-size: 14px; 
    font-weight: bold; 
    padding: 10px 5px;
    margin-right:5px; 
    border-radius: 7px; 
    text-decoration: none; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s ease, transform 0.2s ease;
  }


  /* Hover Effect */
  .appointment-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
    text-decoration: none; /* Ensures no underline on hover */
  }
  
  /* Active/Clicked State */
  .appointment-btn:active {
    background-color: #004080; /* Even darker shade */
    transform: translateY(0); /* Reset lift effect */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  }
 

  .expert-btn {
    display: inline-block; 
    background-color:var(--darkblue); 
    color: #fff; 
    text-align: center; 
    font-size: 14px; 
    font-weight: bold; 
    padding: 10px 20px; 
    border-radius: 7px; 
    text-decoration: none; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  /* Hover Effect */
  .expert-btn:hover {
    background-color: #1f5e07; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight lift effect */
    text-decoration: none; /* Ensures no underline on hover */
  }
  
  /* Active/Clicked State */
  .expert-btn:active {
    background-color: #092000; /* Even darker shade */
    transform: translateY(0); /* Reset lift effect */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  }

 
 
 
 .banner-wrapper-hp {
    position: relative; /* For layering content */
    width: 100%;
    height: 700px; /* Adjust height as needed */
   /* background-image:url("../images/acne-treatment-in-delhi.jpg"); */
    background-size: cover; /* Ensure the image covers the entire banner */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
    display: flex; /* Enables centering of text content */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    color: white; /* White text color */
    text-align: center; /* Center text alignment */
  }


   .banner-wrapper-hp::before {
    content: ""; /* Empty content for overlay */
    position: absolute; /* Position overlay over the banner */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
    
    z-index: 1; /* Place it behind the text */
  }

  .banner-wrapper-hp-content {
    position: relative; /* Keep text above the overlay */
    width: 100%;
    z-index: 2; /* Higher z-index to appear above overlay */
    font-size: 2rem; /* Adjust text size */
  }
 


  .gallery-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      background: #fcfafa;
    }

.gallery-container {
  min-height: 260px;
}



    .gallery-track {
      display: flex;
      width: max-content; /* stretch as wide as content */
      animation: scroll 40s linear infinite;
    }

    .gallery-container:hover .gallery-track {
      animation-play-state: paused; /* pause on hover */
    }

    .gallery-item {
      position: relative;
      width: 240px;
      height: 240px;
      flex-shrink: 0;
      margin-right: 15px;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease, filter 0.5s ease;
    }

    /* Overlay with centered text */
    .gallery-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      font-size: 1.3rem;
      font-weight: bold;
      padding: 10px;
      transition: background 0.5s ease, transform 0.5s ease;
    }

    /* Hover Effects */
    .gallery-item:hover img {
      transform: scale(1.1);
      filter: brightness(1.2);
    }

    .gallery-item:hover .gallery-overlay {
      background: rgba(0,0,0,0.7);
      transform: scale(1.05);
    }

    /* Link styling */
    .gallery-item a {
      text-decoration: none;
      color: inherit;
      display: block;
      width: 100%;
      height: 100%;
    }

    /* Keyframes: shift full width of track */
    @keyframes scroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* Tablet */
    @media (max-width: 992px) {
      .gallery-item {
        width: 240px;
        height: 150px;
      }
      .gallery-overlay {
        font-size: 1rem;
      }
    }

    /* Mobile */
    @media (max-width: 600px) {
      .gallery-item {
        width: 160px;
        height: 110px;
        margin-right: 10px;
      }
      .gallery-overlay {
        font-size: 0.85rem;
        padding: 5px;
      }
    }
   

.glossy-section {
  position: relative;
  width: 100%;
  min-height: 100%; /* section height */
  background: url("../images/thenationalskincentre-clinic-drnavintaneja.webp") no-repeat center center;
background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glossy-section .overlay {
 position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* glossy gradient effect */
  background: linear-gradient(
    rgba(22, 22, 22, 0.2), 
    rgba(3, 3, 3, 0.05)
  );
}




.glossy-section .content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 60px 20px 60px 20px;
}

.content h2{ font-size: 36px; color: #fff;}

.content p{ font-size: 22px; color: #fff;}


.btn-appointment {
  background: #337ec8;
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-appointment:hover {
  background: #044789;
  color: #fff;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-style: italic;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.review-btn {
  background: #007bff;
  color: #fff;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.review-btn:hover {
  background: #0056b3;
  color: #fff;
  box-shadow: 0px 6px 15px rgba(0, 91, 187, 0.3);
}

 .faq-container {
      max-width: 100%;
      width: 100%;
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    .faq-container h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    .faq-item {
      border-bottom: 1px solid #ddd;
    }

    /* hide default checkbox */
    .faq-item input {
      display: none;
    }

    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      cursor: pointer;
      font-weight: bold;
      color: #222;
      transition: background 0.3s ease;
    }

    .faq-question:hover {
      background: #f1f1f1;
    }

    .faq-question::after {
      content: "+";
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    /* Rotate + to - when active */
    .faq-item input:checked + .faq-question::after {
      content: "-";
      transform: rotate(180deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      padding: 0 15px;
      color: #555;
    }

    .faq-item input:checked ~ .faq-answer {
      max-height: 300px;
      padding: 15px;
    }



.banner-wrapper-hpp {
  width: 100%;
  height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* REAL IMAGE (LCP) */
.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-img {
  content-visibility: auto;
}


/* DARK OVERLAY */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* TEXT CONTENT */
.banner-wrapper-hpp-content {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.banner-wrapper-hpp-content h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.banner-wrapper-hpp-content p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .banner-wrapper-hpp {
    height: 420px;
  }

  .banner-wrapper-hpp-content h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .banner-wrapper-hpp-content p {
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .banner-wrapper-hpp-content h1 {
    font-size: 20px;
  }

  .banner-wrapper-hpp-content p {
    font-size: 16px;
  }
}



.navbar-nav .dropdown-menu {
  display: none;
}
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}



    /* Mobile responsiveness */
    @media (max-width: 768px) {
      .banner-wrapper-hpp {
          height: 450px; /* shorter on mobile */
      }
      .banner-wrapper-hpp-content h1 {
          font-size: 1.3rem;
      }
    }










@media (max-width: 768px) {
  .banner-wrapper-hp {
      height: 450px; /* shorter for mobile */
  }
}




.banner-wrapper-home-content {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
}



 
 
  /* Inner pages banner */
.banner-wrapper {
  position: relative;
  width: 100%;
  height: 250px; /* Fixed height = no CLS */
  overflow: hidden;
}

/* Hero image */
.banner-wrapper img.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay (NO backdrop-filter) */
.banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Text overlay */
.banner-wrapper-content {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
  pointer-events: none;
}

/* Text styling */
.banner-wrapper-content h1 {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  margin: 0;
  padding: 0 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Desktop default */
.banner-wrapper-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  padding: 0 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Tablet */
@media (max-width: 1024px) {
  .banner-wrapper-content h1 {
    font-size: 26px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .banner-wrapper-content h1 {
    font-size: 22px;
    line-height: 1.3;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .banner-wrapper-content h1 {
    font-size: 20px;
    line-height: 1.25;
  }
}


  .page-content-header { width: 100%; margin: 10px 0px 10px 0px;}
  .page-content-header h1{font-size: 38px; padding: 20px 0px 20px 0; font-weight: bold; color: var(--darkblue); text-align:center;}
  .page-content-header h2{font-size: 36px; padding: 20px 0px 20px 0; font-weight: bold; color: var(--darkblue); text-align:center;}
  .page-content-header p{font-size: 18px; line-height: 32px; text-align: justify;}

  .content-tp { width: 100%;}
  .content-tp h2{ font-size: 34px; padding: 2px 0px 5px 0; font-weight: bold; color: var(--darkblue);}
  .content-tp p{ font-size: 18px; line-height: 32px; text-align: justify; }
   
  .content-mid{ width: 100%;}
  .content-mid h2 { font-size: 34px; padding: 2px 0px 10px 0; font-weight: bold; color: var(--darkblue);}
  .content-mid h3 { font-size: 24px; font-weight: bold; color: var(--blue);}
  .content-mid p { font-size: 18px; line-height: 32px; text-align: justify; }

  ul.content-points { width: 100%; margin-bottom: 10px;}
  ul.content-points li{ list-style-type: disc; font-size: 18px; margin-bottom: 10px; }

  .faq-wrapper{ width: 100%; margin-top: 50px;}
  .faq-wrapper h2{font-size: 34px; font-weight: bold; color: var(--darkblue);}

  .content-faq { width: 100%;}
  .content-faq h3 {font-size: 30px; font-weight: normal; color: var(--darkblue);}
  .content-faq p{font-size: 18px; line-height: 32px; text-align: justify;}
  
  .rght-pages-link { padding: 5px; background-color: #b9b9ba;}
  .rght-pages-link ul{}
   .rght-pages-link li {list-style-type: none; 16px; font-weight: bold; border-bottom: 1px dotted color(from color srgb r g b) }

   button.accordion-button{ background-color: var(--darkblue); color: #b9b9ba; font-size: 18px; font-weight: bold; border-bottom: 1px solid color(srgb red green blue);}

   ul.sitelink {}
   ul.sitelink li{ list-style-type: none; font-size: 18px; color: #333;}
   ul.sitelink li a{ list-style-type: none; font-size: 18px; color: #333; text-decoration: none;}


   ul.sitepoint {}
   ul.sitepoint li{ list-style-type:disc; font-size: 18px; color: #333; line-height: 36px;}
   ul.sitepoint li a{  font-size: 18px; color: #333; text-decoration: none;}


.achv-wrapper { background-color: #d6e0ea; padding-top: 40px; padding-bottom: 40px ;}
.achv-wrapper h3{ font-size: 28px; line-height: 80px; text-align: center; font-weight: bold; color: #333333;}
   ul.mainpoint { text-align: left;}
   ul.mainpoint li{ list-style-type:none; font-size: 20px; color: #333; line-height: 42px;}

.yr{ font-size:26px; text-align: center; padding-top:10px; padding-bottom:10px; }

.abt-why { width:100%; background-color: #d6e0ea; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; margin-bottom: 20px; }
.abt-why h3 { font-size: 32px; padding-bottom: 25px; padding-top: 25px; text-align: center;}
 

.banner-wrapper-hairloss {
    position: relative; /* For layering content */
    width: 100%;
    height: 250px; /* Adjust height as needed */
   /* background-image:url("../images/acne-treatment-in-delhi.jpg"); */
    background-size: cover; /* Ensure the image covers the entire banner */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating */
    display: flex; /* Enables centering of text content */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    color: white; /* White text color */
    text-align: center; /* Center text alignment */
  }


   .banner-wrapper-hairloss::before {
    content: ""; /* Empty content for overlay */
    position: absolute; /* Position overlay over the banner */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
    backdrop-filter: blur(5px); /* Glossy effect */
    z-index: 1; /* Place it behind the text */
  }

  .banner-wrapper-hairloss-content {
    position: relative; /* Keep text above the overlay */
    z-index: 2; /* Higher z-index to appear above overlay */
    font-size: 2rem; /* Adjust text size */
  }


   .banner-wrapper-hairloss {
    background-image: none;
    background-size: cover;
    background-position: center;
    min-height: 300px;
  }

  .banner-wrapper-hairloss.lazyloaded {
    background-image: url('../images/hairloss-thenationalskincentre-1.webp');
  }

.abt-qual-wrap {
  position: relative;  /* required for pseudo-element positioning */
  background-image: url('../images/thenationalskincentre-dr-navin-taneja-dermatologist-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* You can also add height/width if needed */
}

/* Overlay with alpha color */
.abt-qual-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);  /* Example: black with 50% opacity */
  z-index: 1;
}

.abt-qual-wrap h2 { font-size: 32px; color: #fff;}


/* Content inside stays above overlay */
.abt-qual-wrap > * {
  position: relative;
  z-index: 2;
}


.abt-qual-cover{ padding: 20px 40px 20px 40px; background-color: #fff; margin: 40px;}

.schd { width: 100%; padding-top: 20px;   }

.schd p{ font-size: 18px;}
.schd h2{ font-size: 26px;}


.abt-joney-wrapper{ background-color: #e5e5e5; padding:40px 30px 40px 30px}

.abt-joney-wrapper p{ font-size: 18px; color: #333; line-height: 34px; text-align: justify;}

.abt-joney-wrapper h3 { text-align: center;; color: #02132b; font-size: 28px; line-height:62px; padding-bottom: 20px; padding-top: 10px;;}


 
.footer {
  background: #073968;
}
.footer h5, .footer h6 {
  color: #fff;
  margin-bottom: 15px;
}
.footer p, .footer a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
}
.footer a:hover {
  color: #00bcd4;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-bottom {
  background: #011930;
  color: #aaa;
  font-size: 14px;
}



@media (max-width: 768px) {
    .banner-wrapper-hairloss.lazyloaded {
      background-image: url('./images/hairloss-thenationalskincentre-mobile.webp');
    }
  }



   table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
th {
    background-color: #f5f5f5;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
caption {
    font-size: 1.2em;
    margin: 10px 0;
    font-weight: bold;
}


   @media screen and (max-width: 480px) {
  .appointment-btn {
    font-size: 12px; /* Adjust font size for smaller screens */
    padding: 6px 12px; /* Reduce padding */
  }

  .expert-btn {
   
    font-size: 14px; 
    font-weight: bold; 
    padding: 6px 12px;
  }

  .brand-identity { margin: 0px; padding: 0px;}
  .brand-name{ font-size: 1.2rem; font-weight: bold; line-height:24px; text-align: center; }
  .brand-adrs { font-size: 0.9rem; text-align: center; line-height:20px;}
  .brand-phno{ display: block;}
  .logo{ margin-right: 5px;}
  .column-mail{ display: none; font-size:12px}
   
  }
  
  .brand-name { min-height: 38px; }
.brand-adrs { min-height: 32px; }
.brand-phno { min-height: 28px; }


  .tptop-rght a{ color: #ffffff; text-decoration: none;}

   
  /* Larger screens */
  @media (max-width: 768px) {
    .appointment-btn {
      font-size: 14px;
      padding: 6px 14px;
    }
  button.navbar-toggler  { border: 1px solid #fff}
  span.navbar-toggler-icon {color: #fff; }
  
  }
  