/* CSS Variables for new Modern Indigo/Slate Theme */
:root {
    --bg-color: #f8fafc;       /* Light slate/gray background */
    --section-alt: #ffffff;    /* Pure white for alternating sections */
    --card-bg: #ffffff;        /* White cards */
    --text-color: #0f172a;     /* Very dark slate for high contrast */
    --text-muted: #64748b;     /* Medium slate for secondary text */
    --cta-color: #4f46e5;      /* Vibrant modern Indigo */
    --cta-hover: #4338ca;      /* Darker Indigo for hover states */
    --border-color: #e2e8f0;   /* Light gray borders */
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(248, 250, 252, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.logo-container {
    text-decoration: none;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo span {
    color: var(--cta-color);
}

.logo-divider {
    width: 100%;
    height: 2px;
    background-color: var(--cta-color);
    margin: 4px 0 2px 0;
    border-radius: 2px;
}

.logo-subtitle {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--cta-color);
}

.nav-links .btn-signup {
    background-color: var(--text-color);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease-in-out;
}

.nav-links .btn-signup:hover {
    background-color: var(--cta-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 200px 8% 120px;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    animation: pulse 8s infinite alternate;
}
.blob-1 { top: 5%; right: -5%; }
.blob-2 { bottom: -10%; left: -10%; animation-delay: 2s; }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4rem);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-hero-cta {
    background-color: var(--cta-color);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-hero-cta:hover {
    background-color: var(--cta-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}

.hero-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    animation: fadeInRight 1s ease-out 0.2s both;
}

.visual-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}
.visual-card:hover { transform: translateY(-5px); }
.visual-card.wide { grid-column: span 2; }
.visual-card h3 { color: var(--cta-color); font-size: 1.5rem; margin-bottom: 8px; }
.visual-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Wave SVG Divider */
.wave-container {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: var(--bg-color);
}
.wave-container svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    fill: var(--section-alt);
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About / Philosophy Section */
.about-section {
    padding: 80px 8% 140px;
    background-color: var(--section-alt);
}

.about-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cta-color);
    border-radius: 12px;
    top: 20px;
    left: -20px;
    z-index: 0;
}

.about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    background-color: #e2e8f0;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 850;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.about-content h2 span {
    color: var(--cta-color);
}

.highlight-box {
    background: var(--card-bg);
    border-left: 4px solid var(--cta-color);
    padding: 35px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    border-left-width: 4px;
}

.highlight-box p {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.highlight-box p:last-child { margin-bottom: 0; }

.highlight-footer {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-top: 20px;
}

/* Contact Section / Consultation Form */
.contact-section {
    padding: 140px 8%;
    text-align: center;
}

.form-container {
    background: var(--card-bg);
    padding: 50px 60px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
    max-width: 680px;
    margin: 40px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cta-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

/* GDPR Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
}
.checkbox-group input {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
    accent-color: var(--cta-color);
}
.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
}
.checkbox-group label a {
    color: var(--cta-color);
    text-decoration: none;
}

.btn-submit {
    width: 100%;
    background-color: var(--text-color);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--cta-color);
}

/* Footer Styles */
footer {
    background-color: #0f172a; /* Deep slate footer */
    color: #f1f5f9;
    padding: 100px 8% 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 { font-size: 1.8rem; margin-bottom: 20px; color: #ffffff; }
.footer-links h4, .footer-contact h4 { margin-bottom: 25px; font-size: 1.1rem; color: #ffffff; letter-spacing: 1px; text-transform: uppercase; }
.footer-links a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 14px; cursor: pointer; }
.footer-links a:hover { color: var(--cta-color); }

.maps-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}
.maps-link:hover {
    color: var(--cta-color);
}

.footer-bottom { 
    text-align: center; 
    margin-top: 80px; 
    padding-top: 30px; 
    border-top: 1px solid #1e293b; 
    color: #64748b; 
    font-size: 0.9rem; 
}

/* Modal Overlays */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    text-align: left;
}

.modal-content h2, .modal-content h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.modal-content p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

/* Keyframe Animations */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, -20px); }
}

/* Responsive Design Rules */
@media (max-width: 992px) {
    .hero-container, .about-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .hero-content { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .about-image-container { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-visuals { grid-template-columns: 1fr; }
    .visual-card.wide { grid-column: span 1; }
    .form-container { padding: 35px 25px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}