﻿
:root {
    --primary: #2C3641;
    --secondary: #6BBE50;
    --accent: #FFE02C;
    --light: #FFFFFF;
    --dark: #063F65;
    --gradient-bg: linear-gradient(135deg, #2C3641 0%, #063F65 50%, #6BBE50 100%);
    --gradient-accent: linear-gradient(45deg, #FFE02C, #6BBE50);
    --shadow-sm: 0 2px 10px rgba(44, 54, 65, 0.1);
    --shadow-md: 0 5px 20px rgba(44, 54, 65, 0.15);
    --shadow-lg: 0 15px 40px rgba(255, 224, 44, 0.4);
    --transition: all 0.3s ease;
    --border-radius: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    background: var(--gradient-bg);
    color: var(--primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

nav {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

    .alert-success i {
        margin-right: 10px;
        font-size: 1.2em;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: var(--primary);
        font-family: 'Rubik', sans-serif;
        font-weight: 500;
        font-size: 16px;
        transition: var(--transition);
        position: relative;
    }

        .nav-links a:hover {
            color: var(--secondary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
        animation: float 20s ease-in-out infinite;
    }

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
    line-height: 1.6;
}

.hero-subtitle {
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button {
    background: var(--gradient-accent);
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Hind', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 224, 44, 0.3);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

.stats {
    background: white;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

    .stat-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

.stat-number {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--secondary);
    display: block;
}

.stat-label {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 0.5rem;
}

.about {
    background: linear-gradient(135deg, #CCFF99 0%, #63D2FF 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .about::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }

    .about::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
    }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
}

    .about-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        background: var(--secondary);
        border-radius: 2px;
    }

.about-text p {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
    }

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    color: var(--primary);
}

.about-visual {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

    .about-visual img {
        width: 100%;
        height: auto;
        display: block;
        transition: var(--transition);
    }

    .about-visual:hover img {
        transform: scale(1.05);
    }

.jobs {
    background: white;
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--secondary);
        border-radius: 2px;
    }

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--secondary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(107, 190, 80, 0.3);
    }

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    border: 1px solid #CCFF99;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .job-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--accent);
    }

    .job-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .job-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-md);
    }

.job-title {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.job-department {
    color: var(--secondary);
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.job-location {
    color: var(--primary);
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description {
    color: var(--primary);
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

    .job-description.expanded {
        -webkit-line-clamp: unset;
        display: block;
    }

.read-more-btn {
    background: none;
    border: none;
    color: var(--secondary);
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
    transition: var(--transition);
}

    .read-more-btn:hover {
        color: var(--dark);
    }

#modalJobSkills {
    font-size: 0.95em;
    color: #495057;
    line-height: 1.5;
    padding: 12px 0;
}

.job-tag {
    background: #63D2FF;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}
.job-skills {
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid #e9ecef;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.4;
}

/* Job actions container for buttons */
.job-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: space-between;
}
.details-btn {
    flex: 1;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9em;
}

    .details-btn:hover {
        background: linear-gradient(135deg, #0056b3, #004085);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }
.apply-btn {
    flex: 1;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9em;
}

    .apply-btn:hover {
        background: linear-gradient(135deg, #1e7e34, #155724);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

    .details-btn:active,
    .apply-btn:active {
        transform: translateY(0);
    }
@media (max-width: 768px) {
    .job-actions {
        flex-direction: column;
        gap: 8px;
    }

    .details-btn,
    .apply-btn {
        padding: 14px 16px;
        font-size: 0.95em;
    }

    .job-skills {
        font-size: 0.85em;
        margin: 12px 0;
        padding: 10px 0;
    }
}



/* Update job card padding to accommodate new layout */
.job-card {
    padding-bottom: 20px;
}
.benefits {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

    .benefits::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background: rgba(107, 190, 80, 0.1);
        border-radius: 50%;
    }

    .benefits .section-title {
        color: white;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 190, 80, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

    .benefit-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .benefit-card:hover {
        transform: translateY(-5px);
        background: rgba(107, 190, 80, 0.15);
        border: 1px solid rgba(107, 190, 80, 0.3);
    }

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.benefit-title {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.benefit-description {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
}

footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    position: relative;
}

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--accent);
    }

.footer-section a {
    color: #ccc;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.8rem;
}

    .footer-section a:hover {
        color: var(--secondary);
        transform: translateX(5px);
    }

.footer-section p {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

    .footer-bottom p {
        font-family: 'Rubik', sans-serif;
        font-weight: 300;
        color: #ccc;
    }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        background: rgba(107, 190, 80, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        color: white;
    }

        .social-icons a:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }
/* Modals & Forms */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 54, 65, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.job-modal {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 1000px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .job-modal {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: var(--transition);
}

    .close-modal:hover {
        color: var(--secondary);
        transform: rotate(90deg);
    }

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rubik', sans-serif;
    color: var(--primary);
    background: rgba(107, 190, 80, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.meta-icon {
    color: var(--secondary);
}

.job-section {
    margin-bottom: 2rem;
}

.job-section-title {
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.salary-range {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.3rem;
    background: rgba(107, 190, 80, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.job-modal ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-modal li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-apply-btn {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

    .modal-apply-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 224, 44, 0.4);
    }

.application-modal {
    background: white;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 1000px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: 'Hind', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-subtitle {
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--secondary);
        box-shadow: 0 0 0 3px rgba(107, 190, 80, 0.2);
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary);
    border: none;
    flex: 1;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 224, 44, 0.4);
    }

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--secondary);
    flex: 1;
}

    .btn-secondary:hover {
        background: var(--secondary);
        color: white;
        transform: translateY(-2px);
    }

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

    .file-upload:hover {
        border-color: var(--secondary);
    }

.file-input {
    display: none;
}

.file-label {
    color: var(--secondary);
    font-family: 'Hind', sans-serif;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.file-hint {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-visual {
        order: -1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .filters {
        justify-content: flex-start;
    }

    .jobs-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        padding-top: 70px;
    }

        .hero h1 {
            font-size: 2.2rem;
        }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        z-index: 999;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

        .nav-links.active {
            display: flex;
        }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        max-width: 100%;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-modal {
        width: 95%;
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .job-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .job-title {
        font-size: 1.2rem;
    }
}

/* Enhanced Validation Styles */

/* Form control base styles */
.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

    .form-control:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    /* Validation state styles */
    .form-control.error {
        border-color: #dc3545;
        background-color: #ffeaea;
        animation: shake 0.3s ease-in-out;
    }

        .form-control.error:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
        }

    .form-control.success {
        border-color: #28a745;
        background-color: #eafaf1;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2328a745' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }

        .form-control.success:focus {
            border-color: #28a745;
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
        }

    .form-control.warning {
        border-color: #ffc107;
        background-color: #fffbf0;
    }

        .form-control.warning:focus {
            border-color: #ffc107;
            box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
        }

    .form-control.info {
        border-color: #17a2b8;
        background-color: #f0fdff;
    }

        .form-control.info:focus {
            border-color: #17a2b8;
            box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
        }

/* Validation message styles */
.validation-message {
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    min-height: 18px;
    line-height: 1.4;
    transition: all 0.2s ease;
    display: none;
}

    .validation-message.validation-error {
        color: #dc3545;
        display: block;
    }

        .validation-message.validation-error::before {
            content: "⚠ ";
            margin-right: 2px;
        }

    .validation-message.validation-success {
        color: #28a745;
        display: block;
    }

        .validation-message.validation-success::before {
            content: "✓ ";
            margin-right: 2px;
        }

    .validation-message.validation-warning {
        color: #ffc107;
        display: block;
    }

        .validation-message.validation-warning::before {
            content: "⚡ ";
            margin-right: 2px;
        }

    .validation-message.validation-info {
        color: #17a2b8;
        display: block;
        font-weight: 400;
    }

        .validation-message.validation-info::before {
            content: "ℹ ";
            margin-right: 2px;
        }

/* Phone input specific styles */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

    .phone-input-container:focus-within {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .phone-input-container.error {
        border-color: #dc3545;
        background-color: #ffeaea;
    }

    .phone-input-container.success {
        border-color: #28a745;
        background-color: #eafaf1;
    }

.country-code {
    background-color: #f8f9fa;
    padding: 12px 16px;
    font-weight: 600;
    color: #495057;
    border-right: 1px solid #e1e5e9;
    font-size: 14px;
}

.phone-input {
    border: none !important;
    flex: 1;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

    .phone-input:focus {
        box-shadow: none !important;
        border: none !important;
    }

/* File upload validation styles */
.file-upload.error {
    border-color: #dc3545;
    background-color: #ffeaea;
}

.file-upload.success {
    border-color: #28a745;
    background-color: #eafaf1;
}

.file-upload.error .fas {
    color: #dc3545 !important;
}

.file-upload.success .fas {
    color: #28a745 !important;
}

/* Required field indicator */
.required {
    color: #dc3545;
    font-weight: 600;
    margin-left: 2px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

/* Animation for error state */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

/* Character count styling */
.character-count {
    text-align: right;
    font-size: 12px;
    margin-top: 4px;
    transition: color 0.2s ease;
}

/* Alert styles for form messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

    .alert.alert-success {
        background-color: #d4edda;
        border: 1px solid #c3e6cb;
        color: #155724;
    }

    .alert.alert-error {
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        color: #721c24;
    }

    .alert i {
        font-size: 16px;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form group spacing */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

    .form-row .form-group {
        flex: 1;
    }

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .validation-message {
        font-size: 11px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }

    .country-code {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .success-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.success-popup {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 520px;
    width: 90%;
    text-align: center;
    color: white;
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(16, 185, 129, 0.4);
    position: relative;
    overflow: hidden;
}

.success-overlay.active .success-popup {
    transform: scale(1) translateY(0);
}

.success-popup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    animation: bounce 0.8s ease-out;
}

@keyframes bounce {
    0% {
        transform: scale(0) rotate(180deg);
    }

    50% {
        transform: scale(1.2) rotate(90deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.success-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.success-message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.success-timeline {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

    .success-timeline::before {
        content: '';
        position: absolute;
        top: 12px;
        left: 12px;
        right: 12px;
        height: 2px;
        background: rgba(255, 255, 255, 0.3);
    }

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

    .timeline-item.active .timeline-dot::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        background: #10b981;
        border-radius: 50%;
    }

.success-footer {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.next-steps h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.next-steps p {
    font-size: 0.95rem;
    margin: 6px 0;
    opacity: 0.9;
    text-align: left;
    padding-left: 8px;
}

.success-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

    .success-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .success-popup {
        padding: 30px 20px;
        margin: 20px;
    }

    .success-timeline {
        flex-direction: column;
        gap: 16px;
    }

        .success-timeline::before {
            display: none;
        }

    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .timeline-dot {
        margin-right: 12px;
        margin-bottom: 0;
    }
}


.job-meta-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color, #007bff);
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
}

    .job-meta-item i {
        color: var(--primary-color, #007bff);
        font-size: 1rem;
        width: 16px;
        text-align: center;
    }

.meta-label {
    color: #666;
    font-weight: 500;
    min-width: 70px;
}

.meta-badge {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.department-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.location-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.type-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.posted-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.vacancies-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.salary-badge {
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    color: #00695c;
    border-color: #80cbc4;
}

.meta-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .job-meta-container {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 12px;
    }

    .job-meta-item {
        font-size: 0.85rem;
    }

    .meta-label {
        min-width: 60px;
        font-size: 0.8rem;
    }

    .meta-badge {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
}

.no-jobs-message {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    grid-column: 1 / -1;
}

    .no-jobs-message h3 {
        color: #495057;
        margin-bottom: 10px;
        font-size: 1.4rem;
    }

    .no-jobs-message p {
        color: #6c757d;
        font-size: 1rem;
        line-height: 1.5;
    }

@media (max-width: 768px) {
    .application-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .form-actions {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        z-index: 100;
        margin-top: auto; 
    }

    html {
        scroll-padding-bottom: 100px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .modal-content {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 80px;
    }
}