/* =========================================
   VIVA SCIENTIFIC — Futuristic Modern Theme
   ========================================= */

:root {
    --primary-green: #0d4f1c;
    --secondary-green: #2e7d32;
    --accent-green: #43a047;
    --light-green: #e8f5e9;
    --glow-green: rgba(46, 125, 50, 0.15);
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-muted: #888888;
    --white: #ffffff;
    --off-white: #f5f7f6;
    --section-bg: #f0f4f1;
    --dark-bg: #080e0a;
    --card-border: rgba(46, 125, 50, 0.12);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --transition-speed: 0.35s;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-main: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(46, 125, 50, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    opacity: 1;
    transition: opacity 220ms ease;
}

body.page-exit {
    opacity: 0;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) var(--ease-out);
}

ul {
    list-style: none;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== BUTTONS — Unified ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-main);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed) var(--ease-out);
    border: 2px solid var(--primary-green);
    letter-spacing: 0.02em;
}

.btn i {
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 79, 28, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 79, 28, 0.25);
}

/* WhatsApp button — matches the others in shape */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-main);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed) var(--ease-out);
    letter-spacing: 0.02em;
}

.btn-whatsapp:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 79, 28, 0.25);
}

/* ========== HEADER — Solid White for Logo Match ========== */
header {
    background: #ffffff;
    border-bottom: 1px solid rgba(13, 79, 28, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Desktop Nav */
.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    border-radius: 2px;
    transition: width 0.35s var(--ease-out);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-green);
    cursor: pointer;
    position: relative;
    z-index: 101;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        padding-top: 90px;
        transition: right 0.4s var(--ease-out);
        display: block;
        z-index: 100;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 0 28px;
    }

    .main-nav a {
        font-size: 1.05rem;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--card-border);
    }

    .main-nav a::after {
        display: none;
    }
}

/* ========== CAREERS PAGE — VIDEO HERO ========== */
.careers-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
}

/* --- Video background --- */
.careers-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    animation: videoFadeIn 2s ease-in-out 0.3s forwards;
}

/* --- Overlay: slightly stronger than hero so dark-green text reads cleanly --- */
.careers-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg,
        rgba(232, 245, 233, 0.72) 0%,
        rgba(255, 255, 255, 0.78) 50%,
        rgba(240, 244, 241, 0.72) 100%);
    z-index: 1;
}

/* --- Content wrapper --- */
.careers-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ---- TWO-COLUMN HERO GRID (mirrors index.html hero-grid) ---- */
.careers-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left column */
.careers-hero-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s var(--ease-out) 0.4s forwards;
}

/* Badge pill */
.careers-badge {
    background: rgba(232, 245, 233, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-green);
    border-color: var(--card-border);
}

/* Brand heading */
.careers-brand-name {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 12px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(255,255,255,0.95), 0 1px 3px rgba(0,0,0,0.15);
    line-height: 1.15;
}

.careers-brand-tagline {
    font-size: 1rem;
    color: var(--text-light);
    margin: 12px 0 28px;
    text-shadow: 0 1px 6px rgba(255,255,255,0.8);
}

/* Stats row */
.careers-stats-row {
    display: flex;
    gap: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.careers-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.careers-stat-num {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.careers-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Right column */
.careers-hero-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s var(--ease-out) 0.55s forwards;
}

.careers-hero-right h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--primary-green);
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(255,255,255,0.95), 0 1px 3px rgba(0,0,0,0.15);
}

.careers-hero-right > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.72;
    margin-bottom: 20px;
    text-shadow: 0 1px 6px rgba(255,255,255,0.8);
}

.careers-cta-row {
    justify-content: flex-start;
}

/* ---- POSITIONS SECTION ---- */
.careers-positions {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.careers-positions-header {
    text-align: center;
}

.careers-positions-header h2 {
    font-size: 1.5rem;
    color: var(--primary-green);
    display: inline-block;
    position: relative;
    letter-spacing: 0;
    text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.careers-positions-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    margin: 10px auto 0;
    border-radius: 2px;
}

.careers-positions-header > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-shadow: 0 1px 4px rgba(255,255,255,0.7);
}

