.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: "Open sans", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 300px;
    font-weight: 500;
}

:root{
  /* tune these two numbers only */
  --hero-min: 420px;     /* never smaller than this */
  --hero-max: 78dvh;     /* never taller than this (dynamic vh works on mobile) */
  /* if your hero image is ~16:9, height = 56.25% of width */
  --hero-aspect-h: 56.25vw;   /* = 9/16 * 100; change if your image aspect differs */
}


.sub-script {
    vertical-align: 0.4em;  /* Adjust the value to control how much it moves up */
  }
  
  .hero {
    position: relative;
    width: 100vw;
    aspect-ratio: 1920 / 750;
    min-height: 500px;
    overflow: hidden;
  
    display: grid;
    align-items: center;      /* vertical center */
    justify-items: start;     /* horizontal alignment */
  
    background-image:
      linear-gradient(
        90deg,
        rgba(0,58,121,1) 48%,
        rgba(0,58,121,0) 62%
      ),
      url("/images/HeroImage.jpg"); /* IMPORTANT: fixed path */
  
    background-size: 100% 100%, 52% auto;
    background-position: left center, right center;
    background-repeat: no-repeat;
  }
  
  
  
  
  .hero-mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  
    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0iUkdCQSgyNTUsMjU1LDI1NSwwKSIgdmlld0JveD0iMCAwIDE5MjAgMjU2MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4gc2xpY2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExNzUuNDMsMEgxOTIwVjI1NjBIMTE3Ni4zOGMtMTk2LjY4LTM2OC45NS0zMTAuOS04MDguNzItMzEwLjktMTI4MC44OUM4NjUuNDgsODA3LjcsOTc5LjMzLDM2OC41OCwxMTc1LjQzLDBaIi8+PC9zdmc+");
    -webkit-mask-size: cover;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
  
    mask-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0iUkdCQSgyNTUsMjU1LDI1NSwwKSIgdmlld0JveD0iMCAwIDE5MjAgMjU2MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pbllNaW4gc2xpY2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExNzUuNDMsMEgxOTIwVjI1NjBIMTE3Ni4zOGMtMTk2LjY4LTM2OC45NS0zMTAuOS04MDguNzItMzEwLjktMTI4MC44OUM4NjUuNDgsODA3LjcsOTc5LjMzLDM2OC41OCwxMTc1LjQzLDBaIi8+PC9zdmc+");
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
  }
  
  
  .text-container {
    margin: 0;
    z-index: 2;
    max-width: 40%;
    margin-left: 6%;
    color: #fff;
    text-align: center;
  }
  
  .text-container a {
    color: #fff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(45px, 2.5vw, 45px);
    line-height: 1.2;
  }
  
  .sub-script {
    font-size: 0.6em;
    vertical-align: super;
  }
  
  .headline {
    margin: 50px auto 0;
    width: 160px;
    height: 6px;
    background: #2dc2f1;
  }
  
  
  @media (max-width: 1068px) {
    .hero {
      height: auto;
      min-height: 420px;
      display: grid;
      align-items: center;
      background-image:
        linear-gradient(
          90deg,
          rgba(0,58,121,0.95) 0%,
          rgba(0,58,121,0.45) 100%
        ),
      url("/images/HeroImage.jpg");
        
  
      background-size: 100% 100%, cover;
      background-position: left top, center;
    }
  
    .text-container {
      max-width: 90%;
      margin: 0 auto;
      align-self: center;
      padding: 0px 80px 0px 80px;
    }
  
    .text-container a {
      font-size: 32px;
    }
  }
  
  
  
  @media (max-width: 480px) {
    .text-container {
        max-width: 90%;
        margin: 0 auto;
        padding: 0px 50px 0px 50px;
      }

    .text-container a {
      font-size: 26px;
    }
  
    .headline {
      width: 120px;
    }
  }
  

 @media (min-width: 1070px) and (max-width: 1600px) {
    .hero {
      height: auto;              
      aspect-ratio: 1920 / 750;  
      min-height: unset;
    }
  
    .hero-mask {
      height: 100%;
    }

    .text-container {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10%;              
        max-width: 30%;
        font-size: 32px !important;
        margin: 0;
        padding: 0;
      }
  } 

.section-2 {
  padding: 60px 0 0 0;  
}

