html, body {
max-width:100%;
overflow-x:hidden;
}
body { 
    font-family:'Merriweather',serif;
    margin: 0; 
    padding: 0; 
    background:#fafafa; 
    color:#222; 
    font-size: 20px;
    line-height: 1.7;
    user-select: none; 
  -webkit-user-select: none;
  -moz-user-select: none;
   -ms-user-select: none;
}

.blog p{
text-align:justify;
}

section:not(.clinic-motto) {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

    h2 { color:#111; border-bottom:2px solid #ddd; padding-bottom:5px; }
    footer { background:#2f86c5; color:#fff; text-align:center; padding:15px; }
 .slideshow-container {
  position: relative;
  width: 100%;
  height: 400px;
  background: #2f86c5;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .slideshow-container {
    height: 220px;
  }
}

.about-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.about-text {
  flex: 2;
}

.about-photo {
  flex: 1;
}

.about-photo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }

  .about-photo img {
    max-width: 100%;
  }
}
.doctor-name {
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
  color: #2f86c5;
}
.about-photo {
  text-align: center;
}

.legacy-block {
  overflow: hidden;
  margin-bottom: 50px;
}


.legacy-title {
  font-size: 22px;
  font-weight: bold;
  color: #2f86c5;
}

.legacy-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.legacy-media {
  width: 260px;
  text-align: center;
}

.legacy-media.right {
  float: right;
  margin-left: 30px;
}

.legacy-media.left {
  float: left;
  margin-right: 30px;
}

.legacy-media img {
  width: 100%;
  border-radius: 8px;
}

.photo-name {
  font-size: 15px;
  margin-top: 6px;
}


@media (max-width: 768px) {

  .legacy-media,
  .legacy-media.left,
  .legacy-media.right {
    float: none;
    margin: 0 auto 18px auto;
    text-align: center;
  }

  .legacy-block p {
    text-align: left;
  }

}


section p {
  font-size: 18px;
}

h2 {
  font-size: 26px;
}
h3 {
  font-size: 22px;
}
h4 {
  font-size: 18px;
}


.about-text p {
  font-size: 16px; 
  line-height: 1.7;
}

.about-text em,
.about-text strong {
  font-size: 16px; 
}
.author-block p {
  margin: 2px 0;
  line-height: 1.3;
}
.author-block div {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.about-text p {
  margin: 6px 0;
}
#vision p {
  margin: 6px 0;
}
#vision {
  padding-bottom: 0;
}

.blog p {
  font-size: 18px;
  line-height: 1.9;
  margin: 6px 0;
}

#blogs {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}


#blogs .blog {
  padding: 25px 10px;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
}


#blogs .blog:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.blogs-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.blog {
  line-height: 1.7;
  font-size: 17px;
}
.eng-jump{
  display:inline-block;
  margin:10px 0;
  font-weight:600;
}

.english-version{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid #ccc;
}
.blog{
  text-align:left;
}

.blog-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:25px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.header-nav a{
font-family:'Merriweather',serif;
}

/* 🔹 Title side */
.blog-title{
  flex:1;
}

.blog-title h2{
  margin:0;
}

.blog-title p{
  margin:5px 0 0 0;
}

.author-card{
  text-align:center;
  min-width:200px;
}

.author-card img{
  width:180px;
  height:auto;
  border-radius:8px;
  box-shadow:0 0 10px rgba(0,0,0,0.2);
}

.doctor-name{
  margin-top:10px;
  font-weight:bold;
  font-size:14px;
  line-height:1.5;
}
@media (max-width:768px){

#blog-intro{
width:100%;
padding:0 15px;
box-sizing:border-box;
}
.blog-intro{
font-family:'Tiro Devanagari Hindi','Noto Serif Devanagari','Mangal',serif;
font-size:19px;
line-height:1.8;
}
.blog-intro-text{
width:100%;
max-width:100%;
text-align:justify;
}
.blog-intro-text p{
font-family:'Tiro Devanagari Hindi','Noto Serif Devanagari','Mangal',serif;
font-size:18px;
line-height:1.9;
}

}
@media (max-width:600px){
  .blog-header{
    flex-direction:column;
    align-items:flex-start;
  }

  .blog-author-photo{
    align-self:center;
  }
}
.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  margin: 8px 12px 8px 0;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;

  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}
.blog-navigation{
margin-top:40px;
text-align:center;
}
.blog-nav a{
font-family:'Tiro Devanagari Hindi','Noto Serif Devanagari','Mangal',serif;
font-size:18px;
}
.next-blog a{
display:inline-block;
padding:8px 16px;
background:#7a0000;
color:white;
border-radius:14px;
text-decoration:none;
font-weight:200;
font-size:18px;
}

