/* A+ Video Hero Section - Optimized CSS */
.aplus-video-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: #ffffff;
  isolation: isolate;
  /* Ensure proper stacking context */
  contain: inherit;
}

/* Video/Image Background Wrapper */
.aplus-video-hero .video-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Hero Video */
.aplus-video-hero .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Force hardware acceleration for smoother playback */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Video Fallback Image (shown when video fails to load) */
.aplus-video-hero .video-fallback-image {
  display: none;
  /* Hidden by default, shown via JS or when video fails */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Image Background (fallback only mode) */
.aplus-video-hero .image-background {
  width: 100%;
  height: 100%;
}

.aplus-video-hero .hero-fallback-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Background Overlay */
.aplus-video-hero .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

/* Content Container */
.aplus-video-hero .hero-content-container {
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 40px 0px;
  text-align: center;
}

/* Hero Content */
.aplus-video-hero .hero-content {
  margin-bottom: 40px;
}

/* Hero Title */
.aplus-video-hero .hero-title {
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 0px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: normal;
  font-family: "Josefin Sans", sans-serif;
  margin-bottom: 15px;
}

/* Hero Description */
.aplus-video-hero .hero-description {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 30px 0;
  margin-left: auto;
  margin-right: auto;
  text-shadow: rgba(0, 0, 0, 0.4) 0px 0px 15px;
  font-family: "Lato", sans-serif;
  margin: 10px 0;
  display: inline-block;
}

/* Hero Buttons */
.aplus-video-hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

/* Base Button Styles */
.aplus-video-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 45px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: clamp(150px, 10vw, 230px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  border-radius: 0;
  font-family: "Josefin Sans", sans-serif;
}

/* Button Hover Effect */
.aplus-video-hero .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.7s ease;
}

.aplus-video-hero .btn:hover::after {
  left: 100%;
}

/* Primary Button */
.aplus-video-hero .btn-primary {
  background: rgb(80, 200, 120);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(56, 161, 105, 0.3);
  border-radius: 0;
}

.aplus-video-hero .btn-primary:hover {
  background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 161, 105, 0.4);
}

/* Secondary Button */
.aplus-video-hero .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.site-main > .container {
  max-width: 100%;
}

