﻿.form-wrapper {
    margin-top: 100px; /* match navbar height + extra spacing */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(80vh - 80px);
}

.form-container {
    background-color: #0b0d08; /* Matches .custom-navbar-bg */
    padding: 3rem 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    width: 90%;
    max-width: 800px;
    backdrop-filter: blur(6px);
    color: #f0f0f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .form-container label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: white;
        letter-spacing: 0.5px;
    }

    .form-container textarea,
    .form-container input[type="text"],
    .form-container input[type="email"],
    .form-container input[type="tel"],
    .form-container select {
        width: 100%;
        padding: 0.85rem 1rem;
        margin-bottom: 1.8rem;
        border: 1px solid #444;
        border-radius: 8px;
        background-color: transparent;
        color: white;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

    .form-container select {
        cursor: pointer;
    }

    .form-container select option {
        background-color: #0b0d08;
        color: white;
    }

        .form-container textarea:focus,
        .form-container input:focus,
        .form-container select:focus {
            border-color: #f5b201;
            outline: none;
            box-shadow: 0 0 5px rgba(245, 178, 1, 0.3);
        }

    .form-container button {
        color: white;
        padding: 0.85rem 2.5rem;
        margin-right: -50%;
        border: #0b0d08;
        border-radius: 30px;
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.4s ease;
        letter-spacing: 1px;
        box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
        background-color: #0b0d08;
        transition: color 1s ease, transform 0.5s ease;
    }

        .form-container button:hover {
            transition: color 1s ease, transform 0.5s ease;
            box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
            transform: scale(1.1);
        }

    /* Optional: darken scrollbar inside form if needed */
    .form-container textarea::-webkit-scrollbar {
        width: 8px;
    }

    .form-container textarea::-webkit-scrollbar-thumb {
        background: #555;
        border-radius: 4px;
    }
.custom-navbar-bg {
    background-color: #0b0d08 !important;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #f5b201;
}

.form-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f5b201;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 50px;
    height: 20px;
    border: 2px solid #f5b201;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #f5b201;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0b0d08;
    font-weight: bold;
    font-size: 14px;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #f5b201, #ff8c00);
    color: #0b0d08;
    padding: 1rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(245, 178, 1, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 178, 1, 0.5);
    background: linear-gradient(135deg, #ff8c00, #f5b201);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        width: 95%;
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
}
