/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-bg: #0B0B1C;
    --text-color: #ffffff;
    --accent-gradient: linear-gradient(90deg, #E91A83 0%, #4C24C1 51%, #E91A83 100%);
    --font-heading: "Plus Jakarta Sans", sans-serif;
    --font-body: "Inter", sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --input-bg: rgba(0, 0, 0, 0.3);
    --input-focus-border: #4C24C1;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Overlay Pattern */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://rotasia2026chennai.com/wp-content/uploads/2024/07/home-2-bg-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* Header */
.site-header {
    padding: 2rem;
    text-align: center;
}

.logo {
    max-width: 250px;
    height: auto;
}

/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* Form Card - Glassmorphism */
.form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.8s ease-out;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #ddd);    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

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

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

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

input, select, textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 3px rgba(76, 36, 193, 0.2);
    transform: translateY(-2px);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Icon Inputs */
.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-weight: bold;
}

input.has-icon {
    padding-left: 40px;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 100px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-visual {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.file-upload-visual.active, .file-upload-wrapper:hover .file-upload-visual {
    border-color: #E91A83;
    background: rgba(233, 26, 131, 0.05);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 1rem;
    border: none;
    border-radius: 300px;
    background: var(--accent-gradient);
    background-size: 200% auto;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-position: right center;
    transform: scale(1.02);
    box-shadow: 0 10px 20px -5px rgba(233, 26, 131, 0.4);
}

/* Footer */
.site-footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
}
