/* ==========================================================================
   FOTONA LASER DENTISTRY - FULLY RESPONSIVE CSS STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. GLOBAL RESPONSIVE RESETS & OVERFLOW SAFETY
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: hidden; /* Prevent horizontal scrollbars globally */
  position: relative;
  width: 100%;
}

.technology_section img {
  max-width: 100%;
  height: auto; /* Ensure images maintain aspect ratio */
}

/* --------------------------------------------------------------------------
   1. DESKTOP & GENERAL IMPROVEMENTS (min-width: 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* Elevate call-to-action buttons layout to be side-by-side on desktop for premium look */
 .technology_section .btn-wrapper {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  
 .technology_section .consult-btn, .technology-btn {
    width: auto !important;
  }

.technology_section  .icons-section {
  padding-top: 0.625rem !important;
  padding-bottom: 3.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}
  
}

/* --------------------------------------------------------------------------
   2. LAPTOP BREAKPOINT (max-width: 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  /* Prevent title lines from overflowing or forcing text wrapping */
.technology_section .ws-mini-title::before,
  .ws-mini-title::after {
    width: 150px !important;
    min-width: auto !important;
  }

.technology_section  .faq-tooth {
    width: 150px !important;
    height: auto !important;
  }
  
 .technology_section .tooth-bg {
    width: 220px !important;
    height: 220px !important
}
}
/* --------------------------------------------------------------------------
   3. MEDIUM DEVICES / TABLETS (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Hero Section Title */
 .technology_section .textsize-42 {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }

  /* Section 2 - Box and Content Overrides (Changed to Relative Flow below 990px to Fix Gap) */
 .technology_section .tooth-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 30px !important;
  }

 .technology_section .boxsize {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-top: -60px !important; /* Pull up slightly to overlap hero section */
    width: 90% !important;
    max-width: 420px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    z-index: 2 !important;
    padding: 20px !important;
  }

.technology_section  .tooth-img {
    max-width: 100% !important;
    height: auto !important;
  }

.technology_section  .content-wrapper {
    margin-top: 0px !important;
    padding-top: 1.5rem !important; /* Set to maximum pt-4 gap (1.5rem / 24px) */
    max-width: 90% !important;
  }

  /* Specific scope for Section 2 to reduce double nested padding (pt-5) on tablets */
 .technology_section .tooth-section .content-line.pt-5 {
    padding-top: 0.5rem !important;
  }
 .technology_section .tooth-section .content-line .poppins-light.pt-5 {
    padding-top: 0 !important;
  }

  /* Reduce nested padding for section titles to keep gaps visually tight */
.technology_section  .ws-mini-title.pt-5 {
    padding-top: 1.5rem !important;
  }

  /* Reduce gap above FAQ title and neutralize bottom padding */
