
/* ===================================================================
   MOBILE/Tablets RESPONSIVENESS BASE
   
=================================================================== */
/*==========================
    HTML-BODY
============================*/

@media (max-width: 1380px) {

  /* Allow the page to scale correctly */
  html, body {
    min-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

}

/* =====================
   HEADER
============================ */
@media (min-width: 1024px) and (max-width: 1380px) {
  .header-frame { height: 100px; }
  .header-image { width: 100px; margin-top: 0.5rem; }
  .header-left { margin-top: 1.2rem; }
  .header-text h1 { font-size: 46px; }
  .header-text h2 { font-size: 18px; }
}

@media (min-width: 900px) and (max-width: 1020px) {
  .header-frame { height: 97px; }
  .header-image { width: 97px; margin-top: 0.4rem; }
  .header-left { margin-top: 1.17rem; }
  .header-text h1 { font-size: 45px; }
  .header-text h2 { font-size: 17px; }
}

@media (min-width: 600px) and (max-width: 899px)  {
  .header-frame { height: 93px; }
  .header-image { width: 93px; margin-top: 0.47rem; }
  .header-left { margin-top: 1.05rem; }
  .header-text h1 { font-size: 43px; }
  .header-text h2 { font-size: 16.65px; }
}

@media (min-width: 400px) and (max-width: 599px)  {
  .header-frame { height: 88px; }
  .header-image { width: 88px; margin-top: 0.5rem; }
  .header-left { margin-top: 1rem; }
  .header-text h1 { font-size: 31px; }
  .header-text h2 { font-size: 12px; }


  
   /* --- HAMBURGER MENU FOR SMALL PHONES ONLY --- */
 
 /* Hide header-right on tiny phones */
   .header-right {
  display: none !important;
  
  }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  z-index: 9990;
  position: absolute;
  top: 0.7rem;        /* move up */
  right: 1rem;      /* keep aligned to the right */
  width: 28px;
  
  
}

.hamburger-arrow span {

  position: relative;
  width: 26px;
  height: 5px;
  background-color: var(--accent) !important;
  border-radius: 5px;
  display: block;
    background: black;
    margin: 3px 0;
    transition: all 0.3s ease;
	
}
/*Default CLOSED state*/
.hamburger-arrow span:nth-child(1) {
    transform-origin: center bottom; 
	transform: rotate(-32deg);
}

.hamburger-arrow span:nth-child(2) {
  transform-origin: center top;
   transform: rotate(32deg);
}
/*Active state*/

.hamburger-arrow.active span:nth-child(1) {
  transform: rotate(32deg);
}

.hamburger-arrow.active span:nth-child(2) {
  transform: rotate(-32deg);
}

/* =============== MOBILE SLIDE-IN MENU =============== */

/* MOBILE MENU — hidden by default */
.mobile-menu {
  position: fixed;
  top: 6rem;
  border-radius: 40% / 40%;
  right: -130px;      /* fully hidden off-screen */
  width: 130px;       /* slide-in panel width */
  height: 12vh;
  background-color:rgba(8, 47, 83,0.9);
  z-index: 9995;
  transition: right 0.35s ease;
  padding: 0 1rem ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
}

/* When hamburger is active → menu slides in */
.mobile-menu.open {
  right: 0;
}

/* Keep items vertical and centered */
.mobile-menu .menu-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
  left:0.3rem;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--bg5);
}
}

/* =====================
   Mobile Menu-Chatbox
============================ */
@media (max-width: 600px) {
  #chatPopup {
    top: 70px !important;   /* equal to your header height */
    height: calc(70vh - 70px) !important;
    z-index: 9999 !important; /* above everything */
    position: fixed !important;
  }
}

/* =====================
   VERY SMALL PHONES
============================ */
@media (max-width: 399px) {
  .header-frame { height: 58px; }
   .header-left { margin-top: 0.25rem; }
  .header-image { width: 60px; margin-top: 0.3rem; }
  .header-text h1 { font-size: 22px; }
  .header-text h2 { font-size: 8.75px; }
  
   /* --- HAMBURGER MENU FOR SMALL PHONES ONLY --- */
 
 /* Hide header-right on tiny phones */
   .header-right {
  display: none !important;
  
  }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  z-index: 9990;
  position: absolute;
  top: 0.7rem;        /* move up */
  right: 1rem;      /* keep aligned to the right */
  width: 28px;
  
  
}

