﻿
:root {
    --primary: #1e3c72;
    --secondary: #2a5298;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --light-bg: #f8f9fa;
}

/*  Hero Section  */
.hero {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 160px 20px 140px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        width: 200%;
        height: 200%;
        background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
        background-size: 40px 40px;
        animation: gridmove 20s linear infinite;
    }

@@keyframes gridmove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(80px, 80px);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

/*  Life at Vishvdhara  */
.life-section {
    padding: 100px 20px;
    text-align: center;
}

    .life-section h2 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .life-section p {
        color: #666;
        max-width: 700px;
        margin: 0 auto 60px;
    }

.life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

    .life-grid img {
        width: 100%;
        border-radius: 16px;
        transition: transform 0.4s ease;
    }

        .life-grid img:hover {
            transform: scale(1.05);
        }

/* ===== Stats Section ===== */
.stats {
    background: #fff;
    padding: 80px 20px;
    text-align: center;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* ===== Job Section ===== */
.jobs-section {
    background: var(--light-bg);
    padding: 100px 20px;
}

    .jobs-section h2 {
        font-size: 2.8rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .jobs-section p {
        text-align: center;
        color: #666;
        margin-bottom: 50px;
    }

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 30px;
    border: 2px solid #ccc;
    border-radius: 30px;
    font-weight: 600;
    color: #555;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: var(--gradient);
        color: white;
        border-color: transparent;
    }

.job-listings {
    display: grid;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .job-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.job-meta {
    margin: 10px 0;
    color: #777;
    font-size: 0.95rem;
}

.apply-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .apply-btn:hover {
        transform: translateY(-2px);
    }

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #777;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 600;
        color: #333;
        display: block;
        margin-bottom: 8px;
    }

    .form-group input, .form-group select, .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        font-size: 1rem;
    }

.submit-btn {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
}

