/* ==========================================
   YGOC MODERN CORPORATE THEME (ALL CAPS)
========================================== */
:root {
    --navy: #0b2340;
    --navy-dark: #07162a;
    --gold: #e5a93b;
    --gold-hover: #cf9427;
    --blue: #1677ff;
    --text: #1e2d3d;
    --muted: #5a6c80;
    --bg-light: #f6f8fb;
    --border: #e2e8f0;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    text-transform: uppercase;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    text-transform: uppercase;
}

input,
textarea,
select {
    text-transform: none;
}

input::placeholder {
    text-transform: uppercase;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   HEADER & NAVIGATION
========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(11, 35, 64, 0.06);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    height: 46px;
    width: auto;
    border-radius: 6px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    text-decoration: none;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 8px 11px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
    background: #eef4fc;
    color: var(--blue);
}

.nav a.nav-cta {
    background: var(--navy);
    color: var(--white);
    margin-left: 6px;
    padding: 8px 16px;
}

.nav a.nav-cta:hover {
    background: var(--blue);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: var(--navy);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
}

/* ==========================================
   HERO BANNER
========================================== */
.hero {
    position: relative;
    padding: 72px 0;
    background-image:
        linear-gradient(95deg, rgba(7, 22, 42, 0.92) 0%, rgba(11, 35, 64, 0.78) 60%, rgba(11, 35, 64, 0.52) 100%),
        url('assets/dubai-skyline.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-home {
    padding: 104px 0;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--navy-dark);
    background: var(--gold);
    border-radius: 4px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
}

.hero h1 span {
    color: var(--gold);
}

.hero-subtitle {
    margin: 0 0 28px;
    max-width: 660px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================
   BUTTONS
========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-decoration: none;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 11px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-gold:hover {
    background: var(--gold-hover);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue);
}

.btn-whatsapp {
    background: #198754;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #146c43;
}

.btn-full {
    width: 100%;
}

/* ==========================================
   SECTIONS & GRIDS
========================================== */
.section {
    padding: 68px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--gold);
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--navy);
}

.section-dark h2 {
    color: var(--white);
}

.lead {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-3,
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

/* ==========================================
   CARDS & STATS
========================================== */
.card,
.company-card,
.office-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 26px;
    box-shadow: 0 4px 16px rgba(11, 35, 64, 0.04);
}

.card-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 10px;
}

.tag,
.company-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--blue);
    background: #eef4fc;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.card h3,
.company-card h3,
.office-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
}

.card p,
.company-card p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.company-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(11, 35, 64, 0.09);
}

.card-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
    text-decoration: none;
}

.card-link:hover {
    color: var(--blue);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    border-radius: 8px;
    padding: 22px;
}

.stat-box strong {
    display: block;
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 4px;
}

.stat-box span {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-banner p {
    margin: 0;
    color: #cbd5e1;
    max-width: 600px;
}

/* ==========================================
   CAREERS JOBS TABLE
========================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(11, 35, 64, 0.05);
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.jobs-table thead {
    background: var(--navy);
    color: var(--white);
}

.jobs-table th {
    padding: 15px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.jobs-table td {
    padding: 15px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.jobs-table tbody tr:last-child td {
    border-bottom: 0;
}

.jobs-table tbody tr:hover {
    background: var(--bg-light);
}

/* ==========================================
   CONTACT & LOGIN
========================================== */
.address {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 18px;
}

.office-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.email-strip {
    margin-top: 28px;
    padding: 18px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.email-strip a {
    font-weight: 800;
    color: var(--blue);
    text-decoration: none;
}

.login-card {
    max-width: 450px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(11, 35, 64, 0.06);
}

.login-card h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.job-notice {
    background: #eef4fc;
    border-left: 4px solid var(--blue);
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--navy);
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue);
}

.signup-prompt {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.signup-prompt a {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 900;
}

.login-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 700;
}

.login-links a {
    color: var(--muted);
    text-decoration: none;
}

.login-links a:hover {
    color: var(--blue);
}

/* ==========================================
   FOOTER HIDE & RESPONSIVE
========================================== */
footer,
.site-footer {
    display: none !important;
}

@media (max-width: 960px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        padding: 14px 24px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(11, 35, 64, 0.1);
    }

    .nav.open {
        display: flex;
    }

    .nav a.nav-cta {
        margin-left: 0;
        margin-top: 6px;
        text-align: center;
    }

    .split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .jobs-table thead {
        display: none;
    }

    .jobs-table,
    .jobs-table tbody,
    .jobs-table tr,
    .jobs-table td {
        display: block;
        width: 100%;
    }

    .jobs-table tr {
        border-bottom: 2px solid var(--border);
        padding: 10px 0;
    }

    .jobs-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        border-bottom: 1px dashed var(--border);
        text-align: right;
    }

    .jobs-table td:last-child {
        border-bottom: 0;
    }

    .jobs-table td::before {
        content: attr(data-label);
        font-weight: 800;
        font-size: 11px;
        color: var(--navy);
        text-align: left;
        flex-shrink: 0;
    }
}

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
