@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/inter-var.woff2') format('woff2-variations');
}

/* Fallback for browsers that don't support variable fonts */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-var.woff2') format('woff2');
}

/* Global Styles */
:root {
    --primary-color: #112540;
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 80px 0;
}

.light-bg {
    background-color: var(--light-bg);
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.nowrap {
    white-space: nowrap;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white) !important;
    /* Force white text */
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Pulse Animation for Buttons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(17, 37, 64, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(17, 37, 64, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(17, 37, 64, 0);
    }
}

.pulse-btn {
    animation: pulse 2s infinite;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
}

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

.nav-links a:not(.cta-button) {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:not(.cta-button):hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    /* Changed from grid to flex for better sizing control */
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1.2;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    /* Larger image on desktop */
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    max-height: 600px;
}

.hero-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-tags span {
    background-color: #e6f0fa;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.icon-wrapper {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #f0f4f8;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-small {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Job Section */
.job-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:last-child {
    margin-bottom: 0;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.job-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.job-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.job-content ul {
    margin: 10px 0 20px 0;
    padding-left: 0;
}

.job-content li {
    margin-bottom: 10px;
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.job-content li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.job-details h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.job-intro {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 500;
    color: #444;
}

/* Values Section */
#values {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#values .container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#values h2,
#values h4 {
    color: var(--primary-color);
}

#values p {
    color: var(--text-color);
}

#values .icon-small {
    color: var(--primary-color);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(17, 37, 64, 0.3);
    flex-shrink: 0;
}

.centered-text {
    text-align: center;
}

.margin-top-large {
    margin-top: 60px;
}

.margin-top-small {
    margin-top: 20px;
}

.contact-logo-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.contact-logo {
    height: 120px;
    width: auto;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    z-index: 2000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.85rem;
    line-height: 1.45;
    color: #555;
    margin: 0;
}

/* Collapsible details for individual controls */
.cookie-details {
    width: 100%;
}

.cookie-details summary {
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    padding: 4px 0;
    user-select: none;
    list-style: none;
}

.cookie-details summary::-webkit-details-marker {
    display: none;
}

.cookie-details summary::before {
    content: "▸ ";
}

.cookie-details[open] summary::before {
    content: "▾ ";
}

.cookie-details .cookie-toggles {
    margin-top: 10px;
}

.cookie-toggles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-bg);
    padding: 10px 12px;
    border-radius: 8px;
    gap: 12px;
}

.cookie-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.cookie-toggle-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.cookie-toggle-desc {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.3;
}

.cookie-save-btn {
    margin-top: 4px;
    width: 100%;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-switch input:checked+.cookie-slider {
    background-color: var(--primary-color);
}

.cookie-switch input:checked+.cookie-slider::before {
    transform: translateX(22px);
}

.cookie-banner button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 11px 20px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.cookie-banner button:hover {
    background-color: #0d1a2e;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-banner button.secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.cookie-banner button.secondary:hover {
    background-color: #f0f0f0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive Media Queries */
@media (max-width: 968px) {
    h1 {
        font-size: 3rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        /* Stack with image on top or text on top? Standard is text top on mobile often, or image top. Let's do column-reverse to put image on top if we want, or column for text on top. Let's do Column for text top. */
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        flex: auto;
        width: 100%;
    }

    .hero-tags {
        justify-content: center;
    }

    .job-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-banner button {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        hyphens: auto;
        overflow-wrap: break-word;
    }

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

    /* Force line break for headline on mobile */
    h1 .nowrap {
        display: block;
        white-space: normal;
    }
}