/* ============================================================
   CAREERS IN FLORIDA — Premium 2026 Stylesheet
   ============================================================ */

/* ── Google Fonts imported via header.php ── */

/* Hero full-width row spanning beyond Bootstrap container */
.hero-row {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--navbar-height) - 100px);
    width: 100%;
}

.hero-row .hero-left { flex: 0 0 48%; max-width: 48%; }
.hero-row .hero-right { flex: 0 0 52%; max-width: 52%; }

@media (max-width: 992px) {
    .hero-row { flex-direction: column; }
    .hero-row .hero-left,
    .hero-row .hero-right { flex: 1 1 100%; max-width: 100%; }
}

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --primary:          #0b6225;
    --primary-light:    #16843b;
    --primary-dark:     #084a1c;
    --primary-xlight:   #e8f5ed;
    --primary-glow:     rgba(11, 98, 37, 0.18);
    --white:            #ffffff;
    --light-bg:         #f7faf8;
    --text-dark:        #111827;
    --text-medium:      #374151;
    --text-light:       #6b7280;
    --text-xlight:      #9ca3af;
    --border:           #e5e7eb;
    --border-light:     #f3f4f6;

    /* Shadows */
    --shadow-xs:        0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm:        0 2px 10px rgba(11,98,37,0.08);
    --shadow-md:        0 4px 24px rgba(11,98,37,0.10);
    --shadow-lg:        0 8px 40px rgba(11,98,37,0.14);
    --shadow-xl:        0 16px 64px rgba(11,98,37,0.18);
    --shadow-card:      0 4px 20px rgba(0,0,0,0.08);
    --shadow-card-hover:0 12px 48px rgba(11,98,37,0.20);

    /* Radii */
    --radius-xs:        6px;
    --radius-sm:        10px;
    --radius-md:        16px;
    --radius-lg:        20px;
    --radius-xl:        28px;
    --radius-2xl:       40px;
    --radius-pill:      999px;

    /* Transitions */
    --transition-fast:  all 0.2s ease;
    --transition:       all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:  all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --spring:           all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Typography */
    --font-heading:     'Poppins', 'Outfit', sans-serif;
    --font-body:        'Inter', sans-serif;

    /* Spacing */
    --section-py:       100px;
    --section-py-sm:    60px;
    --navbar-height:    80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    /* Improve scroll feel on all platforms */
    -webkit-overflow-scrolling: touch;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }

ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

section { position: relative; overflow: hidden; }

.container-xl { max-width: 1280px; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.loaded { opacity: 0; visibility: hidden; }

.loader-inner { text-align: center; }

.loader-logo { width: 160px; animation: loaderPulse 1.2s ease-in-out infinite; }

.loader-bar {
    width: 160px;
    height: 3px;
    background: var(--border);
    border-radius: var(--radius-pill);
    margin: 16px auto 0;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-pill);
    animation: loaderFill 1.8s ease-in-out forwards;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(0.97); }
}

@keyframes loaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    height: var(--navbar-height);
    padding: 0;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
    z-index: 1000;
}

#mainNav.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
    height: 68px;
}

.nav-logo {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

#mainNav.scrolled .nav-logo { height: 40px; }

#mainNav .navbar-nav .nav-item { margin: 0 4px; }

#mainNav .nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 14px; right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-pill);
    transform: scaleX(0);
    transition: var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--primary);
    background: var(--primary-xlight);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { transform: scaleX(1); }

/* Transparent navbar on hero — white nav links */
body.hero-page #mainNav:not(.scrolled) .nav-link { color: var(--text-dark); }

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--spring);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.btn-nav-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    background: none;
    padding: 6px;
    cursor: pointer;
}

.toggler-icon { display: flex; flex-direction: column; gap: 5px; width: 24px; }

.toggler-icon span {
    display: block;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   COMMON BUTTONS
   ============================================================ */
.btn-primary-cif {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--spring);
    box-shadow: 0 4px 20px var(--primary-glow);
    white-space: nowrap;
}

.btn-primary-cif:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--primary-glow);
}

.btn-outline-cif {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--spring);
    white-space: nowrap;
}