.hamburger-arrow span {

  position: relative;
  width: 26px;
  height: 5px;
  background-color: var(--accent) !important;
  border-radius: 5px;
  display: block;
    background: black;
    margin: 3px 0;
    transition: all 0.3s ease;
	
}
/*Default CLOSED state*/
.hamburger-arrow span:nth-child(1) {
    transform-origin: center bottom; 
	transform: rotate(-32deg);
}

.hamburger-arrow span:nth-child(2) {
  transform-origin: center top;
   transform: rotate(32deg);
}
/*Active state*/

.hamburger-arrow.active span:nth-child(1) {
  transform: rotate(32deg);
}

.hamburger-arrow.active span:nth-child(2) {
  transform: rotate(-32deg);
}

/* =============== MOBILE SLIDE-IN MENU =============== */

/* MOBILE MENU — hidden by default */
.mobile-menu {
  position: fixed;
  top: 4rem;
  border-radius: 40% / 40%;
  right: -130px;      /* fully hidden off-screen */
  width: 130px;       /* slide-in panel width */
  height: 12vh;
  background-color:rgba(8, 47, 83,0.9);
  z-index: 9995;
  transition: right 0.35s ease;
  padding: 0 1rem ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
}

/* When hamburger is active → menu slides in */
.mobile-menu.open {
  right: 0;
}

/* Keep items vertical and centered */
.mobile-menu .menu-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
  left:0.3rem;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--bg5);
}
}

/*====================================
      Footer 
====================================*/

@media (min-width: 1024px) and (max-width: 1380px) {
  .footer-columns {
    gap: 1.5rem;
  }

  .footer-col h3 {
    font-size: 18px;
  }

  .footer-col .links a {
    font-size: 15px;
    padding: 5px 10px;
  }
  .links a i {
  font-size: 28px;
  }

  footer {
    font-size: 14px;
  }
  
   .quote h3{ 
    font-size:26px; 
    padding: 0 8rem; 
    margin: 0 ;
}

  .footer-image {
  width: 3%  ;
  }
}

@media (min-height: 600px) and (max-width: 1023px) {

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col .links a {
    font-size: 15px;
    padding: 4px 8px;
  }
  .links a i {
  font-size: 26px;
  }
 .quote h3{ 
    font-size:24px; 
    padding: 0 8rem; 
    margin: 0 ;
}
    
  .footer-image {
  width: 3%  ;
  }
}

@media (min-width: 400px) and (max-width: 599px) {

  /* Stack columns vertically */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  /* text scaling */
  .footer-col h3 {
    font-size: 18px;
  }

  footer {
    font-size: 14px;
    padding-top: 0.5rem;
  }

  .footer-col .links a {
    font-size: 14px;
    padding: 6px 12px;
  }
  .links a i {
  font-size: 23px;
  }
   .quote h3{ 
    font-size:18px; 
    padding: 0 8rem; 
    margin: 0 ;
}

  /* icons */
  .footer-col:last-child .links a {
    font-size: 1.1rem;
  }
  .footer-image {
  width: 5%  ;
  }
}

/* =====================
   VERY SMALL PHONES
============================ */
@media (max-width: 399px) {
.footer-columns {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    text-align: center;
  }
  footer {
    font-size: 12px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .footer-col .links a {
    font-size: 14px;
    padding: 4px 8px;
  }
  .links a i {
  font-size: 23px;
  }
 .quote h3{ 
    font-size:20px; 
    padding: 0 5rem; 
    margin: 0 ;
}

  .footer-col:last-child .links a {
    font-size: 1.1rem;
  }
  .footer-image {
  width: 5%  ;
  }
}


/*=============================
         Main
============================ */
@media (min-width: 1024px) and (max-width: 1380px) {

main {
    margin: 0.5rem 1rem;
    padding: 0;
    max-width: 100%;
	
  }
  main h2{font-size: 30px;}
  
  .slogan h1 { font-size: 2.5vw !important; }
  .slogan h2 { font-size: 1.8vw !important; }

.intro-text {
    font-size: 20px;
    max-width: 1200px;
    padding: 1.5rem 2rem;
  }

  /* INFO BOXES */
  .info-boxes {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: 0;
    max-width: 1390px;
  }

  .info-boxes .box {
    width: 100%;
    height: 230px;
  }
  .mobile-more {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
    text-align: center bottom;
  }
  



  /* TWO-COLUMN LAYOUTS */
  .two-column-wrap1 {
    
    max-width: 1200px;
  }

  .two-column-wrap2 {
    grid-template-columns: 1.25fr 1.75fr;
    max-width: 1200px;
  }

  .left-side,
  .right-side {
    gap: 1rem;
  }

.workflow-intro {
  
  width: 100%;
  
}


.pdf-wrapper iframe {
  
  height: 550px;
}

  /* JOURNEY */
  .journey {
    gap: 3.8rem;
  }

  .step {
    width: 280px;
    font-size: 1.7rem;
  }

  .step::after {
    border-left: 135px solid transparent;
    border-right: 135px solid transparent;
    border-top: 20px solid var(--brand);
	bottom:-1.2rem;
  }

  /* FORM / SECTIONS */
  .form-instructions {
    max-width: 1200px;
    font-size: 18px;
  }

  .section-title {
    max-width: 1200px;
    font-size: 20px;
  }

  .services-box,
  .services-box-horizontal {
    max-width: 1200px;
  }

  .services-box-horizontal {
    gap: 1.2rem;
  }

  textarea,
  input[type="email"],
  input[type="date"],
  input[type="file"],
   input[type="tel"] {
    font-size: 16px;
    
  }

  #formSubmitBtn {
    font-size: 18px;
  }

  #responseMessage {
    max-width: 700px;
  }
}