.custom-font{
  color: #3b3b3b!important;
}


/* Responsive Adjustments for Desktops (Large Screens) */
@media (min-width: 1200px) {
    .section-2 {
        padding: 20px 0 0 10px; /* Adjust padding for large screens */
    }

    .custom-font {
        font-size: 18px; /* Larger font for big screens */
        line-height: 1.6; /* Adjust line height for readability */
        padding-top: 20px;
        font-weight: 500 !important;        
    }
}

/* Responsive Adjustments for Laptops and Medium Devices */
@media (max-width: 1199px) {
    .section-2 {
        padding: 20px 0 0 10px; /* Reduce padding for laptops and medium devices */

    }

    .custom-font { 
        font-size: 18px; /* Adjust font size for laptops */
        padding: 5px 50px 5px 50px;
        font-weight: 500 !important;  
        line-height: 1.5;
        text-align: center;      

    }
}

/* Responsive Adjustments for Tablets */
@media (max-width: 992px) {
    .section-2 {
        padding: 20px 0px; /* Reduce padding for tablets */

    }

    .custom-font { 
        font-size: 1.2rem; /* Adjust font size for tablets */
        padding: 5px; /* Add padding around the content */
        font-weight: 400 !important;        

    }
}

/* Responsive Adjustments for Mobile and Small Devices */
@media (max-width: 768px) {
    .headline {
        max-width: 92%;
        font-size: clamp(20px, 4.2vw, 16px);
        line-height: 1.4;
    }
    .section-2 {
        height: auto; /* Remove fixed height */
        padding: 25px 0px; /* Adjust padding for smaller screens */

    }

    .custom-font {
        padding-top: 20px; /* Ensure proper spacing on mobile */
        font-size: 1.2rem !important; /* Adjust font size for smaller screens */
        line-height: 1.4; /* Adjust line height for readability */
        max-width: 150%; /* Ensure the text doesn't stretch too wide */
        font-weight: 400 !important;        


    }
}

/* Additional adjustments for extra small screens (phones, foldable devices) */
@media (max-width: 480px) {
    .custom-font {
        padding-top: 30px;
        font-size: 1rem; /* Smaller font for very small screens */
        padding: 5px; /* Further reduce padding */
        line-height: 1.3; /* Adjust line height */
        max-width: 100%; /* Allow text to span full width on very small screens */
        
    }
}

/* Adjustments for Foldable Devices (Phones with foldable screens) */
@media (max-width: 600px) and (orientation: landscape) {
    .section-2 {
        padding: 20px 10px; /* Adjust padding for foldable landscape screens */
    }

    .custom-font {
        font-size: 1rem; /* Adjust font size for foldable landscape mode */
        padding: 10px; /* Reduce padding for landscape mode */
        text-align: center; /* Center the text in landscape mode */
        padding-top: 20px;

    }
}


/* how it works section */
.open-account-btn {
    display: block;
    width: fit-content;  
    background-color: #EB6208 !important;
    color: #fff !important;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 25px;
    letter-spacing: 0px;
    font-size: 16px;
    font-family: "Open sans", Helvetica, Arial, sans-serif;
    font-weight: 600;
    padding: 10px 38px;
    /* margin-left: 38%; */
    text-decoration: none;
    border: 2px solid #EB6208 !important;

}

.open-account-btn:hover {
    background-color: #fff !important;
    color: #EB6208 !important;
    border:2px solid #EB6208 !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; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .faq-image {
        max-width: 100%;
        height: auto;
    }
}

/* Image styling for better alignment and size control */
.bonus-image {
    max-width: 85%;
    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: 'Open Sans', Helvetica, Arial, sans-serif;
    color: #003a79 !important;
    font-weight: 700;
    padding-bottom: 20px;
    font-size: 33px;
    padding-top:0px !important;
    margin-top: 0px !important;
}

.added-bonus-section strong{
    color: #2dc2f1;
}

.added-bonus-section p{
    padding-left: 0px;
    font-size: 18px;
    color: #3b3b3b!important;
    text-align: left !important;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 500;
}

.added-bonus-section .special-note{
    font-size: 0.85em;
    color: #3b3b3b;
    text-align: left; 
    padding: 0 0px 20px 0px;
    line-height: 1.3em;
}

