/*
Theme Name: Divi Child
Theme URI: http://example.com/divi-child/
Description: A child theme for Divi
Author: Your Name
Author URI: http://example.com
Template: Divi
Version: 1.0.0
*/
.et-pb-icon {
  font-family: 'ETmodules' !important;
  font-size: 2.8rem;
  color: #FFD966;
  display: inline-block;
  line-height: 1;
}
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  height: 40px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #333;
  left: 0;
  transition: 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.mobile-nav {
  background-color: #f9f8f6;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: absolute;
  top: 60px; /* match header height */
  right: 0;
  left: 0;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.mobile-nav.show {
  display: block !important;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin-bottom: 1rem;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1B304F;
  text-decoration: none;
}
.mobile-nav.show {
  display: block !important;
}

/* ---------------------------- */
/* Hero Section Layout         */
/* ---------------------------- */
.hero-fullwidth-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 5rem 2rem 2.5rem;
  max-width: 100%;
  min-height: 42rem; /* increased to ensure space for blurbs */
  box-sizing: border-box;
}

/* ---------------------------- */
/* Parallax Background         */
/* ---------------------------- */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://endodonticsolutions.au/wp-content/uploads/2024/07/our-practice.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.hero-parallax-bg,
.cta-divider .parallax-img {
  will-change: transform;
  transform: translateY(0);
  transition: transform 0.05s linear;
}

.hero-parallax-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
background: linear-gradient(
  to right,
  rgba(141, 139, 123, 0.9) 0%,
  rgba(141, 139, 123, 0.6) 40%,
  rgba(141, 139, 123, 0.3) 70%,
  rgba(141, 139, 123, 0) 100%
);
}

/* ---------------------------- */
/* Hero Content                */
/* ---------------------------- */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  width: 100%;
  padding-bottom: 5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem; /* Adds consistent spacing between each element */
}

.hero-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
   font-size: clamp(4rem, 7vw, 5rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.4rem;
  line-height: 1.2;
  word-break: break-word;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6rem;
  color: #f2f2f2;
  margin-bottom: 2rem;
  line-height: 1.7; /* Increases line spacing within paragraph */
  animation: fadeInUp 1s ease-out forwards;
}

.hero-btn {
  background-color: #8d8b7b;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
  animation: fadeInUp 1s ease-out forwards;
  margin-bottom: 10rem;
}

.hero-btn:hover {
  background-color: #b0ae9e;
  color: #4c290d;
}

/* ---------------------------- */
/* Blurbs Pinned to Bottom     */
/* ---------------------------- */
.hero-blurb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: 1.5rem 1rem;
  width: 100%;
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  z-index: 3;
  position: relative;
}

.hero-blurb-column {
  width: 100%;
}


.hero-blurb-box {
  background-color: #8d8b7b;
  border-radius: 6px;
  padding: 1.5rem 1rem;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.hero-blurb-box:hover {
  background-color: #b0ae9e;
  color: #4c290d;
  transform: translateY(-6px);
}

.hero-blurb-box img.blurb-icon {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: brightness(1.6) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-blurb-box h4 {
  font-size: 1.2rem;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
}

.hero-blurb-box .et-pb-icon {
  font-family: 'ETmodules';
  font-size: 2.8rem;
  color: #FFD966;
  line-height: 1;
}

/* ---------------------------- */
/* Fade-in Animation           */
/* ---------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fade-in-up"] {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

[data-animate="fade-in-up"][data-delay="0.3s"] {
  animation-delay: 0.3s;
}

/* ---------------------------- */
/* Scoped Headings to Avoid Global Conflicts */
/* ---------------------------- */

/* Global .section-heading should NOT override .welcome-heading or .why-us-heading */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #1B304F;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Fix overlap in .hero-text and button */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  width: 100%;
  padding-bottom: 7rem; /* ensures blurbs don't overlap the button */
}
/* --------------------------- */
/* Welcome Section Styling     */
/* --------------------------- */

.welcome-section {
  padding: 4rem 1rem;
  background-color: #fff;
}

.welcome-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
  color: #2c2c2c;
}

.welcome-text {
  flex: 1.5;
}

.welcome-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #8d8b7b;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.3;
}


.welcome-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4c290d;
  margin-bottom: 1.5rem;
}

