:root {
    --primary-color: #f5c518;
    /* Bright Golden Yellow */
    --secondary-color: #1a5db5;
    /* Bright Blue */
    --text-color: #2c3e50;
    --light-bg: #ffffff;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563a8 0%, #4d8fd6 100%);
    --shiny-gradient: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --glow: 0 0 15px rgba(245, 197, 24, 0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(240, 200, 48, 0.3);
    /* Glow effect */
    position: relative;
    overflow: hidden;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.primary-btn:hover::after {
    left: 100%;
}

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

.secondary-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Nav + Ticker wrapper — single fixed container */
.nav-ticker-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(30, 90, 180, 0.92);
    backdrop-filter: blur(15px);
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(245, 197, 24, 0.25);
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

/* "Lisset" - elegant, glowing, vibrant serif typography */
.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 2px;
    background: linear-gradient(to right, #fff, #fde68a, #f5c518, #fde68a, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
    text-shadow: 0 4px 15px rgba(245, 197, 24, 0.4);
}

/* "Transport Inc" - modern, crisp sans-serif tracking */
.brand-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 5px;
    padding-left: 2px;
    /* Visual balance for tracking */
    position: relative;
    display: flex;
    align-items: center;
}

/* Subtle line decorative element next to "Transport Inc" */
.brand-subtitle::after {
    content: '';
    display: block;
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    margin-left: 8px;
    opacity: 0.7;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

.logo img {
    height: 80px;
    /* Increased from 50px */
    width: auto;
    margin-right: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Shadow on logo */
    border: 2px solid var(--white);
    /* White border for pop */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links .cta-btn {
    padding: 8px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 4px;
}

.nav-links .cta-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}


.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('assets/fleet.jpg') center/cover no-repeat fixed;
    /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 70, 150, 0.5);
    z-index: 1;
    will-change: opacity;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 60px 80px 40px 80px;
    animation: fadeIn 1.5s ease both;
    background: rgba(50, 50, 50, 0.1);
    backdrop-filter: blur(1px);
    border-radius: 0;
    border: none;
    will-change: transform, opacity;
    transform: translateZ(0);
    /* Shipping container silhouette with corner posts and corrugated top */
    clip-path: polygon(
            /* Bottom-left corner post */
            0% 100%,
            0% 95%,
            2% 95%,
            2% 100%,
            0% 100%,
            0% 5%,
            /* Top-left corner post */
            0% 0%,
            2% 0%,
            2% 5%,
            /* Corrugated ridges along top */
            5% 3%, 8% 5%,
            11% 3%, 14% 5%,
            17% 3%, 20% 5%,
            23% 3%, 26% 5%,
            29% 3%, 32% 5%,
            35% 3%, 38% 5%,
            41% 3%, 44% 5%,
            47% 3%, 50% 5%,
            53% 3%, 56% 5%,
            59% 3%, 62% 5%,
            65% 3%, 68% 5%,
            71% 3%, 74% 5%,
            77% 3%, 80% 5%,
            83% 3%, 86% 5%,
            89% 3%, 92% 5%,
            95% 3%,
            /* Top-right corner post */
            98% 5%,
            98% 0%,
            100% 0%,
            100% 5%,
            98% 5%,
            /* Right side down */
            98% 95%,
            /* Bottom-right corner post */
            100% 95%,
            100% 100%,
            98% 100%,
            98% 95%,
            /* Bottom edge */
            2% 95%,
            2% 100%);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Features Section (Overlap) */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 5%;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    /* Softer corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(26, 93, 181, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    flex: 1;
    height: 450px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: visible;
    position: relative;
}

#globe-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.globe-label {
    position: absolute;
    bottom: 16px;
    width: 100%;
    text-align: center;
    color: rgba(245, 197, 24, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-placeholder {
    color: #ccc;
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #4d87de, #3489eb);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: #aaa;
}

.contact-form {
    flex: 1.5;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    max-width: 420px;
}

.toast-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-success {
    background: linear-gradient(135deg, #1b8a4e, #27ae60);
    border-left: 4px solid #0f6b38;
}

.toast-error {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    border-left: 4px solid #962d22;
}

.toast-icon i {
    font-size: 1.25rem;
}

/* Submit button disabled state */
.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Phone input icon indicator */
.form-group input[type="tel"] {
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    background: #3a7bd5;
    color: #e8ecf1;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(245, 197, 24, 0.35);
    padding-bottom: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.social-links a {
    color: #e0e8f0;
    font-size: 1.2rem;
    margin-left: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.9rem;
}

/* Carousel Section */
.carousel-section {
    padding: 100px 0;
    background: linear-gradient(60deg, #2563a8, #4d8fd6);
    overflow: hidden;
}

.carousel-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.carousel-section__text {
    flex: 1;
    color: #fff;
}

.carousel-section__title {
    color: #fff !important;
    text-align: left;
}

.carousel-section__title::after {
    margin: 15px 0 0;
}

.carousel-section__text p {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-top: 10px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    min-height: 300px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1;
}

.carousel__item {
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    height: fit-content;
    top: 0;
    bottom: 0;
    margin: auto;
    padding: 0 12px;
    opacity: 0;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
    will-change: transform, opacity;
    animation: carousel-animate-vertical 27s linear infinite;
}

/* Pre-computed nth-child delays: delay = 3s * (i - 2) */
.carousel__item:nth-child(1) {
    animation-delay: calc(3s * -1);
}

/* -3s  */
.carousel__item:nth-child(2) {
    animation-delay: calc(3s * 0);
}

/*  0s  */
.carousel__item:nth-child(3) {
    animation-delay: calc(3s * 1);
}

/*  3s  */
.carousel__item:nth-child(4) {
    animation-delay: calc(3s * 2);
}

/*  6s  */
.carousel__item:nth-child(5) {
    animation-delay: calc(3s * 3);
}

/*  9s  */
.carousel__item:nth-child(6) {
    animation-delay: calc(3s * 4);
}

/* 12s  */
.carousel__item:nth-child(7) {
    animation-delay: calc(3s * 5);
}

/* 15s  */
.carousel__item:nth-child(8) {
    animation-delay: calc(3s * 6);
}

/* 18s  */
.carousel__item:last-child {
    animation-delay: calc(-3s * 2);
}

/* -6s  */

.carousel__item-head {
    border-radius: 50%;
    background-color: #fdf6d8;
    width: 90px;
    height: 90px;
    padding: 14px;
    position: relative;
    margin-right: -45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel__item-body {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px 20px 16px 70px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.carousel-title {
    text-transform: uppercase;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 10px;
    color: var(--secondary-color);
}

.carousel__item-body p:last-child {
    color: #666;
    font-size: 0.95rem;
    margin-top: 4px;
}

/*
  Pre-computed keyframe percentages from SCSS:
  $animation-steps-fraction = 100 / 9 ≈ 11.11%
  $slide-change-timing = 3%
*/
@keyframes carousel-animate-vertical {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }

    3%,
    11.11% {
        transform: translateY(100%) scale(0.7);
        opacity: 0.4;
        visibility: visible;
    }

    14.11%,
    22.22% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    25.22%,
    33.33% {
        transform: translateY(-100%) scale(0.7);
        opacity: 0.4;
        visibility: visible;
    }

    36.33% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: visible;
    }

    100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }
}

/* ===== HIRING TICKER BAR ===== */
.hiring-ticker-bar {
    width: 100%;
    background: linear-gradient(90deg, #0d1b3e 0%, #1a2f6e 50%, #0d1b3e 100%);
    border-bottom: 2px solid var(--primary-color);
    border-top: 1px solid rgba(245, 197, 24, 0.25);
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.ticker-label {
    flex-shrink: 0;
    background: var(--primary-color);
    color: #0d1b3e;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 2;
    gap: 6px;
}

.ticker-label i {
    font-size: 0.9rem;
    animation: ticker-truck 1.6s ease-in-out infinite alternate;
}

@keyframes ticker-truck {
    from {
        transform: translateX(-3px);
    }

    to {
        transform: translateX(3px);
    }
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-track::before,
.ticker-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 1;
    pointer-events: none;
}

.ticker-track::before {
    left: 0;
    background: linear-gradient(90deg, #0d1b3e, transparent);
}

.ticker-track::after {
    right: 0;
    background: linear-gradient(-90deg, #0d1b3e, transparent);
}

.ticker-scroll {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: ticker-scroll 28s linear infinite;
    will-change: transform;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    vertical-align: middle;
    color: rgba(255, 235, 160, 0.92);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    line-height: 38px;
}

.ticker-view-all {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(245, 197, 24, 0.45);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    margin-right: 12px;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, color 0.25s;
    text-decoration: none;
}

.ticker-view-all:hover {
    background: var(--primary-color);
    color: #0d1b3e;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* ===== HIRING SECTION ===== */
.hiring {
    padding: 100px 0 80px;
    background: #f0f4fb;
    position: relative;
    overflow: hidden;
}

.hiring::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 93, 181, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hiring .section-title {
    margin-bottom: 1rem;
}

.hiring-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(26, 93, 181, 0.08);
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(26, 93, 181, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #fde68a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.job-card:hover::before {
    transform: scaleX(1);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 93, 181, 0.13);
}

.job-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.18), rgba(245, 197, 24, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 4px;
    border: 1px solid rgba(245, 197, 24, 0.25);
}

.job-card-type {
    display: inline-block;
    background: rgba(26, 93, 181, 0.1);
    color: var(--secondary-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 2px;
}

.job-card h3 {
    font-size: 1.1rem;
    color: #1a2a4a;
    margin: 0;
    font-weight: 700;
}

.job-card-location {
    font-size: 0.82rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-card-location i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.job-card p.job-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.55;
    flex: 1;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-apply {
    display: inline-block;
    background: var(--primary-color);
    color: #0d1b3e;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}

.btn-apply:hover {
    background: #e0b014;
    transform: scale(1.04);
}

.btn-edit-job {
    background: transparent;
    border: 1px solid #dde3f0;
    color: #999;
    font-size: 0.75rem;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    display: none;
    /* shown only when admin logged in */
}

.btn-edit-job:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.admin-active .btn-edit-job {
    display: inline-block;
}

/* No jobs placeholder */
.no-jobs {
    text-align: center;
    color: #aaa;
    font-size: 1.05rem;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* Admin bar */
.hiring-admin-bar {
    max-width: 1200px;
    margin: 32px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-admin-login {
    background: transparent;
    border: 1.5px solid rgba(26, 93, 181, 0.25);
    color: #aaa;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-admin-login:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-admin-add {
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    display: none;
    gap: 6px;
    align-items: center;
    transition: background 0.2s;
}

.btn-admin-add i {
    font-size: 0.9rem;
}

.btn-admin-add:hover {
    background: #1548a0;
}

.admin-active .btn-admin-add {
    display: inline-flex;
}

.btn-admin-logout {
    background: transparent;
    border: 1.5px solid rgba(220, 50, 50, 0.3);
    color: #e05555;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: none;
    transition: border-color 0.2s, background 0.2s;
}

.btn-admin-logout:hover {
    background: rgba(220, 50, 50, 0.08);
    border-color: #e05555;
}

.admin-active .btn-admin-logout {
    display: inline-block;
}

.admin-active .btn-admin-login {
    display: none;
}

/* Admin Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 35, 0.7);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    min-width: 340px;
    max-width: 95vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-box h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

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

.modal-box label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-box input,
.modal-box textarea,
.modal-box select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde3f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8faff;
    transition: border-color 0.2s;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
}

.modal-box input:focus,
.modal-box textarea:focus,
.modal-box select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

.modal-box textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-btn-save {
    background: var(--primary-color);
    color: #0d1b3e;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-btn-save:hover {
    background: #e0b014;
}

.modal-btn-cancel {
    background: transparent;
    color: #888;
    font-size: 0.9rem;
    padding: 10px 18px;
    border: 1.5px solid #dde3f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.modal-btn-cancel:hover {
    border-color: #aaa;
}

.modal-btn-delete {
    background: #fff0f0;
    color: #e05555;
    font-size: 0.9rem;
    padding: 10px 18px;
    border: 1.5px solid #f5c1c1;
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
    transition: background 0.2s;
}

.modal-btn-delete:hover {
    background: #ffe4e4;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #bbb;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #555;
}

/* PIN modal */
.pin-input {
    font-size: 1.5rem;
    letter-spacing: 8px;
    text-align: center;
    font-weight: 700;
}

/* Adjust body padding so content isn't hidden under fixed ticker */
body.has-ticker {
    padding-top: 38px;
    /* balance: navbar height (~110px) already handled by section padding */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 0 80px;
    background: #0d1b3e;
}

.gallery-section .section-title {
    color: #fff;
}

.gallery-section .section-title::after {
    background: var(--primary-color);
}

.gallery-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
}

/* First image spans 2 columns */
.gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #1a2f6e;
    aspect-ratio: 4/3;
}

.gallery-item--wide {
    aspect-ratio: unset;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 62, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--primary-color);
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.96);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.lightbox.active {
    display: flex;
}

.lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.lightbox-close:hover {
    background: rgba(245, 197, 24, 0.25);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(245, 197, 24, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-image {
        width: 100%;
        height: 400px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .carousel-section__inner {
        flex-direction: column;
        text-align: center;
    }

    .carousel-section__title {
        text-align: center;
    }

    .carousel-section__title::after {
        margin: 15px auto 0;
    }

    .carousel {
        max-width: 100%;
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .ticker-label {
        font-size: 0.58rem;
        padding: 0 8px;
        letter-spacing: 0.8px;
        gap: 4px;
    }

    .ticker-label i {
        font-size: 0.7rem;
    }

    .ticker-view-all {
        font-size: 0.6rem;
        padding: 4px 8px;
        margin-right: 6px;
        letter-spacing: 0.5px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        height: calc(100vh - 80px);
        background: rgba(30, 90, 180, 0.95);
        flex-direction: column;
        width: 100%;
        padding: 40px;
        transition: 0.3s ease-in-out;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero {
        background-attachment: scroll;
        min-height: 100vh;
    }

    .hero-content {
        padding: 30px 20px 25px;
        clip-path: none;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 80%;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .features {
        margin-top: 40px;
        padding-bottom: 40px;
    }

    .feature-card {
        width: 100%;
        max-width: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links a {
        margin: 0 10px;
    }

    .about-image {
        width: 100%;
        height: 80vw;
        min-height: 320px;
        border-radius: 15px;
    }

    .about {
        padding: 60px 0;
    }

    .about-content {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item--wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

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

    .gallery-item--wide {
        grid-column: span 1;
    }
}

/* ===== SCROLL-TO-TOP BUTTON ===== */
#scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 9000;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #0d1b3e;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
    pointer-events: none;
}

#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-top-btn:hover {
    background: #ffd84d;
    box-shadow: 0 8px 28px rgba(245, 197, 24, 0.55);
}

/* ===== ACTIVE NAV LINK ===== */
.nav-links a.active:not(.cta-btn) {
    color: var(--primary-color) !important;
}

.nav-links a.active:not(.cta-btn)::after {
    width: 100% !important;
}

.nav-links .cta-btn.active {
    color: var(--white) !important;
}

/* ===== NAVBAR SHRINK ON SCROLL ===== */
.nav-ticker-wrapper.scrolled .navbar {
    padding: 8px 5%;
}

.nav-ticker-wrapper.scrolled .logo img {
    height: 52px;
    transition: height 0.3s ease;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}