/* Responsive handling */
@media (max-width: 768px) {
    .added-bonus-section {
        padding: 0px 10px 25px 10px !important;
    }

    .added-bonus-section h2{
        padding-top: 20px !important;
        font-size: 32px;
    }

    .added-bonus-section p {
        text-align: center !important;
        padding: 0px 0px !important;
    }

    .added-bonus-section .col-md-6 {
        margin-bottom: 20px;
    }
    
    .open-account-btn {
        margin-top: 20px;
    }

    .bonus-image {
        max-width: 90%; 
    }

    .added-bonus-section .special-note{
        font-size: 0.7em !important;
        color: #3b3b3b;
        padding: 0 0px !important;
        text-align: center !important; 
    }

    .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;
  }
}



/* FAQ Section Styling */
.faq-section h2 {
    font-family: "Open sans", sans-serif;
    font-size: 2.5rem;
    color: #003a79;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.3em;
    text-align: left;    
}

.faq-section .faq-h2 {
    color: #003a79;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.3em;
    font-family: "Open sans", sans-serif;
    font-size: 33px;
}

.faq-section h6{
     padding: 0 150px !important;
     line-height: 1.5em;
     font-weight: 500;
     font-size: 18px;
}

/* 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;
    /* transition: background-color 0.3s ease;  */
}

/* Change background color when accordion is opened */
.accordion-item .accordion-toggle:not(.collapsed) {
    background-color: #ffffff; /* White background when opened */
    /* transition: background-color 0.3s ease, color 0.3s ease;  */
}

/* Change the entire accordion item to white when open */
.accordion-item:has(.accordion-collapse.show) {
    background-color: #ffffff;
    /* transition: background-color 0.3s ease; */
}

/* Active accordion item styling with faster response */
.accordion-item.open {
    background-color: #ffffff;
    /* transition: background-color 0.2s ease; */
}


/* Adjust the padding and margin of the accordion header */
.accordion-header {
    padding: 0;
    margin: 0;
    font-size: 1.2rem;
}

/* Accordion toggle (button) styling */
.accordion-toggle {
    background-color: #FFFFFF;
    border: none;
    font-family: "Open sans", sans-serif;
    font-size: 18px;
    color: #003a79;
    font-weight: 600;
    width: 100%;
    text-align: left;
    padding: 20px 50px 20px 25px; 
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    line-height: 1.5em;
    margin-right: 20%;
}


.accordion-body {
    padding: 0px 25px;
    padding-bottom: 20px;
    font-family: "Open sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #3b3b3b;
    margin: 0;
    background-color: #ffffff;
    line-height: 1.5em;
}

.accordion-toggle:after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%) rotate(45deg);
    border-right: 2px solid #EB6208;  
    border-bottom: 2px solid #EB6208; 
    transition: transform 0.2s ease;
}


.accordion-toggle:not(.collapsed):after {
    transform: translateY(-50%) rotate(-135deg);
}

.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;
}


/* Contact Section Styling */
.contact-section {
    padding: 60px 0; /* General padding */
    
}

.contact-section h2 {
    font-family: 'Open sans', sans-serif;
    color: #003a79;
    font-weight: 700;
    font-size: 32px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0 0 8px;
    
}

.contact-section .col-lg-12:first-of-type p {
  margin-top: 0px;            /* kill the paragraph’s default top margin */
}

.contact-section p {
    padding-right: 50px; /* Adjust for larger screens */
    font-size: 17px;
    color: #3b3b3b;
    font-family: 'Open sans', Helvetica, Arial, sans-serif;
}

.offer-text p {
    font-size: 14px;
    color: #3b3b3b;
    font-weight: 400;
    text-align: justify;
    padding: auto;
   /* margin-left: 5%;
   margin-right: 5%; */
}

.offer-text b{
    color: #3b3b3b;
    font-weight: semi-bold;
}

/* Links inside the contact section */
.contact-section a {
    color: #003a79;
    text-decoration: none;
    font-weight: bold;

}

.contact-section a:hover {
    text-decoration: underline;
    
}

.contact-section a.learnmore{
     display: block;
    width: fit-content;  
    background-color: #EB6208 !important;
    color: #fff !important;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 25px;
    letter-spacing: 0px;
    font-size: 16px;
    font-family: "Open sans", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 38px;
    /* margin-left: 38%; */
    text-decoration: none;
    border: 2px solid #EB6208 !important;

}

