* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --border-color: #e5e7eb;
    --focus-ring: rgba(37, 99, 235, 0.1);
    --error-color: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    /* min-height: 100vh; */
}

/* .form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
} */


.form-container {
    display: flex;
    gap: 1rem;
    padding: 2rem;
}

.left-section, .right-section {
    width: 50%;
}

.left-section {
    background-image: url(/imgs/background-2.jpg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    border-radius: 0.5rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.comp-logo {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
}

.comp-logo img {
    width: 100%;
    height: 100%;
}

.left-section-content {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); /* Light shadow */
}

.left-section h1 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.left-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.left-section p {
    margin-top: 1rem;
    color: var(--text-color);
    line-height: 1.5;
}

.right-section {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 4rem;
    /* margin-bottom: 1rem; */
}

/* .temporary-work-text {
    color: red;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.temp-contact-link {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5rem;
} */

.form-group {
    margin-bottom: 2rem;
}

label {
    /* position: absolute; */
    top: -0.75rem;
    left: 0;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--background);
    /* padding: 0 0.25rem; */
    transition: all 0.2s ease;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-family: inherit;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.input-group:focus-within .line::after {
    width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

.input-group:focus-within label {
    color: var(--primary-color);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 1.5rem;
    padding-right: 2rem;
}

button {
    padding: 1rem 1.2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.name-group, .company-group, .email-group, .phone-group, .interest-group, .budget-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.name-group label, .company-group label, .email-group label, .phone-group label, .interest-group label, .budget-group label, .input-group label {
    font-size: 1rem;
}

.name-group input, .company-group input, .email-group input, .phone-group input, .interest-group select, .budget-group select {
    width: 60%;
}


button:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.send-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

button:hover .send-icon {
    transform: translateX(4px);
}

/* Placeholder styles */
::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Animation for form groups */
.form-group {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation delay for form groups */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }

/* Responsive styles */

@media (max-width: 768px) {

    .left-section-content {
        margin-top: 2.5rem;
    }

    .form-container {
        flex-direction: column;
    }

    .left-section, .right-section {
        width: 100%;
    }
}


@media (max-width: 640px) {
    
    .left-section-content {
        margin-top: 2.5rem;
    }
    
    .right-section {
        padding: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }
}

/* Error states */
.input-group.error .line {
    background: var(--error-color);
}

.input-group.error label {
    color: var(--error-color);
}

/* Success states */
.input-group.success .line {
    background: #10b981;
}

.input-group.success label {
    color: #10b981;
}

@media (max-width: 480px) {

    .form-container {
        padding: 1rem;
    }

    .comp-logo {
        width: 50%;
    }

    .left-section-content {
        padding: 1rem;
        margin-top: 4rem;
    }

    .left-section-content h1 {
        font-size: 2rem;
    }

    .left-section-content h2 {
        font-size: 1.25rem;
    }
}