.btn-outline-cif:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 36px var(--primary-glow);
}

/* Section labels */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--primary-xlight);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f0faf3 0%, #e8f5ed 40%, #d9edd0 70%, #c8e2cb 100%);
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

/* Animated background blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #0b6225, #16843b);
    top: -200px; left: -150px;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #16843b, #0b6225);
    bottom: -100px; right: 300px;
    animation-delay: -3s;
}

.hero-blob-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #0b6225, #084a1c);
    top: 30%; right: 10%;
    animation-delay: -5s;
    opacity: 0.12;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 10px) scale(0.95); }
}

/* Grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11,98,37,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,98,37,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.15; }
    90% { opacity: 0.15; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Hero Main Content */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    width: 48%;
    padding: 60px 48px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    width: fit-content;
}

.hero-eyebrow .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title .green-text {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--spring);
    box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-hero-primary:hover {
    color: var(--white);
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: rgba(255,255,255,0.8);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--spring);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

/* Hero Right — Two-column image panel */
.hero-right {
    width: 52%;
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: stretch;
    overflow: visible;          /* cards must not be clipped */
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;           /* clip image to rounded corner */
}

/* Soft vignette so cards read clearly over the photo */
.hero-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, transparent 35%),
        linear-gradient(to top,    rgba(0,0,0,0.22) 0%, transparent 40%),
        linear-gradient(to left,   rgba(0,0,0,0.10) 0%, transparent 30%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* keep faces/heads in frame */
    z-index: 1;
}

/* ── Hero Stat Tiles (4 corners) ── */
.hero-stat-tile {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 10;
    min-width: 168px;
    will-change: transform;
}

.hst-icon {
    width: 44px; height: 44px;
    background: var(--primary-xlight);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hst-count {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.hst-label {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.35;
    margin-top: 3px;
}

/* Four-corner positions */
.hero-stat-tile-1 { top: 5%;    left: 4%;  }   /* Top-left     */
.hero-stat-tile-2 { top: 5%;    right: 4%; }   /* Top-right    */
.hero-stat-tile-3 { bottom: 18%; left: 4%; }   /* Bottom-left  */
.hero-stat-tile-4 { bottom: 5%; right: 4%; }   /* Bottom-right */

/* Kept for careers-search on other pages */
.hero-search-btn {
    width: 36px; height: 36px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--spring);
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: var(--primary-light);
    transform: scale(1.08);
}

/* Hero Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.hero-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    border-right: 1px solid var(--border);
    flex: 1;
    max-width: 280px;
}

.hero-stat-item:last-child { border-right: none; }

.hero-stat-icon {
    width: 44px; height: 44px;
    background: var(--primary-xlight);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-stat-info {}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

/* ============================================================
   FEATURED CAREERS SECTION
   ============================================================ */
.featured-section {
    padding: var(--section-py) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 8px;
}

.view-all-link:hover { gap: 12px; }

/* Career Card */
.career-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.career-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
}

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

