/* Contact Page Styles */

/* Background */
body {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(15, 27, 61, 0.4) 100%),
                url('../assets/img/Globe_Image.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 14, 39, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Logo */
.logo-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: inline-block;
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.1) rotate(180deg);
}

/* Header */
.contact-header {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(15, 27, 61, 0.95) 50%, rgba(26, 40, 71, 0.9) 100%);
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-weight: 700;
}

.highlight {
    color: var(--accent-orange);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Main Content */
.contact-main {
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Form Styles */
.contact-form {
    background: rgba(20, 25, 45, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-section {
    margin-bottom: 35px;
}

.section-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.helper-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
}

.required {
    color: var(--accent-orange);
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-select,
textarea {
    resize: none;
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 20, 40, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.1);
    background: rgba(15, 20, 40, 0.9);
}

/* Service Options (Radio Buttons) */
.service-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: rgba(30, 35, 55, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background: rgba(40, 45, 65, 0.7);
    border-color: var(--accent-cyan);
    transform: translateX(5px);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--accent-cyan);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-orange);
    color: var(--bg-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
}

.radio-option input[type="radio"]:checked + .radio-label .option-letter {
    background: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: rgba(30, 35, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    background: rgba(40, 45, 65, 0.6);
    border-color: var(--accent-cyan);
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--accent-cyan);
}

.checkbox-option span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Conditional Sections */
.conditional-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Info Text */
.info-text {
    background: rgba(0, 242, 254, 0.1);
    border-left: 4px solid var(--accent-cyan);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.budget-note {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid var(--accent-orange);
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

/* Submit Button */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    padding: 16px 60px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-orange));
    color: var(--bg-dark);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.success-message {
    background: linear-gradient(135deg, rgba(0, 31, 32, 8) 0%, rgba(0, 23, 24, 6) 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInScale 0.5s ease-out;
}

.success-message h2 {
    color: #10b981;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.success-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.success-email strong {
    color: #10b981;
}

.return-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Error States */
.form-group input.error,
.form-group textarea.error,
.form-select.error,
textarea.error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.error-label {
    color: #ef4444 !important;
}

.radio-option.error,
.checkbox-option.error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

.radio-option.error .option-letter {
    background: #ef4444 !important;
    color: white !important;
}

/* Prevent dropdown options from being red */
.form-select.error option {
    background: rgba(15, 20, 40, 0.9) !important;
    color: var(--text-primary) !important;
    border: none !important;
}

/* Prevent autofill white background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 20, 40, 0.9) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 1000px rgba(15, 20, 40, 0.9) inset !important;
    background-color: rgba(15, 20, 40, 0.9) !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        width: 100%;
        padding: 16px 20px;
    }

    .success-message {
        padding: 40px 20px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .success-message h2 {
        font-size: 24px;
    }
    
    .success-message p {
        font-size: 16px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .radio-option input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        min-height: 18px;
    }
    
    .radio-option {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .radio-label {
        font-size: 14px;
        line-height: 1.5;
    }
}