.next-blog a:hover{
background:#a40000;
}
.prev-blog a{
display:inline-block;
padding:8px 16px;
background:#7a0000;
color:white;
border-radius:14px;
text-decoration:none;
font-weight:200;
font-size:18px;
}
.prev-blog a:hover{
background:#a40000;
}
.also-read{
margin-top:40px;
padding:20px;
background:#f7f7f7;
border-radius:10px;
}

.also-read h3{
margin-bottom:12px;
}

.also-read ul{
list-style:none;
padding-left:0;
}

.also-read li{
margin-bottom:8px;
}

.also-read a{
text-decoration:none;
color:#8b0000;
font-weight:500;
font-family:'Tiro Devanagari Hindi','Noto Serif Devanagari','Mangal',serif;
font-size:18px;
}
.also-read a:hover{
color:#b30000;
}
.also-read li{
margin-bottom:10px;
}

/* Facebook */
.fb-btn {
  background: linear-gradient(135deg, #1877f2, #0d5bd3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* YouTube */
.yt-btn {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Hover effect */
.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}
.social-links{
text-align:center;
margin-top:25px;
margin-bottom:25px;
}
.social-links a{
display:inline-block;
margin:10px 12px;
padding:8px 16px;
border-radius:14px;
color:white;
text-decoration:none;
font-size:18px;
}
.clear {
  clear: both;
}

.blogs-container {
  display: block;
}


.blog {
  width: 100%;
}
.blog h3{
  margin-top:28px;
  font-size:20px;
  font-weight:600;
}
@media (max-width: 768px) {
  .blogs-container {
    grid-template-columns: 1fr;
  }
}

.index-grid {
  gap: 40px;
}

#index-blog {
  max-width: 100%;
}

#blog-index {
  margin: 30px 0;
  padding: 15px;
  background: #f9f9f9;
  border-left: 4px solid #2b7a78;
}

.index-grid ol {
  margin: 0;
  padding-left: 20px;
}
#blog-index .index-grid {
  column-count: 2;
  column-gap: 40px;
}

@media (max-width: 768px) {
  #blog-index .index-grid {
    column-count: 1;
  }
}


.index-grid ol {
  margin: 0;
  padding-left: 20px;
  break-inside: avoid;
}
.floating-index-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #2b7a78;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  display: block;
}

.floating-index-btn:hover {
  background: #205e5c;
}

/* ===== GLASS HEADER CLEAN VERSION ===== */

.glass-header {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 16px 34px;
  overflow: hidden;

  background: #057dcd; /* Star of Life color */
  border-bottom: 1px solid rgba(255,255,255,0.35);

  box-shadow:
    0 4px 20px rgba(0,0,0,0.15),
    inset 0 0 40px rgba(255,255,255,0.25);
}

/* ===== CONTENT ABOVE BACKGROUND ===== */

.header-left,
.header-center,
.header-right {
  position: relative;
  z-index: 1;
}

/* ===== LOGOS ===== */

.logo-main {
  height: 110px;   /* बड़ा किया */
  width: auto;
  object-fit: contain;

  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.95))
    drop-shadow(0 0 18px rgba(255,255,255,0.55));
}

.logo-authentic {
  height: 95px;   /* बड़ा किया */
  width: auto;
  object-fit: contain;
  margin-left: auto;

  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.95))
    drop-shadow(0 0 18px rgba(255,255,255,0.55));
}

/* ===== CENTER TITLE ===== */

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clinic-title {
  margin: 0;
  font-size: 40px;   /* बड़ा किया */
  font-weight: 600;
  letter-spacing: 1.2px;
  
  font-family: 'Cinzel', serif;

  color: #ffffff; /* contrast */

  text-shadow:
  0 0 6px rgba(255,255,255,0.65),
  0 0 14px rgba(5,125,205,0.45);
}

/* ===== NAVIGATION ===== */

.header-nav {
  margin-top: 8px;
  text-align: center;
}

.header-nav a {
  color: #eaf6ff; /* contrast tone */
  text-decoration: none;
  margin: 0 16px;
  font-size: 16px;
  font-weight: 600;

  text-shadow:
    0 0 6px rgba(255,255,255,0.9);

  transition: 0.3s ease;
}

.header-nav a:hover {
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255,255,255,1);
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {

  .glass-header {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px 12px;
  }

  .logo-main {
    height: 85px;
    margin: 6px auto;
  }

  .logo-authentic {
    height: 75px;
    margin: 6px auto;
  }

  .clinic-title {
    font-size: 30px;
  }

  .header-nav a {
    display: inline-block;
    margin: 6px 8px;
  }
}
/* ===== BLOG INTRO - सरल सार्वभौमिक कोड (जीजू की इच्छा अनुसार) ===== */
#blog-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto 60px auto;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}