.career-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.company-avatar {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: var(--primary-xlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.card-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.badge-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.badge-type {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-xlight);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.card-job-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.card-company {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-meta-item i { color: var(--primary); font-size: 0.8rem; }

.card-salary {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-card-details {
    flex: 1;
    padding: 10px 16px;
    background: var(--light-bg);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid var(--border);
}

.btn-card-details:hover {
    background: var(--primary-xlight);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-card-apply {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: var(--spring);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-card-apply:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.why-section {
    padding: var(--section-py) 0;
    background: var(--light-bg);
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    text-align: center;
    transition: var(--transition-slow);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.why-icon {
    width: 72px; height: 72px;
    background: var(--primary-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--spring);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.why-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.stat-counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.stat-counter-icon {
    font-size: 2.4rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    display: block;
}

.stat-counter-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-counter-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-family: var(--font-heading);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
    padding: var(--section-py) 0;
    background: var(--white);
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white), #f8fffe);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    height: 100%;
    position: relative;
    transition: var(--transition-slow);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px; left: 28px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-xlight);
    line-height: 1;
    font-weight: 900;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 24px;
    padding-top: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

.rating-stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 1px; }

/* Testimonials Carousel Nav */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-nav-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--spring);
}

.testimonial-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    transition: var(--spring);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-cta-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    background: var(--light-bg);
    color: var(--primary);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: transparent;
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.65);
    transition: var(--spring);
    position: relative;
    z-index: 1;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-4px);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0faf3, #e8f5ed);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.about-section { padding: var(--section-py) 0; }

.about-text-block { max-width: 680px; }

.about-image-block {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.value-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: var(--transition-slow);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-icon {
    width: 64px; height: 64px;
    background: var(--primary-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin: 0 auto 16px;
    transition: var(--spring);
}

.value-card:hover .value-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition-slow);
    border: 1.5px solid var(--border);
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-avatar {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

/* ============================================================
   CAREERS PAGE — LISTING
   ============================================================ */
.careers-hero {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0faf3, #e8f5ed);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.careers-search-bar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 10px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 680px;
    margin: 32px auto 0;
    border: 1.5px solid var(--border);
}

.careers-search-bar .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 8px 16px;
    color: var(--text-dark);
    background: transparent;
}

.careers-search-bar .search-input::placeholder { color: var(--text-xlight); }

.careers-search-bar .search-icon { color: var(--text-light); padding: 0 8px; font-size: 1.1rem; }

.btn-search {
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--spring);
    flex-shrink: 0;
}

.btn-search:hover { background: var(--primary-light); transform: scale(1.04); }

/* Careers Layout */
.careers-body { padding: 60px 0 100px; background: var(--light-bg); }

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1.5px solid var(--border);
    position: sticky;
    top: calc(var(--navbar-height) + 20px);
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-clear {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

.filter-clear:hover { color: var(--primary-dark); }

.filter-group { margin-bottom: 24px; }

.filter-group-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-medium);
    transition: color 0.2s;
}

.filter-checkbox:hover { color: var(--primary); }

.filter-checkbox input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.filter-count {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-xlight);
    background: var(--border-light);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
}

/* Salary Range Slider */
.range-slider { width: 100%; accent-color: var(--primary); cursor: pointer; }

.salary-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Careers Main Area */
.careers-main {}

.careers-toolbar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border: 1.5px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}

.careers-count {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.careers-count span { color: var(--primary); }

.sort-select {
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--white);
}

.sort-select:focus { border-color: var(--primary); }

/* Skeleton Loader */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton-shine 1.4s infinite; border-radius: var(--radius-sm); }
.skeleton-card { height: 280px; border-radius: var(--radius-lg); margin-bottom: 20px; }
@keyframes skeleton-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--spring);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

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

/* No results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-results i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }
.no-results h4 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }

/* ============================================================
   CAREER DETAIL PAGE
   ============================================================ */
.detail-hero {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0faf3, #e8f5ed);
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb-nav a { color: var(--primary); transition: var(--transition-fast); }
.breadcrumb-nav a:hover { color: var(--primary-dark); }
.breadcrumb-nav i { font-size: 0.6rem; color: var(--text-xlight); }

.detail-job-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-medium);
    background: rgba(255,255,255,0.8);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
}

.detail-meta-item i { color: var(--primary); }

.detail-salary-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Detail body layout */
.detail-body { padding: 60px 0 100px; background: var(--light-bg); }

.detail-content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1.5px solid var(--border);
    margin-bottom: 24px;
}

.detail-content-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-content-card h3 i { color: var(--primary); }

.detail-content-card ul { margin: 0; padding: 0; }

.detail-content-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-light);
}

.detail-content-card ul li:last-child { border-bottom: none; }

.detail-content-card ul li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.detail-content-card p { font-size: 0.92rem; color: var(--text-medium); line-height: 1.75; }

/* Sticky apply sidebar */
.apply-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1.5px solid var(--border);
    position: sticky;
    top: 0px;
    box-shadow: var(--shadow-sm);
}

.apply-sidebar-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.apply-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.apply-info-row:last-of-type { border-bottom: none; }

.apply-info-label { color: var(--text-light); font-weight: 500; }

.apply-info-value { color: var(--text-dark); font-weight: 600; font-family: var(--font-heading); }

