*{
  scroll-behavior: smooth;
}
body h2{
  line-height: 1;
}
/* section 1 */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    text-align: left;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 55%;
    margin-left: 0;
    padding-top: 50px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #777777;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #222222;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #444444;
}

.btn-outline {
    border: 1px solid #222222;
    color: #222222;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: #222222;
    color: #FFFFFF;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 90%;
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
    background-color: #5FC1AE;
    
    box-sizing: border-box;
    z-index: 1;
}



/* section2 */
:root {
  --color-header: #3e3e4a;
  --color-text: #000000;
  --color-accent: rgba(95, 193, 174, 0.87);
  --color-background: #f8f8f8;
  --color-border: #c5abab;
  --font-inter-bold: "Inter-Bold", sans-serif;
  --font-inter-semibold: "Inter-SemiBold", sans-serif;
  --font-inter-medium: "Inter-Medium", sans-serif;
}

.treatment-options-section {
  background: var(--color-background);
  padding: 80px 160px 120px; 
  position: relative;
  /* overflow: hidden; */
  text-align: center; 
}

.section__subtitle {
  color: var(--color-header);
  font-family: var(--font-inter-bold);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px; 
  text-align: center;
}

.section__title {
  color: #000000;
  font-family: "GilroyLight-☞", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 auto 30px; 
  max-width: 751px; 
  text-align: center;
}

.section__description {
  color: var(--color-header);
  font-family: var(--font-inter-medium);
  font-size: 20px;
  font-weight: 500;
  margin: 0 auto 60px; 
  max-width: 1029px; 
  text-align: center;
}

.treatment-cards {
  list-style: none; 
  padding: 0;
  margin: 0 auto; 
  max-width: 1131px; 
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  gap: 80px; 
  align-items: stretch; 
}

