/* ============================================
   Vapisa Ltd. — Premium Design System
   Industrial Luxury Aesthetic
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #1abc9c;
    --primary-dark: #148f77;
    --primary-glow: rgba(26, 188, 156, 0.12);
    --primary-glow-strong: rgba(26, 188, 156, 0.25);
    --dark: #060d1a;
    --dark-surface: #0c1829;
    --dark-card: #111f35;
    --dark-border: rgba(255, 255, 255, 0.06);
    --light-bg: #f4f6f9;
    --light-surface: #ffffff;
    --text: #1a1a2e;
    --text-muted: #5a6a7e;
    --text-light: rgba(255, 255, 255, 0.65);
    --radius: 16px;
    --radius-sm: 10px;
    --font-display: "Outfit", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
}

a {
    color: var(--primary);
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--primary);
    color: #fff;
}

section {
    padding: 7rem 0;
    position: relative;
}

/* --- Grain Texture Overlay --- */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* --- Section Tags & Headings --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-tag--light {
    color: var(--primary);
    background: rgba(26, 188, 156, 0.15);
}

.section-heading {
    font-size: 2.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-heading--light {
    color: #fff;
}

.section-subheading {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.section-subheading--light {
    color: var(--text-light);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    padding: 1.1rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.navbar.transparent {
    background: transparent !important;
}

.navbar.scrolled {
    background: rgba(6, 13, 26, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.6rem 0;
    box-shadow: 0 1px 0 var(--dark-border), 0 8px 40px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 45px;
    width: auto;
    transition: height var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 38px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.3rem !important;
    transition: color var(--transition);
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 20px;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.15rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--primary-glow-strong);
}

.navbar-toggler:hover {
    border-color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(6, 13, 26, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        margin-top: 0.75rem;
        padding: 1.25rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--dark-border);
    }

    .navbar-collapse .nav-link {
        padding: 0.85rem 1rem !important;
        font-size: 0.95rem;
    }

    .navbar-collapse .nav-link::after {
        display: none;
    }
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../assets/img/warehouse.jpg") center center / cover no-repeat;
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0%   { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 13, 26, 0.82) 0%,
        rgba(6, 13, 26, 0.55) 40%,
        rgba(6, 13, 26, 0.7) 70%,
        rgba(6, 13, 26, 0.92) 100%
    );
}

.hero-gradient-anim {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 188, 156, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 188, 156, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(20, 143, 119, 0.08) 0%, transparent 45%);
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

@keyframes gradientPulse {
    0%   { opacity: 0.6; }
    50%  { opacity: 1; }
    100% { opacity: 0.7; }
}

/* Floating Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(26, 188, 156, 0.15);
    opacity: 0;
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: -5%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.shape-2 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 5%;
    border: 1px solid rgba(26, 188, 156, 0.1);
    animation-delay: 2s;
    animation-duration: 11s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 15%;
    background: rgba(26, 188, 156, 0.04);
    animation-delay: 4s;
    animation-duration: 9s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 25%;
    right: 10%;
    border: 1px dashed rgba(26, 188, 156, 0.12);
    border-radius: 0;
    transform: rotate(45deg);
    animation-delay: 1s;
    animation-duration: 16s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    top: 55%;
    right: 25%;
    background: rgba(26, 188, 156, 0.06);
    animation-delay: 3s;
    animation-duration: 10s;
}

@keyframes shapeFloat {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0) rotate(0deg);
    }
    25% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateY(-30px) rotate(5deg);
    }
    75% {
        opacity: 0.5;
    }
}

.shape-4 {
    animation-name: shapeFloatRotate;
}

@keyframes shapeFloatRotate {
    0%, 100% {
        opacity: 0.2;
        transform: translateY(0) rotate(45deg);
    }
    50% {
        opacity: 0.4;
        transform: translateY(-20px) rotate(55deg);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 0 1.5rem;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    border: 1px solid rgba(26, 188, 156, 0.35);
    padding: 0.45rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
    background: rgba(26, 188, 156, 0.06);
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.05;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-hero:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 188, 156, 0.35);
}

.btn-hero:hover::before {
    opacity: 1;
}

.btn-hero i {
    font-size: 0.8rem;
    transition: transform var(--transition);
}

.btn-hero:hover i {
    transform: translateX(4px);
}

/* Hero Scroll Indicator */
.hero-arrow {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.hero-arrow:hover {
    color: var(--primary);
}

.hero-arrow-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-arrow-line {
    display: block;
    width: 1px;
    height: 40px;
    background: currentColor;
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0%   { scaleY: 0; opacity: 0; }
    30%  { scaleY: 1; opacity: 1; }
    70%  { scaleY: 1; opacity: 1; }
    100% { scaleY: 0; opacity: 0; transform: scaleY(0) translateY(10px); }
}

/* =============================================
   STATS
   ============================================= */
.stats {
    background: var(--dark);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(26, 188, 156, 0.05) 0%, transparent 60%);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 1.5rem 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.7;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Stat dividers */
.stats .col-6:not(:last-child) .stat-item::after,
.stats .col-lg-3:not(:last-child) .stat-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
}

/* =============================================
   SERVICES
   ============================================= */
.services {
    background: var(--light-bg);
}

.service-card {
    position: relative;
    background: var(--light-surface);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

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

.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card .icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--primary);
    transition: all var(--transition);
    position: relative;
}

