:root {
    /* Modern Dark Theme Colors */
    --primary-color: #7C3AED;          /* Rich purple */
    --primary-light: #8B5CF6;          /* Light purple */
    --primary-dark: #6D28D9;           /* Dark purple */
    --secondary-color: #EC4899;        /* Pink */
    --secondary-light: #F472B6;        /* Light pink */
    --accent-color: #06B6D4;           /* Cyan */
    --accent-light: #22D3EE;           /* Light cyan */
    
    /* Text Colors */
    --text-color: #F8FAFC;             /* Almost white */
    --text-color-muted: #94A3B8;       /* Muted gray */
    --text-color-bright: #FFFFFF;      /* Pure white */
    
    /* Background Colors */
    --background-color: #0B1120;       /* Deep dark blue */
    --background-alt: #111827;         /* Slightly lighter blue */
    --background-light: #1F2937;       /* Light background for cards */
    
    /* Component Colors */
    --card-background: rgba(31, 41, 55, 0.7);
    --success-color: #10B981;          /* Green */
    --error-color: #EF4444;            /* Red */
    --warning-color: #F59E0B;          /* Amber */
    --info-color: #3B82F6;             /* Blue */
    
    /* Glass Effects */
    --glass-background: rgba(17, 24, 39, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    
    /* Gradients */
    --gradient-1: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-2: linear-gradient(135deg, var(--accent-color), var(--primary-light));
    --gradient-subtle: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(236, 72, 153, 0.1));
    
    /* Effects */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-color-light: rgba(0, 0, 0, 0.1);
    --glow-color: rgba(124, 58, 237, 0.15);
    --glow-accent: rgba(236, 72, 153, 0.15);
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-light: rgba(255, 255, 255, 0.05);
}

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

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

.dark-theme {
    background: var(--background-color);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.dark-theme::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-color-bright);
    border: none;
    box-shadow: 0 4px 15px var(--glow-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-accent);
}

.btn-secondary {
    background: var(--background-light);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color-light);
}

/* Glass Header Styles */
.glass-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.7),
        rgba(17, 24, 39, 0.7)
    );
}

.mobile-menu-btn {
    display: none; /* Hide by default on desktop */
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.logo-container {
    flex: 0 0 auto;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
    opacity: 0;
}

.logo-container:hover::after {
    width: 100%;
    opacity: 1;
}

.logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1); /* Makes logo white */
    opacity: 0.95;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 1rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link:hover i {
    transform: translateY(-1px);
    opacity: 1;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
    font-weight: 600;
}

.nav-btn-wrapper {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--glass-border);
}

/* Navbar Button */
.nav-btn {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem !important;
    border-radius: 0.5rem !important;
    margin-left: 0.5rem;
}

.nav-btn i {
    font-size: 1rem !important;
    margin-right: 0.25rem;
}

.nav-btn:hover {
    transform: translateY(-1px) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0;
    color: var(--text-color);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px var(--glow-color),
                 0 0 60px var(--glow-accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-color-bright);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px var(--shadow-color);
    max-width: 90%;
    position: relative;
    background: var(--gradient-subtle);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.glass-card {
    background: linear-gradient(
        135deg,
        rgba(31, 41, 55, 0.8),
        rgba(17, 24, 39, 0.8)
    );
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--glass-border),
        transparent
    );
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color),
                0 0 60px var(--glow-color);
    border-color: var(--primary-light);
}

.glass-card i {
    font-size: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px var(--glow-accent));
}

.glass-card h3 {
    font-size: 2.25rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.glass-card p {
    color: var(--text-color-bright);
    font-size: 1.1rem;
    text-shadow: 0 1px 2px var(--shadow-color);
}

.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    z-index: 2;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px var(--glow-color);
    }
    50% {
        text-shadow: 0 0 30px var(--glow-color),
                     0 0 50px var(--glow-color),
                     0 0 70px var(--glow-accent);
    }
    100% {
        text-shadow: 0 0 20px var(--glow-color),
                     0 0 40px var(--glow-accent);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0.4;
    }
}

/* Job Application Form */
.job-application {
    padding: 4rem 0;
}

.job-application h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

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

input[type="file"] {
    padding: 0.5rem 0;
}

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

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

/* Form Sections - Page Content Style */
.form-section {
    display: none;
    padding: 8rem 0 4rem;
    min-height: calc(100vh - 160px);
    background: transparent;
}

.form-section.active {
    display: block;
}