.treatment-card .card__wrapper-link{
  text-decoration: none; 
}
.treatment-card {
  text-decoration: none; 
  flex-basis: 319px; 
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative; 
  box-sizing: border-box;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.treatment-card:hover {
  text-decoration: none; 
  transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.card__image-container {
  border-radius: 2px 110px 2px 2px;
  width: 100%; 
  height: 366.65px; 
  overflow: hidden;
  flex-shrink: 0; 
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

.card__title {
  text-decoration: none; 
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-inter-semibold);
  font-size: 20px;
  font-weight: 500;
  padding: 12px 0;
  text-align: center;
  margin: 0;
  
  border-radius: 2px 0px 2px 2px; 
  flex-shrink: 0; 
}

.card__text {
  text-decoration: none; 
  color: var(--color-text);
  font-family: var(--font-inter-medium);
  font-size: 16px;
  font-weight: 500;
  padding: 14.65px 13px 40px; 
  margin: 0;
  border-style: solid;
  border-color: var(--color-border);
  border-width: 0 2px 2px 2px; 
  border-radius: 0px 0px 2px 2px;
  flex-grow: 1; 
  text-align: left;
  line-height: 1.4;
  position: relative; 
}

.card__link {
  color: var(--color-text);
  font-family: var(--font-inter-semibold);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
  left: 13px;
  bottom: 12px; 
}


/* section 3 */

.section-title-aligners {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  position: relative;
  text-align: center;
  top: 30px;
  
}
.clear-aligners-suitability {
  background: #2b4e90;
  opacity: 0.92;
  height: 750px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  font-family: "Inter-Regular", sans-serif;
}

.section-title {
  color: #ffffff;
  font-size: 41px;
  font-weight: 700;
  position: relative;
  text-align: center;
  top: 45px;
  left: 75px;
}

.content-text {
  position: relative;
  text-align: center;
  top: 30px;
  padding:0 100px 0 100px

}

.content-text p {
  padding: 0 20px 0 20px;
  color: #ffffff;
  font-size: 21px;
  font-weight: 250;
  line-height: 1.5;
  margin-bottom: 20px;
}

.content-text strong {

  font-weight: 700;
}

.studio-note {
  margin-top: 30px;
}

.visual-examples {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1181px;
  top: 340px;
}

.condition-list {
  
  list-style: none;
  padding-top: 50px;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.condition-item {
  position: relative;
  width: 369px;
}

.condition-frame {
  /* background: #4e3f3f;
  border-radius: 12px;
  width: 100%;
  height: 231px;
  overflow: hidden;
  position: relative; */
  border-radius: 12px;
  width: 100%; 
  height: 231px;
  overflow: hidden;
  flex-shrink: 0; 
}

.condition-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.condition-name {
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  width: 100%;
  top: 250px;
}

.read-more-link {
  background: #d9d9d9;
  border-radius: 34px;
  width: 157px;
  height: 34px;
  line-height: 34px;
  text-decoration: none;
  color: #000000;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 690px;
  display: block;
}

/* section 4 */
.children-braces-suitability {
  background: #f09c38;
  height: 800px;
  position: relative;
  overflow: hidden; 
  font-family: "Inter-Regular", sans-serif;

}

.content-wrapper {
  position: relative;
  left: 100p0x;
  top: 25px;
  width: 618px;
}

.section-title-braces {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  position: relative;
  text-align: center;
  top: 45px;
  left: 75px;
}

.main-content-text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  text-align: justify;
  position: relative;
  left: 100px;
  top: 30px;
  width: 567px;
}

.main-content-text p {
  margin-bottom: 20px;
  
}

.main-content-text strong {
  font-weight: 700;
}

.visual-media {
  width: 526px;
  height: 526px;
  position: absolute;
  left: 788px;
  top: 117px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  aspect-ratio: 1;
}

.read-more-link-braces {
  background: #d9d9d9;
    border-radius: 34px;
    width: 157px;
    height: 34px;
    line-height: 34px;
    text-decoration: none;
    color: #000000;
    text-align: center;
    font-family: "Inter-SemiBold", sans-serif;
    font-size: 18px;
    font-weight: 600;
    position: absolute;
    left: 29%;
    transform: translateX(-50%);
    top: 660px;
    display: block;
}

/* section 5 doctors */

.team-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section__title {
  color: var(--headers, #131313);
  text-align: center;
  font-family: "Inter-Bold", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 60px;
}

.team-member {
  display: flex;
  flex-direction: row-reverse; /* image right */
  gap: 60px;
  align-items: stretch;
}

/* TEXT SIDE */
.member-info {
  flex: 1;               /* takes half-ish */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 300px;
}

/* IMAGE SIDE */
.member-photo-container {
  flex: 1;               /* 👈 REMOVE fixed width */
  display: flex;
  
}

/* IMAGE */
.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills area professionally */
}

.member-name {
  color: var(--headers, #000000);
  text-align: left;
  font-size: 42px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.1;
}

.member-title {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  margin-top: 0;
}

.member-bio p {
  font-family: "Inter-Regular", sans-serif;
  color: #000000;
  text-align: left;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.associated{
    color: #666;
}

/* section 6 */
.review-box {
  background: #5FC1AE;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box; 
}

.reviews-section {
  color: var(--headers, #3e3e4a);
  text-align: center;
  font-family: "Inter-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  position: relative;
  margin-bottom: 30px;
  line-height: 1.2;
}

.rev {
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}


/* section 7 maps */

.group1{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  background: #F8F8F8;
  padding: 45px 80px 80px;
  position: relative;
  min-height: 500px;
  margin: 0 auto;
}

.contact-info__heading {
  color: #000000;
  text-align: center;
  font-family: "Inter-Bold", sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
}

.contact-info__map-wrapper,
.contact-info__list-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-info__map {
min-width: 300px;
  border-radius: 4px;
  overflow: hidden;
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.contact-info__map-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.contact-info__hours-block {
  flex: 1 1 368px;
  max-width: 400px;
  padding: 30px;
  background: #18afd3;
  border-radius: 4px;
}

.table-container {
    font-family: Arial, sans-serif;
    color: white;
    display: flex;
    justify-content: start ;
    align-items: center;
    margin-top: 10px;
  }
  table {
    border-collapse: collapse;
    width: 300px;
  }

  td {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  td:first-child {
    text-align: left;
    font-weight: bold;
  }

  td:last-child {
    text-align: right;
  }

  .closed {
    color: #b5e0ec; /* lighter grayish color for 'Closed' */
  }

.contact-info__hours-header {
  margin-bottom: 10px;
}

.contact-info__hours-title {
  color: #3e3e4a;
  font-family: "Inter-SemiBold", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.contact-info__hours-text {
  color: #000000;
  font-family: "Inter-Light", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.contact-item {
  flex: 1 1 280px;
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
}

.contact-item__icon-wrapper {
  margin-right: 15px;
  flex-shrink: 0;
  padding: 5px;
  border-radius: 50%;
  background-color: transparent;
}

.contact-item__icon {
  width: 36px;
  height: 36px;
  display: block;
}

.contact-item__label {
  color: #000000;
  font-family: "Inter-Medium", sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.contact-item__value,
.contact-item__value address {
  color: #000000;
  font-family: "Inter-Regular", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  font-style: normal;
  line-height: 1.4;
}

.contact-item--location .contact-item__value {
  font-size: 13px;
  text-align: left;
}


/* whatsapp */
/* .cta {
    padding: 6rem 0;
    background-color: #e6edec
}

.cta-content {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #212020;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn-primary{
  background-color: green;
} */








/* hero section mobile */
@media (max-width: 768px) {

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: start;
    }
    .hero-content {
        max-width: 90%;
        margin: 0 auto;
    }
    .hero::after {
      width: 90%;
      height: 90%;
      top: 30px
    }
  }
  
/* section 2 mobile */
@media (max-width: 768px) {
    .treatment-options-section {
        padding: 40px 20px 60px;
    }

    .section__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .section__description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .treatment-cards {
        flex-direction: column;
        gap: 40px;
        max-width: 100%;
        padding: 0 10px;
        align-items: center;
    }

    .treatment-card {
        flex-basis: auto;
        width: 90%;
        transform: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    .treatment-card:hover {
        transform: translateY(-4px); 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .card__image-container {
        height: 250px; 
    }

    .card__text {
        padding: 14.65px 10px 40px;
    }
    
    .card__link {
        left: 10px;
    }
}


@media (max-width: 1024px) {
  .contact-info {
    padding: 30px 20px 40px;
  }
  .contact-info__heading {
    font-size: 36px;
    margin-bottom: 25px;
  }
  
  .contact-info__map,
  .contact-info__hours-block {
    flex: 1 1 100%;
    min-width: auto;
  }
  
  .contact-info__list {
    flex-direction: column;
    gap: 15px;
  }
  .contact-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .contact-info__heading {
    font-size: 28px;
  }
}

/* section 3 responsive mobile */
@media (max-width: 768px) {
    .clear-aligners-suitability {
        height: auto;
        padding: 40px 20px 60px; 
    }

    .section-title-braces {
        font-size: 32px;
        font-weight: 700;
        position: relative; 
        top: auto; 
        left: auto;
        text-align: center;
        margin-bottom: 20px;
    }

    .content-text {
        position: relative;
        top: auto;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .content-text p {
        padding: 0;
        font-size: 16px;
        line-height: 1.6;
    }

    .visual-examples {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        top: auto;
        
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    .visual-examples::-webkit-scrollbar {
        display: none; 
    }

    .condition-list {
        flex-direction: row; 
        flex-wrap: nowrap; 
        padding-top: 0;
        gap: 20px;
        width: fit-content; 
    }

    .condition-item {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .condition-frame {
        height: 150px; 
    }
    
    .condition-name {
        position: relative; 
        top: 0;
        margin-top: 8px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .read-more-link {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 40px auto 0;
    }
}

/* section 4 children mobile*/

@media (max-width: 768px) {
    .children-braces-suitability {
        height: auto;
        padding: 40px 30px 60px 20px;
        position: relative;
    }

    .visual-media {
        position: relative;
        left: auto;
        right: 15px;
        top: auto;
        width: 400px;
        height: 500px; 
        margin-bottom: 30px;
    }

    .main-image {
      padding-top: 20px;
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1;
    }

    .content-wrapper {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        padding: 0 10px;
    }

    .section-title-braces {
        font-size: 32px;
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-content-text {
        font-size: 16px;
        text-align: center;
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .read-more-link-braces {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        margin-top: 20px;
        display: block; 
    }
}

/* section 5 doctor mobile*/
@media (max-width: 1024px) {
  .team-member {
    flex-direction: column; 
    gap: 30px;
  }
  .member-photo-container {
    flex: 0 0 100%; 
    max-width: 450px;
    height: 450px;
    margin: 0 auto;
    order: 1;
  }
  .member-info {
    order: 2;
    padding: 0 20px;
    min-width: auto;
    flex: 1 1 100%;
  }
  .member-name {
    font-size: 22px;
    text-align: center;
  }
  .member-title {
    text-align: center;
  }
  .member-bio p {
    font-size: 18px;
  }
}

/* section 6 reviews mobile */
@media (min-width: 601px) {
  .review-box {
    padding: 80px 40px;
  }
  .reviews-section {
    font-size: 40px;
  }
}


@media (min-width: 1025px) {
  .review-box {
    padding: 100px 160px;
  }
  .reviews-section {
    font-size: 48px;
  }
}

/* section 6 maps mobile */
@media (max-width: 768px) {
    .contact-info {
        padding: 40px 15px 40px;
        min-height: auto;
    }

    .contact-info__heading {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .group1 {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info__map {
        min-width: 100%;
        width: 100%;
    }

    .contact-info__map iframe {
        width: 100%;
        height: 250px !important; 
    }

    .contact-info__hours-block {
        flex: 0 0 100%; 
        max-width: 100%;
        padding: 20px;
    }

    .contact-info__hours-title {
        font-size: 24px;
    }

    .contact-info__hours-text {
        font-size: 14px;
    }

    .table-container {
        justify-content: center;
        margin-top: 20px;
    }
    
    .table-container table {
        width: 100%; 
        max-width: 300px;
    }

    .contact-info__list {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .contact-item {
        flex: 0 0 100%;
        padding: 10px 0;
    }

    .contact-item__label {
        font-size: 18px;
    }

    .contact-item__value,
    .contact-item__value address {
        font-size: 15px;
    }
}