/* Job cards: horizontal rows */
.careers-jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.careers-job-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.7);
    border-left: 4px solid var(--secondary-green);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all var(--transition-speed) var(--ease-out);
    text-align: left;
}

.careers-job-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-left-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.95);
}

.careers-job-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--light-green);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-speed) var(--ease-out);
}

.careers-job-icon-wrap i {
    font-size: 1.2rem;
    color: var(--secondary-green);
    transition: all var(--transition-speed) var(--ease-out);
}

.careers-job-card:hover .careers-job-icon-wrap {
    background: var(--primary-green);
}

.careers-job-card:hover .careers-job-icon-wrap i {
    color: var(--white);
}

.careers-job-info {
    flex: 1;
    text-align: left;
}

.careers-job-info h3 {
    font-size: 0.98rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 3px;
    letter-spacing: 0;
}

.careers-job-type {
    font-size: 0.78rem;
    color: var(--secondary-green);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Apply button on each card */
.careers-apply-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    transition: all var(--transition-speed) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.careers-apply-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 79, 28, 0.25);
}

/* How-to-apply strip — inside the hero right column */
.careers-apply-strip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.65);
    border-left: 4px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    width: 100%;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.careers-apply-strip i {
    font-size: 1.2rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

.careers-apply-strip p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.careers-apply-strip strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .careers-hero-grid {
        gap: 40px;
    }
    .careers-brand-name {
        font-size: 2.2rem;
    }
    .careers-hero-right h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 768px) {
    .careers-page {
        padding: 90px 0 60px;
    }
    .careers-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .careers-hero-left {
        text-align: center;
    }
    .careers-stats-row {
        justify-content: center;
    }
    .careers-hero-right {
        text-align: center;
    }
    .careers-cta-row {
        justify-content: center;
    }
    .careers-brand-name {
        font-size: 2rem;
    }
    .careers-hero-right h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .careers-hero-right h1 {
        font-size: 1.9rem;
    }
    .careers-hero-right > p {
        font-size: 1rem;
    }
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    .cta-group .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .careers-job-card {
        padding: 14px 16px;
    }
    .careers-apply-strip {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--glow-green) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s var(--ease-out) 0.3s forwards;
}

.hero-right {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s var(--ease-out) 0.5s forwards;
}

.company-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 10px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-grid h1,
.hero-grid p,
.hero-grid .badge {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-grid .badge {
    background: rgba(232, 245, 233, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    animation: videoFadeIn 2s ease-in-out 0.3s forwards;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(232, 245, 233, 0.3) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(240, 244, 241, 0.35) 100%);
    z-index: 1;
}

@keyframes videoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes videoFadeOut {
    from { opacity: 1; }
    to { opacity: 0.8; }
}

.badge {
    display: inline-block;
    background: var(--light-green);
    color: var(--primary-green);
    padding: 6px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--card-border);
    letter-spacing: 0.5px;
}

.hero-right h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--primary-green);
    letter-spacing: -0.03em;
}

.hero-right p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Icon CTA Buttons */
.cta-icons {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

.icon-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: rgba(232, 245, 233, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--primary-green);
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

.icon-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(13, 79, 28, 0.3);
}

.icon-btn.whatsapp {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.icon-btn.whatsapp:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Scroll Down Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: rgba(232, 245, 233, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    z-index: 10;
    transition: all 0.35s var(--ease-out);
    animation: bounce 2s infinite;
    box-shadow: var(--shadow-sm);
}

.scroll-arrow svg {
    width: 26px;
    height: 26px;
}

.scroll-arrow:hover {
    background: var(--primary-green);
    color: var(--white);
    animation-play-state: paused;
    box-shadow: 0 6px 20px rgba(13, 79, 28, 0.25);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========== SECTIONS GENERAL ========== */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ========== INTRO / ABOUT ========== */
.intro {
    background: var(--white);
    text-align: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== ABOUT VIDEO SECTION ========== */
.about-video-section {
    background: var(--white);
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    align-items: center;
}

/* Video Player */
.about-video-wrapper {
    position: relative;
}

.about-video-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(13, 79, 28, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px var(--card-border);
    transition: transform var(--transition-speed) var(--ease-out),
                box-shadow var(--transition-speed) var(--ease-out);
}

.about-video-player::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-green), var(--accent-green), var(--primary-green));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.5;
    transition: opacity var(--transition-speed) var(--ease-out);
}