@media (min-width: 900px) and (max-width:1023px){
 main {
    margin: 0.5rem 0.4rem;
    padding: 0;
    max-width: 100%;
	
  }
  main h2 {
	
	font-size: 26px; 
	
	}
  
.slogan{margin: 1rem 6rem 0 3rem;} 
.slogan h1 { font-size: 2.5vw !important; }
  .slogan h2 { font-size: 2vw !important; }

  .intro-text {
    font-size: 18px;
    max-width: 900px;
    padding: 1.5rem 1rem;
  }

  /* INFO BOXES – single column */
  .info-boxes {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 0;
    max-width: 1023px;
  }

  .info-boxes .box {
    width: 100%;
    height: 210px;
  }
.info-boxes .box h3 {
  
  font-size: 23px;
  
}

  .info-boxes .box p {
    font-size: 14px;
  }
  .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 .info-boxes .box.open p {
  opacity: 1 !important;
}

.info-boxes .box.opened:hover {
  transform: scale(1.02) !important; /* smaller hover */

}



  /* TWO-COLUMN LAYOUTS -> single column */
  .two-column-wrap1{
	  
    max-width: 900px;
    
  }
  .two-column-wrap2 {
    grid-template-columns: 1.5fr 1.5fr;
    max-width: 900px;
    margin: 1.8rem auto;
    padding: 0 1.1rem;
  }


  .left-side,
  .right-side {
    gap: 0.1rem;
  }

  .pdf-wrapper iframe {
    height: 470px;
  }

.workflow-intro {
  
  width: 100%;
  
}

  /* JOURNEY */
  .journey {
    gap: 5rem;
    margin: 2rem auto;
  }

  .step {
    width: 260px;
    font-size: 1.5rem;
    padding: 0.6rem 1.4rem;
  }

  .step::after {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-top: 22px solid var(--brand);
	bottom:-1.35rem;
  }

  /* FORM / SECTIONS */
  .form-instructions {
    max-width: 900px;
    font-size: 17px;
    padding: 0.7rem 1.2rem;
  }

  .section-title {
    max-width: 900px;
    font-size: 18px;
  }

  .services-box,
  .services-box-horizontal {
    max-width: 900px;
  }

  .services-box-horizontal {
    flex-wrap: wrap;
    gap: 1rem;
  }

  textarea,
  input[type="email"],
  input[type="date"],
  input[type="file"],
   input[type="tel"] {
    font-size: 15px;
  }

  #formSubmitBtn {
    font-size: 17px;
	padding: 0.5rem 1.4rem;
  }

  #responseMessage {
    max-width: 450px;
  }
}
 
 @media (min-width: 700px) and (max-width:899px) {
 
  .slogan{margin: 1rem 6rem 0 3rem;} 
.slogan h1 { font-size: 3.5vw !important; }
  .slogan h2 { font-size: 2.8vw !important; }
  
  
 }
 
