/* assets/css/style.css */

/* Core Variables */
:root {
    --primary: #e11b14;
    --primary-dark: #b8140e;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --bg-light: #f8fafc;
    --bg-red-tint: #fef2f2;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --border-red: #fee2e2;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 52px;
    vertical-align: middle;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 5rem 0 6rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 10rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    list-style: none;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-features li {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Section Styling */
.section {
    padding: 6rem 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Service Cards / Grids */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-red);
}

.service-card .icon-wrap {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-card .learn-more {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.service-card .learn-more:hover {
    color: var(--primary-dark);
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 1.5rem;
}

.process-step .step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(225, 27, 20, 0.1);
    margin-bottom: 0.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section Split */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.split-text h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.split-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Contact Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 27, 20, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--primary);
}

/* Wizard / Get Started */
.wizard-card {
    background: var(--white);
    border: 1px solid var(--border);
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.wizard-progress {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.progress-step-indicator {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
}

.progress-step-indicator.active {
    color: var(--primary);
    border-color: var(--primary);
}

.wizard-body {
    padding: 3rem;
}

.step-title {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.step-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: center;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

/* Wizard Choices / Cards */
.choices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.choice-box {
    position: relative;
}

.choice-box input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.choice-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    background: var(--white);
    transition: var(--transition);
    text-align: center;
    min-height: 100px;
}

.choice-box input[type="radio"]:checked + .choice-label {
    border-color: var(--primary);
    background-color: var(--bg-red-tint);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 27, 20, 0.1);
}

.choice-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-row {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-row .btn {
    flex: 1;
}

/* Compliance checkbox */
.compliance-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 6px;
}

.checkbox-container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Error message */
.error-message {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: none;
}

/* Footer Section */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-col p {
    color: #94a3b8;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-compliance {
    border-top: 1px solid var(--secondary-light);
    padding-top: 2rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
}

.footer-compliance p {
    margin-bottom: 1rem;
}

.footer-compliance strong {
    color: #94a3b8;
}

/* Success layout page */
.success-icon-wrap {
    width: 80px;
    height: 80px;
    background-color: var(--bg-red-tint);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

/* Responsive design styles */
@media (max-width: 992px) {
    .nav-container {
        padding: 0;
    }
    nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .wizard-body {
        padding: 1.5rem;
    }
    .choices-grid {
        grid-template-columns: 1fr;
    }
}
