* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 2px;
  font-family: "Figtree", sans-serif;
}

/* --- Navbar Section --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--Beige-BK, #fffaf5);
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links img {
  height: 30px;
  cursor: pointer;
}

.Book-appointment {
  display: flex;
  align-items: center;
  border: 1px solid #462512;
  border-radius: 999px;
  padding: 8px 16px;
  background: #f8943f;
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  font-size: 16px;
  color: #000;
  box-shadow: 0 0 0 1px #462512;
}

.Book-text {
  color: #fff;
  font-size: 18px;
}

.call-button {
  display: flex;
  align-items: center;
  border: 1px solid #462512;
  border-radius: 999px;
  padding: 8px 16px;
  background: #ffffff;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  font-size: 16px;
  color: #000;
  box-shadow: 0 0 0 1px #462512;
}

.call-button i {
  color: #462512;
  font-size: 18px;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    padding: 1rem;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}


/* --- Hero Section --- */
.hero {
  display: flex;
  width: 100%;
  height: 450px;
  padding: 0;
  margin: 0;
}

.hero-left {
  width: 967px;
  height: 450px;
  overflow: hidden;
}

.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-right {
  width: 473px;
  height: 450px;
  padding: 24px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff9f4;
  border: 1px solid #ccc;
}

.hero-right h2 {
  font-size: 22px;
  margin-bottom: 0.5rem;
}

.hero-right p {
  font-size: 14px;
  margin-bottom: 1rem;
  color: #555;
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pill-input {
  width: 100%;
  height: 38px;
  border: 1px solid #fbd9b8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.pill-input input {
  width: 100%;
  height: 100%;
  padding: 0 1rem;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  border-radius: 999px;
}

.captcha-wrapper {
  display: flex;
  flex-direction: row;  /* ensures side-by-side layout */
  align-items: center;
  justify-content: space-between;
  height: 38px;
  width: 100%;
  border: 1px solid #fbd9b8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
  gap: 0;
}

#captchaInput {
  flex: 1;
  border: none;
  padding: 0 1rem;
  font-size: 14px;
  outline: none;
  border-radius: 999px 0 0 999px;
  height: 100%;
}

#captchaDisplay {
  background-color: #3e240e;
  color: #fff;
  padding: 0 16px;
  font-weight: bold;
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
  white-space: nowrap;
}
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 1rem;
}

.hero-right button {
  width: 100%;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  background-color: #f58220;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-right button:hover {
  background-color: #e17010;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    height: auto;
  }

  .hero-right {
    padding: 1rem;
    border: none;
    border-radius: 15px;
  }

  .form {
    width: 100%;
  }

  .pill-input input,
  #captchaInput {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .captcha-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 0;
    height: auto;
  }

  #captchaDisplay {
    font-size: 1rem;
    padding: 12px 16px;
    height: 100%;
  }

  .checkbox-container {
    font-size: 0.9rem;
    flex-direction: row;
  }

  .checkbox-container input {
    margin-top: 4px;
  }

  .hero-right button {
    font-size: 1rem;
    border-radius: 999px;
  }
}

@media (max-width: 430px) {
  .hero {
    padding: 1rem;
    flex-direction: column;
  }

  .captcha-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    width: 100%;
    border: 1px solid #fbd9b8;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  #captchaInput {
    flex: 1;
    border: none;
    padding: 0 1rem;
    font-size: 14px;
    outline: none;
    height: 100%;
    border-radius: 999px 0 0 999px;
  }

  #captchaDisplay {
    background-color: #3e240e;
    color: white;
    padding: 0 16px;
    font-weight: bold;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    white-space: nowrap;
  }

  .checkbox-container {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }

  .hero-right button {
    width: 100%;
  }
}

/* --- Stats Section --- */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: var(--Beige-BK, #fffaf5);
  padding: 20px;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  color: black;
  font-family: "Figtree", sans-serif;
  min-width: 150px;
  flex: 1 1 220px;
  max-width: 250px;
}

