body{
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* =============================================== Hero Section =============================================== */

.orthodontic-braces-main-section{
    min-height: 90vh;
    width: 100%;
    margin-top: 0;
    /* background-color: #c0b9b2; */
    overflow-x: hidden;
}
  
.orthodontic-braces-subsection{
    min-height: 90vh;
    width: 100%;
    /* background-color: transparent; */
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
  
.orthodontic-braces-subsection-text-part{
    width: 100%;
    max-width: 1200px;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    height: 100%;
}
  
.orthodontic-braces-subsection-text-part .orthodontic-braces-bg{
    width: 100%;
    max-width: 800px;
    padding: clamp(2rem, 5vw, 4rem);
    /* background: rgba(0,0,0,0.1); */
    border-radius: 15px;
    /* backdrop-filter: blur(5px); */
}
  
.orthodontic-braces-wrapper{
    width: 100%;
    height: 90vh;
    background: url(odb.jpeg) center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
  
.orthodontic-braces-subsection-text-part .orthodontic-braces-title{
    margin-bottom: clamp(1rem, 3vw, 2rem);
}
  
.orthodontic-braces-title h3{
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin: 0;
    color: rgb(255, 255, 255);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.7); */
}
  
.orthodontic-braces-subsection-text-part .orthodontic-braces-sub-title{
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
  
.orthodontic-braces-sub-title p{
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-family: 'SangBleu Kingdom Light, Georgia', serif;
    letter-spacing: 0.05rem;
    color: white;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    text-align: justify;
}

.orthodontic-braces-subsection-text-part .contact-btn{
    
  background-color: transparent;
  color: white;
  border: 2px solid white;
  height: 50px ;
  width: 160px;
  border-radius: 5px;

}



/* .orthodontic-braces-subsection-text-part .contact-btn:hover{
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
  
.orthodontic-braces-subsection-text-part a:hover button{
    color: white;
} */

/* Mobile Adjustments for Hero Section */
@media (max-width: 768px) {
    .orthodontic-braces-wrapper {
        background-attachment: scroll;
    }
    
    .orthodontic-braces-subsection-text-part {
        padding: 0 1rem;
    }
} 
  
@media (min-width: 1286px){
  .orthodontic-braces-subsection-text-part{
    margin-left: 150px;
  }
}

/* =============================================== Types Section =============================================== */

.orthodontic-braces-types-section{
    min-height: auto;
    width: 100%;
    background-color: #ebe3da;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    overflow-x: hidden;
}
  
.orthodontic-braces-types-section h2{
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 600;
    margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
    color: #333;
}
  
.orthodontic-braces-types-section .orthodontic-braces-types-container{
    max-width: 1200px;
    margin: 0 auto;
}
  
.orthodontic-braces-types-section .orthodontic-braces-types-paragraph-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 3rem);
}
  
.orthodontic-braces-types-img-container{
    flex: 1;
    min-width: 300px;
}
  
.orthodontic-braces-types-img-sub-container{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
  
.orthodontic-braces-types-img-sub-container .orthodontic-braces-types-sample{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
  
.orthodontic-braces-types-text-container{
    flex: 1;
    min-width: 300px;
}
  
.accordion {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 8px;
}
  
.accordion-item {
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
  
.accordion-item:last-child {
    margin-bottom: 0;
}
  
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    cursor: pointer;
    background-color: #dad3cd;
    transition: all 0.3s ease;
    border: none;
}
  
.accordion-header:hover {
    background-color: #6e6b69;
    color: white;
}
  
.accordion-header span{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 0.05rem;
    font-weight: 500;
    flex: 1;
    text-align: left;
}
  
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
    background-color: #f5f0ea;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
  
.accordion-content.open {
    max-height: 200px;
    padding: clamp(1rem, 3vw, 1.5rem);
}
  
.accordion-content p {
    margin: 0;
    color: #444;
    letter-spacing: 0.05rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
  
.toggle-btn {
    background: none;
    border: none;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    cursor: pointer;
    outline: none;
    font-weight: bold;
    color: inherit;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}
  
.toggle-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Mobile Layout for Types Section */
@media (max-width: 768px) {
    .orthodontic-braces-types-section .orthodontic-braces-types-paragraph-container {
        flex-direction: column;
        text-align: center;
    }
    
    .orthodontic-braces-types-img-container {
        order: -1;
        margin-bottom: 2rem;
    }
}
  

/* =============================================== Benefits Section =============================================== */

.orthodontic-benefits{
    min-height: auto;
    width: 100%;
    background-color: #dad3cd;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    overflow-x: hidden;
}

.orthodontic-benefits h2{
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 600;
    margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
    color: #333;
}

.orthodontic-benefits p{
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.05rem;
    font-weight: 500;
    margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
    line-height: 1.7;
    color: #444;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

  

   /* ----------------------------------------------------------treatments---------------------------------------------------------- */

   .orthodontic-treatments{
    height: 40vh;
    width: 100%;
    background-color: #dad3cd;
  }

  .orthodontic-treatments h2{
    text-align: center;
    font-size: 2.2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding-top: 0%;
    padding-bottom: 5%;
  }

  .orthodontic-treatments p{
    text-align: left;
    font-size: 1.2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding-top: 1%;
    margin-left: 5%;
  }

   

  /* -----------------------------------------------------------Considerations---------------------------------------------------------- */

  .orthodontic-Considerations{
    height: 50vh;
    width: 100%;
    background-color: #dad3cd;
  }

  .orthodontic-Considerations h2{
    text-align: center;
    font-size: 2.2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding-top: 0%;
    padding-bottom: 5%;
  }

  .orthodontic-Considerations p{
    text-align: left;
    font-size: 1.2rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding-top: 1%;
    margin-left: 5%;
  }

  .orthodontic-Considerations #orthodontic-conclusion{
    margin-top: 2%;
    font-size: 1.5rem;
  }


/* =============================================== Teeth Aligners Section =============================================== */

.teeth-aligners-main-section{
    min-height: auto;
    width: 100%;
    background-color: #ebe3da;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 3rem);
    overflow-x: hidden;
}

.teeth-aligners-main-section .teeth-aligner-img-cont{
    flex: 1;
    min-width: 300px;
}

.teeth-aligner-img-cont .teeth-aligner-img{
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.teeth-aligner-img img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.teeth-aligners-main-section .teeth-aligner-text-cont{
    flex: 1;
    min-width: 300px;
}

.teeth-aligner-text-cont h2{
    text-align: left;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 600;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
    color: #333;
}

.teeth-aligner-text-cont p{
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.05rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.7;
    color: #444;
}

/* Mobile Layout for Teeth Aligners Section */
@media (max-width: 768px) {
    .teeth-aligners-main-section {
        flex-direction: column;
        text-align: center;
    }
    
    .teeth-aligner-text-cont h2 {
        text-align: center;
    }
}


/* =============================================== Teeth Benefits Section =============================================== */

.teeth-benefits{
    min-height: auto;
    width: 100%;
    background-color: #dad3cd;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    overflow-x: hidden;
}

.teeth-benefits h2{
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.1rem;
    font-weight: 600;
    margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
    color: #333;
}

.teeth-benefits p{
    text-align: left;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    letter-spacing: 0.05rem;
    font-weight: 500;
    margin: 0 0 clamp(1rem, 3vw, 1.5rem) 0;
    line-height: 1.7;
    color: #444;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.teeth-benefits #teeth-aligners-conclusion{
    margin-top: clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    text-align: center;
    color: #333;
    font-style: italic;
}

 

/* ============================================================================= Floating Elements & Mobile Optimizations =========================================================================== */

/* Ensure floating phone and WhatsApp buttons don't interfere with content */
#contact-btn .phn-no {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  padding: 10px 15px;
  background: linear-gradient(45deg, #8B4513, #A0522D);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: clamp(0.8rem, 2vw, 1rem);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#contact-btn .phn-no:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: linear-gradient(45deg, #A0522D, #8B4513);
}

.whatsapp-no {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-no a {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3rem);
  color: #25D366;
  transition: all 0.3s ease;
}


.whatsapp-no a:hover {
  transform: scale(1.1);
}

/* Footer Responsive Adjustments */
footer {
  background: #333;
  color: white;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}

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

.first-footer-section {
  text-align: center;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.first-footer-section p {
  margin: 0.5rem 0;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.second-footer-section {
  text-align: center;
}

.second-footer-section p {
  margin: 1rem 0;
  line-height: 1.6;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
}

#add1 {
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  opacity: 0.8;
}

#address span {
  font-weight: bold;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

/* Tablet Specific Adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Adjust content for tablets */
  .orthodontic-braces-types-section .orthodontic-braces-types-paragraph-container,
  .teeth-aligners-main-section {
    gap: 2rem;
  }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
  /* Adjust floating buttons for mobile */
  #contact-btn .phn-no {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
  }
  
  .whatsapp-no {
    bottom: 65px;
    right: 15px;
  }
  
  /* Hide background attachment on mobile for better performance */
  .orthodontic-braces-wrapper {
    background-attachment: scroll;
  }
  
  /* Ensure no horizontal scrolling */
  body {
    max-width: 100vw;
  }
  
  /* Footer adjustments */
  .first-footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Section spacing adjustments */
  .orthodontic-braces-types-section,
  .orthodontic-benefits,
  .teeth-aligners-main-section,
  .teeth-benefits {
    padding: clamp(2rem, 4vw, 3rem) clamp(0.5rem, 2vw, 1rem);
  }
}

@media (max-width: 480px) {
  /* Further mobile optimizations */
  .orthodontic-braces-subsection-text-part {
    padding: 0 0.5rem;
  }
  
  /* Adjust floating buttons for very small screens */
  #contact-btn .phn-no {
    font-size: 0.7rem;
    padding: 6px 10px;
  }
  
  /* Reduce spacing on very small screens */
  .orthodontic-braces-types-section,
  .orthodontic-benefits,
  .teeth-aligners-main-section,
  .teeth-benefits {
    padding: 1.5rem 0.5rem;
  }
}

/* Landscape phone adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .orthodontic-braces-wrapper {
    height: 100vh;
  }
  
  .orthodontic-braces-subsection {
    min-height: 100vh;
  }
}

/* Performance optimization - reduce animations on mobile */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .orthodontic-braces-title h3,
  .orthodontic-braces-sub-title p {
    text-shadow: 2px 2px 0 #000;
  }
}

/* Print styles */
@media print {
  .whatsapp-no,
  #contact-btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .orthodontic-braces-wrapper {
    background: none !important;
  }
}

