:root {
    --primary: #4db6ac;
    --primary-dark: #3d9189;
    --primary-light: #80cbc4;
    --bg-dark: #1a2327;
    --bg-darker: #12181b;
    --text-white: #ffffff;
    --text-gray: #b0bec5;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-only {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    gap: 2rem;
}

/* Background elements */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
}

.blob-1 { 
    top: -100px; 
    left: -100px; 
    animation: floating 20s infinite alternate ease-in-out;
}
.blob-2 { 
    bottom: -100px; 
    right: -100px; 
    animation: floating 25s infinite alternate-reverse ease-in-out;
}

@keyframes floating {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Initial setup for animations */
.content-side h1,
.content-side p,
.glass-card {
    opacity: 0;
    transform: translateY(30px);
}

.content-side h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
}

.content-side h1 span {
    color: var(--primary);
}

.content-side p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease backwards;
}

.badge-item:nth-child(1) { animation-delay: 0.4s; }
.badge-item:nth-child(2) { animation-delay: 0.5s; }
.badge-item:nth-child(3) { animation-delay: 0.6s; }

.badge-item i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.badge-item:hover i {
    transform: scale(1.2) rotate(5deg);
}

.badge-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Side */
.form-side {
    position: relative;
    z-index: 10;
    text-align: left;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-premium);
    text-align: left;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.form-header {
    text-align: left;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-header p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
}

/* Fix for select dropdown visibility */
.form-control option {
    background-color: #1a2327; /* Dark background for options */
    color: white;
}

/* Fix for date input icon visibility in dark mode */
input[type="date"] {
    color-scheme: dark; /* Helps rendering on supported browsers */
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}


.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(77, 182, 172, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}


textarea.form-control {
    min-height: 120px;
    resize: none;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn {
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s ease-out;
}

.submit-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: left;
    }

    .content-side {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .content-side h1 {
        font-size: 2.8rem;
    }

    .trust-badges {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mobile-only {
        display: block;
    }

    .radio-group {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .main-wrapper {
        padding: 1rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
    }

    .content-side h1 {
        font-size: 2.2rem;
    }
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-white) !important;
}

.radio-label input[type="radio"] {
    accent-color: var(--primary);
    width: 1.2rem;
    height: 1.2rem;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-footer {
    width: 100%;
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.thank-you-text {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-divider {
    opacity: 0.3;
}

.footer-link {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(77, 182, 172, 0.4);
}

/* Success Message Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.success-overlay.active .success-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
}
