/* header.css - Place this file in a /css folder */
/* Base Font Styles */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Apply Montserrat to all common text elements */
p, a, span, li, label, input, textarea, button, div {
    font-family: 'Montserrat', sans-serif;
}

/* Header font for all heading elements */
h1, h2, h3, h4, h5, h6,
.header-font {
    font-family: "Inter", sans-serif;
}

/* Ensure header and footer elements use correct fonts */
header,
header *,
footer,
footer * {
    font-family: 'Montserrat', sans-serif;
}

header h1, header h2, header h3, header h4, header h5, header h6,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    font-family: "Inter", sans-serif;
}

/* Override for specific header/footer class if needed */
.header-font,
header .header-font,
footer .header-font {
    font-family: "Inter", sans-serif;
}
/* Header Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #374151;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #0e3e61;
}

nav a.active {
    color: #374151;
}

/* CTA Button */
.header-cta-button {
    background: #0e3e61;
    color: white !important;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e3a8a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Mobile styles */
@media (max-width: 1300px) {
    header {
        padding: 20px 30px;
    }

    .logo img {
        height: 45px;
        width: 80%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1001;
    }

    nav.active {
        right: 0;
    }

    nav a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
    }

    nav a.active::after {
        display: none;
    }

    nav a.active {
        border-bottom: 1px solid #374151;
    }

    .header-cta-button {
        margin-top: 20px;
        text-align: center;
        border: none;
        width: 100%;
    }
}

@media (max-width: 920px) {
    header {
        padding: 20px 30px;
    }

    .logo img {
        height: 45px;
        width: 80%;
    }
}