.about-video-player:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 28px 60px rgba(13, 79, 28, 0.2),
        0 12px 28px rgba(0, 0, 0, 0.1),
        0 0 0 1px var(--secondary-green);
}

.about-video-player:hover::before {
    opacity: 0.8;
}

.about-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg);
}

/* Video Controls Overlay */
.video-controls-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.video-ctrl-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-ctrl-btn:hover {
    background: rgba(46, 125, 50, 0.85);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.video-ctrl-btn.active {
    background: rgba(46, 125, 50, 0.8);
    border-color: var(--accent-green);
}

/* Hover-only controls */
.hover-control {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
}

.about-video-player:hover .hover-control {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Text Column */
.about-text-wrapper {
    text-align: left;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--card-border);
    letter-spacing: 0.5px;
}

.about-label-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
}

.about-heading {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.about-text-wrapper > p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Stats Row */
.about-stats {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.02em;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}


/* ========== JOBS LIST (index page) ========== */
.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-green);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--ease-out);
    text-align: center;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-left-color: var(--primary-green);
}

.job-card h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin: 0;
    letter-spacing: 0;
}

/* ========== RESELLER / BRANDS ========== */
.reseller {
    background: var(--off-white);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 10px;
}

.brand-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) var(--ease-out);
    border: 1px solid var(--card-border);
    height: 110px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: var(--secondary-green);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* ========== CUSTOMER SEGMENTS ========== */
.customers {
    background: var(--white);
}

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

.segment-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    border-bottom: 3px solid var(--secondary-green);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) var(--ease-out);
    text-align: center;
}

.segment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-bottom-color: var(--primary-green);
}

.segment-card i {
    transition: transform var(--transition-speed) var(--ease-out);
}

.segment-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: all var(--transition-speed) var(--ease-out);
}

.segment-icon i {
    font-size: 1.5rem;
    color: var(--secondary-green);
}

.segment-card:hover .segment-icon {
    background: var(--primary-green);
    transform: scale(1.1);
}

.segment-card:hover .segment-icon i {
    color: var(--white);
}

.segment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.segment-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== FOOTER ========== */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 70px 0 24px;
    border-top: 3px solid var(--secondary-green);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.footer-col p,
.footer-col a {
    color: #999;
    margin-bottom: 10px;
    display: block;
    font-size: 0.93rem;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--accent-green);
}

