@font-face {
  font-family: "Century Gothic";
  src:
    local("Century Gothic"),
    local("CenturyGothic"),
    url("./fonts/centurygothic.ttf") format("woff"); 
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Century Gothic";
  src:
    local("Century Gothic Bold"),
    local("CenturyGothic-Bold"),
    url("./fonts/centurygothic_bold.woff") format("woff"); 
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Logo Styling */
.logo {
    max-width: 300px; /* 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: 300px; /* Size for medium devices */
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .logo {
        max-width: 300px; /* Size for large devices */
    }
}

@media (min-width: 1200px) {
    .logo {
        max-width: 300px; /* Size for extra-large devices */
    }
}


body {
    font-family: 'Century Gothic', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 300px
}

: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 */
}



/* Hero wrapper */
.main-section {
  width: 100vw;                 /* or 100% if it spans the page */
  aspect-ratio: 16 / 9;        /* use your hero image’s real aspect */
  height: auto;                /* computed from width × aspect */
  max-height: 65dvh;           /* never taller than 65% of viewport height */
  min-height: 420px;           /* but don’t get too short on small phones */
  background: linear-gradient(80deg, #007934 20%, rgba(255, 255, 255, 0) 59%),url(./images/HeroImage.jpg);
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, 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 */
.text-container {
    position: relative;
    z-index: 3; /* Ensure text stays above the mask */
    color: white;
    max-width: 40%;
    padding: 50px 30px; /* Add padding: 50px for top/bottom and 30px for left/right */
    text-align: center; /* Align text to the center */
    font-size: 2rem;
    line-height: 1.4;
    align-self: center; /* Align the text at the bottom of the section */
    padding-bottom: 200px; /* Add some space from the bottom */
}

/* Text Styling for H1 */
.text-container a {
    font-family: 'Century Gothic', sans-serif;
    font-size: 45px;
    font-weight: 500;
    line-height: 1.2;
    padding-left: 20px; /* Add padding to the left */
    padding-right: 20px; /* Add padding to the right */
}

.text-container .headline{
    display: block;
    text-align: center;
}

.main-section .headline::after {
  margin: 14px auto 0px;
}


.headline {
  font-weight: 400;
  color: #000;                 
  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:#FF7900;
}

.headline sup {
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
  margin-left: 2px;
}

/* Large Screen Adjustments */
@media (min-width: 1600px) {
  .main-section {
    /* keep BOTH layers intact; no shorthand here */
    background-size: auto, cover;                 /* gradient, image */
    background-position: left top, 98% 15%;  /* align like the reference */

    /* cap height so it never feels huge on ultrawide screens */
    max-height: 70dvh;                            /* better than vh on mobile desktops */
  }

  /* Set a slightly “flatter” aspect on ultrawide (less tall) */
  .main-section::before {
    padding-top: 50%;   /* ~2:1 visual ratio on very wide screens (tighter than 16:9) */
  }

  .text-container {
    max-width: 35%;
    font-size: 2rem;
    padding: 50px 40px;
    margin-left: 100px;
  }

  .text-container a {
    font-size: 45px;

  }
}


/* Apply changes for medium and small screens */
@media (max-width: 1200px) {
  .main-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    /* comfortable height; not too tall */
    height: 60dvh;                 /* dynamic viewport height works better on mobile */
    min-height: 420px;
    background: none;
    /* overlay first, then photo — DO NOT use background: shorthand later */
    background-image:
      linear-gradient(100deg,
        rgba(0,121,52,0.95) 0%,
        rgba(0,121,52,0.85) 0%,
        rgba(0,121,52,0.60) 100%,
        rgba(0,121,52,0) 95%),
      url(./images/HeroImage.jpg);
    background-size: auto, cover;          /* gradient, image */
    background-repeat: no-repeat, no-repeat;
    background-position: left top, 78% center; /* push the car further RIGHT */
    display: flex;
    align-items: center;
    justify-content: center;               /* center the text block vertically */
    overflow: hidden;

    }


    .text-container {
        max-width: 100%;
        padding: 40px;
        font-size: 1rem;
        line-height: 1.5;
        padding-bottom: 20px;
        text-align: center; /* Ensures the text stays centered */
    }
    
    .text-container a {
    
       
        white-space: normal; /* Allow text wrapping */
        max-width: 100%; /* Limit the text width to allow wrapping */
        display: inline-block; /* Ensure the text is centered properly */
        text-align: center; /* Center align the text */
    }
}

/* Laptop-only tweaks: show more image height + nudge headline right */
@media (min-width: 1200px) and (max-width: 1599px) {
  .main-section {
    /* keep your layered backgrounds intact */
    background-size: auto, cover;
    background-position: left top, 78% 0%;  /* top-align image; a touch to the right */
    
    /* taller hero on laptops */
    height: 60dvh;            /* was lower; adjust to taste (65–75vh works well) */
    min-height: 660px;       /* safety floor so it doesn’t collapse on short screens */
    display: flex;
    align-items: center;     /* vertically center text */
  }

  /* push the text block slightly right and keep it readable */
  .text-container {
    margin-left: 6%;         /* nudge to the right (try 8% if you want more) */
    max-width: 48%;          /* prevents super-long lines */
    text-align: left;        /* optional; keep as you prefer */
    font-size: 45px;
  }
}


@media (max-width: 768px) {
    .main-section {
        width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    /* comfortable height; not too tall */
    height: 50dvh;                 /* dynamic viewport height works better on mobile */
    min-height: 420px;
    background: none;
    /* overlay first, then photo — DO NOT use background: shorthand later */
    background-image:
      linear-gradient(100deg,
        rgba(0,121,52,0.95) 0%,
        rgba(0,121,52,0.85) 0%,
        rgba(0,121,52,0.70) 100%,
        rgba(0,121,52,0) 95%),
      url(./images/HeroImage.jpg);
    background-size: auto, cover;          /* gradient, image */
    background-repeat: no-repeat, no-repeat;
    background-position: left top, 78% center; /* push the car further RIGHT */
    display: flex;
    align-items: center;
    justify-content: center;               /* center the text block vertically */
    overflow: hidden;

    }



    .text-container {
        width: 100%;
        padding: 30px;
        font-size: 1.6rem; /* Slightly smaller text */
        line-height: 1.2;
        padding-bottom: 20px;
    }

    .text-container a {
        font-size: 40px; /* Adjust heading size for smaller screens */
        white-space: normal; /* Ensure the text fits within 3 lines */
    }
}

@media (max-width: 480px) {
    .text-container {
        padding: 15px;
        font-size: 1.3rem;
        padding-bottom: 20px;
    }

    .text-container a {
        font-size: 32px;
    }
}



.section-2 {
  padding: 60px 0 0 0;            
}


/* 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: 20px; /* Larger font for big screens */
        line-height: 1.6; /* Adjust line height for readability */
        padding-top: 20px;
    }
}