.stat-box img {
  width: 40px;
  height: 40px;
}

.stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  color: #ff7b00;
  margin: 0;
}

.stat-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  color: black;
  margin: 0;
}

@media (max-width: 768px) {
  .stats {
    justify-content: center;
    gap: 20px;
    border-radius: 15px;
  }

  .stat-box {
    flex: 1 1 45%;
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .stat-box {
    flex: 1 1 100%;
    max-width: none;
  }

  .stat-box img {
    width: 32px;
    height: 32px;
  }

  .stat-number,
  .stat-label {
    font-size: 13px;
  }
}

/* --- Root Canal Treatments Section --- */
.rct-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.rct-heading {
  text-align: center;
  margin-bottom: 40px;
}

.rct-heading h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.rct-heading p {
  font-size: 16px;
  color: #666;
  max-width: 880px;
  margin: 0 auto;
}

.rct-cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.rct-card {
  width: 550px;
  height: auto;
  border-radius: 20px;
  border: 1px solid #ffe0c4;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  background-color: #fff;
  /* border: 1px solid var(--Strokes, #FFE0C4) */
  box-sizing: border-box;
}

.rct-image {
  width: 50%;
  object-fit: cover;
}

.rct-content {
  width: 50%;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid var(--Strokes, #ffe0c4);
}

.rct-title {
  font-weight: 500;
  color: #333;
  font-size: 16px;
}

.rct-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: #333;
}

.rct-price {
  font-weight: bold;
  font-size: 14px;
  color: #ff7b00;
}

.rct-price span {
  display: block;
  color: #000;
  font-weight: 500;
  margin-top: 4px;
}

.rct-button {
  background-color: #ff7b00;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  width: fit-content;
}

.rct-button:hover {
  background-color: #e96c00;
}

@media (max-width: 992px) {
  .rct-card {
    flex-direction: column;
    width: 90%;
  }

  .rct-image,
  .rct-content {
    width: 100%;
  }

  .rct-image {
    height: 200px;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .rct-heading h2 {
    font-size: 20px;
  }

  .rct-heading p {
    font-size: 14px;
  }

  .rct-title {
    font-size: 15px;
  }

  .rct-list {
    font-size: 13px;
  }

  .rct-price {
    font-size: 13px;
  }

  .rct-button {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* --- Real Smiles Transformations Section --- */
.smiles-section {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.smiles-heading h2 {
  font-size: 24px;
  font-weight: bold;
  color: #1d1d1f;
}

.smiles-heading p {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.smiles-gallery {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.smile-card {
  width: 295px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.smile-img {
  width: 295px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}

.smile-info-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
}

.smile-info-row .name {
  font-size: 14px;
  color: #333;
}

.smile-info-row .location {
  font-size: 14px;
  color: #ff7b00;
  font-weight: bold;
}

.smile-info .location {
  color: #ff7b00;
  font-weight: bold;
}

@media (max-width: 768px) {
  .smiles-gallery {
    flex-direction: column;
    align-items: center;
  }

  .smile-card {
    width: 90%;
  }

  .smile-img {
    width: 100%;
    height: auto;
  }
}

/* Why Choose Clove Dental Section */
.why-clove-section {
  padding: 40px 20px;
  max-width: 1180px;
  margin: auto;
  font-family: "Figtree", sans-serif;
}

.why-heading {
  text-align: center;
  margin-bottom: 32px;
}

.why-heading h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 100%;
}

.why-heading p {
  margin-top: 8px;
  font-size: 16px;
  color: #444;
}

.why-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.feature-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
}

.plus-icon {
  font-size: 20px;
  color: #ff6600;
  font-weight: bold;
}

.right-image {
  flex: 1;
  max-width: 500px;
}

.right-image img {
  width: 461px;
  height: 422px;
  border-radius: 20px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .why-content {
    flex-direction: column;
    align-items: center;
  }

  .right-image {
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }

  .right-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .feature-list {
    width: 100%;
  }

  .feature-list li {
    justify-content: space-between;
  }
}
@media (max-width: 430px) {
  .right-image {
    margin-top: 16px;
    padding: 0 16px;
  }

  .right-image img {
    max-width: 100%;
    height: auto;
  }
}

/* Testimonials Section  */
.testimonials-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.testimonials-heading h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.testimonials-heading p {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  width: 224px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.testimonial-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.patient-info {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
}

.patient-info p {
  margin: 0;
  font-size: 14px;
}

.patient-info span {
  font-size: 13px;
}
.address {
  color: #888;
}

.highlight {
  font-weight: bold;
  color: var(--Orange, #f58420);
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 90%;
    max-width: 300px;
  }

  .testimonials-heading h2 {
    font-size: 22px;
  }

  .testimonials-heading p {
    font-size: 14px;
  }
}

/* --- Appointment Section --- */
.appointment-form {
  background: #fff8f3;
  border-radius: 10px;
  padding: 16px 12px;
  max-width: 1320px;
  margin: 40px auto;
  font-family: "Figtree", sans-serif;
  box-sizing: border-box;
  border-radius: 15px;
}

.appointment-form h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
  color: #303030;
  text-align: center;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.form-input {
  border: 1px solid #ffd5b5;
  border-radius: 24px;
  padding: 17px 16px;
  width: 416px;
  height: 38px;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.captcha-group {
  display: flex;
  align-items: center;
  border: 1px solid #ffd5b5;
  border-radius: 24px;
  overflow: hidden;
  height: 38px;
  width: 306px;
}

.captcha-input {
  border: none;
  border-radius: 0;
  padding: 16px;
  flex: 1;
}

.captcha-code {
  background-color: #3e240e;
  color: #fff;
  padding: 0 16px;
  font-weight: bold;
  height: 100%;
  display: flex;
  align-items: center;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.book-button {
  background-color: #f58220;
  color: white;
  border: none;
  border-radius: 24px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.book-button:hover {
  background-color: #e17010;
}

.consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: left;
  margin-top: 16px;
  font-size: 13px;
  color: #303030;
}

.consent input[type="checkbox"] {
  margin-top: 2px;
}

.consent a {
  color: #303030;
  font-weight: 500;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-input,
  .captcha-group {
    width: 100%;
  }

  .book-button {
    width: 100%;
  }

  .consent {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Frequently Asked Questions Section  ---*/
.faq-section {
  padding: 0 60px;
  width: 1440px;
  max-width: 100%;
  margin: auto;
  margin-bottom: 15px;
}

.faq-title {
  text-align: center;
  font-family: Figtree, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #303030;
  margin-bottom: 40px;
}

.faq-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.faq-column {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #303030;
  font-family: Figtree, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

hr {
  border: none;
  height: 1px;
  background-color: #d0d0d0;
  margin: 0;
}

.plus-icon {
  color: #f58220;
  font-size: 20px;
  font-weight: bold;
}

/* --- Footer Section --- */
.footer {
  height: 149px;
  background-color: #462512;
  color: #ffffff;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  text-align: left;
}

.logo-text {
  font-size: 32px;
  font-weight: 400;
  color: #f78f1e;
}

.smile {
  color: #ffffff;
}

.dental-text {
  font-size: 12px;
  letter-spacing: 5px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 27px;
  font-size: 14px;
  font-weight: 400;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-divider {
  width: 837px;
  height: 0;
  border: none;
  border-top: 1px solid #ffffff;
  margin-left: auto;
}

.footer-copy {
  font-size: 14px;
  line-height: 150%;
  color: #ffffff;
  max-width: 761px;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
  .footer-divider {
    justify-content: center;
  }
  .footer-copy {
    justify-content: center;
  }
}