.technology_section  .faq-section {
    padding-top: 1.5rem !important;
    padding-bottom: 0px !important;
  }

  /* Make bottom card gap uniform on tablets */
 .technology_section .faq-section + .d-flex {
    margin-top: 18px !important;
    padding-bottom: 1.5rem !important;
  }

  /* Section 2 - Neutralize CTA bottom padding for tighter mobile spacing */
 .technology_section .content-wrapper > div:last-child {
    padding-top: 15px !important;
    padding-bottom: 0px !important;
  }

  /* Section 3 - What is Fotona Laser (Scale padding-top to exact pt-5 / 48px) */
 .technology_section .padding-top {
    padding-top: 3rem !important;
  }

 .technology_section .content-width,
  .content-width-home,
  .content-width-70 {
    width: 85% !important;
  }

 .technology_section .img-fluid-1 {
    width: 85% !important; /* Align perfectly with text content width */
    border-radius: 14px !important; /* Subtle rounded corners for a premium finished aesthetic */
  }

  /* Section 4 - Benefit Cards Grid (2 Columns on Tablets) */
 .technology_section .container-1 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Section 5 - Procedures Stacking */
 .technology_section section.container > .row {
    flex-direction: column !important;
  }

 .technology_section section.container > .row > .col-8,
  section.container > .row > .col-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

 .technology_section section.container > .row > .col-4 {
    margin-top: 30px !important;
    justify-content: center !important;
  }

 .technology_section section.container > .row > .col-4 .text-end {
    text-align: center !important;
    width: 100% !important;
  }

 .technology_section .img-fluid-pearl-ai,
  .img-fluid-2 {
    height: auto !important;
    max-height: 350px !important;
    object-fit: contain !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  /* Title Lines */
 .technology_section .ws-mini-title::before,
  .ws-mini-title::after {
    width: 80px !important;
  }

  /* FAQ Center Tooth scaling */
 .technology_section .faq-wrapper {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

 .technology_section .faq-center {
    order: -1 !important;
    width: 100% !important;
    height: 180px !important;
  }

 .technology_section .tooth-bg {
    width: 160px !important;
    height: 160px !important;
  }

  .technology_section .faq-tooth {
    width: 100px !important;
    height: auto !important;
  }

.technology_section  .faq-column {
    width: 100% !important;
    padding: 0 15px !important;
  }

  /* Fix for critical FAQ card heights */
.technology_section  .faq-card-1 {
    height: auto !important;
    min-height: 220px !important;
  }

 .technology_section .content-wrapper {
    margin-top: 0px !important;
    padding-top: 0rem !important;
    max-width: 90% !important;
  }

.technology_section .ws-mini-title::before,
  .ws-mini-title::after {
    width: 150px !important;
    min-width: auto !important;
  }

 .technology_section .faq-tooth {
    width: 150px !important;
    height: auto !important;
  }
  
 .technology_section .tooth-bg {
    width: 220px !important;
    height: 220px !important;
  
}

/* --------------------------------------------------------------------------
   4. SMALL DEVICES / PHONES (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Navbar tweaks */
 .technology_section .container-fluid.fixed-top {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  
 .technology_section .container-fluid.fixed-top a strong {
    font-size: 13px !important;
  }
  
 .technology_section .nav-img-sec-1 {
    width: 100px !important;
    height: auto !important;
  }

  /* Hero Title */
.technology_section  .textsize-42 {
    font-size: 26px !important;
  }

  /* Section 2 Overrides */
 .technology_section .boxsize {
    max-width: 320px !important;
    margin-top: -45px !important; /* Slightly smaller negative margin on mobile */
  }

.technology_section  .content-wrapper {
    margin-top: 0px !important;
    padding-top: 1.5rem !important; /* Retain maximum pt-4 gap */
    max-width: 90% !important;
    gap: 15px !important;
  }

  /* Specific mobile scope for Section 2 to keep the total gap to pt-3 / pt-4 */
 .technology_section .tooth-section .content-wrapper {
    padding-top: 1rem !important; /* Override the 1.5rem above */
  }
 .technology_section .tooth-section .content-line.pt-5 {
    padding-top: 0.5rem !important;
  }
.technology_section  .tooth-section .content-line .poppins-light.pt-5 {
    padding-top: 0 !important;
  }

  /* Reduce nested padding for section titles to keep gaps visually tight on mobile */
 .technology_section .ws-mini-title.pt-5 {
    padding-top: 1rem !important;
  }

  /* Reduce gap above FAQ title on mobile and neutralize bottom padding */
 .technology_section .faq-section {
    padding-top: 1rem !important;
    padding-bottom: 0px !important;
  }

  /* Make bottom card gap uniform on mobile */
 .technology_section .faq-section + .d-flex {
    margin-top: 18px !important;
    padding-bottom: 1rem !important;
  }

  /* Section 3 - Scale padding-top to pt-4 (32px) on mobile */
.technology_section  .padding-top {
    padding-top: 2rem !important;
  }

  /* Section 3 lines */
 .technology_section .ws-mini-title::before,
  .ws-mini-title::after {
    width: 50px !important;
  }

 .technology_section .content-width,
  .content-width-home,
  .content-width-70 {
    width: 92% !important;
  }

 .technology_section .img-fluid-1 {
    width: 92% !important; /* Align with mobile content width for clean padding */
  }

  /* Benefit Cards (1 Column on Mobile) */
.technology_section  .container-1 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Title Lines */
 .technology_section .ws-mini-title {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    gap: 10px !important;
  }

  /* Procedures checkmark sizes */
.technology_section  ul.poppins-light {
    padding-left: 10px !important;
  }

 .technology_section ul.poppins-light li {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Trust Section spacing */
 .technology_section section.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* FAQ Header adjustment */
 .technology_section section h4.text-center {
    font-size: 18px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    line-height: 1.4 !important;
    padding-bottom: 1rem !important; /* Set to pt-3 (1rem / 16px) gap below 990px screen width */
  }

  /* Compact FAQ Tooth layout specifically for mobile views to maintain pt-3 gap limit */
 .technology_section .faq-wrapper {
    gap: 1rem !important; /* Set to exact pt-3 (16px) gap between cards and tooth image */
  }

 .technology_section .faq-center {
    height: 140px !important; /* Compressed container to keep gap tight */
  }

 .technology_section .tooth-bg {
    width: 120px !important; /* Scaled down slightly to fit the tight container */
    height: 120px !important;
  }

 .technology_section .faq-tooth {
    width: 75px !important; /* Scaled down proportionally */
  }

  /* FAQ arrow lines */
 .technology_section .faq-line {
    width: 40px !important;
  }

  /* Clinic Home text scaling */
 .technology_section .poppins-bold.fs-5 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
  }

  /* Serving area box alignment */
.technology_section  .location-box {
    margin-bottom: 25px !important;
  }

.technology_section  .location-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  /* Buttons column on mobile */
.technology_section  .btn-wrapper {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

.technology_section  .consult-btn, .technology-btn {
    width: 100% !important;
    max-width: 290px !important;
    justify-content: center !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
  }
 .technology_section .tooth-section .content-wrapper {
    padding-top: 0rem !important;
  }
 
.technology_section  .icons-section {
  padding-top: 0.625rem !important;
  padding-bottom: 3.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

.technology_section .tooth-section .content-line.pt-5 {
      padding-top: 0rem !important;
    }
  }

}

/* --------------------------------------------------------------------------
   5. EXTRA SMALL DEVICES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Navbar */
.technology_section  .container-fluid.fixed-top {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

 .technology_section .container-fluid.fixed-top a strong {
    font-size: 11px !important;
  }
  
.technology_section  .nav-img-sec-1 {
    width: 85px !important;
  }

  /* Hero Section Title scaling for 320px screens */
.technology_section  .textsize-42 {
    font-size: 20px !important;
  }

 .technology_section .hero-section {
    height: 50vh !important;
  }

  /* Section 2 Box */
 .technology_section .boxsize {
    max-width: 270px !important;
    margin-top: -35px !important; /* Scale negative margin for small screens */
    height: auto !important;
    border-radius: 20px !important;
  }

 .technology_section .content-wrapper {
    margin-top: 0px !important;
    padding-top: 1.5rem !important; /* Retain maximum pt-4 gap */
    max-width: 95% !important;
  }

  /* Specific extra-small mobile scope for Section 2 to keep spacing extremely neat */
 .technology_section .tooth-section .content-wrapper {
    padding-top: 0.5rem !important; /* Tight spacing between image card and text */
  }
.technology_section  .tooth-section .content-line.pt-5 {
    padding-top: 0.25rem !important;
  }
.technology_section  .tooth-section .content-line .poppins-light.pt-5 {
    padding-top: 0 !important;
  }

  /* Reduce nested padding for section titles to keep gaps visually tight on tiny screens */
 .technology_section .ws-mini-title.pt-5 {
    padding-top: 0.5rem !important;
  }

  /* Reduce gap above FAQ title on tiny displays and neutralize bottom padding */
.technology_section  .faq-section {
    padding-top: 0.5rem !important;
    padding-bottom: 0px !important;
  }

  /* Make bottom card gap uniform on tiny screens */
 .technology_section .faq-section + .d-flex {
    margin-top: 18px !important;
    padding-bottom: 0.5rem !important;
  }

  /* Hide Title lines completely for cleaner layout on tiny devices */
.technology_section  .ws-mini-title::before,
  .ws-mini-title::after {
    display: none !important;
  }

 .technology_section .ws-mini-title {
    white-space: normal !important;
    text-align: center !important;
  }

  /* Section 3 - Scale padding-top to pt-3 (24px) on extra-small mobile */
 .technology_section .padding-top {
    padding-top: 1.5rem !important;
  }

.technology_section  .img-fluid-1 {
    width: 95% !important; /* Align with extra-small content width */
  }

  /* Paragraph Text sizes for optimized mobile readability */
 .technology_section .poppins-light p,
  .poppins-light li,
  .content-width p,
  .content-width-70 p {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  /* Trust section details */
.technology_section  .doctor-uttma {
    width: 100% !important;
  }

  /* FAQ Header arrows */
 .technology_section .faq-top {
    gap: 8px !important;
  }

 .technology_section .faq-line {
    display: none !important; /* Hide line ornaments on extra small displays */
  }

  /* FAQ cards typography */
 .technology_section .faq-head span {
    font-size: 14px !important;
  }

 .technology_section .faq-body p {
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* Footer styling adjustments for extra-small */
 .technology_section .footer-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

 .technology_section .footer-text, .footer-link {
    font-size: 12px !important;
  }

 .technology_section .social-icons a {
    margin: 0 8px !important;
    font-size: 16px !important;
  }

.technology_section .tooth-section .content-wrapper {
    padding-top: 0rem !important;
  }

   .technology_section .tooth-section .content-line.pt-5 {
      padding-top: 0rem !important;
    }
  }

   .technology_section .icons-section {
  padding-top: 0.625rem !important;
  padding-bottom: 3.75rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

 /* cta fixed  */
.technology_section .px-4 {
    padding-right: 0.5rem !important;
    padding-left: 1.5rem !important;
}

.technology_section .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0;
}