/* 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: 20px; /* Adjust font size for laptops */
        padding: 5px; /* Add padding around the content */
    }
}

/* Responsive Adjustments for Tablets */
@media (max-width: 992px) {
    .section-2 {
        padding: 10px 10px; /* Reduce padding for tablets */
    }

    .custom-font { 
        font-size: 1.2rem; /* Adjust font size for tablets */
        padding: 5px; /* Add padding around the content */
    }
}

/* 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 */

    }
}

/* 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: 1.4rem; /* 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; 
    margin: 0 auto; 
    background-color: #92D400!important;
    color: #ffffff !important;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 25px;
    letter-spacing: 0px;
    font-size: 14px;
    font-family: "Century Gothic", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 28px;
    text-decoration: none;
}

.open-account-btn:hover {
    background-color: #ffffff;
    color: #fff !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: 'Century Gothic';
    color: #007934 !important;
    font-weight: 600;
    padding-bottom: 10px;
    font-size: 36px;
    padding-top:60px !important;
    margin-top: 0px !important;
    
}

.added-bonus-section strong{
    color: #007934;
}

.added-bonus-section p{
    padding-left: 0px;
    font-size: 17px;
    color: #000;
    text-align: left !important;

}

.bonus-list{
    margin-left: 20px;
    text-align: left !important;
    font-size: 17px;
    line-height: 1.4em;


}
.bonus-list li::marker{
    color:#FF7900;
    
}

.added-bonus-section .special-note{
    font-size: 0.7em;
     color: #676767;
      text-align: left; 
      padding: 0 70px 45px 35px;
}

/* Responsive handling */
@media (max-width: 768px) {
    .added-bonus-section h2{
        padding-top: 20px !important;
        font-size: 32px;
    }

    .added-bonus-section p {
        text-align: center !important;
        padding: 0px !important;
    }

    .added-bonus-section .col-md-6 {
        margin-bottom: 20px;
    }
    
    .open-account-btn {
        margin-top: 20px;
    }

    .bonus-image {
        max-width: 90%; /* On smaller screens, make the image full-width */
    }

    .added-bonus-section .special-note{
        font-size: 0.7em !important;
        color: #676767;
        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;                 /* stack the two cols vertically */
    flex-direction: column;
    align-items: center;           /* <-- centers the columns */
  }

  /* 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: 16px;
  }
  /* 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: left;
  }
}



/* FAQ Section Styling */
.faq-section h2 {
    font-family: "Century Gothic", sans-serif;
    font-size: 2.5rem;
    color: #007934;
    font-weight: 700;
    margin-bottom: 0px;
    line-height: 1.3em;
    text-align: left;    
}

.faq-section .faq-h2 {
    color: #007934;
    font-weight: 600;
    margin-bottom: 0px;
    line-height: 1.3em;
    font-family: "Century Gothic", sans-serif;
    font-size: 36px;
}

/* Accordion General Styling */
.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    background-color: #f3f4f4;
    padding: 5px;
    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: #F3F4F4;
    border: none;
    font-family: "Century Gothic", sans-serif;
    font-size: 18px;
    color: #007934;
    font-weight: 600;
    width: 100%;
    text-align: left;
    padding: 20px 50px 20px 25px; /* Increased padding-right for spacing */
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    /* transition: background-color 0.3s ease; */
    line-height: 1.5em;
    margin-right: 20%;
}

