.logo {
    max-width: 320px; /* Default size for larger screens */
    height: auto; /* Maintain aspect ratio */
}

@media (max-width: 575.98px) {
    .logo {
        max-width: 250px; /* Size for extra small devices */
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .logo {
        max-width: 250px; /* Size for small devices */
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .logo {
        max-width: 260px; /* Size for medium devices */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .logo {
        max-width: 280px; /* Size for large devices */
    }
}

@media (min-width: 1200px) {
    .logo {
        max-width: 300px; /* Size for extra-large devices */
    }
}



body, p {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 300px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

:root{
  --hero-min: 420px;     
  --hero-max: 78dvh;     
  --hero-aspect-h: 56.25vw;   
}


.sub-script {
    vertical-align: 0.4em;  
  }
  
 
.main-section {
  width: 100vw;                 
  aspect-ratio: 16 / 9;        
  height: auto;                
  max-height: 65dvh;           
  min-height: 400px;           
  background: linear-gradient(80deg, #004A7F 35%, rgba(255, 255, 255, 0) 59%),url(/images/HeroImage.jpg);
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center; 
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  height: clamp(var(--hero-min), min(var(--hero-max), var(--hero-aspect-h)), 100dvh);
}


.text-container {
    position: relative;
    z-index: 3; 
    color: white;
    max-width: 40%;
    padding: 50px 30px; 
    text-align: center; 
    font-size: 2rem;
    line-height: 1.4;
    align-self: center; 
}


.text-container a {
    font-family: 'Montserrat', sans-serif;
    font-size: 43px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 20px; 

}

.text-container .headline{
    display: block;
    text-align: center;
}

.main-section .headline::after {
  margin: 14px auto 0px;
}


.headline {
  font-weight: 400;
  color: #54575a;                 
  text-align: center;
  margin: 0 auto;
  max-width: 1000px;           
  font-size: clamp(18px, 2.2vw + 12px, 40px);
  line-height: 1.35;
  letter-spacing: 0.2px;
  position: relative;
  display: inline-block;
}

.headline::after{
  content:"";
  display:block;
  width: clamp(120px, 12vw, 170px);
  height: 6px;
  background:#E17234;
}

.headline sup {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}

/* Large Screen Adjustments */
@media (min-width: 1600px) {
  .main-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: clamp(400px, 70vh, 800px);
    display: flex;
    align-items: center;
    overflow: hidden;
    /* background-image:
      linear-gradient(
        100deg,
        rgba(0,74,127,0.98) 0%,
        rgba(0,74,127,0.96) 26%,
        rgba(0,74,127,0.85) 38%,
        rgba(0,74,127,0.00) 50%
      ),
      url("./images/HeroImage.jpg"); */
    background-size: cover;
    background-position: top right, center right;
    background-repeat: no-repeat;
  }


  .text-container {
    max-width: 35%;
    padding: 50px 40px;
    margin-left: 100px;
  }

  .text-container a {
    font-size: 45px;
  }
}



@media (max-width: 1200px) {
.main-section{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: clamp(var(--hero-min),
                min(calc(100dvh - var(--header-h)), var(--hero-aspect-h)),
                var(--hero-max));
  display: flex;
  align-items: center;            
  overflow: hidden;
  /* background-image:
    linear-gradient(
      100deg,
     100deg,
      rgba(0,74,135,0.95) 0%,
      rgba(0,74,127,0.85) 0%,
      rgba(0,74,127,0.60) 100%,
      rgba(0,74,127,0) 95%
    ),
    url(./images/HeroImage.jpg); */
  background-size: 100% 100%, cover;
  background-position: left center, 85% center;
  background-repeat: no-repeat, no-repeat;
}

.text-container {
    max-width: 100%;
    padding: 40px;
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 20px;
    text-align: center;   
}
    
.text-container a {
    white-space: normal;
    max-width: 80%; 
    display: inline-block; 
    text-align: center; 
}
}

/* Laptop-only tweaks: show more image height + nudge headline right */
@media (min-width: 1200px) and (max-width: 1650px) {

.main-section {
  background-size: contain; 
  background-position: right top;
  height: 60dvh;
  min-height: 660px;
  display: flex;
  align-items: center;
  background: linear-gradient(80deg, #004A80 35%, rgba(255, 255, 255, 0) 59%),url(/images/HeroImage.jpg);
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;  
}


  /* push the text block slightly right and keep it readable */
  .text-container {
    margin-left: 6%;         
    max-width: 40%;          
    text-align: left;        
    font-size: 45px;
  }
}


@media (max-width: 1068px) {
    .main-section {
        width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 50dvh;                 
    min-height: 420px;
    background: none;
    background-image:
  linear-gradient(
    100deg,
    rgba(0, 74,127, 0.95) 0%,
    rgba(0, 74,127, 0.85) 0%,
    rgba(0, 74,127, 0.60) 100%,
    rgba(0, 74,127, 0.00) 100%
  ),
  url(./images/HeroImage.jpg);
    background-size: auto, cover;          
    background-repeat: no-repeat, no-repeat;
    background-position: left top, 78% center; 
    display: flex;
    align-items: center;
    justify-content: center;               
    overflow: hidden;

    }

    .text-container {
        width: 100%;
        padding: 0px !important;
        font-size: 1.6rem; 
        line-height: 1.2;
        padding-bottom: 20px;
    }

    .text-container a {
        font-size: 40px;
        white-space: normal; 
    }
}

@media (max-width: 480px) {
    .text-container{
        padding-bottom: 20px;
    }

    .text-container a {
        font-size: 32px;
    }
}


.custom-font{
  font-size: 20px;
  line-height:1.7rem;
  padding-top:50px;
  font-family:'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

/* how it works section */
.open-account-btn {
    display: block;
    width: fit-content;  
    background-color: #B1521B !important;
    color: #fff !important;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 2px;
    letter-spacing: 0px;
    font-size: 17px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    font-weight: 550;
    padding: 8px 20px;
    /* margin-left: 38%; */
    text-decoration: none;
    /* background-image: linear-gradient(360deg, #01b0c0 0%, #0099a7 99%); */
    border: 2px solid #B1521B !important;

}

.open-account-btn:hover {
    background-color: #853E14 !important;
    color: #fff !important;
    transform: translateY(-5px); 
    border:2px solid #853E14 !important;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}



@media (max-width: 768px) {
    /* Decrease the size of headings and text */
    body{
    overflow-x: hidden;

    }
    h1, h2, h5 {
        font-size: 1.5rem;
    }
    
    p{
        font-size: 1rem !important;
    }
}

img {
    max-width: 100%;
    height: auto; 
}

@media (max-width: 768px) {
    .faq-image {
        max-width: 100%;
        height: auto;
    }

    .custom-font{
      padding: 25px 0px !important;
      font-size: 16px;
      line-height: 1.5rem;
    
    }


}

/* Image styling for better alignment and size control */
.bonus-image {
    max-width: 90%;
    height: auto; 
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5); 
}


.added-bonus-section h2{
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    color: #009e9d !important;
    font-weight: 700;
    padding-bottom: 25px;
    font-size: 32px;
    padding-top:0px !important;
    margin-top: 30px !important;
}


.added-bonus-section p{
    padding-left: 0px;
    font-size: 17px;
    color: #707070!important;
    text-align: left !important;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    font-weight: 500;
}

.added-bonus-section b, .added-bonus-section ul{
  color: #707070;
}

.added-bonus-section .special-note{
    font-size: 15px;
    text-align: left; 
    padding: 0 0px 20px 0px;
    line-height: 1.5em;
}

/* Responsive handling */
@media (max-width: 768px) {
    .added-bonus-section {
        padding: 0px 10px 5px 10px !important;
    }

    .added-bonus-section h2{
        padding-top: 0px !important;
        font-size: 28px;
        padding-bottom: 5px !important;
    }

    .added-bonus-section p {
        text-align: center !important;
        padding: 0px 10px !important;
    }

    .added-bonus-section .col-md-6 {
        margin-bottom: 0px;
    }
    
    .open-account-btn {
        margin-top: 0px;
    }

    .bonus-image {
        max-width: 100%; 
    }

    .added-bonus-section .special-note{
        font-size: 0.7em !important;
        color: #333;
        padding: 0 5px !important;
        text-align: center !important; 
        line-height: 1.2rem;
    }

    .bonus-list{
        font-size:16px;
        padding-right: 10px !important;
    }
    .special-note{
        padding-bottom: 10px !important
    }
}


/* Center the image + content stack (tablets/sm laptops) */
@media (min-width: 769px) and (max-width: 1199px) {
  .added-bonus-section .row {
    display: flex;                 
    flex-direction: column;
    align-items: center;           
  }

  /* center each column and cap its width */
  .added-bonus-section .col-md-6 {
    width: 100%;
    max-width: 720px;        
    margin: 0 auto;
    text-align: center;
  }

  .added-bonus-section p{
    font-size: 18px;
    text-align: center !important;
  }
  /* center the image itself */
  .bonus-image {
    display: block;
    width: min(100%, 640px);
    height: auto;
    margin: 0 auto 28px;          
    float: none;
  }

  /* keep bullets centered as a block but left-aligned inside */
  .bonus-list {
    display: inline-block;
    text-align: center;
  }

  .added-bonus-section .special-note{
    text-align: center; 
    padding: 10px 0px 20px 0px !important;
    line-height: 1.2rem;
  }
}



/* FAQ Section Styling */
.faq-section h2 {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.3em;
    text-align: left;    
}

.faq-section .faq-h2 {
    color: #009e9d;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.3em;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;;
    font-size: 32px;
}

.faq-section h6{
     padding: 0 150px !important;
     line-height: 1.5em;
     font-weight: 500;
     font-size: 17px;
}

/* Accordion General Styling */
.accordion-item {
  border: 1px solid #e0e0e0;
  margin-bottom: 20px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  background-color: #FFFFFF;
  padding: 1px;
  font-weight: 600;
}


.accordion-item .accordion-toggle i {
transition: transform 0.3s ease; 
}

.accordion-item .accordion-toggle:not(.collapsed) i {
transform: rotate(180deg); 
}

.accordion-item .accordion-toggle:not(.collapsed) {
background-color: #fff; 
}

.accordion-header {
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
}


.accordion-toggle {
  background-color: #FFFFFF;
  border: none;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  font-size: 18px;
  color: #004a80!important;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 18px 25px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  line-height: 1.5em;
  gap: 10px;
}


.accordion-body {
  padding: 0px 25px;
  padding-bottom: 20px;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #707070;
  margin: 0;
  background-color: #ffffff;
  line-height: 1.5em;
}


.accordion-body a {
  color: #808080;
  text-decoration: none;
  text-underline-offset: 2px;
  font-weight: 700;
  text-decoration: underline;
}

.accordion-body a:hover {
  text-decoration: underline;
}

.accordion-toggle i {
  font-size: 15px; 
  color: #B1521B !important; 
  margin-left: 5px;
}

.accordion-toggle:not(.collapsed) i {
  content: ""; 
}


.image-container img {
    max-width: 90%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.faq-image {
    height: 60%;
    object-fit: cover;
}

.accordion-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.accordion-left, .accordion-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .accordion-row {
    flex-direction: column;
    gap: 0;
  }
  .accordion-left, .accordion-right {
    width: 100%;
    gap: 10px;
  }
}

/* =========================
   CONTACT SECTION (FINAL)
========================= */
.contact-section {
    padding: 25px 0 0px 0;
  }
  
  /* Headline */
  .contact-section h2 {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    color: #009e9d;
    font-weight: 700;
    font-size: 32px;          
    margin: 0 0 12px;
  }
  
  /* Paragraph */
  .contact-section p {
    margin: 0;                
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-weight:500;
    color: #707070;
    text-align: center;
    line-height: 1.5;
  }
  
  /* Phone link in the sentence */
  .contact-section p a {
    color: #53575A;
    text-underline-offset: 2px;
    font-weight: 700;
  }
  
  .contact-section p a:hover {
    text-decoration: underline;
  }
  
  /* =========================
     ICONS AREA
  ========================= */
  
  /* Right-side container (icons) */
  .contact-section .contact-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 240px;               
  }
  
  /* Each icon+label */
  .contact-section .contact-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }
  
  /* Icon image */
  .contact-section .img-custom {
    width: 95px;
    height: 95px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
  }
  
  /* Icon label */
  .contact-section h6 {
    margin: 0;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #53575A;
    text-underline-offset: 2px;
  }

  .contact-section h6:hover {
    text-decoration: underline;
  }
  
  /* =========================
     OFFER TEXT (KEEPING YOUR STYLE)
  ========================= */
  .offer-text p {
    font-size: 14px !important;
    color: #707070;
    font-weight: 500;
    text-align: justify !important;
    margin: 0;
  }
  
  .offer-text b {
    color: #707070;
    font-weight: 700;
  }
  
  /* =========================
     CTA BUTTON (Get Started)
  ========================= */

  .contact-section a.learnmore {
    display: inline-block;
    background-color: #B1521B !important;
    color: #fff !important;
    border-radius: 2px;
    font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 17px;
    padding: 10px 20px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-section a.learnmore:hover {
    background-color: #853E14 !important;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-5px); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  }

  
  /* Center wrapper */
  .contact-section .text-center {
    margin-top: 0px;
  }


  

  
  @media (max-width: 991px) {
    .contact-section h2 {
      font-size: 32px;
      text-align: center;
    }
  
    .contact-section p {
      text-align: center;
      font-size: 15px;
    }
  
    .contact-section .contact-icons {
      gap: 100px;
      margin-top: 25px;
    }
  
    .contact-section .img-custom {
      width: 80px;
      height: 80px;
    }
  
    .contact-section h6 {
      font-size: 18px;
    }

    .faq-section h6{
        padding: 0px 10px !important;
    }
  }
  
/* Adjustments for Medium and Large Screens */
@media (min-width: 1024px) {
  
    .contact-section p {
        padding-right: 0px; 
        font-size: 18px;
    } 

    .contact-section h2 {
        font-size: 32px;
    }

    .contact-section .img-custom {
        width: 85px;
        height: 85px !important;
    }
    .offer-text p{
        font-size: 12px;
        text-align: justify;
    }
}

/* Adjustments for Foldable and Smaller Screens */
@media (max-width: 768px) {
    .faq-section h6 {
        font-size: 15px;
        line-height: 1.4em;
        margin: 20px 20px 20px 8px !important;
        padding: 0 0px !important;
        width: 93%;
    }
    .accordion-body {
        font-size: 16px;
    }
    .accordion-toggle {
        font-size: 16px;
    }

    .faq-section .faq-h2 {
        font-size: 28px;
    }

    .contact-section {
        padding: 20px 0;
        text-align: center; 
    }

    .contact-section .img-custom {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto; 
    }

    .contact-section h6 {
        font-size: 16px;
        text-align: center;
        padding: 0 0px; 
    }

    .contact-section p {
        padding: 0 0 10px 0px !important;
        text-align: center !important;
    }

    .contact-section h2 {
        font-size: 32px !important;
        text-align: center;
    }

    
    .contact-section .row {
        display: flex;
        justify-content: center; 
        align-items: center; 
        flex-wrap: wrap;
    }

    .contact-section .row .col-md-12 {
        margin-top: 0px !important;
        display: flex;
        flex-direction: column; 
        align-items: center; 
        padding-top: 0px !important;
    }

    /* Offer text styling */
    .offer-text p {
        text-align: justify !important;
        font-size: 14px !important;
        padding: 0 10px !important;
    }

    .contact-section .spanish-text {
        padding: 0px 30px 10px 20px !important;
        line-height: 1.3rem !important;
        font-size:12px;
    }

  
    .contact-right .contact-icons {
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important; 
        flex-wrap: wrap; 
        gap: 30px; 
    }

    .contact-right .contact-icon {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }
}


/* Adjustments for Extra-Small Screens (e.g., foldable phones) */
@media (max-width: 480px) {


    .contact-section h2 {
        padding-bottom: 10px;
        font-size: 28px !important;
        text-align: center;
    }

    .contact-section .img-custom {
        padding: 0 10px;
        width: 70px ;
        height: 70px ;
    }

    .contact-section .row {
        justify-content: center;
    }
}




/* Sign-up Section */
.sign-up p {
    padding-top: 10px;
    padding-bottom: 0;
    font-size: 8px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    color: #707070;
    text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background-color: #004A80;
  color: #ffffff;
  padding: 55px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap;
}

.footer-left p,
.footer-center p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.footer-left {
  flex: 0 0 auto;
}

.footer-center {
  flex: 1;
}

.footer-right {
  flex: 0 0 auto;
}

.footer-icons {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.footer-icon-block  {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  color: #fff;
  font-size: 13px;
}

.footer-icon-block span{
  margin-bottom: 6px;
  padding-top:15px;
}

.footer-icon-block img{
  width: 150px;
  height: 50px;
  margin-bottom: 6px;
}

.footer-icon {
  width: 42px;
  height: auto;
  margin-bottom: 6px;
}
  /* Responsive: stack on small screens, keep logo to the right edge */
  @media (max-width: 768px) {
    .footer-inner {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    .footer-right{
      align-self: center;
    }
    .footer-left{
      text-align: center;
    }

  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 30px 0 20px 0;
    background: #004A7F;
  }
  .footer-social a {
    color: #fff;
    font-size: 2rem;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
  }
  .footer-social a:hover {
    color: #E17234;
    transform: translateY(-4px) scale(1.15);
  }