.btn-apply-big {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--spring);
    box-shadow: 0 6px 24px var(--primary-glow);
    margin-top: 20px;
    text-decoration: none;
}

.btn-apply-big:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px var(--primary-glow);
}

/* ============================================================
   DONATION PAGE
   ============================================================ */
.donation-hero {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0faf3, #e8f5ed);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-section { padding: var(--section-py) 0; }

.impact-stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: var(--transition-slow);
}

.impact-stat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.impact-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.impact-stat-label {
    font-size: 0.88rem;
    color: var(--text-light);
}

.donation-amount-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--spring);
    position: relative;
    overflow: hidden;
}

.donation-amount-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.donation-amount-card:hover,
.donation-amount-card.selected {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.donation-amount-card:hover::before,
.donation-amount-card.selected::before { opacity: 1; }

.donation-amount-card > * { position: relative; z-index: 1; }

.donation-amount-card:hover .donation-amount,
.donation-amount-card:hover .donation-label,
.donation-amount-card.selected .donation-amount,
.donation-amount-card.selected .donation-label { color: var(--white); }

.donation-icon { font-size: 2rem; margin-bottom: 12px; display: block; }

.donation-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
    transition: var(--transition);
}

.donation-label {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: var(--transition);
}

.qr-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
}

.qr-card img { max-width: 220px; border-radius: var(--radius-md); margin-bottom: 20px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
    padding: calc(var(--navbar-height) + 60px) 0 80px;
    background: linear-gradient(135deg, #f0faf3, #e8f5ed);
    text-align: center;
}

.contact-section { padding: var(--section-py) 0; }

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1.5px solid var(--border);
    transition: var(--transition-slow);
    height: 100%;
}

.contact-info-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.contact-info-icon {
    width: 60px; height: 60px;
    background: var(--primary-xlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--spring);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.contact-info-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info-content p, .contact-info-content a {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    text-decoration: none;
}

.contact-info-content a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control-cif {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition-fast);
    outline: none;
    resize: vertical;
}

.form-control-cif:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control-cif::placeholder { color: var(--text-xlight); }

.form-control-cif.is-invalid { border-color: #ef4444; }
.form-control-cif.is-valid { border-color: #22c55e; }

.form-error { font-size: 0.75rem; color: #ef4444; margin-top: 4px; display: none; }
.form-error.show { display: block; }

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--spring);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 24px var(--primary-glow);
}

.btn-submit:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 12px 36px var(--primary-glow); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

.form-success-msg, .form-error-msg {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

.form-success-msg { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-error-msg { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.form-success-msg.show, .form-error-msg.show { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
#mainFooter {
    background: #0d1117;
    color: rgba(255,255,255,0.75);
}

.footer-main { padding: 80px 0 40px; }

.footer-logo { height: 52px; width: auto; margin-bottom: 16px; }

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.55);
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--spring);
}

.footer-socials a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-newsletter-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-newsletter-form {}

.newsletter-input-group {
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.35); }

