* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-primary: #2563EB;
    --brand-secondary: #0F172A;
    --brand-accent: #10B981;
    --brand-muted: #64748B;
    --brand-light: #F8FAFC;
    --white: #FFFFFF;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-600: #475569;
    --slate-900: #0F172A;
    --blue-700: #1d4ed8;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-color: #E2E8F0;
}

html.dark-mode {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --border-color: #334155;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    width: 0%;
    z-index: 100;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

html.dark-mode .scroll-progress {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==================== NAVBAR ==================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
    padding: 1.5rem 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.logo-button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Logo Icon - Light Mode */
.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.08));
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12),
                0 1px 2px rgba(0, 0, 0, 0.04),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

nav.scrolled .logo-icon {
    background: linear-gradient(135deg, var(--brand-primary), #1d4ed8);
    border: 1.5px solid rgba(37, 99, 235, 0.4);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25),
                0 2px 4px rgba(0, 0, 0, 0.1),
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.logo-icon svg {
    width: 26px;
    height: 26px;
    color: var(--brand-primary);
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

nav.scrolled .logo-icon svg {
    color: var(--white);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}

/* Logo Icon - Dark Mode */
html.dark-mode .logo-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15),
                0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

html.dark-mode nav.scrolled .logo-icon {
    background: linear-gradient(135deg, var(--brand-primary), #1d4ed8);
    border: 1.5px solid rgba(37, 99, 235, 0.5);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3),
                0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

html.dark-mode .logo-icon svg {
    color: #60a5fa;
    filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.2));
}

/* Logo Text - Light Mode */
.logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.1rem;
    white-space: nowrap;
    overflow: visible;
}

.logo-text .main {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--slate-900);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

