@font-face {
  font-family: "loyal";
  src: url("../new-fonts/eighties/Eighties-Comeback/OTF/EightiesComeback - Semi Bold Semi Condensed.otf")
    format("opentype");
}

@font-face {
  font-family: "loyal-black";
  src: url("../new-fonts/eighties/Eighties-Comeback/OTF/EightiesComeback - Black.otf")
    format("opentype");
}

/* FAQ Section */
.faq-section {
  position: relative; /* so background text stays inside */
  background: linear-gradient(145deg, #FFF6FB, #FFBEE3);
  padding: 80px 20px 60px;
  margin: 0;
  overflow: hidden;
}

.faq-section::before {
  content: "FAQ";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem; /* huge background text */
  font-weight: 800;
  color: rgba(255, 5, 146, 0.07); /* soft pink */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: "loyal", sans-serif;
}
.faq-section:hover {
  transform: translateY(-5px);
}

.faq-section h2 {
  color: #FF0592;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FF0592, #FC5BB6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "loyal", sans-serif;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 91, 182, 0.2);
  margin: 15px 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 20px 0;
  font-size: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FC5BB6;
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: "loyal", sans-serif;
}

.faq-question span {
  font-size: 1.5rem;
  color: #FF0592;
  transition: transform 0.3s ease;
}

.faq-question:hover {
  color: #FF0592;
  transform: translateX(6px);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5;
  transition: max-height 0.5s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  font-family: "loyal-black", sans-serif;
}

.faq-answer.active {
  max-height: 350px;
  padding: 10px 0 20px;
  opacity: 1;
}

.faq-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1; /* keep FAQ content above background text */
}

/* Footer */
footer {
  margin-top: 0;
  font-family: 'loyal', sans-serif;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #FFF6FB, #FFBEE3);
}

/* Top bar */
.footer-top {
  background: linear-gradient(90deg, #FF0592, #FC5BB6);
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 0;
  font-family: "loyal-black", sans-serif;
}

/* Horizontal Nav */
.footer-nav {
  background: #FFF6FB;
  padding: 20px;
  text-align: center;
  border-top: 2px solid rgba(252, 91, 182, 0.15);
  border-bottom: 2px solid rgba(252, 91, 182, 0.15);
}

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

.footer-nav li {
  display: inline-block;
  margin: 0 25px;
  position: relative;
}

.footer-nav a {
  text-decoration: none;
  color: #FF0592;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: "loyal-black", sans-serif;
}

.footer-nav a:hover {
  color: #FC5BB6;
  transform: scale(1.1);
}

/* Social + Bottom */
.footer-bottom {
  text-align: center;
  padding: 25px 20px;
  background: linear-gradient(90deg, #FFBEE3, #ffd801);
}

.footer-socials {
  margin-bottom: 12px;
}

.footer-socials a {
  color: #FF0592;
  font-size: 1.5rem;
  margin: 0 15px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
  padding: 8px;
  font-family: "loyal-black", sans-serif;
}

.footer-socials a:hover {
  color: #fff;
  background: #FF0592;
  transform: translateY(-5px) scale(1.2);
  box-shadow: 0 6px 15px rgba(255, 5, 146, 0.3);
}

.footer-bottom p {
  margin: 5px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}




/* Footer Hero (Smiley + CTA) */
.footer-hero {
  background: #FFF6FB;
  text-align: center;
  padding: 50px 20px 40px;
  border-bottom: 2px solid rgba(252, 91, 182, 0.15);
}


.footer-hero .footer-icon svg circle,
.footer-hero .footer-icon svg path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  stroke: #ffd801;
  stroke-width: 4;
  stroke-linecap: round;
  fill: none;
  animation: draw 2s ease forwards;
}




/* Headline */
.footer-hero h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.4;
  font-family: "loyal", sans-serif;
}

/* Underline Animation (auto once) */
.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 6px;
  background: #ffd801;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 1s ease forwards;
  animation-delay: 2.5s; /* happens after smile draws */
}

@keyframes underlineGrow {
  to {
    transform: scaleX(1);
  }
}

/* Buttons */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-buttons .btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.call-btn {
  background: #ffd801;
  color: #333;
}

.call-btn:hover {
  background: #e6c200;
}

.visit-btn {
  background: #FF0592;
  color: #fff;
}

.visit-btn:hover {
  background: #FC5BB6;
}



/* =====================
   RESPONSIVE DESIGN
   ===================== */
@media (max-width: 768px) and (orientation: portrait) {
  .footer-hero {
    flex-direction: column; /* keep side-by-side */
    align-items: center;
    gap: 1rem;
    margin-bottom: -20px;
  }

  .footer-hero .footer-icon img {
    width: 300px !important;   /* smaller square */
    height: 300px !important;
    margin-top: -150px !important;
  }


.footer-hero h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 180px;
    margin-right: 200px;
    white-space: nowrap; 
   
}

.footer-hero h2 .first, .footer-hero h2 .second, .footer-hero h2 .underline {
    display: block !important;
}

  .footer-buttons {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -15px;
  }

  .footer-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}





@media (max-width: 768px) and (orientation: landscape) {
  .footer-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-hero .footer-icon img {
    width: 350px !important;  /* smaller tooth */
    height: 350px !important;
    margin-left: -350px;
    
  }

  .footer-hero h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 0;
    margin-right: 80px;
  }

  .footer-buttons {
    justify-content: flex-start;
    margin-left: 10px;
  
}
}



/* ======================
   TABLET PORTRAIT
   ====================== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .footer-hero {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: -20px;
  }

  .footer-hero .footer-icon img {
    width: 300px !important;
    height: 300px !important;
    margin-right: 50px !important;
    margin-top: -150px !important;
  }

  .footer-hero h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 180px;
    margin-right: 250px;
    white-space: nowrap;
  }

  .footer-hero h2 .first, 
  .footer-hero h2 .second, 
  .footer-hero h2 .underline {
    display: block !important;
  }

  .footer-buttons {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -50px;
  }

  .footer-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}


/* ======================
   TABLET LANDSCAPE
   ====================== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .footer-hero {
    display: flex;
    flex-direction: row; /* same as desktop */
    align-items: center;
    justify-content: space-between; /* same as desktop */
    gap: 2.5rem;
    text-align: center;
    padding: 50px 20px 40px;
    margin-top: 200px;
  }

  .footer-hero .footer-icon img {
    width: 400px; /* same as desktop size */
    height: 400px;
    margin-left: 20px !important;
  }

  .footer-hero h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin-left: 50px;
  }

  .footer-buttons {
    justify-content: center;
    gap: 20px;
  }

  .footer-buttons .btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
}