/*
* File: style.css
* Description: Stylesheet for the Business Coaching Website.
* Design System: Neumorphism & Eco-Minimalism
* Color Scheme: Monochromatic
*/

/* ---------------------------------- */
/*          CSS Variables             */
/* ---------------------------------- */
:root {
    /* Colors - Monochromatic Scheme */
    --bg-color: #f0f2f5; /* A very light, soft grey */
    --neumorph-bg: #f0f2f5;
    --text-color: #3d4a5d;
    --heading-color: #2c3645;
    --primary-color: #4a6fa5; /* A calm, professional blue for accents */
    --primary-color-dark: #3b5984;
    --light-shadow: rgba(255, 255, 255, 0.9);
    --dark-shadow: rgba(163, 177, 198, 0.6);
    --white-color: #FFFFFF;
    --border-color: #d1d9e6;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --base-font-size: 16px;
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.5rem;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1140px;
    --container-padding: 0 15px;

    /* Neumorphism Shadows */
    --neumorph-shadow: 8px 8px 16px var(--dark-shadow), -8px -8px 16px var(--light-shadow);
    --neumorph-shadow-inset: inset 6px 6px 12px var(--dark-shadow), inset -6px -6px 12px var(--light-shadow);
}


/* ---------------------------------- */
/*          Global Styles             */
/* ---------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--base-font-size);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-padding);
}

/* ---------------------------------- */
/*          Utility Classes           */
/* ---------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--heading-color);
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2rem auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    justify-content: center;
}

.column {
    padding: 0 15px;
    margin-bottom: 2rem;
}

.is-one-third { width: 33.333%; }
.is-half { width: 50%; }
.is-two-thirds { width: 66.666%; }


/* ---------------------------------- */
/*              Header                */
/* ---------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(240, 242, 245, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background 0.3s ease;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--heading-color);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

/* ---------------------------------- */
/*          Hero Section              */
/* ---------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    padding: 0 15px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section .container {
    max-width: 800px;
}

.hero-section h1 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ---------------------------------- */
/*         Global Components          */
/* ---------------------------------- */
/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--neumorph-bg);
    color: var(--primary-color);
    box-shadow: var(--neumorph-shadow);
}

.btn:hover {
    color: var(--primary-color-dark);
    box-shadow: var(--neumorph-shadow-inset);
}

.btn:active {
    box-shadow: var(--neumorph-shadow-inset);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: 4px 4px 8px var(--dark-shadow), -4px -4px 8px var(--light-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: var(--white-color);
    box-shadow: var(--neumorph-shadow-inset);
}

/* Cards */
.card {
    background: var(--neumorph-bg);
    border-radius: 20px;
    box-shadow: var(--neumorph-shadow);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 24px var(--dark-shadow), -12px -12px 24px var(--light-shadow);
}

.card .card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area */
    object-position: center;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card .card-content h3 {
    margin-bottom: 0.75rem;
}

.read-more {
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    position: relative;
    color: var(--primary-color);
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ---------------------------------- */
/*       Section-specific Styles      */
/* ---------------------------------- */
/* Vision Section */
.vision-section {
    text-align: center;
}

/* Process Section (Timeline) */
.process-section {
    background-color: #e9ecf0; /* Slightly different shade */
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-content {
    padding: 20px 30px;
    background-color: var(--neumorph-bg);
    position: relative;
    border-radius: 15px;
    box-shadow: var(--neumorph-shadow);
}

/* Success Stories */
.testimonial-card {
    padding: 2rem;
    background: var(--neumorph-bg);
    box-shadow: var(--neumorph-shadow-inset);
    border-radius: 15px;
    height: 100%;
}
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.testimonial-card h4 {
    text-align: right;
    color: var(--primary-color);
}

/* Accolades */
.accolades-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.accolade-item {
    text-align: center;
}
.accolade-item img {
    margin: 0 auto 1rem;
    filter: grayscale(50%) opacity(0.8);
    transition: all 0.3s ease;
}
.accolade-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* External Resources */
.resources-section {
     background-color: #e9ecf0;
}
.resource-list ul {
    list-style-type: none;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.resource-list li {
    margin-bottom: 1.5rem;
}
.resource-list a {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px 25px;
    display: block;
    border-radius: 15px;
    background: var(--neumorph-bg);
    box-shadow: var(--neumorph-shadow);
    transition: all 0.3s ease;
}
.resource-list a:hover {
    color: var(--primary-color-dark);
    box-shadow: var(--neumorph-shadow-inset);
}


/* Contact Form */
.contact-form {
    max-width: 100%;
}
.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: none;
    border-radius: 15px;
    background: var(--neumorph-bg);
    color: var(--text-color);
    box-shadow: var(--neumorph-shadow-inset);
    outline: none;
    transition: box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: inset 4px 4px 8px var(--dark-shadow), inset -4px -4px 8px var(--light-shadow), 0 0 0 2px var(--primary-color);
}
.contact-form label {
    position: absolute;
    top: 15px;
    left: 20px;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
}
.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -25px;
    left: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
    opacity: 1;
}

/* ---------------------------------- */
/*              Footer                */
/* ---------------------------------- */
.site-footer {
    background: #d1d9e6; /* Darker base for footer */
    padding: 4rem 0 2rem;
    color: var(--text-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul li a {
    color: var(--text-color);
    font-weight: 600;
}
.footer-col ul li a:hover {
    color: var(--primary-color);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

/* ---------------------------------- */
/*        Page Specific Styles        */
/* ---------------------------------- */
/* Success Page */
.success-page-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}
.success-container {
    background: var(--neumorph-bg);
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: var(--neumorph-shadow);
    max-width: 600px;
}
.success-container h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Privacy & Terms Pages */
.legal-page-section {
    padding-top: 120px; /* Offset for fixed header */
    padding-bottom: 60px;
}
.legal-page-section h1 {
    margin-bottom: 2rem;
}
.legal-page-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}


/* ---------------------------------- */
/*         Responsive Design          */
/* ---------------------------------- */
@media (max-width: 992px) {
    :root {
        --h1-size: 2.8rem;
        --h2-size: 2rem;
    }
    .column.is-one-third, .column.is-half, .column.is-two-thirds {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* Header & Nav */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transition: 0.3s;
        gap: 2rem;
        padding-top: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Timeline */
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 10px;
    }

    .hero-section { min-height: 80vh; }
}