@media (min-width: 600px) and (max-width:899px) {

main {
    margin: 0.3rem 0.3rem;
    padding: 0;
    max-width: 100%;
	
  }


.slogan{margin: 1rem 5rem 0 3rem;}
 .slogan h1 { font-size: 3.4vw !important; line-height: 1.1;}
  .slogan h2 { font-size: 2.8vw !important; }

.intro-text {
    font-size: 19px;
    max-width: 1100px;
    padding: 1.5rem 1.1rem;
  }

  /* INFO BOXES – 2 per row */
  .info-boxes {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 900px;
    padding: 1rem 0 2.3rem 0;
  }

  .info-boxes .box {
    width: 100%;
    height: 230px;
    
  }

   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
    .info-boxes .box.open p {
  opacity: 1 !important;
}

.info-boxes .box.opened:hover {
  transform: scale(1.02) !important; /* smaller hover */

}

	
  /* TWO-COLUMN LAYOUTS -> single column */
  .two-column-wrap1,
  .two-column-wrap2 {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
  }

  .left-side,
  .right-side {
    gap: 1rem;
  }

  /* PDF HEIGHT */
  .pdf-wrapper iframe {
    height: 450px;
  }

.workflow-intro {
  
  width: 100%;
  
}

.pdf-wrapper {
  
  margin: 3rem 5rem;
}



  /* JOURNEY */
  .journey {
    gap: 5rem;
    margin: 1rem auto;
  }

  .step {
    width: 260px;
    font-size: 1.6rem;
    padding: 0.9rem 1.6rem;
  }

  .step::after {
    border-left: 123px solid transparent;
    border-right: 123px solid transparent;
    border-top: 20px solid var(--brand);
	bottom:-1.25rem;
  }

  /* FORM / SECTIONS */
  .form-instructions {
    max-width: 1000px;
    font-size: 18px;
    padding: 0.8rem 1.5rem;
  }

  .section-title {
    max-width: 1000px;
    font-size: 19px;
  }

  .services-box,
  .services-box-horizontal {
    max-width: 1000px;
  }

  .services-box-horizontal {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  textarea,
  input[type="email"],
  input[type="date"],
  input[type="file"],
   input[type="tel"] {
    font-size: 16px;
  }

  #formSubmitBtn {
    font-size: 16px;
	padding: 0.6rem 1.2rem;
  }

  #responseMessage {
    max-width: 645px;
  }
  

}

/* =========================================================
   "STEPS FIX ONLY" — MID-RANGE DEVICES (700–899px)
   Prevents arrow from climbing into the upper step
   ========================================================= */
@media (min-width: 700px) and (max-width: 899px) {

  .journey {
    gap: 5rem !important;   /* ensure enough vertical spacing */
  }

  .step {
    width: 280px;            /* keeps proportions stable */
  }

  .step::after {
    bottom: -1.25rem !important;   /* pulls arrow down just enough */
    border-left: 123px solid transparent !important;
    border-right: 123px solid transparent !important;
    border-top: 20px solid var(--brand) !important;
  }

}

@media (min-width: 400px) and (max-width: 599px) {
 main {
    margin: 0.3rem 0.3rem;
    padding: 0;
    max-width: 100%;
	
  }
  
   main h2{
   font-size: 24px;   
   margin-right: 0.5rem;
  }
  
  
 .slogan{margin: 1rem 5rem 0 3rem;}
  .slogan h1 { font-size: 4vw !important; line-height:1.1;}
  .slogan h2 { font-size: 3vw !important; }

 .intro-text {
    font-size: 15px;
    max-width: 100%;
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
  }

  /* INFO BOXES – single column full width */
  .info-boxes {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0.8rem 0 2rem 0;
  }

  .info-boxes .box {
    width: 92%;
    height: auto;
    padding: 1rem 0.7rem;
  }

  .info-boxes .box h3 {
    font-size: 22px;
    line-height: 1.6rem;
  }

  .info-boxes .box p {
    font-size: 14px;
    padding: 0.8rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
    text-align: center bottom;
  }
      .info-boxes .box.open p {
  opacity: 1 !important;
}

.info-boxes .box.opened:hover {
  transform: scale(1.02) !important; /* smaller hover */

}


  /* TWO-COLUMN LAYOUTS -> single column */
  .two-column-wrap1,
  .two-column-wrap2 {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 1.5rem auto;
    padding: 0 1rem;
  }

  .left-side,
  .right-side {
    gap: 0.8rem;
  }

.pdf-wrapper {
  
  margin: 2rem 4rem;
}

  .pdf-wrapper iframe {
    height: 450px;
    
  }

.workflow-intro {
   padding: 1rem 1.1rem;
  
}
.workflow-intro h3 {
   
    font-size:24px;
}


  /* JOURNEY */
  .journey {
    gap: 1.7rem;
    margin: 1rem auto;
  }

  .step {
    width: 350px;
    font-size: 1.4rem;
    padding: 0.7rem 1.2rem;
  }

  .step::after {
    border-left: 113px solid transparent;
    border-right: 113px solid transparent;
    border-top: 22px solid var(--brand);
	bottom:-1.35rem;
  }

  /* FORM / SECTIONS */
  .form-instructions {
    max-width: 100%;
    font-size: 16px;
    padding: 0.7rem 1rem;
    margin: 1.5rem auto;
  }

  .section-title {
    max-width: 100%;
    font-size: 17px;
    padding: 0.6rem 1rem;
  }

  .services-box,
  .services-box-horizontal {
    max-width: 100%;
    padding: 1rem;
  }

  .services-box-horizontal {
    flex-direction: column;
    gap: 0.8rem;
  }

  .services-box label,
  .services-box-horizontal label {
    font-size: 16px;
  }

  textarea,
  input[type="email"],
  input[type="date"],
  input[type="file"],
   input[type="tel"] {
    font-size: 15px;
    overflow:hidden;
    
  }
  
   
textarea{
 
  padding: 1.1rem;
}

  .phone-inputs {
    display: block;
   
  }

  .phone-inputs #countryCode{

    width: 40%;
    flex: none;
  }
  .phone-inputs #mobile{
    width: 100%;
    flex: none;
  }
  #formSubmitBtn  {
  
  padding: 0.5rem 1rem;
  
    }
}



