/* Color Palette Specifications */
:root {
    --brand-dark-blue: #0A2240;
    --brand-bright-blue: #0099FF;
    --brand-gold-accent: #C5A059;
    --bg-light-gray: #F4F6F9;
    --clean-white: #FFFFFF;
    --text-muted: #64748B;
    --border-soft: #E2E8F0;
}

/* Core Formats */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light-gray);
    color: var(--brand-dark-blue);
}

.container {
    width: 92%;
    max-width: 1300px;
    margin: 0 auto;
}

/* AUTH PORTALS TOP LAYER BAR */
.top-bar {
    background-color: var(--brand-dark-blue);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    color: var(--clean-white);
    text-decoration: none;
    margin-right: 15px;
}

.top-contact i {
    color: var(--brand-bright-blue);
}

.top-auth-hub {
    display: flex;
    gap: 10px;
}

.auth-link {
    text-decoration: none;
    color: var(--clean-white);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}
.customer-reg { background-color: #1E3A8A; }
.agent-reg { background-color: #0369A1; }
.agent-login { background-color: #15803D; }
.auth-link:hover { opacity: 0.9; }

/* NAVIGATION SYSTEM WITH NEW MENUS */
.main-header {
    background-color: var(--clean-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area { line-height: 1.2; }
.logo-title { font-size: 32px; font-weight: 900; letter-spacing: 1px; }
.logo-subtitle { font-size: 15px; font-weight: 700; color: var(--brand-bright-blue); letter-spacing: 3px; }
.logo-tagline { font-size: 12px; color: var(--brand-gold-accent); font-style: italic; }

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 12px;
}

.main-nav a {
    text-decoration: none;
    color: var(--brand-dark-blue);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 10px;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--brand-bright-blue);
}

.btn-quote {
    background-color: var(--brand-gold-accent);
    color: var(--clean-white);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
}

/* HERO INTERFACE BACKDROP WITH SIDEBAR GRID */
.hero-wrapper {
    background: linear-gradient(135deg, #064577 0%, #2980B9 100%);
    padding: 40px 0 60px 0;
    color: var(--clean-white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* QUICK PORTALS SIDEBAR MOCKUP */
.quick-portals-sidebar {
    background-color: var(--brand-dark-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.sidebar-header {
    background-color: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    font-size: 16px;
    color: var(--clean-white);
    font-weight: 700;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s;
}

.sidebar-menu li a:hover {
    background-color: var(--brand-bright-blue);
    color: var(--clean-white);
}

/* OTA COMPREHENSIVE SEARCH PANEL ENGINE */
.hero-branding h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.hero-branding p { font-size: 16px; opacity: 0.85; margin-bottom: 25px; }

.ota-search-box {
    background-color: var(--clean-white);
    border-radius: 8px;
    color: var(--brand-dark-blue);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.ota-tabs {
    display: flex;
    background-color: #EBF3FA;
}

.ota-tab-btn {
    flex: 1;
    border: none;
    background: none;
    padding: 15px;
    font-weight: 700;
    font-size: 13px;
    color: var(--brand-dark-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ota-tab-btn.active {
    background-color: var(--clean-white);
    color: var(--brand-bright-blue);
    border-top: 3px solid var(--brand-bright-blue);
}

.ota-panel {
    display: none;
    padding: 25px;
}

.ota-panel.active {
    display: block;
}

.search-grid-inputs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.input-cell { display: flex; flex-direction: column; gap: 5px; }
.input-cell label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

.field-wrap { position: relative; }
.field-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--brand-bright-blue); }
.field-wrap input { width: 100%; padding: 10px 10px 10px 35px; border: 1px solid var(--border-soft); border-radius: 4px; font-weight: 600; color: var(--brand-dark-blue); }

.panel-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.passenger-select { font-weight: 600; font-size: 14px; color: var(--brand-dark-blue); }
.passenger-select i { color: var(--brand-bright-blue); margin-right: 5px; }

.btn-search-engine {
    background-color: var(--brand-gold-accent);
    color: var(--clean-white);
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
}

.placeholder-text { color: var(--text-muted); font-style: italic; text-align: center; padding: 20px 0; }

/* SERVICES MOCK SEGMENT */
.services-container { padding: 50px 0; text-align: center; }
.section-heading h2 { font-size: 28px; margin-bottom: 30px; }
.services-flex-grid { display: flex; gap: 20px; justify-content: space-between; }
.s-card { background: var(--clean-white); flex: 1; padding: 25px; border-radius: 6px; border-bottom: 3px solid var(--brand-bright-blue); box-shadow: 0 2px 5px rgba(0,0,0,0.02); }

/* FOOTER ARCHITECTURE */
.global-footer { background-color: var(--brand-dark-blue); color: var(--clean-white); padding: 40px 0 20px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 30px; }
.footer-grid h4 { margin-bottom: 15px; color: var(--brand-bright-blue); font-size: 16px; }
.footer-grid p { margin-bottom: 8px; opacity: 0.8; }
.social-icons { display: flex; gap: 15px; font-size: 18px; margin-top: 10px; }
.footer-copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: var(--text-muted); font-size: 12px; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .quick-portals-sidebar { display: none; }
    .search-grid-inputs { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; } /* Mobile Menu Toggle Recommended here */
}


@media (max-width: 768px) {
    /* Allow the top bar items to wrap or stack cleanly */
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }

    /* Stack contact links vertically or neatly wrap them */
    .top-contact {
        flex-direction: column;
        gap: 8px;
    }

    /* Center and evenly space the login/register buttons */
    .top-auth-hub {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    /* Adjust the logo area for smaller screens */
    .logo-area {
        text-align: center;
        margin-bottom: 15px;
    }
}