/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Typography */
    --font-body: 'Inter', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, blinkmacsystemfont, 'Segoe UI', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* Primary Color Scale */
    --primary-50: #fef2f2;
    --primary-100: #fee2e2;
    --primary-200: #fecaca;
    --primary-300: #fca5a5;
    --primary-400: #f87171;
    --primary-500: #b61f29;
    --primary-600: #8e1820;
    --primary-700: #7f1d1d;
    --primary-800: #5c1010;
    --primary-900: #450c10;

    /* Accent Color Scale */
    --accent-50: #eff6ff;
    --accent-100: #dbeafe;
    --accent-200: #bfdbfe;
    --accent-300: #93c5fd;
    --accent-400: #7e93d6;
    --accent-500: #5154ff;
    --accent-600: #4338ca;
    --accent-700: #3730a3;
    --accent-800: #312e81;
    --accent-900: #1e1b4b;

    /* Neutral Color Scale */
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;

    /* Semantic Colors */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Legacy Colors (mapped to new scale) */
    --primary-color: var(--primary-500);
    --primary-dark: var(--primary-600);
    --primary-light: #f82939;
    --gray-light: var(--neutral-100);
    --gray-medium: var(--neutral-300);
    --blue-dark: var(--accent-500);
    --white: #fff;
    --accent-red: #f82939;
    --accent-blue: var(--accent-400);
    --text-dark: var(--neutral-800);
    --text-light: #595959;
    --bg-light: var(--neutral-50);

    /* Spacing System */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    /* Shadow System */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-base: 0.5rem;  /* 8px */
    --radius-md: 0.75rem;   /* 12px */
    --radius-lg: 1rem;      /* 16px */
    --radius-xl: 1.5rem;    /* 24px */
    --radius-2xl: 2rem;     /* 32px */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: var(--leading-normal);
    font-weight: var(--font-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 60px;
    transition: var(--transition-base);
    z-index: 1001;
}

nav a:has(.logo) {
    display: inline-block;
    cursor: pointer;
    line-height: 0;
}

nav a:has(.logo):hover .logo {
    opacity: 0.8;
    transform: scale(1.02);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
    transition: var(--transition-base);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

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

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

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

/* Navigation Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: var(--font-medium);
    font-size: var(--text-base);
    transition: var(--transition-base);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-base);
    position: relative;
    display: inline-block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-400));
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

nav ul li a:hover {
    color: var(--accent-500);
    background-color: var(--neutral-100);
}

nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

nav ul li a.active {
    color: var(--primary-500);
    background-color: var(--primary-50);
    font-weight: var(--font-semibold);
}

nav ul li a.active::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--primary-500);
}

/* Hero Section */
.hero {
    --parallax-offset: 0px;

    background:
        radial-gradient(at 20% 30%, rgba(182, 31, 41, 0.95) 0, transparent 50%),
        radial-gradient(at 80% 20%, rgba(248, 41, 57, 0.8) 0, transparent 50%),
        radial-gradient(at 40% 80%, rgba(182, 31, 41, 0.85) 0, transparent 50%),
        radial-gradient(at 80% 80%, rgba(142, 24, 32, 0.7) 0, transparent 50%),
        linear-gradient(135deg, var(--primary-600), var(--primary-500));
    color: var(--white);
    padding: var(--space-20) var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Honeycomb background with parallax */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../assets/images/HoneyComb.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
    will-change: transform;
    transform: translateY(var(--parallax-offset));
    transition: transform 0.1s ease-out;
}

/* Floating gradient orb - red tones */
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(248, 41, 57, 0.2), transparent);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    z-index: 1;
}

/* Additional floating element for depth */
.hero .hero-orb {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(182, 31, 41, 0.15), transparent);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section:nth-child(even) {
    background-color: var(--gray-light);
    padding: 3rem 2rem;
    border-radius: 15px;
}

.section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-base);
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--accent-400);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(182, 31, 41, 0.2);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(182, 31, 41, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Outline Button (deprecated - use btn-secondary) */
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Job Listings */
.job-listing {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.job-listing h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.job-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-meta span {
    margin-right: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: calc(50% - 40px);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    text-align: left;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-item:nth-child(odd)::before {
    right: -50px;
}

.timeline-item:nth-child(even)::before {
    left: -50px;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-dark), #1a1a1a);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid var(--accent-blue);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.5rem 1rem;
    background-color: rgba(126, 147, 214, 0.2);
    border-radius: 5px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.3rem;
}

.stat-sublabel {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Values Container */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 4px 15px rgba(182, 31, 41, 0.15);
    transform: translateX(5px);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

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

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Benefits Image Showcase */
.benefits-image-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefits-image-large {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    height: 500px;
}

.benefits-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.benefits-image-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefits-image-small {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefits-image-small:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(182, 31, 41, 0.2);
}

.benefits-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Benefit Icon */
.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

.carousel {
    position: relative;
    height: 500px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

.carousel-dots {
    text-align: center;
    padding: 1rem 0;
    background: rgba(0,0,0,0.5);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: white;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.video-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.video-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Job Filter */
.job-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-dark);
}

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

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

.search-box {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.7rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Job Tiles */
.job-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-tile {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.job-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(126, 147, 214, 0.25);
    border-color: var(--accent-blue);
}

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

.job-tile h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 0;
    flex: 1;
}

.job-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.job-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-summary {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-tile-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.job-tile-btn:hover {
    background: var(--primary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    margin: auto;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-content ul {
    margin-left: 1.5rem;
    color: var(--text-dark);
}

.modal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.modal-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
}

.modal-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-group label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    font-weight: normal;
}

/* Application Process */
.application-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.process-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Story Container */
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.story-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    padding: 2rem 0;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-milestone {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 140px;
}

.milestone-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    font-size: 0.95rem;
}

.milestone-year::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.milestone-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.milestone-content:hover {
    box-shadow: 0 5px 25px rgba(182, 31, 41, 0.15);
    transform: translateX(5px);
}

.milestone-content img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
}

.milestone-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.milestone-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Accent Color Variations */
.card:nth-child(3n+1) h3 {
    color: var(--accent-blue);
}

.card:nth-child(3n+2) h3 {
    color: var(--primary-color);
}

.card:nth-child(3n+3) h3 {
    color: var(--blue-dark);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--gray-light), var(--white));
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.stat-item .stat-number {
    color: var(--white);
}

.job-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--blue-dark));
}