.form-container {
    background: var(--glass-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem 4rem;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 
        0 20px 40px var(--shadow-color),
        0 0 0 1px rgba(124, 58, 237, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.8;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-color-bright);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-header p {
    color: var(--text-color-muted);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.animated-form input,
.animated-form select,
.animated-form textarea {
    width: 100%;
    padding: 1.125rem 1rem;
    background: rgba(31, 41, 55, 0.8);
    border: 1.5px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.animated-form input:focus,
.animated-form select:focus,
.animated-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px var(--glow-color),
        0 4px 12px rgba(124, 58, 237, 0.15);
    background: rgba(31, 41, 55, 0.95);
    transform: translateY(-1px);
}

.animated-form input::placeholder,
.animated-form textarea::placeholder {
    color: var(--text-color-muted);
    opacity: 0.6;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.toggle-password:hover {
    color: var(--text-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: var(--text-color-muted);
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-light);
}

/* Form Submit Buttons */
.animated-form .btn {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px var(--glow-accent),
        0 0 0 1px rgba(124, 58, 237, 0.2);
}

.animated-form .btn:active {
    transform: translateY(0);
}

.animated-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.animated-form .btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.animated-form .btn:hover i {
    transform: translateX(3px);
}

/* File Input Styling */
.animated-form input[type="file"] {
    padding: 1rem;
    background: rgba(31, 41, 55, 0.6);
    border: 2px dashed var(--border-color);
    border-radius: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.animated-form input[type="file"]:hover {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

.animated-form input[type="file"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--glow-color);
}

/* Form Row Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-confirmation {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(31, 41, 55, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    backdrop-filter: blur(5px);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
    line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0.125rem;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
    background: rgba(124, 58, 237, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 0.375rem;
    top: 0.125rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    user-select: none;
}

.full-width {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.file-info {
    display: block;
    color: var(--text-color-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* Form Animation Enhancements */
.animated-form .form-row {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.animated-form .form-group {
    opacity: 1;
    transform: translateY(0);
}

.animated-form .form-row:nth-child(1) { animation-delay: 0.1s; }
.animated-form .form-row:nth-child(2) { animation-delay: 0.2s; }
.animated-form .form-row:nth-child(3) { animation-delay: 0.3s; }
.animated-form .form-row:nth-child(4) { animation-delay: 0.4s; }
.animated-form .form-row:nth-child(5) { animation-delay: 0.5s; }

.animated-form .form-submit {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Select Dropdown Styling */
.animated-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Textarea Styling */
.animated-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Focus Ring Enhancement */
.animated-form input:focus,
.animated-form select:focus,
.animated-form textarea:focus {
    animation: focusPulse 2s infinite;
}

@keyframes focusPulse {
    0% { box-shadow: 0 0 0 3px var(--glow-color), 0 4px 12px rgba(124, 58, 237, 0.15); }
    50% { box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.1), 0 4px 12px rgba(124, 58, 237, 0.25); }
    100% { box-shadow: 0 0 0 3px var(--glow-color), 0 4px 12px rgba(124, 58, 237, 0.15); }
}

/* Footer Styles */
footer {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.footer-copyright {
    text-align: center;
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.footer-copyright p {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-copyright p:hover {
    opacity: 1;
}

/* Enhanced Responsive Design */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .form-container {
        max-width: 95%;
        width: 95%;
        padding: 3rem 3rem;
    }
    
    .form-row {
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        min-height: 120px;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-wrapper {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.75rem;
    }
    
    .form-section {
        padding: 5rem 1rem 2rem;
        min-height: calc(100vh - 120px);
    }
    
    .form-container {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
        width: calc(100% - 2rem);
        border-radius: 1.25rem;
    }
    
    .form-header h2 {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.75rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .animated-form input,
    .animated-form select,
    .animated-form textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 0.625rem;
    }
    
    .animated-form .btn {
        padding: 1.125rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 0.625rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .form-confirmation {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .checkbox-text {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        margin: 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: var(--glass-background);
        backdrop-filter: blur(12px);
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        border-radius: 1rem;
        border: 1px solid var(--glass-border);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        padding: 0.75rem;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-link i {
        width: 24px;
        text-align: center;
        margin-right: 0.5rem;
    }

    .nav-btn-wrapper {
        margin: 0;
        padding: 0;
        border: none;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        padding: 0.75rem !important;
    }

    .mobile-menu-btn {
        display: block; /* Show only on mobile */
    }

    .hero {
        padding: 6rem 1rem 3rem;
        text-align: center;
    }

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

    .hero-text {
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
        max-width: 100%;
        padding: 1rem;
    }

    .application-form {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .glass-header {
        padding: 0.75rem 0;
    }
    
    .header-wrapper {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0.625rem 0.875rem;
    }
    
    .form-section {
        padding: 4.5rem 0.75rem 1.5rem;
    }
    
    .form-container {
        padding: 1.75rem 1.25rem;
        margin: 0 0.25rem;
        max-width: calc(100% - 0.5rem);
        border-radius: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.875rem;
        margin-bottom: 0.5rem;
    }
    
    .form-header p {
        font-size: 0.95rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .animated-form input,
    .animated-form select,
    .animated-form textarea {
        padding: 0.875rem 0.75rem;
        font-size: 0.95rem;
        border-radius: 0.5rem;
    }
    
    .animated-form .btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }
    
    .hero {
        padding: 4rem 0.75rem 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0.75rem;
    }
    
    .hero-buttons .btn {
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .nav-links {
        padding: 0.75rem;
        border-radius: 0.75rem;
    }
    
    .nav-link {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .nav-btn {
        padding: 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .mobile-menu-btn {
        padding: 0.625rem;
        font-size: 1.1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .form-container {
        padding: 1.5rem 1rem;
        margin: 0;
        max-width: 100%;
        border-radius: 0.75rem;
    }
    
    .form-header h2 {
        font-size: 1.625rem;
    }
    
    .animated-form input,
    .animated-form select,
    .animated-form textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .animated-form .btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        max-width: 240px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
    
    .form-section {
        padding: 4rem 0.5rem 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .animated-form input,
    .animated-form select,
    .animated-form textarea {
        padding: 1rem 0.875rem;
        min-height: 44px; /* iOS minimum touch target */
    }
    
    .animated-form .btn {
        min-height: 48px; /* Android minimum touch target */
        padding: 1rem 1.5rem;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .animated-form input:hover,
    .animated-form select:hover,
    .animated-form textarea:hover {
        transform: none;
    }
    
    /* Enhanced focus styles for touch */
    .animated-form input:focus,
    .animated-form select:focus,
    .animated-form textarea:focus {
        transform: none;
        border-width: 2px;
    }
}