/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    font-size: 16px;
}

/* Page Container */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-header h1 {
    font-size: 3.2em;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.3em;
    color: #f8f9fa;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Main Form Container */
.form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 700px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    text-align: center;
}

.form-description {
    text-align: center;
    color: #718096;
    font-size: 1.1em;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Form Sections */
.form-section {
    margin-bottom: 35px;
    padding: 25px 0;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 15px;
}

.form-section h3 {
    font-size: 1.4em;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Input Groups */
.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    outline: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #667eea;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.input-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' 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 15px center;
    background-size: 20px;
    padding-right: 45px;
    appearance: none;
}

/* Checkbox Wrapper */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-wrapper label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 25px;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
    transform: translateY(-1px);
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.submit-button:hover .arrow-icon {
    transform: translateX(5px);
}

/* Footer Styles */
.page-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    color: white;
    padding: 40px 20px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-section h4,
.info-section h4 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f7fafc;
}

.contact-section p {
    margin-bottom: 8px;
    font-size: 1em;
}

/* Email Link Styling */
.email-link {
    color: #81e6d9;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    background: rgba(129, 230, 217, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(129, 230, 217, 0.2);
}

.email-link:hover {
    background: #81e6d9;
    color: #1a202c;
    transform: scale(1.05);
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #81e6d9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        padding: 40px 20px 30px;
    }
    
    .main-header h1 {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .form-card {
        padding: 30px 25px;
        margin: 0 15px;
        border-radius: 15px;
    }
    
    .form-card h2 {
        font-size: 2em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 2.2em;
    }
    
    .form-card {
        padding: 25px 20px;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 12px 15px;
    }
    
    .submit-button {
        padding: 15px 25px;
        font-size: 1em;
    }
}