.tag {
    border-left: 3px solid var(--accent-blue);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--blue-dark), var(--accent-blue));
    border-color: var(--blue-dark);
}

.milestone-year {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-red));
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-blue);
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--accent-blue);
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links-contact a {
    padding: 0.5rem 1rem;
    background: var(--gray-light);
    border-radius: 5px;
    transition: all 0.3s;
}

.social-links-contact a:hover {
    background: var(--accent-blue);
    color: white;
}

.contact-form-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.contact-form-section textarea {
    resize: vertical;
}

.contact-form-section button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

.map-container {
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 15px;
    overflow: hidden;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content .section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.legal-content .section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.legal-content .section p,
.legal-content .section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content .section ul {
    padding-left: 2rem;
}

.legal-content .section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content .section a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slower), transform var(--transition-slower);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.card-grid .card:nth-child(1) {
    transition-delay: 0ms;
}

.card-grid .card:nth-child(2) {
    transition-delay: 100ms;
}

.card-grid .card:nth-child(3) {
    transition-delay: 200ms;
}

.card-grid .card:nth-child(4) {
    transition-delay: 300ms;
}

.card-grid .card:nth-child(5) {
    transition-delay: 400ms;
}

.card-grid .card:nth-child(6) {
    transition-delay: 500ms;
}

/* Micro-interactions */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.97);
}

/* Input focus animations */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(182, 31, 41, 0.1);
    transform: translateY(-1px);
    transition: all var(--transition-base);
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: var(--space-8);
    right: var(--space-8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.toast {
    min-width: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: slide-in var(--transition-base) ease-out;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: var(--color-success);
}

.toast.error {
    border-left-color: var(--color-error);
}

.toast.info {
    border-left-color: var(--color-info);
}

.toast.warning {
    border-left-color: var(--color-warning);
}

.toast-icon {
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
    color: var(--text-dark);
}

.toast-message {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.toast-close {
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--neutral-400);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--neutral-600);
}

@keyframes slide-in {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(182, 31, 41, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-500);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition-base);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive Design */

/* Tablet (1024px and below) */
@media (width <= 1024px) {
    .container {
        padding: var(--space-8) var(--space-6);
    }

    .hero h1 {
        font-size: var(--text-4xl);
    }

    .hero p {
        font-size: var(--text-lg);
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-6);
    }

    nav ul {
        gap: var(--space-3);
    }

    nav ul li a {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }
}

/* Mobile (768px and below) */
@media (width <= 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Hide/show navigation */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-6);
        box-shadow: var(--shadow-2xl);
        transition: right var(--transition-slow);
        padding: var(--space-8);
        z-index: 1000;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: var(--space-4);
        font-size: var(--text-lg);
        border-radius: var(--radius-md);
    }

    nav ul li a::after {
        display: none;
    }

    /* Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Adjust other mobile styles */
    .hero h1 {
        font-size: var(--text-3xl);
    }

    .hero p {
        font-size: var(--text-base);
    }

    nav {
        padding: var(--space-3) var(--space-4);
    }

    .logo {
        height: 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item::before {
        left: 11px !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .values-container {
        grid-template-columns: 1fr;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .benefits-image-showcase {
        grid-template-columns: 1fr;
    }

    .benefits-image-large {
        height: 300px;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .carousel {
        height: 350px;
    }

    .carousel-btn {
        padding: 0.7rem 1rem;
        font-size: 1.2rem;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 1.5rem 1rem 1rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .job-tiles {
        grid-template-columns: 1fr;
    }

    .modal-content-wrapper {
        grid-template-columns: 1fr;
    }

    .modal-content,
    .modal-form {
        padding: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
    }

    .job-filter-container {
        flex-direction: column;
        align-items: stretch;
    }

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

    .filter-btn {
        width: 100%;
    }

    .search-box {
        max-width: 100%;
    }

    .application-process {
        grid-template-columns: 1fr;
    }

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

    /* About Us Page - Story Container */
    .story-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-image {
        order: -1;
    }

    /* About Us Page - Values Cards */
    .card-grid {
        grid-template-columns: 1fr;
    }

    /* About Us Page - Vertical Timeline */
    .vertical-timeline::before {
        left: 20px;
    }

    .timeline-milestone {
        padding-left: 60px;
    }

    .milestone-year {
        width: 70px;
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .milestone-content {
        grid-template-columns: 1fr;
    }

    .milestone-content img {
        width: 100%;
        max-height: 250px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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