/* ==========================
   RESET & VARIABLES
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #00b4d8;
    --primary-dark: #0077b6;
    --primary-light: #48cae4;
    --secondary-color: #3f4788;
    --accent-color: #ff9e00;
    --accent-dark: #ff8500;
    --success-color: #06d6a0;
    --error-color: #ef476f;
    
    /* Text Colors */
    --text-dark: #2b2d42;
    --text-gray: #6c757d;
    --text-light: #8d99ae;
    
    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #e8f4f8 0%, #ffffff 100%);
    
    /* Borders & Shadows */
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ==========================
   CONTAINER
   ========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================
   HEADER
   ========================== */
.header {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-centre {
    color: var(--primary-color);
}

.logo-services {
    color: var(--secondary-color);
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.phone-number:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
    padding: 60px 0 80px;
    background: var(--bg-gradient);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-left {
    padding-top: 20px;
}

.hero-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.emoji {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    gap: 20px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.badge:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.badge svg {
    flex-shrink: 0;
}

.badge strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.badge span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-gray);
}

/* ==========================
   FORM CONTAINER
   ========================== */
.form-container {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.form-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ==========================
   FORM STYLES
   ========================== */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--error-color);
}

.form-group input.valid,
.form-group select.valid {
    border-color: var(--success-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 4px;
    min-height: 18px;
    display: block;
}

/* Checkbox */
.checkbox-group {
    margin: 8px 0 6px 0;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================
   SUBMIT BUTTON
   ========================== */
.submit-btn {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    margin-top: 6px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================
   FORM STATUS
   ========================== */
.form-status {
    padding: 16px;
    border-radius: var(--radius);
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-status.show {
    display: block;
}

.form-status.success {
    background: #d1f4e8;
    color: #0d6447;
    border: 2px solid var(--success-color);
}

.form-status.error {
    background: #ffe0e6;
    color: #c41e3a;
    border: 2px solid var(--error-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
   REASSURANCE SECTION
   ========================== */
.reassurance {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.reassurance-item {
    text-align: center;
    padding: 30px 20px;
    transition: var(--transition);
}

.reassurance-item:hover {
    transform: translateY(-5px);
}

.reassurance-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.reassurance-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.reassurance-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================
   FOOTER
   ========================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-right {
    display: flex;
    gap: 30px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
}

/* ==========================
   RESPONSIVE DESIGN
   ========================== */

/* Tablet */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

    .badge {
        justify-content: center;
    }

    .form-container {
        position: static;
    }

    .hero-title {
        font-size: 2.25rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-container {
        padding: 24px 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .trust-badges {
        gap: 15px;
    }

    .badge {
        flex-direction: column;
        text-align: center;
    }

    .reassurance {
        padding: 50px 0;
    }

    .reassurance-grid {
        gap: 30px;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .phone-number {
        font-size: 1.125rem;
        padding: 10px 20px;
    }

    .hero-title {
        font-size: 1.625rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 14px 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ==========================
   ACCESSIBILITY
   ========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==========================
   PRINT STYLES
   ========================== */
@media print {
    .header,
    .footer,
    .submit-btn {
        display: none;
    }
    
    body {
        background: white;
    }
}