.service-card:hover .icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.3);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.service-card .learn-more {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition);
}

.service-card .learn-more i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.service-card .learn-more:hover {
    color: var(--primary-dark);
}

.service-card .learn-more:hover i {
    transform: translateX(4px);
}

/* Service Modal */
.service-modal .modal-content {
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.service-modal .modal-header {
    border-bottom: none;
    padding: 1.75rem 2rem 0.75rem;
}

.service-modal .modal-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.service-modal .modal-body {
    padding: 0.5rem 2rem 2.25rem;
}

.service-modal .modal-body .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.service-modal .modal-body p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
    background: var(--light-surface);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
}

.about-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 50%;
    height: 50%;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0.3;
}

/* About Timeline */
.about-timeline {
    position: relative;
    padding-left: 2.25rem;
    margin-top: 0.5rem;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(26, 188, 156, 0.2));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.25rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--light-surface);
    box-shadow: 0 0 0 2px var(--primary);
    transform: translateX(-5px);
}

.timeline-item h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
    background: var(--dark);
    padding: 7rem 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 13, 26, 0.85) 0%,
        rgba(6, 13, 26, 0.3) 40%,
        rgba(6, 13, 26, 0.1) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay i {
    font-size: 1.3rem;
    color: #fff;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-overlay i {
    border-color: var(--primary);
    background: rgba(26, 188, 156, 0.15);
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(6, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform var(--transition);
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1.25rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 1;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-nav:hover {
    background: rgba(26, 188, 156, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* =============================================
   CAREERS
   ============================================= */
.careers {
    background: var(--dark);
    color: #fff;
}

.careers .section-tag {
    color: var(--primary);
    border-color: rgba(26, 188, 156, 0.25);
}

.careers .section-heading {
    color: #fff;
}

.careers .section-subheading {
    color: var(--text-light);
}

/* Vacancy card */
.vacancy-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    border-color: rgba(26, 188, 156, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.vacancy-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vacancy-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.vacancy-badge {
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.vacancy-badge--full-time {
    background: rgba(26, 188, 156, 0.15);
    color: var(--primary);
}

.vacancy-badge--part-time {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.vacancy-badge--contract {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.vacancy-meta i {
    color: var(--primary);
    margin-right: 0.35rem;
    width: 14px;
    text-align: center;
}

.vacancy-meta .vacancy-date {
    opacity: 0.75;
    font-size: 0.8rem;
}

.vacancy-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.vacancy-description p {
    margin-bottom: 0.6em;
}

.vacancy-description p:last-child {
    margin-bottom: 0;
}

.vacancy-description ul,
.vacancy-description ol {
    padding-left: 1.2em;
    margin-bottom: 0.6em;
}

.vacancy-description li {
    margin-bottom: 0.3em;
}

.vacancy-description strong,
.vacancy-description b {
    color: #fff;
}

.vacancy-description a {
    color: var(--primary);
    text-decoration: underline;
}

/* Vacancy card actions row */
.vacancy-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-self: flex-start;
}

.vacancy-card .btn-details {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.2rem;
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: all var(--transition);
    cursor: pointer;
}

.vacancy-card .btn-details:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.vacancy-card .btn-details i {
    font-size: 0.7rem;
    transition: transform var(--transition);
}

.vacancy-card .btn-details:hover i {
    transform: translateX(3px);
}

.careers .btn-apply,
.careers-modal-content .btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(26, 188, 156, 0.35);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
    cursor: pointer;
    align-self: flex-start;
}

.careers .btn-apply:hover,
.careers-modal-content .btn-apply:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

/* Disabled apply button — position closed */
.careers .btn-apply:disabled,
.careers-modal-content .btn-apply:disabled {
    color: var(--text-light);
    border-color: var(--dark-border);
    background: transparent;
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.careers .btn-apply:disabled:hover,
.careers-modal-content .btn-apply:disabled:hover {
    background: transparent;
    color: var(--text-light);
    border-color: var(--dark-border);
    transform: none;
    box-shadow: none;
}


/* Empty state */
.vacancy-empty {
    padding: 3rem 1rem;
    color: var(--text-light);
}

.vacancy-empty i {
    font-size: 2.5rem;
    color: rgba(26, 188, 156, 0.3);
    margin-bottom: 1rem;
}

.vacancy-empty h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.vacancy-empty p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Careers modal */
.careers-modal-content {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: #fff;
}

.careers-modal-header {
    border-bottom: 1px solid var(--dark-border);
    padding: 1.5rem 2rem;
}

.careers-modal-header .modal-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.careers-modal-vacancy {
    color: var(--primary);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.detail-modal-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.detail-modal-meta i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.careers-modal-footer {
    border-top: 1px solid var(--dark-border);
    padding: 1.2rem 2rem;
    justify-content: flex-start;
}

.careers-modal-content .modal-body {
    padding: 2rem;
}

.careers-modal-content .form-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.careers-modal-content .form-control {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #fff;
    transition: all var(--transition);
}

.careers-modal-content .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--dark-card);
}

.careers-modal-content .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.careers-modal-content .form-control::file-selector-button {
    background: var(--primary-glow);
    color: var(--primary);
    border: none;
    border-right: 1px solid var(--dark-border);
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    transition: all var(--transition);
}

.careers-modal-content .form-control::file-selector-button:hover {
    background: rgba(26, 188, 156, 0.25);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    background: var(--light-bg);
}

.contact-info-inner {
    height: 100%;
}

.contact-block {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.contact-block-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-block h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-block p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-block a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-block a:hover {
    color: var(--primary-dark);
}

.contact-info .social-links {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-info .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-glow);
    color: var(--primary);
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.contact-info .social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--light-surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-card .form-control {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--light-bg);
    transition: all var(--transition);
}

.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--light-surface);
}

.contact-form-card .form-control::placeholder {
    color: #a0aec0;
}

.contact-form-card label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.3);
}

.btn-submit:hover::before {
    opacity: 1;
}

.btn-submit i {
    transition: transform var(--transition);
}

.btn-submit:hover i {
    transform: translateX(3px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.site-footer h5 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.9rem;
}

.site-footer h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.site-footer p,
.site-footer li {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: all var(--transition);
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    position: relative;
    padding-left: 0;
    transition: all var(--transition);
    font-size: 0.88rem;
}

.footer-links a::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--primary);
    margin-right: 0;
    vertical-align: middle;
    transition: all var(--transition);
}

.footer-links a:hover {
    padding-left: 0;
}

.footer-links a:hover::before {
    width: 12px;
    margin-right: 8px;
}

/* Footer Locations */
.footer-location-item {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-location-item i {
    color: var(--primary);
    margin-top: 0.3rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.footer-location-item strong {
    color: rgba(255, 255, 255, 0.75);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.25);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    margin-top: 3.5rem;
    text-align: center;
}

.footer-bottom small {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--primary);
    border: 1px solid rgba(26, 188, 156, 0.2);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.3);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    section {
        padding: 5rem 0;
    }

    .section-heading {
        font-size: 2.15rem;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .about-image img {
        min-height: 300px;
    }

    .about-image-accent {
        display: none;
    }

    .stat-number {
        font-size: 2.75rem;
    }

    .stat-suffix {
        font-size: 1.5rem;
    }

    .contact-form-card {
        padding: 2rem;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .gallery {
        padding: 5rem 0;
    }
}

@media (max-width: 767.98px) {
    .stats .col-6 .stat-item::after {
        display: none;
    }

    .stat-item {
        padding: 1rem 0;
    }

    .stats {
        padding: 3rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-tag {
        font-size: 0.65rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    section {
        padding: 4rem 0;
    }

    .gallery-item {
        aspect-ratio: 3 / 2;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-suffix {
        font-size: 1.25rem;
    }

    .stat-item p {
        font-size: 0.72rem;
    }

    .scroll-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .about-timeline {
        padding-left: 1.75rem;
    }

    .timeline-marker {
        left: -1.75rem;
        transform: translateX(-5px);
    }
}

/* =============================================
   UTILITY: Parallax elements (JS-driven)
   ============================================= */
[data-parallax] {
    will-change: transform;
}

/* Smooth reveal animation for counters */
.stat-number {
    transition: none;
}