.contact-section a.learnmore:hover{
    text-decoration: none;
    background-color: #fff !important;
    border: 2px solid #EB6208 !important;
    color: #EB6208 !important;
}

.contact-section h6 {
  color: #003a79;   
  text-underline-offset: 3px;
  font-weight: 700;
  font-size: 17px;
  padding-top: 5px;
}

.text-center{
    font-size: 17px;
}

/* Responsive Row Styling */
.contact-section .row {
    justify-content: space-around; /* Evenly space the columns */
    margin-top: -10px; /* Adjust spacing */
}

.contact-section .row .col-md-4 {
    text-align: center;
    margin-bottom: 20px; /* Consistent space between icons */
}

/* Consistent Image Sizes and Spacing */
.contact-section .img-custom {
    width: 75px; /* Set uniform width */
    height: 75px; /* Set uniform height */
    object-fit: contain; /* Maintain image aspect ratio */
    margin: 10px auto; /* Center the image */
}

/* Adjustments for Medium and Large Screens */
@media (min-width: 1024px) {
    .contact-section p {
        padding-right: 0px; /* Adjust padding for large screens */
        font-size: 17px;
        text-align: left;
    
    } 

    .contact-section h2 {
        font-size: 30px;
        /* Add more space for larger screens */
    }

    .contact-section .img-custom {
        width: 70px;
        height: 70px !important;
    }
    .offer-text p{
        font-size: 14px;
        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 10px !important;
        padding: 0 0px !important;
    }
    .accordion-body{
        font-size: 16px;
        
    }
    .accordion-toggle{
        font-size: 16px;
    }

    .faq-section .faq-h2 {
        font-size: 32px;
    }

    .contact-section {
        padding: 50px 0;
        text-align: center; /* Center all content */
    }

    .contact-section .img-custom {
        width: 70px !important;
         height: 70px !important;
        margin: 0 auto; /* Ensure image is centered */
    }

    .contact-section h6 {
        font-size: 16px;
        text-align: center; /* Center align all text */
        padding: 0 0px; /* Add padding for smaller screens */
    }

    .contact-section p{
        padding:  0 0 10px 0px !important;
        text-align: center !important;
    }
    
    .contact-section h2 {
        font-size: 32px !important;
        text-align: center; /* Center heading */
        
    }

    /* Center row content on small screens */
    .contact-section .row {
        display: flex;
        justify-content: center; /* Horizontally center items */
        align-items: center; /* Vertically center items */
        flex-wrap: wrap; /* Allow items to wrap on small screens */
    }

    .contact-section .row .col-md-12 {
        margin-bottom: 0px; /* Space between items */
        display: flex;
        flex-direction: column; /* Stack icon and text vertically */
        align-items: center; /* Center image and text */
        padding-top:0px !important;
    }
   

    .offer-text p{
        text-align: justify !important;
        font-size: 12px !important;
        padding: 0 10px !important;
    }

    .contact-section .spanish-text{
        padding: 10px 20px 10px 20px !important;
        line-height: 1.2 !important;
    }
}

/* Adjustments for Extra-Small Screens (e.g., foldable phones) */
@media (max-width: 480px) {


    .contact-section h2 {
        padding-bottom: 10px;
        font-size: 24px;
        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: 40px;
    padding-bottom: 0;
    font-size: 25px;
    color: #5f625d;
    text-align: center;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    background-color: #003a79;
    color: #ffffff;
    padding: 40px 24px;
  }
  
  /* Centered content block */
  .footer-inner {
    max-width: 1200px;          /* controls how far right the NCUA text goes */
    margin: 0 auto;             /* centers footer content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  
  /* Left disclaimer text */
  .footer-left {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.6;
  }
  
  /* Right NCUA text */
  .footer-right {
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
  }
  
  /* Footer links */
  .site-footer a {
    color: #ffffff;
    text-decoration: underline;
  }
  
  /* =====================================================
     MOBILE
  ===================================================== */
  
  @media (max-width: 768px) {
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      text-align: justify;
    }
  
    .footer-left {
      font-size: 0.85rem;
    }
  
    .footer-right {
      font-size: 0.75rem;
      white-space: normal;
      text-align: center;
    }
  }
  