/* Accordion body content */
.accordion-body {
    padding: 0px 25px;
    padding-bottom: 10px;
    font-family: "Century Gothic", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0;
    background-color: #ffffff;
    line-height: 1.5em;
}

/* Default + icon for closed state */
.accordion-toggle:after {
    content: "\2b";
    font-size: 1.8rem;
    position: absolute;
    right: 20px; /* Adjusted for more space */
    color: #ffffff;
    background-color: #92D400;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    /* transition: all 0.3s ease; */
    font-weight: 150;
}

/* Remove the + symbol when the item is opened */
.accordion-toggle:not(.collapsed):after {
    content: "";
    background-color: transparent;
}


/* Image styling */
.image-container img {
    max-width: 80%;
    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: 'Century Gothic', serif;
    color: #007934;
    font-weight: 600;
    font-size: 36px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0 0 8px;
    
}

.contact-section .col-lg-6:first-of-type p {
  margin-top: 0;            /* kill the paragraph’s default top margin */
}

.contact-section p {
    padding-right: 50px; /* Adjust for larger screens */
    font-size: 17px;
    color: #000;
    font-family: 'Century Gothic';
}

.offer-text p {
    font-size: 10px;
    color: #000;
    font-weight: 200;
    text-align: justify;
    padding: auto;
   margin-left: 5%;
   margin-right: 5%;
}

.offer-text b{
    color: #000;
    font-weight: semi-bold;
}

/* Links inside the contact section */
.contact-section a {
    color: #007934;
    text-decoration: none;
    font-weight: bold;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-section a.learnmore:hover{
    text-decoration: none;
}

.contact-section h6 {
  color: #007934;   /* match brand green */
  text-underline-offset: 3px;
  font-weight: 700;
  
}

.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: 18px;
        text-align: left;
    
    } 

    .contact-section h2 {
        font-size: 32px;
        /* 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;
    }
    .accordion-body{
        font-size: 15px;
        
    }
    .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 35px !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-4 {
        margin-bottom: 20px; /* Space between items */
        display: flex;
        flex-direction: column; /* Stack icon and text vertically */
        align-items: center; /* Center image and text */
    }
   

    .offer-text p{
        text-align: justify !important;
        font-size: 12px !important;
        padding: 0 10px !important;
    }

    .contact-section .spanish-text{
        padding: 0 50px 0 50px !important;
        line-height: 1.2 !important;
    }
}

/* Adjustments for Extra-Small Screens (e.g., foldable phones) */
@media (max-width: 480px) {
    .contact-section p {
        font-size: 16px; 
        text-align: center;
    }

    .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 base */
.site-footer {
  background-color: #007934;
  color: #fff;
  padding: 20px;
}

/* Single row, left text + right logo */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

/* Typography tweaks */
.footer-left p {
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Logo sizing (looks like your reference) */
.footer-logo {
  display: block;
  max-width: 100px;   /* adjust 120–150px to taste */
  height: auto;
}

/* Responsive: stack on small screens, keep logo to the right edge */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-right{
    align-self: center;
  }
  .footer-left{
    text-align: center;
  }
}
