/* ========================= */
/* MOBILE STYLES */
/* ========================= */

@media (max-width: 768px) {

  /* ========================= */
  /* GLOBAL */
  /* ========================= */

  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  p  { font-size: 15px; }

  section {
    padding: 70px 20px !important;
  }

  body {
    overflow-x: hidden;
  }

  .section-divider {
    margin: 20px auto 40px auto !important;
  }


  /* ========================= */
  /* NAVBAR */
  /* ========================= */

  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 90px;
    padding: 0 20px;
  }

  /* LOGO CENTER */
  .logo {
    grid-column: 2;
    justify-self: start;
    justify-self: center;
    margin-left: 0px !important;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
  }

  .logo-img {
    height: 125px !important;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
  }

  /* RIGHT SIDE */
  .nav-right {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
  }

  /* HAMBURGER */
  .menu-toggle {
    display: block !important;
    font-size: 26px;
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .nav-call {
    display: none;
  }

  /* MOBILE MENU (SMOOTH FIX) */
  .nav-links {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #2E5E99;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }


  /* ========================= */
  /* SCROLL EFFECT */
  /* ========================= */

  .navbar.scrolled .logo-img {
    height: 100px !important;
  }

  .navbar.scrolled .logo {
    justify-self: start;
    transform: translateX(-5px); 
  }

  /* ========================= */
  /* HERO */
  /* ========================= */

  .hero {
    flex-direction: column !important;
    padding: 120px 20px 60px !important;
    text-align: center;
  }

  .changing-word {
    font-size: 28px !important;
    margin-bottom: -20px;
  }

  .hero-left h1 {
    font-size: 32px !important;
    line-height: 1.2;
  }

  .hero-left p {
    font-size: 15px;
    margin-top: 10px;
  }

  .trust-strip {
    font-size: 13px;
    margin-top: 15px;
  }


  /* ========================= */
  /* MOBILE SELECT FIX */
  /* ========================= */

  .select-options {
    padding: 10px 0 20px 0; 
    max-height: 250px; 
    overflow-y: auto; 
} 

  .select-trigger span {
  display: block;
  max-width: 100px;
  text-align: left;
  line-height: 1.2;
  white-space: normal;
}

  /* ========================= */
  /* QUOTE BOX */
  /* ========================= */

  .quote-box {
    width: 100% !important;
    margin-top: 30px;
    padding: 25px !important;
    border-radius: 20px;
  }

  .quote-box h3 {
    font-size: 18px;
    text-align: center;
  }

  .quote-box button {
    width: 100%;
    margin-top: 20px;
  }


  /* ========================= */
  /* STATS */
  /* ========================= */

  .stats-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }


  /* ========================= */
  /* SERVICES */
  /* ========================= */

  .services-container {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .service-card {
    border-radius: 18px;
  }

  .service-content {
    padding: 20px;
  }


  /* ========================= */
  /* STEPS */
  /* ========================= */

  .steps-container {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .step-card {
    padding: 30px 20px !important;
    text-align: center;
  }

  .step-card h3,
  .step-card p {
    text-align: center;
  }

  .step-circle {
    margin: 0 auto 20px auto;
  }


  /* ========================= */
  /* ABOUT */
  /* ========================= */

  .about-container {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  .about-right img {
    width: 100%;
  }


  /* ========================= */
  /* CONTACT */
  /* ========================= */

  .callback-inline {
    flex-direction: column;
    gap: 10px;
  }

  .callback-input {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }


  /* ========================= */
  /* CTA */
  /* ========================= */

  .cta-container {
    flex-direction: column !important;
    gap: 20px;
    text-align: center;
  }

  .cta-container h3 {
    max-width: 100% !important;
  }


  /* ========================= */
  /* BUTTONS */
  /* ========================= */

  .cta-button,
  .service-btn,
  .quote-box button {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 14px;
  }


  /* ========================= */
  /* INTERACTION */
  /* ========================= */

  button, a {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  button:active, a:active {
    transform: scale(0.97);
    opacity: 0.8;
  }


/* ========================= */
/* FOOTER MOBILE PERFECT */
/* ========================= */

.footer-container {
  display: flex !important;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  align-items: center;
}

/* BREAK CONTACT INTO STACK */
.footer-contact {
  flex-direction: column;
  gap: 30px;
}

/* EACH SECTION FULL WIDTH */
.contact-group,
.footer-nav,
.footer-social {
  width: 100%;
}

/* BOTTOM */
.footer-bottom {
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}


/* ========================= */
/* PROTECTION MOBILE FIX */
/* ========================= */

.protection-grid {
  display: flex !important;
  flex-direction: column;
  align-items: center; 
  gap: 25px;
}

.protection-card {
  width: 85%;
  max-width: 280px;
  margin: 0 auto;
  transition: all 0.3s ease;
  padding: 70px 40px;
  border-radius: 18px;
  background: white;
  border: 1px solid #e5e5e5;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.protection-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.protection-card:hover {
  transform: translateY(-4px);
}

.protection-title {
  font-size: 14px;
  line-height: 1.4;
}

.protection-section {
  text-align: center;
  padding: 70px 20px;
}

.certificate-wrapper {
  margin-top: 20px;
}

.certificate-wrapper .cta-button {
  width: 100%;
  text-align: center;
}

/* ========================= */
/* REVEAL ANIMATION */
/* ========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(.16,1,.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* ABOUT TIMELINE MOBILE FIX */
/* ========================= */

.about-scroll {
  padding: 100px 20px;
}

/* center line */
.scroll-line {
  left: 20px; 
  transform: none;
}

/* items */
.scroll-item {
  width: 100% !important;
  left: 0 !important;
  text-align: left !important;
  padding-left: 50px; 
}

/* dots */
.scroll-item::before {
  left: 14px !important;
  right: auto !important;
}


}