.aplus-video-hero .btn-secondary:hover {
  background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Hero Logo */
.aplus-video-hero .hero-logo {
  margin-top: 0;
  padding-top: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  /* width: 200px; */
  transform: translateX(0%) translateY(37px);
  padding: 0;
  right: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.aplus-video-hero .hero-logo img {
  max-width: 200px;
  height: auto;
  /* filter: brightness(0) invert(1); */
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.aplus-video-hero .hero-logo img:hover {
  opacity: 1;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.elementor-widget-dental_offer_widget) {
  padding: 120px 0 60px;
}

.elementor-34 .elementor-element.elementor-element-42f57e3 > .elementor-widget-container {
  background: linear-gradient(0, #3b63a3 0, #448ac6 100%) !important;
}

.dental-offer-widget {
  text-align: center;
  padding: 40px;
  font-family: "Josefin Sans", sans-serif;
}

.dental-offer-price {
  font-size: 60px;
  margin-bottom: 15px;
  line-height: 1.2;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  margin-bottom: 10px;
}

.dental-offer-items {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.2;
  color: #81bced;
  font-family: "Josefin sans", sans-serif;
  font-weight: 400;
  font-size: 24px;
  text-wrap: balance;
}

.dental-offer-disclaimer {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
}

.dental-offer-button {
  display: inline-block;
  padding: 18px 30px !important;
  background: linear-gradient(135deg, #50c878 0%, #50c878 100%) !important;
  color: white;
  width: 100%;
  max-width: 230px;
  text-decoration: none;
  border-radius: 0px;
  font-weight: bold !important;
  font-size: 16px !important;
  transition: all 0.3s ease;
  font-family: "Josefin Sans", sans-serif;
  border: none;
  cursor: pointer;
  margin: 10px auto;
}

.dental-offer-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
  .elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.elementor-widget-dental_offer_widget) {
    padding: 100px 20px 50px;
  }
}

@media (max-width: 768px) {
  .dental-offer-price {
    font-size: 36px;
  }

  .dental-offer-items {
    font-size: 19px;
    line-height: 1.3;
  }

  .dental-offer-button {
    padding: 10px 30px;
    font-size: 14px;
    max-width: 300px;
  }

  .dental-offer-widget {
    padding: 20px;
  }

  .elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.elementor-widget-dental_offer_widget) {
    padding: 70px 15px 20px;
  }

  .elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.dentist-section-wrapper) {
    padding: 50px 15px 20px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .aplus-video-hero {
    min-height: 500px;
  }

  .aplus-video-hero .hero-content-container {
    padding: 30px 15px;
  }

  .aplus-video-hero .hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .aplus-video-hero .hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  }

  .aplus-video-hero .btn {
    padding: 12px 24px;
    min-width: 140px;
    font-size: 0.95rem;
  }

  .aplus-video-hero .hero-buttons {
    gap: 10px;
  }

  .aplus-video-hero .hero-logo {
    max-width: 150px;
    margin-inline: auto;
    transform: translateX(0%) translateY(23px);
  }
}

@media (max-width: 480px) {
  .aplus-video-hero {
    min-height: 400px;
  }

  .aplus-video-hero .hero-content-container {
    padding: 20px 15px;
  }

  .aplus-video-hero .hero-title {
    margin-bottom: 15px;
  }

  .aplus-video-hero .hero-description {
    margin-bottom: 25px;
  }

  .aplus-video-hero .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .aplus-video-hero .btn {
    width: 100%;
  }

  .aplus-video-hero .hero-logo img {
    max-width: 120px;
  }
}

/* Mobile Video Optimization */
@media (max-width: 768px) {
  .aplus-video-hero .hero-video {
    /* On mobile, consider using poster only or fallback image for better performance */
    display: var(--video-display, block);
  }

  /* Optional: Hide video on very small screens and show fallback image */
  @media (max-width: 480px) and (prefers-reduced-data: reduce) {
    .aplus-video-hero .hero-video {
      display: none;
    }

    .aplus-video-hero .video-fallback-image {
      display: block;
    }
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .aplus-video-hero .hero-video {
    animation: none;
  }

  .aplus-video-hero .btn,
  .aplus-video-hero .btn::after {
    transition: none;
  }

  .aplus-video-hero .btn:hover {
    transform: none;
  }

  .aplus-video-hero .btn::after {
    display: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {

  .aplus-video-hero .hero-title,
  .aplus-video-hero .hero-description {
    text-shadow: 0 0 0 transparent;
  }

  .aplus-video-hero .btn {
    border-width: 3px;
  }
}

/* Print Styles */
@media print {
  .aplus-video-hero {
    min-height: auto;
    color: #000000;
  }

  .aplus-video-hero .hero-video,
  .aplus-video-hero .background-overlay {
    display: none;
  }

  .aplus-video-hero .image-background {
    display: block;
  }

  .aplus-video-hero .hero-fallback-image {
    display: block;
    filter: grayscale(100%);
    opacity: 0.5;
  }

  .aplus-video-hero .btn {
    color: #000000;
    border-color: #000000;
    background: none;
    box-shadow: none;
  }

  .aplus-video-hero .hero-logo img {
    filter: grayscale(100%) contrast(200%);
  }
}

/* Performance Optimizations */
.aplus-video-hero .hero-video {
  /* Prevent layout shifts */
  aspect-ratio: 16 / 9;
  /* Optimize for GPU rendering */
  will-change: transform;
  /* Prevent video from blocking render */
  content-visibility: auto;
}

/* Loading State */
.aplus-video-hero.is-loading .hero-content {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Fallback for older browsers */
@supports not (object-fit: cover) {

  .aplus-video-hero .hero-video,
  .aplus-video-hero .hero-fallback-image {
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.dentist-section-wrapper) {
  padding: 0;
}

/* Dentist Section Widget Styling */
.dentist-section-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0px 40px;
  gap: 20px;
}

/* Default order for image on left */
.dentist-section-wrapper.image-position-left {
  flex-direction: row;
}

/* Reverse order for image on right */
.dentist-section-wrapper.image-position-right {
  flex-direction: row-reverse;
}

.dentist-image-column,
.dentist-content-column {
  flex: 1;
  min-width: 300px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.dentist-image-container {
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dentist-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.dentist-image-container img:hover {
  transform: scale(1.03);
}

.dentist-section-wrapper .dentist-heading h2 {
  font-size: clamp(30px, 4vw, 60px);
  font-weight: 700;
  margin-bottom: 0px;
  line-height: 1;
  color: #3b63a3 !important;
  direction: ltr;
  font-family: "Josefin Sans", "Josefin Sans Fallback";
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

.dentist-section-wrapper .dentist-subheading h3 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 600;
  margin: 10px 0;
  text-transform: uppercase;
  color: #81bced !important;
  line-height: 1.2;
  direction: ltr;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

.dentist-section-wrapper .dentist-description {
  margin: 10px 0;
}

.dentist-section-wrapper .dentist-description p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
  color: #1f1f1f !important;
  font-family: "Lato", "Lato Fallback", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

.dentist-section-wrapper .dentist-description p:last-child {
  margin-bottom: 0;
}

.dentist-section-wrapper .dentist-description a {
  color: #50c878;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dentist-section-wrapper .dentist-description a:hover {
  color: #2c5282;
  text-decoration: underline;
}

.dentist-section-wrapper .dentist-button,
.elementor-34 .elementor-element.elementor-element-f6847e1 .dentist-button {
  color: white;
  background-color: rgb(80, 200, 120) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
  border: none;
  letter-spacing: normal;
  padding: 18px 30px !important;
  text-align: center;
  max-width: 220px;
  width: 100%;
  cursor: pointer;
  margin-block: 10px;
  margin-left: 0;
}

.dentist-section-wrapper .dentist-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.dentist-section-wrapper .dentist-button:active {
  transform: translateY(0);
}

.dentist-section-wrapper .dentist-button .button-icon {
  font-size: 18px;
}

.dentist-section-wrapper .dentist-button .button-text {
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
  .dentist-section-wrapper {
    padding: 40px 20px 30px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .dentist-section-wrapper {
    flex-direction: column;
    padding: 30px 15px 15px;
    gap: 15px;
  }

  .dentist-content-column {
    align-items: center;
    text-align: center;
  }

  .dentist-section-wrapper .dentist-subheading h3 {
    margin-bottom: 0;
  }

  .dentist-description p {
    font-size: 15px;
    line-height: 1.6;
  }

  .dentist-section-wrapper .dentist-button,
  .elementor-34 .elementor-element.elementor-element-f6847e1 .dentist-button {
    max-width: 300px;
  }
}

/* Partners Widget Styling */
.partners-wrapper {
  width: 100%;
  overflow: hidden;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 -5px;
}

.partner-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  text-align: center;
  padding: 5px !important;
}

.partner-image-container {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.partner-image-container a {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.partner-image-container img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
  object-fit: cover;
  aspect-ratio: 200/90;
}

/* Columns */
.partners-grid.columns-2 .partner-item {
  width: calc(50% - 10px);
}

.partners-grid.columns-3 .partner-item {
  width: calc(33.333% - 10px);
}

.partners-grid.columns-4 .partner-item {
  width: calc(25% - 10px);
}

.partners-grid.columns-5 .partner-item {
  width: calc(20% - 10px);
}

.partners-grid.columns-6 .partner-item {
  width: calc(16.666% - 10px);
}

/* Hover Effects */
.partners-grid.hover-scale .partner-image-container img:hover {
  transform: scale(1.05);
}

.partners-grid.hover-lift .partner-image-container img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partners-grid.hover-fade .partner-image-container img:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {

  .partners-grid.columns-5 .partner-item,
  .partners-grid.columns-6 .partner-item {
    width: calc(25% - 10px);
  }
}

@media (max-width: 768px) {

  .partners-grid.columns-4 .partner-item,
  .partners-grid.columns-5 .partner-item,
  .partners-grid.columns-6 .partner-item {
    width: calc(33.333% - 10px);
  }

  partner-item {
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .partners-grid .partner-item {
    width: calc(50% - 10px) !important;
  }
}

/* Special Offers Widget Styling */
.offers-wrapper {
  width: 100%;
  overflow: hidden;
}

.offers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.offer-item {
  flex: 1;
  min-width: 200px;
  border-radius: 0px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-image-container {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  overflow: hidden;
}

.offer-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.offer-item:hover .offer-image-container::before {
  opacity: 1;
}

.offer-image-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-decoration: none;
}

.offer-content {
  padding: 15px;
  text-align: center;
  height: 100%;
}

#emergencies-dental invisalign-item-title,
.offer-title {
  margin: 0 0 10px 0;
  font-size: 24px !important;
  font-weight: 400;
  color: #333;
  line-height: 1.2 !important;
  letter-spacing: normal;
  font-family: "Josefin Sans";
}

.offer-content .offer-button {
  display: inline-block;
  color: white;
  text-decoration: none;
  border-radius: 0px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  background: rgb(80, 200, 120) !important;
  padding: 12px 25px;
  width: 100%;
  max-width: 200px;
  font-weight: bold;
}

.offer-content .offer-button:hover {
  background-color: rgb(70, 174, 105) !important;
  transform: translateY(-2px);
}

/* Image Hover Effects */
.offers-grid.hover-zoom .offer-image-container {
  transition: transform 0.5s ease;
}

.offers-grid.hover-zoom .offer-item:hover .offer-image-container {
  transform: scale(1.05);
}

.offers-grid.hover-zoom-out .offer-image-container {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.offers-grid.hover-zoom-out .offer-item:hover .offer-image-container {
  transform: scale(1);
}

.offers-grid.hover-fade .offer-image-container img {
  transition: opacity 0.5s ease;
}

.offers-grid.hover-fade .offer-item:hover .offer-image-container img {
  opacity: 0.7;
}

.offers-grid.hover-grayscale .offer-image-container {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.offers-grid.hover-grayscale .offer-item:hover .offer-image-container {
  filter: grayscale(0%);
}

/* Columns */
.offers-grid.columns-1 .offer-item {
  width: 100%;
}

.offers-grid.columns-2 .offer-item {
  width: calc(50% - 15px);
}

.offers-grid.columns-3 .offer-item {
  width: calc(33.333% - 20px);
}

.offers-grid.columns-4 .offer-item {
  width: calc(25% - 22.5px);
}

.offers-grid.columns-5 .offer-item {
  width: calc(20% - 24px);
}

.offers-grid.columns-6 .offer-item {
  width: calc(16.666% - 25px);
}

/* Responsive */
@media (max-width: 1024px) {

  .offers-grid.columns-4 .offer-item,
  .offers-grid.columns-5 .offer-item,
  .offers-grid.columns-6 .offer-item {
    width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {

  .offers-grid.columns-3 .offer-item,
  .offers-grid.columns-4 .offer-item,
  .offers-grid.columns-5 .offer-item,
  .offers-grid.columns-6 .offer-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .offers-grid .offer-item {
    width: 100% !important;
  }

  #emergency-dental invisalign-item-title,
  .offer-title {
    font-size: 22px !important;
  }
}

/* ==========================================================================
   Dental Services Widget CSS
   ========================================================================== */

.custom-dental-services-widget {
  padding: 80px 40px 60px;
  background: linear-gradient(0, #14346a 0, #448ac6 70%, #fff 100%) !important;
  background-origin: padding-box;
  background-origin: border-box !important;
}

/* Section Title Styling */
.dental-section-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  color: #3b63a3;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
  position: relative;
  text-align: center;
  letter-spacing: normal;
}

.dental-section-title:after {
  /* content: ""; */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #4ecdc4;
  /* Teal accent color */
  border-radius: 2px;
}

/* Services Grid Layout */
.dental-services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 10px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
}

/* Individual Service Item */

.dental-service-item {
  background: #3b63a2;
  border-radius: 0;
  padding: 0;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dental-service-item .service-image-wrapper {
  margin-bottom: 5px;
  padding: 15px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dental-service-item:hover {
  transform: translateY(-10px);
  border-color: #e6f7f6;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dental-service-item:hover .service-image {
  transform: scale(1.05);
}

.dental-service-item .service-content {
  padding: 20px 15px;
  text-align: center;
}

/* Service Title Styling */
.service-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  letter-spacing: 0.5px;
  flex-grow: 1;
}

.service-title a.title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-title a.title-link:hover {
  color: #fefefe;
  opacity: 0.8;
  /* Blue accent on hover */
}

/* Button Styling */
.aplus-service-button.primary-btn {
  background-color: rgb(80, 200, 120);
  color: #ffffff;
  text-align: center;
  border-radius: 0;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  padding: 16px 40px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: bold;
}

.aplus-service-button.primary-btn:before {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.aplus-service-button.primary-btn:hover:before {
  left: 100%;
}

.aplus-service-button.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(78, 205, 196, 0.4);
  background: rgb(70, 174, 105);
  color: #ffffff;
}

/* Icon in button */
.service-button .button-icon {
  display: none;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-button:hover .button-icon {
  transform: translateX(3px);
}

/* Column responsiveness */
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 calc(33.333% - 30px);
  }

  .dental-services-row .col-md-4 {
    flex: 0 0 calc(33.333% - 10px);
  }

  .col-md-3 {
    width: calc(25% - 30px);
    flex: 0 0 calc(25% - 30px);
  }

  .col-md-6 {
    width: calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
  }
}

@media (max-width: 767px) {
  .custom-dental-services-widget {
    padding: 30px 15px;
  }

  .dental-services-row {
    gap: 20px;
  }

  .dental-service-item {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .dental-section-title {
    font-size: clamp(28px, 10vw, 36px);
    margin-bottom: 10px;
  }

  .service-title {
    font-size: 24px;
  }

  .aplus-service-button.primary-btn {
    width: 100%;
    padding-inline: 50px !important;
    max-width: 300px;
  }
}

/* Animation effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.dental-service-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.dental-service-item:nth-child(1) {
  animation-delay: 0.1s;
}

.dental-service-item:nth-child(2) {
  animation-delay: 0.2s;
}

.dental-service-item:nth-child(3) {
  animation-delay: 0.3s;
}

.dental-service-item:nth-child(4) {
  animation-delay: 0.4s;
}

.dental-service-item:nth-child(5) {
  animation-delay: 0.5s;
}

.dental-service-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Light theme variations (optional) */
.dental-service-item.light-theme {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.dental-service-item.light-theme:hover {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Dark theme variations (optional) */
.dental-service-item.dark-theme {
  background: #2c3e50;
  border: 1px solid #34495e;
}

.dental-service-item.dark-theme .service-title {
  color: #ffffff;
}

.dental-service-item.dark-theme .service-button {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* Add star icon to button if needed */
.service-button.with-icon:after {
  content: "★";
  margin-left: 8px;
  font-size: 12px;
}

/* ==========================================================================
   Improve Smile Consultation Widget CSS
   ========================================================================== */
.elementor-section.elementor-top-section:has(.improve-smile-consultation-widget) {
  padding: 60px 40px;
  display: block;
}

.elementor-section.elementor-top-section .elementor-widget-wrap.elementor-element-populated:has(.improve-smile-consultation-widget) {
  padding: 0;
}

.improve-smile-consultation-widget {
  background-color: #ffffff;
  background-repeat: no-repeat !important;
  background-image: linear-gradient(180deg, #5587c0 0, #43619c 100%) !important;
  background-origin: border-box !important;
  position: relative;
  overflow: hidden;
}

.consultation-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Left Column */
.consultation-left-column {
  flex: 1;
  min-width: 50%;
}

.consultation-left-column img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  object-position: left center;
  height: 100% !important;
}

/* Right Column */
.consultation-right-column {
  flex: 1;
  min-width: 50%;
  background-image: linear-gradient(180deg, #5587c0 0, #43619c 100%) !important;
  padding: 40px;
}

/* Typography */
.smile-consultation-main-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(32px, 11vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: normal;
}

.smile-consultation-sub-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: rgb(129 188 237);
  margin-bottom: 10px;
  letter-spacing: normal;
}

.smile-consultation-description {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #fff;
  margin-block: 10px;
}

/* Process Steps */
.consultation-steps {
  margin-bottom: 40px;
}

.consultation-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.step-content {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.step-icon-wrapper {
  flex-shrink: 0;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-step-icon {
  font-size: 18px;
  width: 30px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consultation-step-icon svg {
  width: 100%;
  fill: #fff;
}

.step-text-wrapper {
  flex: 1;
}

.consultation-step-title {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #fff;
  margin: 5px 0 15px;
}

.consultation-step-description {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-weight: bold;
  list-style-type: disc;
  display: list-item;
  margin: 0;
}

.consultation-step-description strong {
  font-weight: 600;
}

/* Button Styling */
.consultation-right-column .aplus-consultation-button {
  background-color: rgb(80, 200, 120) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: "Josefin Sans", "Josefin Sans Fallback", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
  border: none;
  letter-spacing: normal;
  padding: 18px 30px !important;
  text-align: center;
  max-width: 220px;
  width: 100%;
  cursor: pointer;
  margin-block: 10px;
  margin-left: 0;
}

.consultation-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.6s ease;
}

.consultation-button:hover:before {
  left: 100%;
}

.consultation-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  color: #ffffff;
}

.button-icon-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
}

.button-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.consultation-button:hover .button-icon {
  transform: rotate(15deg) scale(1.1);
}

.button-text {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
  .elementor-section.elementor-top-section:has(.improve-smile-consultation-widget) {
    padding: 30px 25px;
    display: block;
  }

  .elementor-section.elementor-top-section .elementor-widget-wrap.elementor-element-populated:has(.improve-smile-consultation-widget) {
    padding: 0;
  }

  .consultation-container {
    flex-direction: column;
  }

  .consultation-left-column {
    display: block;
  }

  .consultation-right-column {
    width: 100%;
    padding: 20px;
  }

  .smile-consultation-main-title {
    font-size: 30px;
    text-align: center;
  }

  .smile-consultation-sub-title {
    font-size: 18px;
    text-align: center;
  }

  .smile-consultation-description {
    text-align: center;
  }

  .consultation-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .elementor-section.elementor-top-section:has(.improve-smile-consultation-widget) {
    padding: 30px 15px;
    display: block;
  }

  .elementor-section.elementor-top-section .elementor-widget-wrap.elementor-element-populated:has(.improve-smile-consultation-widget) {
    padding: 0;
  }

  .consultation-right-column {
    padding: 15px;
  }

  .smile-consultation-main-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

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

  .step-icon-wrapper {
    margin-bottom: 15px;
    display: none;
  }

  .step-text-wrapper .consultation-step-title {
    display: none;
  }

  .consultation-steps {
    margin-bottom: 15px;
  }

  .consultation-step-description {
    list-style-position: inside;
    line-height: 1.3;
  }

  .consultation-right-column .aplus-consultation-button {
    padding: 18px 40px;
    font-weight: 700;
    font-size: 16px;
    margin-inline: auto;
    display: block;
  }
}

/* Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.consultation-right-column {
  animation: fadeInRight 0.6s ease forwards;
}

/* Checkmark Animation */
@keyframes checkmarkPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.step-checked .consultation-step-icon {
  animation: checkmarkPulse 2s ease infinite;
}

.improve-smile-consultation-widget:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%234ecdc4" opacity="0.05"/></svg>');
  background-size: cover;
  z-index: 0;
}

.consultation-container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Why Choose Us Features Widget CSS
   ========================================================================== */

.elementor-section.elementor-top-section:has(.why-choose-us-features-widget) {
  padding: 60px 40px;
  display: block;
}

.why-choose-us-features-widget {
  position: relative;
  overflow: hidden;
}

.why-choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  background-image: linear-gradient(0, #3b63a3 0, #448ac6 100%) !important;
  background-origin: border-box !important;
  z-index: 1;
  text-align: center;
}

/* Main Title Styling */
.why-choose-main-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 5px;
  letter-spacing: 1px;
  position: relative;
}

/* 
.why-choose-main-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #4ecdc4, #3498db);
  border-radius: 2px;
} */

/* Sub Title Styling */
.why-choose-sub-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  color: #81bced;
  margin-bottom: 10px;
  letter-spacing: normal;
}

/* Features Container */
.why-choose-features-container {
  margin-top: 0px;
}

.why-choose-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.why-choose-feature-column {
  margin-bottom: 0px;
}

/* Feature Item */
.why-choose-feature-item {
  padding: 0px 10px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* .why-choose-feature-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4ecdc4, #3498db);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
} */

/* Icon Wrapper */
.why-choose-feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(78, 205, 196, 0.1),
      rgba(52, 152, 219, 0.1));
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

/* .why-choose-feature-icon-wrapper:after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #3498db);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
} */

.why-choose-feature-item:hover .why-choose-feature-icon-wrapper:after {
  opacity: 1;
}

/* Icon */
.why-choose-feature-icon {
  font-size: 36px;
  color: #4ecdc4;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.why-choose-feature-item:hover .why-choose-feature-icon {
  color: #ffffff;
  transform: rotateY(360deg);
}

.why-choose-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Feature Content */
.why-choose-feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Feature Title */
.why-choose-feature-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: normal;
}

.why-choose-feature-item:hover .why-choose-feature-title {
  opacity: 0.8;
}

/* Feature Description */
.why-choose-feature-description {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
  .elementor-section.elementor-top-section:has(.why-choose-us-features-widget) {
    padding: 50px 25px;
  }

  .why-choose-container {
    padding: 22px;
  }

  .why-choose-main-title {
    font-size: 42px;
  }

  .why-choose-sub-title {
    font-size: 24px;
  }

  .why-choose-features-row {
    gap: 20px;
  }

  .why-choose-feature-item {
    padding: 0px 0px;
  }
}

@media (max-width: 767px) {
  .elementor-section.elementor-top-section:has(.why-choose-us-features-widget) {
    padding: 20px 15px;
  }

  .why-choose-container {
    padding: 15px;
  }

  .why-choose-main-title {
    font-size: 34px;
  }

  .why-choose-sub-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .why-choose-feature-column {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .why-choose-feature-item {
    padding: 0px 10px;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.why-choose-feature-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.why-choose-feature-item:nth-child(1) {
  animation-delay: 0.1s;
}

.why-choose-feature-item:nth-child(2) {
  animation-delay: 0.2s;
}

.why-choose-feature-item:nth-child(3) {
  animation-delay: 0.3s;
}

.why-choose-feature-item:nth-child(4) {
  animation-delay: 0.4s;
}

.why-choose-feature-item:nth-child(5) {
  animation-delay: 0.5s;
}

.why-choose-feature-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Background Pattern */
/* .why-choose-us-features-widget:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%234ecdc4" opacity="0.03"/></svg>');
  background-size: cover;
  z-index: 0;
  background-repeat: no-repeat !important;
  background-image: linear-gradient(
    180deg,
    #ececec 0%,
    #43619c 100%
  ) !important;
  background-origin: border-box !important;
} */

/* Two Row Layout for 6 Items */
@media (min-width: 768px) {
  .why-choose-features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Additional Style for SVG Icons */
.feature-icon-svg {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   FAQ Section Widget CSS
   ========================================================================== */

/* ==========================================================================
   FAQ Section Widget CSS - Single Column Accordion
   ========================================================================== */
.elementor-section.elementor-top-section:has(.faq-section-widget) {
  padding: 60px 40px;
}

.elementor-section.elementor-top-section .elementor-widget-wrap.elementor-element-populated:has(.faq-section-widget) {
  padding: 0px;
}

.faq-section-widget {
  padding: 0px 0;
  background-color: #ffffff;
}

/* Main Title */
.faq-main-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  color: #3b63a3;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: normal;
  position: relative;
}

/* .faq-main-title:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4ecdc4, #3498db);
  border-radius: 2px;
} */

/* FAQ Container */
.faq-container {
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 0 0px;
}

/* FAQ Accordion */
.faq-accordion {
  border-radius: 0px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 30px;
}

/* FAQ Item */
.faq-item {
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* 
.faq-item:hover {
  border-color: #4ecdc4;
  box-shadow: 0 3px 10px rgba(78, 205, 196, 0.1);
}

.faq-item.active {
  background: #f8fdff;
  border-color: #3498db;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.15);
} */

/* FAQ Question Wrapper */
.faq-question-wrapper {
  padding: 10px 20px;
  border-bottom: 1px solid;
  border-color: #ececec #ececec #e1e1e1 !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* FAQ Question */
.faq-question {
  display: flex;
  align-items: center;
  flex: 1;
}

.faq-question-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #1f1f1f;
  line-height: 1.2;
  flex: 1;
}

/* .faq-item:hover .faq-question-text {
  color: #3498db;
}

.faq-item.active .faq-question-text {
  color: #3498db;
} */

/* FAQ Toggle */
.faq-toggle {
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(59 99 163);
  border-radius: 50%;
  padding: 5px;
}

.faq-arrow {
  width: 15px;
  height: 15px;
  color: #fff;
  transition: all 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  padding: 0px 20px;
  height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 18px 20px;
  max-height: 1000px;
  height: max-content;
  border-top: 1px solid #e8f4f8;
  background: #ffffff;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol,
.faq-answer a {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #1f1f1f;
  margin-bottom: 15px;
}

.faq-answer a {
  color: #50c878;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-answer ul,
.faq-answer ol {
  padding-left: 20px;
  margin: 10px 0;
}

.faq-answer li {
  margin-bottom: 4px;
}

/* Button */
.faq-button-wrapper {
  text-align: center;
}

.faq-btn.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  margin-top: 10px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: normal;
  padding: 16px 35px;
  background: rgb(80, 200, 120);
  border: none;
  border-radius: 0;
  width: 100%;
  max-width: 230px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-btn.primary-btn:hover {
  transform: translateY(-3px);
  background: rgb(70, 174, 105);
}

/* .faq-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
  background: linear-gradient(135deg, #3498db 0%, #4ecdc4 100%);
  color: #ffffff;
} */

/* Responsive Design */
@media (max-width: 991px) {
  .elementor-section.elementor-top-section:has(.faq-section-widget) {
    padding: 45px 30px;
  }

  .faq-main-title {
    font-size: 60px;
  }

  .faq-question-text {
    font-size: 17px;
  }

  .faq-accordion {
    gap: 0 15px;
  }
}

@media (max-width: 767px) {
  .elementor-section.elementor-top-section:has(.faq-section-widget) {
    padding: 30px 15px;
  }

  .faq-section-widget {
    padding: 0px 0;
  }

  .faq-accordion {
    gap: 0 15px;
    grid-template-columns: 1fr;
  }

  .faq-main-title {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .faq-container {
    padding: 0 0px;
  }

  .faq-question-wrapper {
    padding: 10px 15px;
  }

  .faq-question-text {
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }

  .faq-answer p,
  .faq-answer ul,
  .faq-answer ol {
    font-size: 15px;
  }

  .faq-button {
    padding: 14px 25px;
    font-size: 14px;
  }
}

/* Animation for FAQ items */
@keyframes fadeInUpFAQ {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.faq-item {
  animation: fadeInUpFAQ 0.4s ease forwards;
  opacity: 0;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* ==========================================================================
   Testimonials Section Widget CSS
   ========================================================================== */

.elementor-section.elementor-top-section:has(.testimonials-section-widget) {
  padding: 0;
  background-repeat: no-repeat !important;
  background-image: linear-gradient(180deg,
      #ececec 0%,
      #43619c 100%) !important;
  background-origin: border-box !important;
  text-align: center !important;
  background-attachment: fixed !important;
  width: 100% !important;
  max-width: none !important;
  padding: 100px 40px;
  background-size: cover !important;
}

.testimonials-section-widget {
  display: flex;
  align-items: center;
}

.testimonials-section-widget.testimonials-parallax {
  background-attachment: fixed;
}

/* .testimonials-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
} */

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0;
}

/* Main Title */
.testimonials-main-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  color: #3b63a3;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: normal;
}

/* Testimonials Row */
.testimonials-row {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* Testimonial Item */
.testimonial-item {
  /* background: rgba(255, 255, 255, 0.1); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  border-radius: 10px;
  padding: 15px;
  height: 100%;
  transition: all 0.3s ease;
}

/* Testimonial Content */
.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding-left: 40px;
}

.testimonial-text {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  text-align: left;
  font-style: italic;
  margin-bottom: 0;
}

.testimonial-content .testimonial-google-icon {
  position: absolute;
  left: 0;
  top: -5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 30px;
  aspect-ratio: 1 / 1;
  font-size: 40px;
  padding: 3px;
  background-color: #fff;
  border-radius: 50%;
  width: 100%;
  max-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-text .testimonial-google-icon img {
  width: 100;
}

.testimonial-author {
  font-size: 18px;
  color: #ffffff !important;
  text-align: left;
  margin-bottom: 0;
  position: relative;
}

.testimonial-author strong {
  font-weight: 400;
}

/* Star Rating */
.testimonial-stars {
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 3px;
  text-align: left;
}

/* Button */
.testimonials-button-wrapper {
  margin-top: 30px;
}

.testimonials-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: normal;
  padding: 18px 35px;
  background: rgb(80, 200, 120);
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  max-width: 280px;
  width: 100%;
  transition: all 0.3s ease;
}

.testimonials-button:hover {
  transform: translateY(-3px);
  background: rgb(70, 174, 105);
}

.button-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.testimonials-button:hover .button-icon {
  transform: rotate(15deg);
}

/* Hide on Mobile */
.hide-on-mobile {
  display: block;
}

/* Responsive Design */
@media (max-width: 991px) {
  .testimonials-main-title {
    font-size: 28px;
  }

  .testimonial-author {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.testimonials-main-title) {
    padding: 0;
  }

  .testimonials-main-title {
    font-size: 27px;
    margin-bottom: 30px;
  }

  .testimonial-item {
    padding: 0;
    margin-bottom: 0px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .testimonials-button.primary-button {
    padding: 10px 25px;
    font-size: 16px;
    max-width: unset !important;
    width: 100%;
    text-transform: auto;
  }

  .testimonial-item .testimonial-text {
    flex-direction: column-reverse;
    display: flex;
  }

  .testimonial-item .testimonial-content {
    padding: 0;
  }

  .testimonial-item .testimonial-content .testimonial-google-icon {
    position: relative;
    top: 0;
    left: 0;
  }

  .testimonial-item p {
    padding: 0;
  }

  .testimonial-stars {
    padding-left: 0;
  }
}

/* Animation for testimonial items */
@keyframes fadeInUpTestimonials {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.testimonial-item {
  animation: fadeInUpTestimonials 0.6s ease forwards;
  opacity: 0;
}

.testimonial-item:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-item:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-item:nth-child(3) {
  animation-delay: 0.3s;
}

.testimonial-item:nth-child(4) {
  animation-delay: 0.4s;
}

.aplus-social a {
  background-color: #448ac6;
  color: #fff;
  width: 27px;
  height: 27px;
  border-radius: 50px;
  font-size: 16px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .elementor-section.elementor-top-section:has(.testimonials-section-widget) {
    padding: clamp(50px, 8vw, 100px) 30px;
  }
}

@media (max-width: 767px) {
  .elementor-section.elementor-top-section:has(.testimonials-section-widget) {
    padding: clamp(30px, 5vw, 60px) 20px;
  }
}

@media (max-width: 480px) {
  .elementor-section.elementor-top-section:has(.testimonials-section-widget) {
    padding: 30px 15px;
  }

  .testimonials-row.row .col-md-4 {
    width: 100%;
    display: none;
  }

  .testimonials-row.row .col-md-4:first-of-type {
    display: block;
  }
}


/* .elementor-section.elementor-top-section {
  padding: 60px 40px 60px;
} */

.newsletter-signup.newsletter-container {
  background: linear-gradient(180deg, #4A90E2 0%, #2C5AA0 100%);
  padding: 40px 20px;
  border-radius: 0px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.newsletter-signup.newsletter-container h2 {
  font-size: 36px;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.2;
  font-weight: 400;
  margin-block: 10px;
}

.newsletter-signup .form-fields {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-block: 10px;
}

.newsletter-signup .form-fields .tnp-field {
  display: flex;
  flex-direction: column;
  flex: 1 1 450px;
}

.newsletter-signup .form-fields .tnp-field label {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  line-height: 1.2;
  margin-block: 5px;
  text-align: left;
}

.newsletter-signup .tnp-field input[type="text"],
.newsletter-signup .tnp-field input[type="email"] {
  padding: 10px;
  border-radius: 0px;
  border: none;
  width: 100%;
  font-size: 16px;
  line-height: 1.2;
  font-family: 'Lato', sans-serif;
  border: none
}

.newsletter-signup .tnp-field input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.newsletter-signup .tnp-submit {
  background: #50c878;
  color: #ffffff;
  border: none;
  padding: 18px 30px;
  font-size: 16px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-signup .tnp-submit:hover {
  background: #276749;
}

@media (max-width: 1024px) {
  .newsletter-signup.newsletter-container {
    padding: 45px 25px;
  }
}

@media (max-width: 768px) {
  .newsletter-signup.newsletter-container {
    padding: 30px 15px;
  }

  .newsletter-signup .form-fields {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .newsletter-signup .form-fields .tnp-field input {
    width: 100%;
  }
}

.site-main .footer-top-widgets .widget_office_locations_widget {
  flex-grow: 1;
}

.employee-testimonials .aplus-testimonials-title {
  display: block;
}


.advanced-dental-description img {
  max-width: 100px !important;
}

.advanced-dental-description p:has(img) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

@media(max-width: 1024px) {
  .advanced-dental-description img {
    max-width: 80px !important;
  }
}

@media(max-width: 768px) {

  .advanced-dental-description p:has(img) {
    margin-top: 15px;
  }

  .advanced-dental-description img {
    max-width: 60px !important;
  }
}