/* VARIABLES */
:root {
    --primary-color: #FF9900;
    --dark-charcoal: #36453B;
    --muted-blue: #596869;
    --text-grey: #515751;
    --off-white: #F5F9E9;
    --white: #ffffff;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); line-height: 1.6; color: var(--text-grey); background-color: var(--white); }
h1, h2, h3, h4 { color: var(--dark-charcoal); line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
p { margin-bottom: 1.5rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* UTILITIES */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: #e68a00; transform: translateY(-2px); }
.section-header { text-align: center; margin-bottom: 3rem; }
.divider { height: 4px; width: 60px; background-color: var(--primary-color); margin: 10px auto; }

/* NAVIGATION */
.navbar { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 1rem 0; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark-charcoal); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links li a { font-weight: 500; font-size: 0.95rem; color: var(--dark-charcoal); }
.nav-links li a:hover { color: var(--primary-color); }
.btn-nav { background-color: var(--primary-color); color: var(--white) !important; padding: 10px 20px; border-radius: 4px; border: none; cursor: pointer; font-family: inherit; }
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--dark-charcoal); transition: var(--transition); }

/* HERO SECTION - FIXED LAYERING & SCALING */
.hero {
    position: relative; /* REQUIRED for the overlay to sit inside */
    background-color: var(--dark-charcoal);
    
    /* Image is loaded in HTML, but we set sizing here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 10rem 0;
    text-align: center;
    color: var(--white);
    
    /* Z-Index 0: The base layer */
    z-index: 0;
}

/* THE DARK OVERLAY (Sits on top of image, below text) */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 69, 59, 0.85); /* Dark Charcoal, 85% Opacity */
    z-index: 1; /* Above the image */
}

/* THE TEXT CONTENT (Sits on top of overlay) */
.hero-content {
    position: relative;
    z-index: 2; /* Above the overlay */
}

.hero h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #f0f0f0;
}

/* SECTIONS */
.section-problem { padding: 6rem 0; background-color: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card { padding: 2.5rem; border: 1px solid #eee; border-radius: 8px; text-align: center; transition: var(--transition); }
.card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }

.section-empathy { padding: 5rem 0; background-color: var(--muted-blue); color: var(--white); text-align: center; }
.section-empathy h2 { color: var(--white); }
.content-narrow { max-width: 700px; }

.section-answer { padding: 6rem 0; background-color: var(--off-white); text-align: center; }
.subtitle { font-size: 1.2rem; color: var(--muted-blue); font-weight: 600; }
.process-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 3rem 0; }
.process-step { flex: 1; min-width: 280px; background: var(--white); padding: 2.5rem; border-radius: 8px; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.step-number { background-color: var(--dark-charcoal); color: var(--white); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; margin: 0 auto 1rem; }
.center-btn { margin-top: 3rem; }

.section-change { padding: 6rem 0; background-color: var(--white); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.list-bad { background-color: #fff0f0; padding: 3rem; }
.list-good { background-color: #f0fff9; padding: 3rem; }
.comparison-grid h3 { text-align: center; margin-bottom: 2rem; }
.comparison-grid li { margin-bottom: 1.2rem; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }

.footer-cta { background-color: var(--dark-charcoal); color: var(--white); padding: 6rem 0 3rem; text-align: center; }
.footer-cta h2 { color: var(--white); }
.footer-links { margin-top: 5rem; font-size: 0.9rem; color: #888; border-top: 1px solid #444; padding-top: 2rem; }

/* MODAL */
.modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(4px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.show { display: flex; opacity: 1; }
.modal-content { background-color: var(--white); padding: 3rem; border-radius: 10px; width: 90%; max-width: 600px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.25); animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 20px; right: 25px; color: #bbb; font-size: 30px; font-weight: bold; cursor: pointer; transition: 0.2s; line-height: 1; }
.close-modal:hover { color: var(--dark-charcoal); }
.modal-header { text-align: center; margin-bottom: 2rem; }
.modal-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: flex; gap: 1.2rem; }
.form-row input { width: 50%; }
.modal-form input, .modal-form select, .modal-form textarea { padding: 14px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; font-size: 1rem; width: 100%; transition: border 0.3s; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus { border-color: var(--primary-color); outline: none; }
.modal-form label { font-weight: 600; font-size: 0.9rem; margin-bottom: -8px; display: block; color: var(--dark-charcoal); }
.full-width { width: 100%; margin-top: 10px; font-size: 1.1rem; }
.form-status { text-align: center; font-size: 0.9rem; margin-top: 15px; color: var(--muted-blue); }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: var(--white); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 10px rgba(0,0,0,0.1); padding: 2rem 0; }
    .nav-links.active { left: 0; }
    .hero h1 { font-size: 2.2rem; }
    .comparison-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 1rem; }
    .form-row input { width: 100%; }
    .modal-content { padding: 1.5rem; margin: 10px; }
}