@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #002C49;
    padding: 10px 90px 5px;
    gap: 80px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.shedhub-logo {
    width: 75px;
}

.header-user {
    width: 35px;
}

.lounge {
    width: 55px;
}

.lounge img {
    width: 100%;
    height: auto;
}

.header-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 30px;
    padding-bottom: 5px;
}

.header-navigation a {
    text-decoration: none;
    color: #FFFFFF;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 17px;
    text-transform: uppercase;
}

.jmoney-home-page-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px 0;
}

.jmoney-cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.jmoney-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    gap: 26px;
    border-radius: 50px;
    border: 5px solid #FFA425;
    width: 400px;
}

.jmoney-logo {
    width: 100px;
    position: relative;
}

.upgrade-logo {
    width: 160px
}

.powered-by-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.powered-by-container h3 {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #00243C;
}

.jmoney-card h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #00243C;
    text-align: center;
    width: 95%;
}

.jmoney-card h6 {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #00243C;
    text-align: center;
    width: 95%;
}

.apply-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #FFA424;
    border-radius: 20px;
    width: 90%;
    text-align: center;
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1;
    color: #00243C;
}

.apply-btn:hover {
    background: #FFB24D;
}

.affiliate-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
}

.affiliate-contents {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
}

.affiliate-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 40%;
}

.affiliate-description img {
    width: 100px;
}

.affiliate-description h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 54px;
    color: #00243C;
}

.affiliate-description div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px
}

.affiliate-description h2 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #00243C;
}

.affiliate-description h3 {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #00243C;
}

.affiliate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 40%;
}

.affiliate-form form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    border-radius: 24px;
    border: 3px solid #FFA425;
    width: 80%;
    padding: 30px 40px;
}

.affiliate-form-inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.affiliate-form-inputs input {
    width: 100%;
    padding: 8px 5px;
    border: none;
    border-bottom: 3px solid #002C494D;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #002C49;
    outline: none;
    transition: 0.3s ease;
}

.affiliate-form-inputs input::placeholder {
    color: #002C494D;
}

.affiliate-form-inputs input:focus {
    border-bottom: 3px solid #002C49;
    transition: 0.3s ease;
}

.submit-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px 30px;
    text-align: center;
    background: #FFA425;
    border: none;
    outline: none;
    border-radius: 16px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.apply-a-loan-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    gap: 30px;
    margin-bottom: 350px; /* Add space at bottom for dropdown */
}

.apply-a-loan-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.apply-a-loan-header img {
    width: 100px;
}

.apply-a-loan-powered-by {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.apply-a-loan-powered-by h2 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #00243C;
    text-align: center;
}

.apply-a-loan-powered-by img {
    width: 150px;
}

.apply-a-loan-header h3 {
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #00243C;
    width: 80%;
    text-align: center;
}

.apply-a-loan-header h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #00243C;
    text-align: center;
}

.apply-a-loan-state-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.apply-a-loan-state {
    display: flex;
    flex-direction: column;
    align-items: center; /* Changed to center */
    justify-content: center;
    width: 100%;
    position: relative; /* Added for dropdown positioning */
    z-index: 10; /* Ensure dropdown appears above other content */
}

.apply-a-loan-state h2 {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #FFA425;
    border: 2px solid #FFA425;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 200px;
}

.apply-a-loan-state h2 i {
    font-size: 14px;
    color: #FFFFFF80;
    transition: 0.3s ease;
}

.apply-a-loan-state h2:hover i {
    color: #FFFFFF;
    transition: 0.3s ease;
}

.apply-loan-state-lists {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 10px;
    background: #FFFFFF;
    width: 230px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-height: 0;
    overflow: auto; /* Allow scrolling when content exceeds max-height */
    transition: max-height 0.3s ease;
    position: absolute; /* Changed to absolute positioning */
    top: 100%; /* Position below the trigger button */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center adjustment */
    z-index: 1000; /* High z-index to appear above everything */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for better visibility */
}

/* Hide scrollbar but keep functionality */
.apply-loan-state-lists::-webkit-scrollbar {
    display: none;
}

.apply-loan-state-lists.show {
    max-height: 300px; /* Reduced height to prevent overflow */
    border: 2px solid #FFA425;
    padding: 0 0 10px;
}

.apply-a-loan-state h2.active i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.apply-loan-state-lists h3 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #002C49;
    cursor: pointer;
    width: 200px;
    padding: 10px 15px;
}

.apply-loan-state-lists h3:hover {
    background: #ffa425c1;
    width: 200px;
    transition: 0.3s ease;
}

.apply-a-loan-locations-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    position: relative; /* Added for proper stacking context */
    z-index: 1; /* Lower z-index than dropdown */
}

.location-list-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    width: 190px;
    border-radius: 20px;
    border: 2px solid #FFA425;
}

.location-list-card img {
    /*width: 20%;*/
    width: 50px;
    height: auto;
}

.apply-a-loan-locations-list h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #002C49;
    text-align: center;
    width: 90%;
}

.location-list-card h1 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #002C49;
    text-align: center;
}

.apply-for-a-loan-btn {
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    background: #FFA425;
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}

.apply-for-a-loan-btn:hover {
    background: #FFB24D;
}

.menuBtn,
.header-navigation-mobile {
    display: none;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #002C49;
    border-top: 8px solid #ffa424;
}