.newsletter-input-group button {
    padding: 12px 18px;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.newsletter-input-group button:hover { background: var(--primary-light); }

.newsletter-msg { font-size: 0.78rem; margin-top: 8px; height: 16px; }
.newsletter-msg.success { color: #6ee7b7; }
.newsletter-msg.error { color: #fca5a5; }

.footer-contact-info { display: flex; flex-direction: column; gap: 10px; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-contact-item:hover { color: rgba(255,255,255,0.85); }
.footer-contact-item i { color: var(--primary-light); font-size: 0.85rem; flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--primary-light); }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    right: 24px;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.fab-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--spring);
    cursor: pointer;
    border: none;
    position: relative;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.fab-btn:hover { transform: translateY(-4px) scale(1.1); }

.fab-whatsapp { background: #25d366; color: var(--white); }
.fab-whatsapp:hover { background: #1ebe5d; color: var(--white); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

.fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37,211,102,0.3);
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.fab-call { background: var(--primary); color: var(--white); }
.fab-call:hover { background: var(--primary-light); color: var(--white); box-shadow: 0 8px 24px var(--primary-glow); }

.fab-top { background: var(--white); color: var(--text-dark); border: 1.5px solid var(--border); opacity: 0; visibility: hidden; transition: var(--transition); }
.fab-top.visible { opacity: 1; visibility: visible; }
.fab-top:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============================================================
   ANIMATION UTILITY CLASSES
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(40px); }
.fade-in { opacity: 0; }
.scale-in { opacity: 0; transform: scale(0.9); }
.slide-left { opacity: 0; transform: translateX(-40px); }
.slide-right { opacity: 0; transform: translateX(40px); }

/* Active states set by GSAP */
.anim-done { opacity: 1; transform: none; }

/* Glassmorphism utility */
.glass {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
}

/* Green glow badge */
.glow-badge {
    position: relative;
    display: inline-block;
}
.glow-badge::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: var(--primary);
    border-radius: inherit;
    filter: blur(16px);
    opacity: 0.2;
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

/* ============================================================
   SECTION SEPARATORS
   ============================================================ */
.wave-divider {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    overflow: hidden;
    line-height: 0;
}
.wave-divider svg { display: block; width: 100%; height: 64px; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1200px) {
    .hero-stat-tile  { min-width: 150px; padding: 12px 16px; }
    .hero-stat-tile-1 { left: 2%; }
    .hero-stat-tile-2 { right: 2%; }
    .hero-stat-tile-3 { left: 2%; }
    .hero-stat-tile-4 { right: 2%; }
}

@media (max-width: 992px) {
    :root { --section-py: 70px; }

    .hero-main { flex-direction: column; align-items: stretch; }
    .hero-left { width: 100%; padding: 50px 0 30px; text-align: center; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-right { width: 100%; height: 62vw; min-height: 360px; }
    .hero-image-wrap { border-radius: var(--radius-lg); min-height: unset; height: 100%; }

    .hero-stat-tile  { min-width: 140px; padding: 10px 14px; gap: 10px; }
    .hst-icon        { width: 36px; height: 36px; font-size: 1rem; }
    .hst-count       { font-size: 1.1rem; }
    .hero-stat-tile-1 { top: 4%;    left: 2%; }
    .hero-stat-tile-2 { top: 4%;    right: 2%; }
    .hero-stat-tile-3 { bottom: 14%; left: 2%; }
    .hero-stat-tile-4 { bottom: 3%; right: 2%; }

    .hero-stat-item { padding: 0 20px; }

    .contact-form-card { padding: 32px 24px; }
    .about-section .row { flex-direction: column; }
}

@media (max-width: 768px) {
    :root { --section-py: 56px; }

    .navbar-collapse {
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
    }

    .nav-cta { margin-top: 12px; }

    .hero-title { font-size: 2rem; }
    .hero-stats-inner { flex-wrap: wrap; }
    .hero-stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 14px 20px; flex: 1 1 40%; max-width: none; }
    .hero-stat-item:last-child { border-bottom: none; }

    /* On small screens keep only top tiles, hide bottom ones */
    .hero-stat-tile-3,
    .hero-stat-tile-4 { display: none; }

    .careers-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .filters-sidebar { position: static; margin-bottom: 24px; }

    .apply-sidebar-card { position: static; margin-top: 24px; }

    .contact-form-card { padding: 24px 16px; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .floating-btns { right: 16px; bottom: 24px; }
    .fab-btn { width: 48px; height: 48px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .btn-hero-primary, .btn-hero-outline { padding: 13px 24px; font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-right { height: 72vw; }
    .hero-job-card { display: none; }

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

    .detail-content-card { padding: 24px 18px; }
    .qr-card { padding: 24px 16px; }

    .footer-main { padding: 48px 0 32px; }
}

/* ============================================================
   ULTRA WIDE
   ============================================================ */
@media (min-width: 1600px) {
    :root { --section-py: 120px; }
    .hero-title { font-size: 4.5rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    #mainNav, #mainFooter, .floating-btns, #page-loader { display: none !important; }
    .hero-section { min-height: auto; padding: 40px 0; }
    .hero-right { display: none; }
    .hero-left { width: 100%; }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection { background: var(--primary); color: var(--white); }
::-moz-selection { background: var(--primary); color: var(--white); }
