:root {
    --primary-color: #0A2342;
    /* Navy Blue */
    --secondary-color: #8D99AE;
    /* Silver Grey - Cool */
    --accent-color: #FFFFFF;
    /* White */
    --text-color: #333333;
    --background-light: #F8F9FA;
    --border-color: #D1D5DB;
    --success-color: #28a745;
    --error-color: #dc3545;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-light);
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

html,
body {
    transition: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Text Content */
.headline {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.subheadline {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 300;
}

.image-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: #eee;
    /* Placeholder for image load */
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Form Section */
.form-box {
    background-color: white;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
}

.form-box h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

#leadForm {
    width: 100%;
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

#success-container {
    text-align: center;
    padding: 20px 0;
    display: none;
    opacity: 0;
}

#success-container.show {
    display: block;
    opacity: 1;
}

.success-icon {
    font-size: 64px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message {
    font-size: 18px;
    color: var(--primary-color);
    line-height: 1.5;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
    background-color: #FAFAFA;
}

/* Ensure native select dropdown direction and basic alignment */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    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 12px center;
    background-size: 16px;
    padding-right: 40px !important;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(10, 35, 66, 0.1);
}

/* Checkboxes */
.legal-check {
    margin-top: 30px;
    background-color: #F8F9FA;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #E9ECEF;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.checkbox-container:hover input~.checkmark {
    background-color: #eee;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #0d2d53;
}

/* Data Protection Info */
.data-protection-info {
    font-size: 11px;
    color: #777;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    line-height: 1.4;
}

.data-protection-info h3 {
    font-size: 12px;
    margin-bottom: 8px;
    color: #333;
}

.data-protection-info p {
    margin-bottom: 4px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 13px;
    color: #aab8c5;
}

.footer p {
    max-width: 800px;
    margin: 0 auto 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .text-content {
        order: -1;
        text-align: center;
    }

    .headline {
        font-size: 36px;
    }

    .image-container {
        max-width: 500px;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 28px;
    }

    .form-box {
        padding: 25px 15px;
    }

    .container {
        padding: 0 15px;
    }

    .headline {
        font-size: 26px;
    }
}
/* WhatsApp Flow Styles */
.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.success-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px; /* Rounded pill shape */
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #1DA851; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.4);
}

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

.whatsapp-icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.whatsapp-icon svg {
    fill: white;
    width: 24px;
    height: 24px;
}
