/* 
   Vietstarland Saigon Premium Recruitment CSS
   Brand Colors: Navy Blue (#0B1D3A), Orange (#f58120) - matching VSL Logo
*/

:root {
    --primary-navy: #0B1D3A;
    --primary-navy-light: #162E56;
    --navy-dark: #051024;
    --accent-gold: #f58120;
    --accent-gold-light: #FF9A40;
    --accent-gold-dark: #D96D10;

    --text-main: #334155;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;

    --bg-main: #FFFFFF;
    --bg-light: #F1F5F9;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-glass-dark: rgba(11, 29, 58, 0.85);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 4px 20px rgba(245, 129, 32, 0.35);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset & Typo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.brand-logo-img {
    height: 56px;
    width: auto;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    margin-bottom: 12px;
}

/* Typography Utilities */
.text-gold {
    color: var(--accent-gold);
}

.text-navy {
    color: var(--primary-navy);
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.pt-10 {
    padding-top: 5rem;
}

.pb-10 {
    padding-bottom: 5rem;
}

.w-full {
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 129, 32, 0.45);
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-navy);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
    padding: 20px 0;
}

.navbar.scrolled {
    background: var(--bg-glass-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 1px;
}

.brand-text .highlight {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05);
    /* Slight zoom for subtle panning effect */
    animation: slowPan 20s linear infinite alternate;
}

@keyframes slowPan {
    from {
        transform: scale(1.05) translate(0, 0);
    }

    to {
        transform: scale(1.1) translate(-1%, -1%);
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 29, 58, 0.95) 0%, rgba(11, 29, 58, 0.7) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.badge-wrapper {
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-gold {
    background-color: rgba(245, 129, 32, 0.2);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 129, 32, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    color: var(--text-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Visionary Section */
.visionary-section {
    padding: 8rem 0;
    background-color: var(--bg-main);
    overflow: hidden;
}

.visionary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.accent-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.visionary-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    border-left: 4px solid var(--accent-gold);
}

.floating-card .icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.floating-card h4 {
    font-size: 1rem;
    color: var(--primary-navy);
    margin-bottom: 2px;
}

.floating-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    line-height: 1.2;
}

.quote-box {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-gold);
    margin-bottom: 24px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    color: var(--accent-gold);
    opacity: 0.3;
    font-size: 2rem;
    background: var(--bg-main);
}

.quote-text {
    font-style: italic;
    color: var(--text-main);
    font-weight: 500;
}

.visionary-desc {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--primary-navy);
}

/* Benefits Section */
.bg-light {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefits-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .benefits-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .benefits-grid,
    .benefits-grid-4 {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 129, 32, 0.08) 0%, rgba(245, 129, 32, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.benefit-card:hover .card-hover-effect {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(245, 129, 32, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.benefit-card:hover .card-icon {
    background: var(--accent-gold);
    color: #fff;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Job Description */
.jd-section {
    position: relative;
    padding: 6rem 0;
    background-color: var(--navy-dark);
    color: var(--text-light);
    overflow: hidden;
}

.holographic-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Animated grid scroll */
    animation: gridScroll 20s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

.jd-wrapper {
    background: rgba(11, 29, 58, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.jd-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    margin-bottom: 30px;
}

.jd-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.jd-badge {
    background: rgba(245, 129, 32, 0.15);
    color: var(--accent-gold);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.jd-block {
    margin-bottom: 40px;
}

.block-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-gold);
}

/* Apply Section */
.apply-section {
    background-color: var(--bg-main);
}

.apply-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.apply-info h2 {
    font-size: 2.5rem;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.apply-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.2rem;
}

.contact-item h5 {
    font-size: 1rem;
    color: var(--primary-navy);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.glass-panel {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.custom-form input,
.custom-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-light);
    transition: var(--transition-fast);
}

.custom-form input:focus,
.custom-form select:focus {
    outline: none;
    border-color: var(--primary-navy);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(11, 29, 58, 0.1);
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-md);
    background: #dcfce7;
    color: #166534;
    text-align: center;
    font-weight: 500;
}

.form-message.hidden {
    display: none;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Footer & Floating */
.footer {
    background-color: var(--navy-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.company-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact i {
    color: var(--accent-gold);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    gap: 15px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: var(--transition-normal);
}

.float-btn:hover {
    transform: scale(1.1);
}

.zalo-btn {
    background-color: #0068FF;
}

.call-btn {
    background-color: #22c55e;
}

.ripple-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: ripple 1.5s linear infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.float-tooltip {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {

    .visionary-grid,
    .apply-container,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .jd-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {

    /* Global: reduce all section padding */
    .section {
        padding: 3rem 0 !important;
    }

    .section-header {
        margin-bottom: 1.5rem !important;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.75rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .mt-12 {
        margin-top: 1.5rem !important;
    }

    /* Navbar: not fixed on mobile */
    .navbar {
        position: relative;
        background: var(--navy-dark);
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .brand-logo-img {
        height: 40px;
    }

    /* Hero: compact */
    .hero {
        min-height: auto !important;
    }

    .hero-container {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Stats: horizontal 2x2 grid instead of vertical stack */
    .stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        flex-direction: unset;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Visionary: compact portrait + text */
    .visionary-section {
        padding: 3rem 0 !important;
    }

    .visionary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-wrapper {
        max-width: 200px;
        margin: 0 auto;
    }

    .accent-frame {
        display: none;
    }

    .quote-box {
        padding: 16px;
        margin-bottom: 12px;
    }

    .quote-text {
        font-size: 0.85rem;
    }

    .visionary-desc {
        font-size: 0.9rem;
    }

    .check-list li {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    /* Achievement & Benefit cards: compact */
    .benefits-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }

    .benefit-card {
        padding: 20px 16px;
    }

    .benefit-card h3 {
        font-size: 0.9rem;
    }

    .benefit-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .card-icon i {
        font-size: 1rem;
    }

    /* Gallery: 2 columns, smaller */
    .gallery-section {
        padding: 3rem 0 !important;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    /* JD Section: compact */
    .jd-section {
        padding: 3rem 0 !important;
    }

    .jd-wrapper {
        padding: 20px;
    }

    .jd-header h2 {
        font-size: 1.2rem;
    }

    .block-title {
        font-size: 1rem;
    }

    .bullet-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .jd-block {
        margin-bottom: 24px;
    }

    /* Apply Form: compact */
    .apply-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .apply-info h2 {
        font-size: 1.4rem;
    }

    .glass-panel {
        padding: 24px;
    }

    .contact-methods {
        gap: 12px;
    }

    .contact-item {
        gap: 10px;
    }

    /* Offices: 2 columns */
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .office-card {
        padding: 16px;
    }

    .office-card h4 {
        font-size: 0.8rem;
    }

    .office-card p {
        font-size: 0.75rem;
    }

    /* Footer compact */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .row-group {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Nav Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu-overlay.open {
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Offices Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.office-card {
    background: var(--bg-main);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition-normal);
    position: relative;
}

.office-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.office-card h4 {
    font-size: 0.95rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.office-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.office-highlight {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(245, 129, 32, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
}

.office-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--accent-gold);
    color: #fff;
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-desc {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.office-coming {
    opacity: 0.6;
    border-style: dashed !important;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 2;
}

.gallery-item-full {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .gallery-overlay span {
        font-size: 0.75rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}