.welcome-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: #2c2c2c;
}

/* Quote & Image Column */
.welcome-image-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Quote Styling */
.welcome-quote {
  background-color: #f9f8f6;
  padding: 2rem;
  margin-top: 2rem;
  border-left: 6px solid #8d8b7b;
  font-style: italic;
  border-radius: 12px;
  color: #4c290d;
  font-family: 'Open Sans', sans-serif;
  max-width: 700px;
}

.welcome-quote .et_pb_testimonial_portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.welcome-quote .quote-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.welcome-quote .dentist-portal-cta a {
  color: #1B304F;
  font-weight: 600;
  text-decoration: underline;
}

.welcome-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: #1B304F;
}

/* Responsive Layout */
@media (min-width: 992px) {
  .welcome-container {
    flex-direction: row;
    gap: 3rem;
  }

  .welcome-text {
    flex: 1.5;
  }

  .welcome-image-quote {
    flex: 1;
    align-items: flex-start;
  }

  .welcome-quote {
    margin-top: 2rem;
    margin-left: 0;
  }
}

/* --------------------------- */
/* Why Us Section (Like Welcome) */
/* --------------------------- */

.why-us-section {
  background-color: #fff;
  padding: 4rem 1rem;
  font-family: 'Open Sans', sans-serif;
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  color: #2c2c2c;
}

.why-us-text {
  flex: 1;
}

.why-us-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #8d8b7b;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: left;
}

.why-us-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #4c290d;
  margin-bottom: 1.5rem;
}

.why-us-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: #2c2c2c;
}

.why-us-text a {
  color: #2c82c9;
  font-weight: 600;
  text-decoration: underline;
}

.why-us-text a:hover {
  color: #1B304F;
}