.map-embed {
    margin-top: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.map-embed iframe {
    width: 100%;
    height: 200px;
    border: 0;
    display: block;
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 0.88rem;
    padding-top: 10px;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    z-index: 2000;
    transition: all 0.3s var(--ease-out);
}

.whatsapp-float i {
    font-size: 26px;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.45);
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(10, 15, 13, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 2200;
    max-width: calc(100% - 40px);
    font-size: 0.93rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* ========== RESPONSIVE — Tablet Landscape (≤1024px) ========== */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-right h1 {
        font-size: 2.8rem;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .careers-header h1 {
        font-size: 2.6rem;
    }

    /* About Video */
    .about-content {
        gap: 35px;
    }

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

/* ========== RESPONSIVE — Tablet Portrait (≤768px) ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    /* Hero */
    .hero {
        height: auto;
        min-height: 90vh;
        padding: 40px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        text-align: center;
    }

    .company-name {
        font-size: 2rem;
    }

    .hero-right h1 {
        font-size: 2.2rem;
    }

    .hero-right p {
        font-size: 1rem;
    }

    .cta-icons {
        justify-content: center;
    }

    .badge {
        font-size: 0.8rem;
        padding: 5px 14px;
    }

    /* About Video */
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-text-wrapper {
        text-align: center;
    }

    .about-label {
        margin-left: auto;
        margin-right: auto;
    }

    .about-heading {
        font-size: 1.7rem;
    }

    .about-stats {
        justify-content: center;
    }

    .about-video-player {
        max-width: 520px;
        margin: 0 auto;
    }

    /* Sections */
    section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Brand cards */
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .brand-card {
        height: 90px;
        padding: 20px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    /* Segment cards */
    .segment-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .segment-card {
        padding: 24px 18px;
    }

    .segment-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .segment-icon i {
        font-size: 1.3rem;
    }

    /* Footer */
    footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-embed iframe {
        height: 180px;
    }

    /* Buttons */
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .cta-group {
        gap: 10px;
    }

    /* Jobs grid */
    .jobs-list {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    /* Careers page */
    .careers-page {
        padding: 30px 0;
    }

    .careers-header h1 {
        font-size: 2.2rem;
    }

    .careers-header p {
        font-size: 1rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .careers-jobs .job-card {
        padding: 22px 14px 20px;
    }

    /* Nav — already handled above in nav section */
    .nav-wrapper {
        flex-direction: row;
        height: 70px;
        padding: 10px 18px;
    }

    .logo img {
        height: 42px;
    }

    /* Scroll arrow */
    .scroll-arrow {
        width: 42px;
        height: 42px;
        bottom: 20px;
    }

    .scroll-arrow svg {
        width: 22px;
        height: 22px;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-float i {
        font-size: 22px;
    }
}

/* ========== RESPONSIVE — Phone (≤480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding: 30px 0;
    }

    .company-name {
        font-size: 1.6rem;
    }

    .hero-right h1 {
        font-size: 1.75rem;
    }

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

    .icon-btn {
        width: 46px;
        height: 46px;
    }

    .icon-btn svg {
        width: 20px;
        height: 20px;
    }

    .cta-icons {
        gap: 10px;
    }

    /* Sections */
    section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    /* About Video — Phone */
    .about-content {
        gap: 24px;
    }

    .about-heading {
        font-size: 1.4rem;
    }

    .about-text-wrapper > p {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .about-stats {
        gap: 18px;
        flex-wrap: wrap;
    }

    .about-stat-number {
        font-size: 1.35rem;
    }

    .about-stat-label {
        font-size: 0.78rem;
    }

    .about-video-player {
        border-radius: var(--radius-md);
    }

    .about-video-player iframe {
        border-radius: var(--radius-md);
    }

    .video-controls-overlay {
        opacity: 1;
    }

    /* Brand cards */
    .brand-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .brand-card {
        height: 80px;
        padding: 16px;
        border-radius: var(--radius-sm);
    }

    .brand-name {
        font-size: 1rem;
    }

    /* Segment cards */
    .segment-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .segment-card {
        padding: 22px 16px;
        border-radius: var(--radius-sm);
    }

    .segment-card h3 {
        font-size: 1.05rem;
    }

    /* Footer */
    footer {
        padding: 40px 0 16px;
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .footer-col p,
    .footer-col a {
        font-size: 0.88rem;
    }

    .map-embed iframe {
        height: 150px;
    }

    .copyright {
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cta-group .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    /* Careers page */
    .careers-page {
        padding: 24px 0;
        min-height: auto;
    }

    .careers-page > .container {
        gap: 35px;
    }

    .careers-header h1 {
        font-size: 1.75rem;
    }

    .careers-header p {
        font-size: 0.92rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .careers-jobs .job-card {
        padding: 18px 10px 16px;
        border-radius: var(--radius-sm);
    }

    .careers-jobs .job-card i {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }

    .careers-jobs .job-card h3 {
        font-size: 0.85rem;
    }

    .careers-jobs h2 {
        font-size: 1.2rem;
    }

    /* Toast */
    .toast {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
}




/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}