/* ========== GLOBAL & RESET ========== */
:root {
    --primary: #4f46e5;
    --primary-light: #c7d2fe;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== FORM STYLES ========== */
.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.half {
    flex: 1;
    min-width: 200px;
}

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

.btn-submit:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Form focus glow */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.checkbox-group label:hover {
    color: var(--primary);
}

/* ========== HERO & HEADER ========== */
header {
    text-align: center;
    padding: 3rem 0 2rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.tagline {
    font-size: 1.2rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ========== NAVBAR ========== */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4f46e5;
}

.btn-nav {
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav:hover {
    background: #4338ca;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.mobile-active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 3rem;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 600px;
    padding: 2rem;
    background: rgba(0,0,0,0.6);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* ========== BENEFITS ========== */
.benefits-section {
    padding: 3rem 0;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    color: #4f46e5;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.btn-large {
    display: inline-block;
    background: white;
    color: #4f46e5;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-large:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

/* ========== THANK YOU PAGE ========== */
.thank-you {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thank-you-container {
    text-align: center;
    padding: 4rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: #4ade80;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(76, 218, 128, 0.3);
}

.thank-you h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.thank-you p {
    max-width: 600px;
    margin: 0.5rem auto;
    color: #64748b;
}

.btn-back {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn-back:hover {
    opacity: 0.9;
}

/* ========== ADMIN LOGIN ========== */
.login-page {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.login-box h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #1e293b;
}

.alert {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #dc2626;
}

/* ========== ADMIN DASHBOARD ========== */
.admin-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-logout {
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.admin-dashboard {
    padding: 2rem 0;
}

.admin-dashboard h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.requests-table th,
.requests-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.requests-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.btn-action {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #4f46e5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.btn-action:hover {
    background: #4338ca;
}

/* ========== ANIMATIONS & UTILITIES ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    header h1 {
        font-size: 2rem;
    }
    .hero-slider {
        height: 70vh;
    }
    .slide-content h1 {
        font-size: 2rem;
    }
    .btn-large,
    .btn-submit {
        padding: 0.75rem 1.25rem;
    }
}