nav.scrolled .logo-text .main {
    color: var(--slate-900);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

html.dark-mode .logo-text .main {
    color: #f8fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html.dark-mode nav.scrolled .logo-text .main {
    color: #f8fafc;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.logo-text .highlight {
    color: var(--brand-primary);
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
}

html.dark-mode .logo-text .highlight {
    color: #60a5fa;
    text-shadow: 0 1px 3px rgba(96, 165, 250, 0.3);
}

/* Logo Subtitle */
.logo-text .sub {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.4em;
    line-height: 1;
    color: var(--slate-500);
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
}

nav.scrolled .logo-text .sub {
    color: var(--slate-600);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

html.dark-mode .logo-text .sub {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

html.dark-mode nav.scrolled .logo-text .sub {
    color: #cbd5e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-900);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    text-transform: capitalize;
    text-decoration: none;
    display: block;
}

nav.scrolled .nav-links a {
    color: var(--slate-900);
}

.nav-links a:hover {
    color: var(--brand-primary);
}

.nav-links a.accent:hover {
    color: var(--brand-accent);
}

.get-workers-btn {
    padding: 0.625rem 1.5rem;
    background: var(--brand-primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.get-workers-btn:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
}

.dark-mode-toggle {
    width: 40px;
    height: 40px;
    background: var(--brand-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--brand-primary);
    transition: all 0.3s ease;
    padding: 0;
}

.dark-mode-toggle:hover {
    background: var(--slate-200);
    transform: rotate(20deg);
}

html.dark-mode .dark-mode-toggle {
    background: var(--bg-secondary);
    color: #FCD34D;
}

html.dark-mode .dark-mode-toggle:hover {
    background: var(--border-color);
    transform: rotate(-20deg);
}

.dark-mode-toggle .icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--white);
    transition: color 0.3s;
}

nav.scrolled .mobile-menu-btn {
    color: var(--slate-900);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-secondary);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 40;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 600;
}

.mobile-menu a:hover {
    color: var(--brand-primary);
}

.mobile-menu .get-workers-btn {
    width: 100%;
    text-align: center;
    display: block;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 0;
    }
    
    .nav-content {
        padding: 0 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .get-workers-btn {
        display: none;
    }
    
    .logo-text .main {
        font-size: 1rem;
    }
    
    .logo-text .sub {
        display: none;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--brand-secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    animation: fadeIn 0.8s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    filter: blur(120px);
    z-index: 0;
    border-radius: 50%;
    transform: translate(25%, -25%);
    animation: pulse 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
    max-width: 900px;
    animation: slideUp 0.8s ease-out 0.2s both;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 4rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 3rem 0 2rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    max-width: 100%;
    animation: slideUp 0.8s ease-out 0.3s both;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
}

.hero h1 .highlight {
    color: var(--brand-primary);
    background: linear-gradient(135deg, var(--brand-primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 500;
    animation: slideUp 0.8s ease-out 0.4s both;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        margin-bottom: 3rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

.btn {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), #1d4ed8);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat {
    text-align: left;
    animation: slideUp 0.6s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: 0.5s; }
.stat:nth-child(2) { animation-delay: 0.6s; }
.stat:nth-child(3) { animation-delay: 0.7s; }
.stat:nth-child(4) { animation-delay: 0.8s; }

@media (max-width: 768px) {
    .stat {
        text-align: center;
    }
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.stat-value.accent {
    color: var(--brand-accent);
}

.stat-value[data-count] {
    animation: none;
}

.stat-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 6rem 1rem;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    width: 100%;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

section:last-child::after {
    display: none;
}

section > .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

section.light {
    background: var(--white);
}

html.dark-mode section.light {
    background: var(--bg-secondary);
}

section.gray {
    background: var(--brand-light);
}

html.dark-mode section.gray {
    background: var(--bg-secondary);
}

section h2 {
    font-size: 2.25rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    section h2 {
        font-size: 1.5rem;
    }
}

section h2.uppercase {
    text-transform: uppercase;
    letter-spacing: -0.03em;
    font-size: 2rem;
}

section h2, section h2.uppercase {
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--brand-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* ==================== CARDS ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out backwards;
    opacity: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.card.visible {
    opacity: 1;
    animation: slideUp 0.6s ease-out forwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    z-index: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

section.gray .card {
    background: var(--white);
}

html.dark-mode .card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

html.dark-mode section.gray .card {
    background: var(--bg-secondary);
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: var(--brand-primary);
}

html.dark-mode .card:hover {
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.card:hover::before {
    transform: scaleY(1);
}

.card:hover h3 {
    color: #1d4ed8;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card h3 svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.card:hover h3 svg {
    transform: translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
}

.card p {
    color: var(--brand-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ==================== FORM ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--slate-900);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 0.625rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), inset 0 0 0 0 rgba(37, 99, 235, 0.05), var(--shadow-md);
    transform: translateY(-2px);
    transition: all 0.2s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(37, 99, 235, 0.02));
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

html.dark-mode .form-group label {
    color: var(--slate-200);
}

html.dark-mode .form-group input,
html.dark-mode .form-group textarea,
html.dark-mode .form-group select {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

html.dark-mode .form-group input::placeholder,
html.dark-mode .form-group textarea::placeholder {
    color: #94a3b8;
}

html.dark-mode .form-group input:focus,
html.dark-mode .form-group textarea:focus,
html.dark-mode .form-group select:focus {
    border-color: var(--brand-primary);
    background: linear-gradient(135deg, #1e293b, rgba(37, 99, 235, 0.08));
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), inset 0 0 0 0 rgba(37, 99, 235, 0.1), var(--shadow-md);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(180deg, var(--brand-secondary) 0%, #0a0f1a 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
}

html.dark-mode footer {
    background: linear-gradient(180deg, #0f172a 0%, #030711 100%);
    border-top-color: rgba(16, 185, 129, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer-section {
    animation: slideUp 0.8s ease-out backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-section {
        align-items: center;
    }
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: capitalize;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-section a {
    display: inline-block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

@media (max-width: 768px) {
    .footer-section a {
        display: block;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

html.dark-mode .social-link {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--brand-accent);
}

html.dark-mode .social-link::before {
    background: var(--brand-accent);
}

html.dark-mode .social-link:hover {
    color: var(--white);
    border-color: var(--brand-accent);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.4);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--brand-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: var(--white);
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* ==================== UTILITIES ==================== */
.hidden {
    display: none !important;
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(37, 99, 235, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes successGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

svg.icon {
    display: inline;
    vertical-align: middle;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-primary), #1d4ed8);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}
/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}