/* 
================================================================
SECTION 1: CORE DESIGN SYSTEM & VARIABLES
================================================================
*/
:root {
    /* Brand Colors */
    --primary: #fbbf24;            /* Vibrant Solar Gold */
    --primary-hover: #d97706;      /* Deep Amber for Hover States */
    --primary-glow: rgba(251, 191, 36, 0.4);
    
    --secondary: #0f172a;          /* Premium Deep Navy */
    --secondary-light: #1e293b;    /* Slate Shadow */
    
    /* Neutral Palette */
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #94a3b8;
    
    /* Animation & Transitions */
    --transition-fast: 0.2s ease;
    --transition-standard: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Constants */
    --marquee-h: 38px;
    --nav-h: 75px;
    --header-total: calc(var(--marquee-h) + var(--nav-h));
    
    /* Dynamic Spacing */
    --side-padding: clamp(10px, 5vw, 80px);
}

/* 
================================================================
SECTION 2: GLOBAL RESET & WORD FIXES
================================================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    /* Push content below the fixed header */
    padding-top: var(--header-total);
}

/* Critical Fix for long text and "aaaaaaaa" overflows */
h1, h2, h3, h4, h5, p, span, a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

h1, h2, h3, .oz-logo {
    font-family: 'Outfit', sans-serif;
}


.oz-logo img {
    height: 30px;       /* adjust size here */
    width: auto;
    display: block;
}


/* 
================================================================
SECTION 3: TOP MARQUEE (SMOOTH ANIMATION)
================================================================
*/
.top-marquee {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--marquee-h);
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10001;
    border-bottom: 2px solid var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
    will-change: transform;
}

.marquee-track span {
    padding-right: 60px;
    display: inline-block;
    color: var(--white);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 
================================================================
SECTION 4: MAIN NAVIGATION BAR (VISIBLE ON MOBILE)
================================================================
*/
.oz-navbar {
    position: fixed;
    top: var(--marquee-h);
    left: 0;
    width: 100%;
    /* Min-height allows it to grow if links wrap on small screens */
    min-height: var(--nav-h);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--side-padding);
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-standard);
}

/* Logo Design */
.oz-logo {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: -0.8px;
    white-space: nowrap;
}

.oz-logo span {
    color: var(--primary);
}

/* MENU LIST - Always Visible Logic */
.oz-menu {
    display: flex;
    list-style: none;
    gap: clamp(12px, 3vw, 30px);
    align-items: center;
}

.oz-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.oz-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-standard);
}

.oz-link:hover {
    color: var(--primary);
}

.oz-link:hover::after {
    width: 100%;
}

/* Call-to-Action Card */
.oz-call-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--secondary);
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
    transition: var(--transition-standard);
    white-space: nowrap;
}

.oz-call-card:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* ================================================================
SECTION 5: PREMIUM FOOTER ARCHITECTURE
================================================================
*/
.oz-footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 80px 0 0 0;
    border-top: 5px solid var(--primary);
    width: 100%;
    margin-top: 50px;
    overflow-x: hidden; /* Safety net for ultra-narrow screens */
}

.oz-footer-row {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--side-padding);
    display: grid;
    /* DESKTOP DEFAULT: 4 columns if space permits, shrinking to 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 50px;
     
}

.oz-footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents flex items from overflowing container */
    word-wrap: break-word;
}

.oz-f-logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.oz-f-logo span {
    color: var(--primary);
}

.oz-f-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Social Icons */
.oz-f-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.oz-f-socials a {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-standard);
}

.oz-f-socials a:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

.oz-f-head {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.oz-f-head::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.oz-f-links {
    list-style: none;
    padding: 0;
}

.oz-f-links li {
    margin-bottom: 15px;
}

.oz-f-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.oz-f-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.oz-f-info p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.oz-f-info i {
    color: var(--primary);
    width: 18px;
    margin-top: 5px;
}

/* Footer Bottom Bar */
.oz-footer-bottom {
    margin-top: 60px;
    padding: 30px var(--side-padding);
    background-color: #080d1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.oz-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.oz-bottom-inner p {
    color: #4b5563;
    font-size: 0.85rem;
}

.oz-f-legal-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.oz-f-legal-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

/* ================================================================
SECTION 6: ULTRA-RESPONSIVE MEDIA QUERIES
================================================================
*/

/* TABLET & SMALL LAPTOP - Ensures Desktop Alignment stays side-by-side */
@media (min-width: 1025px) {
    .oz-footer-row {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Explicit desktop columns */
    }
}

/* MOBILE LANDSCAPE / LARGE PHONES */
@media (max-width: 768px) {
    body {
        padding-top: 140px; 
    }

    .oz-navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px;
    }

    .oz-logo { order: 1; }
    .oz-call-card { order: 2; padding: 8px 15px; font-size: 0.8rem; }

    .oz-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.1);
        display: flex;
    }

    .oz-footer-row {
        text-align: center;
        gap: 40px;
    }

    .oz-f-head::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .oz-f-info p, .oz-f-socials {
        justify-content: center;
    }
    
    .oz-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* SMALL MOBILE (320px down to 250px) */
@media (max-width: 320px) {
    body {
        padding-top: 160px;
    }

    .oz-navbar {
        padding: 10px 5px;
    }

    .oz-logo {
        font-size: 1rem;
    }

    .oz-call-card {
        padding: 6px 10px;
        font-size: 0.7rem;
        gap: 5px;
    }

    .oz-menu {
        gap: 8px;
        flex-wrap: wrap; /* Allow menu to wrap if 250px is too tight */
    }

    .oz-link {
        font-size: 0.75rem;
    }

    /* Ultra narrow footer adjustments */
    .oz-footer-row {
        padding: 0 10px;
    }

    .oz-f-text {
        font-size: 0.85rem;
    }
    
    .oz-f-socials a {
        width: 35px;
        height: 35px;
    }
}

/* MICRO WIDTH FIX (250px - 310px) */
@media (max-width: 310px) {
    .oz-navbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    body {
        padding-top: 200px; /* Extra room for stacked header */
    }
    
    .oz-f-legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/*
================================================================
SECTION 7: DECORATIVE ANIMATIONS
================================================================
*/
.oz-call-card i {
    animation: icon-wiggle 3s infinite ease-in-out;
}

@keyframes icon-wiggle {
    0%, 80%, 100% { transform: rotate(0); }
    85% { transform: rotate(15deg); }
    90% { transform: rotate(-15deg); }
}