.blog-intro-text {
  flex: 1;
  min-width: 280px;
}

.author-card {
  flex: 0 0 320px;
  text-align: center;
}

/* केवल मोबाइल पर: ऊपर-नीचे, केंद्रित (आपका पुराना परफेक्ट व्यवहार) */
@media (max-width: 767px) {
  #blog-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 0 10px;
  }
  
  .blog-intro-text,
  .author-card {
    width: 100%;
    max-width: 400px;
  }
  
  .author-card {
    margin-top: 20px;
  }
  
  .author-card img {
    max-width: 280px;
    height: auto;
  }
}

/* सूची हमेशा नीचे */
#blog-index {
  clear: both;
  margin: 80px auto 40px auto;
  max-width: 1200px;
  padding: 30px 20px;
  background: #f9f9f9;
  border-left: 6px solid #2b7a78;
  border-radius: 10px;
}
.blog-content{
font-family:'Tiro Devanagari Hindi','Noto Serif Devanagari','Mangal',serif;
font-size:18px;
line-height:1.9;
}
.english-version{
font-family:'Merriweather',serif;
font-size:16px;
}
/* ===== CONTACT SECTION COMPACT CENTERED LAYOUT ===== */

.contact-wrapper {
  display: flex;
  justify-content: center;   /* किनारों से हटाकर center में */
  gap: 60px;                 /* दोनों कॉलम के बीच दूरी */
  margin-top: 20px;
  max-width: 700px;          /* फैलाव रोकता है */
  margin-left: auto;
  margin-right: auto;
}

.contact-left,
.contact-right {
  flex: 1;
}

#contact h4 {
  margin-bottom: 6px;
  color: #2f86c5;
}

#contact p {
  margin: 4px 0 14px 0;
  line-height: 1.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
/* ===== UP BUTTON (HOME PAGE ONLY) ===== */

.up-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(5,125,205,0.9);
  color: #ffffff;

  font-size: 22px;
  font-weight: bold;
  text-decoration: none;

  border-radius: 50%;

  box-shadow:
    0 0 10px rgba(255,255,255,0.6),
    0 0 18px rgba(5,125,205,0.5);

  transition: 0.3s ease;
  z-index: 9999;
}

.up-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 14px rgba(255,255,255,0.9),
    0 0 26px rgba(5,125,205,0.8);
}
/* ===== Clinic Motto (Clean Capsule Only) ===== */
.header-motto {
  margin-top: 8px;
  margin-bottom: 10px;

  font-family: "Merriweather", serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  font-weight: 500;

  color: #eeff00; /* हल्का रंग टेक्स्ट → स्पष्ट contrast */

  padding: 6px 16px;
  border-radius: 20px;

  /* ⭐ मुख्य highlight */
  background: rgba(15,27,77,0.92);

  /* ⭐ subtle depth */
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);

  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
}

/* Mobile */
@media (max-width: 768px) {
  .header-motto {
    font-size: 0.9rem;
    padding: 6px 14px;
  }
}
/* ===== TREATMENT PAGE LAYOUT ===== */

/* ===== TREATMENT PAGE MAIN WRAPPER ===== */
.treatment-container{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:60px;

  max-width:1000px;     /* ← यही असली समाधान है */
  margin:40px auto;     /* ← पूरा block center में */
  padding:0 25px;       /* ← edges से दूरी */
}

/* LEFT LIST */
.treatment-list{
  flex:1;
  min-width:260px;
}

/* RIGHT PHOTO */
.treatment-container .author-card{
  width:220px;
  text-align:center;
  margin-right:10px;   /* ← photo को edge से हटाता है */
}

.treatment-container .author-card img{
  width:180px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}

/* ===== SOCIAL LINKS ALIGNMENT ===== */
/* ONLY treatment page social links */
.treatment-container + .social-links{
  max-width:1000px;
  margin:30px auto;
  padding:0 25px;
  text-align:center;
}
@media (max-width:768px){

.blog-header{
flex-direction:column;
align-items:center;
text-align:center;
}

.author-card{
margin-top:15px;
}

.author-card img{
display:block;
margin:auto;
}

}

/* ===== MOBILE ===== */
@media (max-width:768px){

  .treatment-container{
    flex-direction:column;
    align-items:center;
    gap:30px;
  }

  .treatment-container .author-card{
    margin-right:0;
  }
}
@media (max-width:768px){

section:not(.clinic-motto){
padding:20px;
}

}
/* ===== CROSS BROWSER STABILITY PATCH (Minimal Safe Version) ===== */

/* Font auto scaling control */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  box-sizing: border-box;
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Floating button render stabilization */
.floating-index-btn {
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

