/* --- CORE VARIABLES --- */
:root {
    --umo-green: #005F3E; 
    --umo-gold: #FEC057;
    --umo-gray: #959484;
    --white: #ffffff;
    --black: #111111;
    --light-bg: #f4f4f4;
    --easing: cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- RESET & GLOBAL --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { 
    width: 100%; 
    overflow-x: hidden; 
    position: relative;
    font-family: 'Jost', sans-serif;
    color: var(--black); 
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 { font-weight: 700; text-transform: uppercase; letter-spacing: -0.5px; line-height: 1.1; }
p, li, a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { width: 100%; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 1.5rem; }

/* --- GLOBAL BUTTON STYLES (The Fix) --- */
.btn, .nav-cta, .btn-hero, .btn-solid, .btn-white {
    border-radius: 50px !important; /* Forces Pill Shape Everywhere */
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- HEADER STYLES --- */
header { position: fixed; width: 100%; z-index: 9999; top: 0; background: var(--umo-green); }

.utility-bar {
    background: var(--umo-gold); color: var(--umo-green);
    padding: 5px 0; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    position: relative; z-index: 10001;
}
.utility-flex { display: flex; justify-content: flex-end; gap: 20px; }
.utility-flex a:hover { color: var(--white); }

.main-nav {
    background: var(--umo-green); height: 70px; display: flex; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1); position: relative;
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }

.logo { display: flex; align-items: center; height: 100%; width: 160px; z-index: 10005; }
.logo img { max-height: 45px; width: auto; display: block; }

/* Desktop Navigation */
.nav-links { display: flex; gap: 2rem; align-items: center; height: 100%; }
.nav-links a { 
    color: var(--white); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.5px; position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--umo-gold); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* HEADER APPLY BUTTON (Updated) */
.nav-cta {
    background: var(--umo-gold); 
    color: var(--umo-green) !important;
    padding: 0.7rem 2rem; /* Slightly larger padding for pill shape */
    display: flex; align-items: center;
}
.nav-cta:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(254, 192, 87, 0.4); 
    background: var(--white); /* Hover Effect */
}

/* --- DROPDOWN MENUS (Desktop) --- */
.nav-item.dropdown { position: relative; height: 100%; display: flex; align-items: center; }

@media (min-width: 901px) {
    .dropdown-menu {
        position: absolute; top: 100%; left: 0;
        background: var(--white); min-width: 250px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        opacity: 0; visibility: hidden;
        transform: translateY(10px); transition: all 0.2s ease;
        border-top: 4px solid var(--umo-gold);
        border-radius: 0 0 8px 8px; /* Slight round on bottom corners */
    }
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    .dropdown-menu a {
        display: block; padding: 1rem 1.5rem;
        color: var(--black) !important; 
        border-bottom: 1px solid #eee; font-size: 0.9rem;
    }
    .dropdown-menu a:hover {
        background: var(--light-bg); color: var(--umo-green) !important; padding-left: 1.8rem;
    }
    .dropdown-menu a::after { display: none; }
}

/* --- MOBILE MENU (FIXED) --- */
.hamburger { 
    display: none; color: var(--white); font-size: 1.8rem; cursor: pointer; 
    z-index: 20000; padding: 10px; background: transparent; border: none;
}

/* --- HELPER CLASS FOR SCROLL LOCK --- */
body.no-scroll {
    overflow: hidden;
}

/* --- MOBILE MENU FIX --- */
@media (max-width: 900px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed; 
        top: 0; /* Cover full screen to prevent gaps */
        right: 0; 
        width: 100%; 
        height: 100vh; 
        background: var(--umo-green); 
        
        /* Layout */
        display: flex;
        flex-direction: column; 
        justify-content: flex-start; 
        align-items: center;
        gap: 0;
        
        /* Spacing */
        padding-top: 110px; /* Start links below header */
        padding-bottom: 4rem;
        
        /* Animation */
        transform: translateY(-100%); 
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 9998; /* Sit just behind the header bar */
        
        /* Internal Scrolling */
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active { transform: translateY(0); }
    
    /* Links - Clean, No Lines */
    .nav-links > a, 
    .nav-item.dropdown > a { 
        width: 100%; 
        text-align: center; 
        display: block;
        font-size: 1.4rem; 
        padding: 10px 0; 
        margin: 0;
        font-weight: 700;
        color: var(--white);
        border: none; /* Removed lines */
        text-decoration: none;
    }
    
    /* Dropdowns */
    .dropdown-menu { 
        display: none; 
        background: rgba(0,0,0,0.15); 
        width: 100%; 
        padding: 10px 0;
        margin: 0;
    }
    
    .nav-item.dropdown.active .dropdown-menu { display: block; }
    
    .dropdown-menu a { 
        font-size: 1rem; 
        padding: 12px 0; 
        opacity: 0.9;
        font-weight: 500;
        color: var(--white);
    }
    
    /* Hide desktop hover effects */
    .nav-links a:not(.nav-cta)::after { display: none; }
    
    /* CTA Button */
    .nav-cta { 
        width: 80%; 
        max-width: 300px;
        text-align: center; 
        justify-content: center; 
        margin-top: 2rem; 
        padding: 1rem;
        background: var(--umo-gold);
        color: var(--umo-green);
    }
}
/* Scroll Lock Helper Class (Added by JS) */
body.no-scroll {
    overflow: hidden;
}
/* --- FOOTER STYLES --- */
footer { 
    background: var(--umo-green); color: var(--white); 
    padding: 5rem 0 2rem; font-size: 0.9rem; border-top: 5px solid var(--umo-gold);
}
.footer-logo { width: 150px; opacity: 1; margin-bottom: 2rem; filter: brightness(0) invert(1); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--umo-gold); text-transform: uppercase; margin-bottom: 1.5rem; font-family: 'Jost'; letter-spacing: 2px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: rgba(255,255,255,0.85); font-family: 'Jost'; }
.footer-col a:hover { color: var(--umo-gold); padding-left: 5px; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-logo { margin: 0 auto 1.5rem auto; }
}