/* ==================
   CSS VARIABLES
================== */
:root {
    --bg-color: #ffffff;
    --bg-secondary: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.2);
    --border-subtle: #e5e5e5;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --success: #28a745;
    --warning: #ffc107;
    --office-blue: #1e3a8a;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* ==================
   TYPOGRAPHY
================== */
.headline-l {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1d1d1f 0%, #434346 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.headline-m {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.subheadline {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 800px;
    margin-bottom: 40px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.badge-uk {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}


/* ==================
   NAVBAR
================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

.logo span {
    font-size: 1.8rem;
    font-weight: 800;
    color: #032e5b;
    letter-spacing: -0.01em;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* ==================
   BUTTONS
================== */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.3);
    background-color: #005bb5;
}

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

.btn-secondary:hover {
    background-color: var(--border-subtle);
    transform: translateY(-2px);
}

/* ==================
   LAYOUT SECTIONS
================== */
section {
    padding: 40px 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Subtle glowing orb behind hero */
.hero::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Grid System */
.grid {
    display: grid;
    gap: 32px;
}

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

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

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

/* ==================
   CARDS & CONTAINERS
================== */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 113, 227, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Step Element in Cards */
.step-number {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: inline-block;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 4px;
}

.feature-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Impact Section Styles */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stat-box {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.stat-box h4 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.stat-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Form Styles */
.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

/* ==================
   UTILITIES & ANIMATIONS
================== */
.mt-40 {
    margin-top: 40px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-64 {
    margin-bottom: 64px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Floating Workforce Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    opacity: 0.1;
    animation: float-around 20s infinite ease-in-out;
    width: 60px;
    height: 60px;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
}

.icon-1 svg { fill: #3b82f6; } /* Blue */
.icon-2 svg { fill: #10b981; } /* Green */
.icon-3 svg { fill: #f59e0b; } /* Amber */
.icon-4 svg { fill: #8b5cf6; } /* Purple */
.icon-5 svg { fill: #6366f1; } /* Indigo */
.icon-6 svg { fill: #22c55e; } /* Green */

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -40px) rotate(15deg);
    }

    66% {
        transform: translate(-20px, -20px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.icon-1 {
    top: 15%;
    left: 8%;
    animation-duration: 25s;
    width: 80px;
    height: 80px;
}

.icon-2 {
    top: 65%;
    left: 12%;
    animation-duration: 32s;
    width: 90px;
    height: 90px;
}

.icon-3 {
    top: 20%;
    right: 10%;
    animation-duration: 22s;
    width: 100px;
    height: 100px;
}

.icon-4 {
    top: 75%;
    right: 15%;
    animation-duration: 28s;
    width: 70px;
    height: 70px;
}

.icon-5 {
    top: 45%;
    left: 20%;
    animation-duration: 35s;
    width: 50px;
    height: 50px;
    opacity: 0.05;
}

.icon-6 {
    top: 35%;
    right: 25%;
    animation-duration: 20s;
    width: 60px;
    height: 60px;
    opacity: 0.06;
}

.icon-7 {
    top: 50%;
    right: 5%;
    animation-duration: 30s;
    width: 55px;
    height: 55px;
    opacity: 0.07;
}

.icon-7 svg { fill: #10b981; } /* Emerald Green */

.icon-8 {
    top: 80%;
    left: 40%;
    animation-duration: 26s;
    width: 45px;
    height: 45px;
    opacity: 0.05;
}

.icon-8 svg { fill: #10b981; } /* Subtle Green */

.icon-9 {
    top: 10%;
    left: 50%;
    animation-duration: 24s;
    width: 65px;
    height: 65px;
    opacity: 0.06;
}

.icon-9 svg { fill: #f59e0b; } /* Subtle Amber */

.icon-10 {
    top: 60%;
    right: 40%;
    animation-duration: 29s;
    width: 50px;
    height: 50px;
    opacity: 0.05;
}

.icon-10 svg { fill: #8b5cf6; } /* Subtle Purple */

.icon-11 {
    top: 25%;
    left: 30%;
    animation-duration: 27s;
    width: 75px;
    height: 75px;
    opacity: 0.04;
}

.icon-11 svg { fill: #06b6d4; } /* Subtle Cyan */

.icon-12 {
     top: 85%;
     right: 50%;
     animation-duration: 31s;
     width: 40px;
     height: 40px;
     opacity: 0.06;
}

.icon-12 svg { fill: #ec4899; } /* Subtle Pink */


/* Responsive */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .headline-l {
        font-size: clamp(2.2rem, 4vw, 3.5rem);
    }

    .headline-m {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 1.3rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
        gap: 32px;
    }

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

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-primary);
    }

    .menu-toggle {
        display: flex;
    }

    /* Menu Toggle Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    section {
        padding: 60px 0;
    }

    .container {
        width: 90%;
    }

    .card {
        padding: 24px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-group .btn {
        width: 100%;
    }
}