/* =====================
   VERY SMALL PHONES
============================ */
@media (max-width: 399px) {

  /* MAIN / SLOGAN / INTRO */
  main {
    margin: 0.2rem;
    padding: 0;
    max-width: 100%;
	
  }

.slogan{margin: 1rem 3.8rem 0 3rem;}
  .slogan h1 { font-size: 4vw !important; line-height:1.1;}
  .slogan h2 { font-size: 3vw !important; }


  .intro-text {
    font-size: 15px;
    padding: 1.5rem 0.7rem;
    margin: 1.2rem auto;
  }

  /* INFO BOXES */
  .info-boxes {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0.5rem 0 1.8rem 0;
  }

  .info-boxes .box {
    width: 94%;
    height: auto;
    padding: 0.9rem 0.6rem;
  }

  .info-boxes .box h3 {
    font-size: 20px;
  }

  .info-boxes .box p {
    font-size: 13px;
    padding: 0.6rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
     .info-boxes .box.open p {
  opacity: 1 !important;
}

.info-boxes .box.opened:hover {
  transform: scale(1.02) !important; /* smaller hover */

}


  /* TWO-COLUMN LAYOUTS */
  .two-column-wrap1,
  .two-column-wrap2 {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 1.2rem auto;
    padding: 0 0.7rem;
  }

.pdf-wrapper {
  
  margin: 1rem 3rem;
}

  .pdf-wrapper iframe {
    height: 420px;
    
  }

.workflow-intro {
   
   padding: 0.7rem;
   
}

.workflow-intro i {font-size:11px;}
.workflow-intro h3 {
   
    font-size:22px;
}
.workflow-intro p{
    font-size:15px;
    
}

  /* JOURNEY */
  .journey {
    gap: 2rem;
  }

  .step {
    width: 220px;
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
  }

  .step::after {
    border-left: 105px solid transparent;
    border-right: 105px solid transparent;
    border-top: 22px solid var(--brand);
	bottom:-1.4rem;
  }
	

  /* FORM / SECTIONS */
  .form-instructions {
    font-size: 15px;
    padding: 0.6rem 0.7rem;
  }

  .section-title {
    font-size: 16px;
    padding: 0.6rem 0.7rem;
  }

  .services-box,
  .services-box-horizontal {
    padding: 0.9rem;
  }

  .services-box label,
  .services-box-horizontal label {
    font-size: 15px;
  }

  textarea,
  input[type="email"],
  input[type="date"],
  input[type="file"],
  input[type="tel"] {
    font-size: 9px;
    overflow:hidden;
  }
textarea {
 
  padding: 1.1rem;
 
}


  .phone-inputs #countryCode{

    width: 50%;
    flex: none;
  }
  .phone-inputs #mobile{
    width: 100%;
    flex: none;
  }
  
#formSubmitBtn  {
  font-size:14px;
  padding: 0.4rem 0.5rem;
  

   }
}





