﻿/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::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"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/></svg>');
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    display: inline-block;
}

    .breadcrumb a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        margin-right: 0.5rem;
    }

        .breadcrumb a:hover {
            color: white;
        }

/* Form Section */
.form-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2563eb;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: #2563eb;
        border-radius: 2px;
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #374151;
        font-size: 0.95rem;
    }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background: white;
    }

    .form-control::placeholder {
        color: #9ca3af;
    }

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    width: 100%;
    margin-top: 2rem;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

.success-message {
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.required {
    color: #dc2626;
    font-weight: 700;
}

/* Info Section */
.info-section {
    background: white;
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: #f8fafc;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .info-card:hover {
        border-color: #2563eb;
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    }

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Accessibility */
.submit-btn:focus-visible,
.form-control:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Tablet Styles */
@media (max-width: 1024px) {
    .form-container {
        padding: 2.5rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .form-section {
        padding: 2rem 0;
    }

    .form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 15px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

        .form-group label {
            font-size: 0.9rem;
        }

    .form-control {
        font-size: 0.95rem;
        padding: 0.7rem 0.9rem;
    }

    select.form-control {
        background-position: right 0.75rem center;
        padding-right: 2.25rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .info-section {
        padding: 3rem 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-icon {
        font-size: 2rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }

    .form-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .section-title {
        font-size: 1.15rem;
        padding-bottom: 0.75rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

        .form-group label {
            font-size: 0.85rem;
            margin-bottom: 0.4rem;
        }

    .form-control {
        font-size: 0.9rem;
        padding: 0.65rem 0.8rem;
    }

    select.form-control {
        background-position: right 0.65rem center;
    }

    .submit-btn {
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
        margin-top: 1.5rem;
    }

    .info-card h3 {
        font-size: 1rem !important;
    }

    .info-card p {
        font-size: 0.85rem !important;
    }

    .info-icon {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
}
