@font-face {
    font-family: 'EB Garamond';
    src: url('../../../assets/fonts/ebgaramond-italic-variablefont_wght-webfont.woff2') format('woff2'),
        url('../../../assets/fonts/ebgaramond-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: system-ui, -apple-system, sans-serif; */
    font-family: 'Inter Tight', sans-serif;
}

.nav-dropdown {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    padding: 40px 0;
    transition: top 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-dropdown.active {
    top: 76px;
    /* Height of your navbar */
}

.dropdown-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown-indicator.active {
    transform: rotate(180deg);
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-content {
    max-width: 1200px;
    width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.dropdown-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dropdown-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.dropdown-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.dropdown-toggle {
    color: #111111;
}

.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 12px 0px;
}

.logo {
    width: 150px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}


.open-account {
    background: #00A0FA;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.open-account-2 {
    border: 1px solid #00A0FA;
    color: #00A0FA;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: 0.3s;
    padding: 1rem;
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu .nav-item:last-child {
    border-bottom: none;
}

.mobile-menu .nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.hero {
    min-height: 100vh;
    padding-top: 76px;
    display: flex;
    align-items: center;
    background-image: url('../../../assets/img/bg/Line.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-business-hero {
    min-height: 75vh;
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 15vh 20px 20px 20px;
    display: flex;
    align-items: center;
    background-image: url('../../../assets/img/mobile/bgwhite.svg');
    background-color: #00A0FA;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
}

.hero-management {
    min-height: 75vh;
    padding-bottom: 20px;
    margin: 15vh 20px 20px 20px;
    display: flex;
    align-items: center;
    background-image: url('../../../assets/img/mobile/bgwhite.svg');
    background-color: #FAFAFA;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
}

.hero-housing {
    min-height: 100vh;
    padding-top: 76px; /* Height of navbar */
    display: flex;
    align-items: center;
    background-image: url('../../../../assets/img/housing/homebackgroud.png') !important;
    background-size: cover;
    background-position: center;
    /* background-position: -100% center; */
    background-repeat: no-repeat;
}

.hero-housing h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-housing h1 span {
    color: #00A0FA;
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

.hero-housing p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-content {
    padding: 2rem 5%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 span {
    color: #00A0FA;
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

.hero p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.license-badge {
    max-width: 300px;
    margin-top: 3rem;
    display: block;
}

.hero-management h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-management h1 span {
    color: #00A0FA;
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

.hero-management p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-business-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.hero-business-hero h1 span {
    color: #00A0FA;
    font-family: 'EB Garamond', serif;
    font-style: italic;
}

.hero-business-hero p {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.license-badge {
    max-width: 300px;
    margin-top: 2rem;
}

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 1000;
    font-family: 'Inter Tight', sans-serif;
}

.chat-button {
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;
    background: #00A0FA;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.chat-button:hover {
    background: #0080D8;
}

.chat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
    animation: slideUp 0.3s ease;
}

.chat-popup.active {
    display: block;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header span {
    font-size: 14px;
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.chat-options {
    padding: 10px;
}

.chat-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    background: #FAFAFA;
    color: #333;
    /* border: 1px solid #eee; */
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background-color 0.3s;
}

.chat-option:hover {
    background-color: #f8f8f8;
}

.chat-icon {
    color: #00A0FA;
}

.arrow {
    margin-left: auto;
    color: #666;

}

@media (max-width: 1200px) {
    .desktop-open-account {
        display: none;
    }


}


@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        text-align: center;
    }

    .hero-business-hero h1 {
        font-size: 2rem;
    }

    .hero-business-hero {
        text-align: center;
    }

    .hero-management h1 {
        font-size: 2rem;
    }

    .hero-management {
        text-align: center;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New styles */
.nav-dropdown .dropdown-header {
    margin-bottom: 2rem;
}

.nav-dropdown .dropdown-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.nav-dropdown .dropdown-header .highlight {
    color: #00A0FA;
}

.dropdown-grid {

    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 6rem;
    margin-top: 2rem;
}

.dropdown-accounts {
    border-top: 1px solid #ECECEC;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.account-item {
    padding: 1.5rem 0.5rem;
    /* padding: 1.5rem; */
    /* background: #f8f9fa; */
    /* border-radius: 8px; */
    transition: all 0.3s ease;
}

.account-item:hover {
    background: #f1f3f5;
    transform: translateY(-2px);
}

.account-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.account-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: #00A0FA;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    padding: 10px;
    border: 1px solid #00A0FA;
    border-radius: 100px;
}

.explore-link:hover {
    text-decoration: underline;
}

.app-preview {
    width: 65%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-dropdown {
        display: none;
    }

    .nav-dropdown .dropdown-header h2 {
        font-size: 1.3rem;
    }
}

.headerActive {
    /* color: #00A0FA !important; */
    border-bottom: 1px solid #00A0FA !important;
}

.subHeaderActive {
    /* color: #00A0FA !important;  */
}

/* Success message */
#successMessage {
    color: green;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}