.footer-contents {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 100px 0;
    width: 90%;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-shedhub-logo {
    width: 85px;
}

.footer-bbb-logo {
    width: 120px;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.footer-nav-links a {
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
}

.footer-nav-links a:hover {
    text-decoration: underline;
}

.footer-socials-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 130px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
    gap: 10px;
    margin-right: 30px;
}

.footer-socials a img {
    width: 20px;
}

.footer-socials a:hover {
    text-decoration: underline;
}

.get-the-app-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.footer-socials-container h1,
.get-the-app-container h1 {
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    line-height: 30px;
    color: #FFFFFF;
    font-weight: 600;
}

.get-the-app {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.get-the-app img {
    width: 120px;
}

.footer-copyrights {
    background: #00243c;
    width: 100%;
}

.footer-copyrights h1 {
    padding: 20px;
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    line-height: 23px;
    color: #FFFFFF;
    font-weight: 400;
    text-align: center;
}

.thank-you-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; 
    gap: 50px;
}

.thank-you-page img {
    width: 100px;
}

.thank-you-page p {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #265A81;
    width: 50%;
    font-family: "Barlow", sans-serif;
}

.thank-you-page a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #265A81;
    border: 2px solid #265A81;
    padding: 10px 20px 10px 15px;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    gap: 10px;
    font-family: "Barlow", sans-serif;
}

.thank-you-page a:hover {
    border: 2px solid #265A81;
    background: none;
    color: #265A81;
}

.thank-you-page a i {
    font-size: 12px;
}

@media screen and (max-width: 1024px) {
    .header {
        padding: 10px 30px 5px;
        gap: 40px;
    }

    .header-navigation {
        gap: 20px;
    }
    
}

@media screen and (max-width: 990px) {
    .header-navigation {
        display: none;
    }

    .header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menuBtn {
        display: flex;
        font-size: 40px;
        color: #FFFFFF;
        order: 3;
        align-items: center;
    }

    .header-navigation-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f5f5f5;
        z-index: 1000;
        padding: 10px 30px;
        box-sizing: border-box;

        /* Animation properties - starts collapsed */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.5s ease;
        opacity: 0;
    }

    .header-navigation-mobile.open {
        max-height: 500px;
        opacity: 1;
        padding: 20px 30px;
    }

    .a-shedhub-user {
        order: 1;
    }

    .a-shedhub-logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }

    .header-navigation-mobile a {
        color: #444;
        text-decoration: none;
        width: 95%;
        font-family: "Barlow", sans-serif;
        font-weight: 400;
        font-size: 15px;
        line-height: 12px;
        text-transform: uppercase;
        padding: 12px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-navigation-mobile a i {
        fill: #444;
        font-size: 12px;
    }

    .header-nav-hr {
        border: none;
        border-bottom: 1px solid rgba(0,0,0,.1);
        width: 100%;
    }

    .lounge-mobile img {
        width: 60px;
        height: auto;
    }

    .header-navigation-mobile a.mobile-nav-last {
        border-bottom: none;
    }
    
    .jmoney-logo {
        width: 80px;
    }
    
    .powered-by-container h3 {
        font-size: 12px;
    }
    
    .upgrade-logo {
        width: 120px;
    }
    
    .jmoney-card h1 {
        font-size: 25px;
    }
    
    .jmoney-card h6 {
        font-size: 14px;
    }
    
    .apply-btn {
        padding: 15px;
        font-size: 20px;
        width: 90%;
    }
    
    .jmoney-cards {
        gap: 30px;
    }
    
    .jmoney-card {
        gap: 20px;
    }
    
    .jmoney-home-page-container {
        padding: 30px 0;
    }
    
    .apply-a-loan-container {
        padding: 30px 0;
        gap: 20px;
    }
    
    .apply-a-loan-header {
        gap: 20px;
    }
    
    .apply-a-loan-header img {
        width: 80px;
    }
    
    .apply-a-loan-powered-by img {
        width: 120px;
    }
    
    .apply-a-loan-powered-by h2 {
        font-size: 14px;
    }
    
    .apply-a-loan-header h3 {
        font-size: 18px;
    }
    
    .apply-a-loan-header h1 {
        font-size: 20px;
    }
    
    .success-message h2 {
        font-size: 20px;
    }
    
    .success-message p {
        font-size: 15px;
    }
    
    .apply-a-loan-locations-list h1 {
        font-size: 18px;
    }
}


@media screen and (max-width: 768px) {
    .jmoney-card {
        width: 70%;
        padding: 30px;
    }

    /*.apply-btn {*/
    /*    width: 80%;*/
    /*}*/

    .affiliate-contents {
        flex-direction: column;
    }

    .affiliate-description,
    .affiliate-form {
        width: 90%;
    }

    .affiliate-description h1 {
        font-size: 32px;
    }

    .affiliate-description h2,
    .affiliate-description h3 {
        font-size: 18px;
    }

    .affiliate-form-inputs input {
        font-size: 14px;
    }

    .affiliate-form form {
        gap: 50px;
    }

    .submit-btn {
        font-size: 14px;
    }

    .footer-contents {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logos {
        flex-direction: row;
        gap: 40px;
    }
    
    .get-the-app {
        flex-direction: row;
        gap: 10px;
    }
    
    .thank-you-page p {
        font-size: 18px;
    }
    
    .thank-you-page a {
        font-size: 14px;
    }
    
    .thank-you-page a i {
        font-size: 10px;
    }
}