[data-animate="fade-in-up"] {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideIn 0.9s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------- */
/* CTA Divider – Endodontic Solutions Style (Taupe Highlight) */
/* --------------------------- */

.cta-divider {
  position: relative;
  height: clamp(320px, 50vh, 520px);
  overflow: hidden;
}

.cta-divider .parallax-img {
  position: absolute;
  top: -50%;
  width: 100%;
  height: 150%;
  background-image: url('https://endodonticsolutions.au/wp-content/uploads/2024/07/slide7-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}




/* Overlay */
.cta-divider .cta-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(141, 139, 123, 0.9) 0%,
    rgba(141, 139, 123, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 2rem 1rem;
}

/* Heading */
.cta-divider .cta-overlay h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

/* Subtext */
.cta-divider .cta-overlay p {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: #eae8e2;
  margin-bottom: 1.8rem;
}

/* CTA Button */
.cta-divider .cta-btn {
  background-color: #8d8b7b;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-divider .cta-btn:hover {
  background-color: #b0ae9e;
  color: #4c290d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* Bio Wrapper with Image – Updated for Endodontic Solutions */
.bio-wrapper.with-image {
  gap: 2rem; /* Ensures spacing between columns */
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  font-family: 'Open Sans', sans-serif;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: #f9f8f6;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.bio-image {
  flex: 0 0 auto;
  margin-right: 2rem;
  max-width: 320px;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.bio-summary,
.bio-full {
  flex: 1 1 0%;
  min-width: 280px;
}

.bio-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 2.75rem);
  color: #4c290d;
  margin-bottom: 0.4rem;
}

.bio-title {
  font-size: 1.15rem;
  color: #8d8b7b;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.bio-brief {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4c290d;
}

.bio-toggle {
  margin-top: 1.5rem;
  background-color: #4c290d;
  color: white;
  font-size: 1.05rem;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.bio-toggle:hover {
  background-color: #8d8b7b;
  color: #ffffff;
}

.bio-full {
  flex: 1 1 100%;
  margin-top: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4c290d;
}

.bio-full h3 {
  font-family: 'Playfair Display', serif;
  color: #4c290d;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.bio-section {
  margin-bottom: 1.8rem;
}

.bio-full ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  list-style: disc;
}


.bio-full a {
  color: #4c290d;
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .bio-wrapper.with-image {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-summary,
  .bio-full {
    width: 100%;
    text-align: left;
  }
	 .bio-full h3 {
    text-align: left;
  }
	 .bio-image {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}
/* Subpage Info Styling */
.subpage-info-section {
  background-color: #fff;
  padding: 4rem 1rem;
}

.subpage-info-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  font-family: 'Open Sans', sans-serif;
  color: #2c2c2c;
}

.subpage-info-wrapper h3.section-subheading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #8d8b7b;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: left;
}

.subpage-info-wrapper p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.subpage-info-wrapper ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.subpage-info-wrapper li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.subpage-info-wrapper h2.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  color: #8d8b7b;
  margin-bottom: 1.5rem;
  text-align: left;
}

.download-pdf-btn {
  display: inline-block;
  background-color: #4c290d;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.download-pdf-btn:hover {
  background-color: #8d8b7b;
  color: #ffffff;
}

.responsive-image img {
  max-width: 100%;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 2rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.highlight-block {
  background: #f5f7fa;
  border-left: 4px solid #8d8b7b;
  padding: 1.5rem 1.25rem;
  margin-top: 2rem;
  border-radius: 6px;
}

.highlight-heading {
  font-size: 1.25rem;
  color: #1B304F;
  font-weight: 600;
  margin-bottom: 0.5rem;
}


.trauma-first-aid ol.styled-list {
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  list-style: decimal;
}

.styled-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.info-block {
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 6px;
}

.warning-block {
  background: #fff4e5;
  border-left: 4px solid #d98c00;
}

.reminder-block {
  background: #eaf6f1;
  border-left: 4px solid #1b7350;
}

.external-links {
  list-style: none;
  padding-left: 0;
}

.external-links li {
  margin-bottom: 0.5rem;
}

.external-links a {
  color: #2c82c9;
  text-decoration: none;
}


.endo-accordion {
  border-top: 1px solid #ddd;
}

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

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1B304F;
  transition: background 0.3s ease;
}

.accordion-trigger:hover {
  background-color: #f7f9fb;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #2c82c9;
  transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1rem 1rem 1rem;
  font-size: 1rem;
  color: #475577;
  font-family: 'Open Sans', sans-serif;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional animation if not already scoped */
[data-animate="fade-in-up"] {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideIn 0.9s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.association-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.association-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.association-logo {
  flex: 0 0 auto;
  max-width: 120px;
}

.association-content {
  flex: 1;
  min-width: 200px;
}

.association-content.no-logo {
  margin-left: 0;
}

.association-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1B304F;
  margin-bottom: 0.5rem;
}

.association-content p {
  font-size: 1rem;
  color: #475577;
  margin-bottom: 0.4rem;
}

.association-content a {
  color: #2c82c9;
  text-decoration: none;
  font-weight: 500;
}

.association-content a:hover {
  text-decoration: underline;
}
.contact-section {
  padding: clamp(3rem, 5vw, 5rem) 1rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.contact-info {
  max-width: 700px;
}

.contact-info h2,
.contact-info h3 {
  color: #1B304F;
  margin-bottom: 0.5rem;
}

.contact-info {
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-phone a,
.contact-email a {
  color: #2c82c9;
  font-weight: 600;
  text-decoration: none;
}
.contact-map {
  max-width: 500px;
  width: 100%;
  justify-self: center;
}

.contact-map img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Desktop two-column layout */
/* Two-column layout on larger screens */
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 500px;
  }

  .contact-map {
    align-self: start;
  }
}

/* --------------------------- */
/* 14. Modern Divi Footer – Enhanced Font Sizes & Color */
/* --------------------------- */

.et-l--footer {
  background-color: #f4f4f4;
  color: #2c2c2c;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  padding-top: 4rem;
  padding-bottom: 2rem;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.et-l--footer.footer-visible {
  opacity: 1;
  transform: translateY(0);
}

.et-l--footer .et_pb_row {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 20px;
}

.et-l--footer .et_pb_column {
  margin-bottom: 2.5rem;
}

.et-l--footer h3,
.et-l--footer h4 {
  font-family: 'Playfair Display', serif;
  color: #1B304F;
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
}

.et-l--footer h3::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 4px;
  background: #FFD966;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 2px;
}

.et-l--footer p,
.et-l--footer li {
  margin: 0.5rem 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #2c2c2c;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

.et-l--footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.et-l--footer a {
  position: relative;
  color: #2c2c2c;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.et-l--footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #FFD966;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.et-l--footer a:hover {
  color: #B8860B;
}

.et-l--footer a:hover::after {
  transform: scaleX(1);
}

.et-l--footer .et_pb_social_media_follow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.et-l--footer .et_pb_social_icon a {
  background-color: #1B304F !important;
  color: #ffffff !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.et-l--footer .et_pb_social_icon a:hover {
  background-color: #FFD966 !important;
  color: #1B304F !important;
  transform: translateY(-3px) scale(1.05);
}

.et-l--footer .et_pb_row:last-of-type {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #555;
}

.et-l--footer .et_pb_row:last-of-type a {
  color: #555;
}

.et-l--footer .et_pb_row:last-of-type a:hover {
  color: #FFD966;
}

.footer-tagline {
  text-align: center;
  font-size: 1.15rem;
  color: #1B304F;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.footer-email {
  font-size: 0.95em;
  word-break: break-word;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .et-l--footer .et_pb_column {
    margin-bottom: 1.5rem;
  }

  .et-l--footer .et_pb_row {
    row-gap: 1.5rem;
  }

  .et-l--footer h3,
  .et-l--footer h4 {
    margin-bottom: 0.5rem;
  }

  .et-l--footer p,
  .et-l--footer li {
    margin: 0.25rem 0;
  }

  .et-l--footer {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Footer Mobile Menu */
.footer-menu-wrapper {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-menu-toggle {
  background: #1B304F;
  color: #fff;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background 0.3s ease;
}

.footer-menu-toggle:hover {
  background: #FFD966;
  color: #1B304F;
}

.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  text-align: center;
}

.footer-menu-list li {
  margin: 0.5rem 0;
}

.footer-menu-list a {
  color: #1B304F;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

.footer-menu-list a:hover {
  color: #FFD966;
}

.footer-menu-open .footer-menu-list {
  display: block;
}

@media (max-width: 767px) {
  .footer-menu-wrapper {
    display: flex;
  }
}
/* General Form Styling */
.wpcf7-form {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Label Styling */
.wpcf7-form label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Input, Textarea, Select, and Date Styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Placeholder Styling */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #aaa;
}

/* Submit Button Styling */
.wpcf7-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #005177;
}

/* Alignment and Layout */
.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 15px;
}

.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea {
    width: calc(100% - 20px);
}

/* Checkbox and Radio Button Styling */
.wpcf7-form .checkbox-inline {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    margin-right: 5px;
}

.wpcf7-form .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
}

/* Specific Field Widths */
.wpcf7-form .half-width {
    width: 48%;
    float: left;
    margin-right: 4%;
}

.wpcf7-form .half-width:last-child {
    margin-right: 0;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Custom Checkbox and Radio Styling for Contact Form 7 */
span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7 .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
}

.wpcf7-checkbox label,
.wpcf7-radio label {
    position: relative;
    cursor: pointer;
}

.wpcf7-checkbox input[type=checkbox],
.wpcf7-radio input[type=radio] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}

.wpcf7-checkbox input[type=checkbox] + span,
.wpcf7-radio input[type=radio] + span {
    /* border: 3px solid red; */
}

.wpcf7-checkbox input[type=checkbox] + span:before,
.wpcf7-radio input[type=radio] + span:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 0;
    height: 30px;
    width: 30px;
    top: 0px;
    left: 0px;
    border: 1px solid #8d8b7b; /* Changed to the new color */
}

.wpcf7-checkbox input[type=checkbox] + span:after,
.wpcf7-radio input[type=radio] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    visibility: hidden;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}

.wpcf7-checkbox input[type=checkbox]:checked + span:before,
.wpcf7-radio input[type=radio]:checked + span:before {
    background: transparent;
}

.wpcf7-checkbox input[type=checkbox]:checked + span:after,
.wpcf7-radio input[type=radio]:checked + span:after {
    visibility: visible;
}

.wpcf7-list-item-label {
    margin-left: 40px;
    display: inline-block;
}

/* Tooth Number Styling */
.tooth-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tooth-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #8d8b7b;
    border-radius: 0;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.tooth-number.selected {
    background-color: transparent;
    color: #000;
}

#tooth-number-field {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}