body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #fff;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: auto;
    padding: 20px 0;
}

header {
    background-color: #002f6c;
    color: white;
    padding: 20px 0;
    border-bottom: 4px solid #00b1eb;
}

    header h1 a {
        color: white;
        text-decoration: none;
        font-size: 26px;
        font-weight: 700;
    }

nav {
    margin-top: 10px;
}

    nav a {
        /*   color: white;*/
        margin: 0 12px;
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
    }

        nav a:hover {
            text-decoration: underline;
        }

.hero {
    background: #f5f8fa;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

    .hero h1 {
        font-size: 34px;
        margin-bottom: 10px;
        color: #002f6c;
    }

    .hero p {
        font-size: 18px;
        color: #4a5568;
        max-width: 700px;
        margin: 0 auto;
    }

.form-section, .info-section {
    margin-top: 40px;
}

form {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    /*color: #2d3748;*/
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

    input:focus, textarea:focus {
        border-color: #00b1eb;
        outline: none;
    }

.cta-button {
    background: #00b1eb;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .cta-button:hover {
        background: #0092c6;
    }

.info-section {
    background: #f9fafb;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

    .info-section h2 {
        color: #002f6c;
        margin-bottom: 10px;
    }

.info-block {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

    .info-block i {
        font-size: 24px;
        color: #00b1eb;
        margin-right: 12px;
        min-width: 32px;
    }

.alert-success {
    padding: 20px;
    background-color: #daf5d4;
    border: 1px solid #a2d160;
    border-radius: 6px;
    color: #2a5a15;
    margin-bottom: 20px;
}

footer {
    background-color: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
    border-top: 4px solid #00b1eb;
}

    footer a {
        color: #a0aec0;
        text-decoration: none;
        margin: 0 8px;
    }

        footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 10px 0;
    }

    .info-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

header a:visited {
    color: white;
}

header a:link {
    color: white;
}

h2 a:visited {
    color: black;
}

h2 a:link {
    color: black;
}

section a:visited {
    color: black;
}

section a:link {
    color: black;
}

main a {
    color: black;
}


/* Menu */
/* ---------- BASE HEADER ---------- */
.site-header {
    background: #111;
    padding: 10px 0;
}

    .site-header .container {
        display: flex;
        align-items: center; /* ensures logo + nav align */
        /*        justify-content: space-between;*/
        gap: 20px;
    }

/* ---------- LOGO ---------- */
.logo img {
    height: 50px;
    width: 50px;
}

/* ---------- DESKTOP NAV ---------- */
.nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 10px 12px;
    display: block;
}

/* ---------- MEGA MENU DESKTOP ---------- */
.has-megamenu {
    position: relative;
}

.megamenu {
    position: absolute;
    z-index: 99999; /* ensure dropdown stays above everything */
    top: 100%;
    left: 0;
    display: none;
    width: 750px;
    background: #111;
    padding: 25px 30px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

    .mega-column h4 {
        color: #00baff;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .mega-column a {
        color: #ccc;
        padding: 6px 0;
    }

        .mega-column a:hover {
            color: #00baff;
        }

.has-megamenu:hover .megamenu {
    display: grid;
}

/* ---------- MOBILE ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 60px;
        right: 0;
        background: #111;
        width: 260px;
        padding: 20px;
        display: none;
        border-radius: 4px;
        z-index: 100000 !important; /* FIX */
    }

        .nav.active {
            display: block;
        }

        .nav ul {
            flex-direction: column;
            gap: 0;
        }

    /* Mobile mega menu collapses */
    @media (max-width: 768px) {
        .has-megamenu .megamenu {
            position: relative;
            display: none; /* collapsed by default */
            grid-template-columns: 1fr; /* single column on mobile */
            gap: 0;
            width: 100%;
            padding: 10px 0;
            box-shadow: none;
            background: none;
        }

        .has-megamenu.open .megamenu {
            display: grid; /* display grid with 1 column */
        }

        .mega-column {
            width: 100%; /* full width per column */
        }
    }

    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid #222;
    }

    .site-header,
    .nav,
    .nav ul,
    .megamenu {
        position: relative;
        z-index: 100000 !important;
    }
}

/* Footer links */

.link-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 25px;
}

    .link-columns p {
        margin: 0;
    }

    .link-columns a {
        text-decoration: none;
        color: #0056b3;
    }

        .link-columns a:hover {
            text-decoration: underline;
        }

/* hero fix */
.ep-hero-inner a {
    color: white !important;
}

/* Breadcrumbs */
.ep-breadcrumbs {
    font-size: .9rem;
    margin-bottom: .75rem;
}

/* Popular links */
.popular-links.columns-4 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px 24px;
    margin: 0 0 12px 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 600px) {
    .popular-links.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .popular-links.columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .popular-links.columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* fix form */
/* Make all text inputs and selects more sensible in width */
form input[type="text"], form input[type="email"], form input[type="number"], form input[type="tel"], form select /*, form button*/ {
    max-width: 100%; /* never overflow container */
    width: 100%; /* full width within parent */
    box-sizing: border-box; /* include padding/border in width */
}

/* Constrain form group container to a sensible width */ form .form-group, form .field {
    width: 100%;
    margin-bottom: 1rem;
}

/* Limit on larger screens so fields don't stretch too long */ @media (min-width: 768px) {
    form .form-container,
    form .form-inner {
        max-width: 600px; /* adjust as needed */
        margin-left: auto;
        margin-right: auto;
    }
}

/* Optional: spacing for labels above inputs */ form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

/* Help keep button widths proportional */ /*form button {
    max-width: 100%;
    padding: 0.75em 1.2em;
    font-size: 1em;
}*/
