/* style.css */

/* ---------------------------------- */
/*      1. CSS Variables & Setup      */
/* ---------------------------------- */
:root {
    /* Split-Complementary Color Scheme */
    --primary-color: #0D3B66; /* Deep Blue */
    --accent-color-1: #EE6C4D; /* Reddish-Orange */
    --accent-color-2: #F9A826; /* Warm Yellow/Gold */
    --primary-darker: #092847;
    
    /* Background & Text Colors */
    --bg-light: #FAF0E6; /* Warm Off-White */
    --bg-dark: #222831; /* Dark Grey */
    --text-light: #FFFFFF;
    --text-dark: #363636; /* Bulma's default dark text */
    --text-headings: #222222;

    /* Fonts */
    --font-headings: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;

    /* Block UI Elements */
    --border-radius-sharp: 4px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ---------------------------------- */
/*      2. General Body Styles        */
/* ---------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------- */
/*        3. Typography             */
/* ---------------------------------- */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-headings);
    color: var(--text-headings);
    font-weight: 800;
}

.title {
    color: var(--text-headings);
}

.subtitle {
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 400;
}

.section-title {
    margin-bottom: 3rem !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

a:hover {
    color: var(--accent-color-1);
}

/* ---------------------------------- */
/*        4. Layout & Helpers         */
/* ---------------------------------- */
.section {
    padding: 4rem 1.5rem;
}

.has-background-light {
    background-color: #fff !important;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* Scroll Animation Helper */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------- */
/*  5. Global Component Overrides (Bulma) */
/* ---------------------------------- */

/* --- Buttons --- */
.button {
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: var(--border-radius-sharp);
    transition: all 0.3s ease;
    border-width: 2px;
}

.button.is-primary.custom-button {
    background-color: var(--accent-color-1);
    border-color: var(--accent-color-1);
    color: var(--text-light);
}

.button.is-primary.custom-button:hover {
    background-color: #d65a3d;
    border-color: #d65a3d;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.button.is-outlined {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.button.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* --- Cards --- */
.card {
    background-color: #fff;
    border-radius: var(--border-radius-sharp);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Make cards in a row equal height */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.card .card-image {
    padding: 1rem;
    margin: 0 auto;
}

.card .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-sharp);
}

.card .card-content {
    flex-grow: 1; /* Allows content to fill space */
    padding: 1.5rem;
}

/* --- Forms --- */
.input, .textarea {
    border-radius: var(--border-radius-sharp);
    border: 2px solid #dbdbdb;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input:focus, .textarea:focus,
.input:active, .textarea:active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(13, 59, 102, 0.25);
}

.label {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-dark);
}

/* ---------------------------------- */
/*     6. Section-Specific Styles     */
/* ---------------------------------- */

/* --- Header & Navbar --- */
.navbar.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.navbar-item {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-dark);
}

.navbar-item:hover, .navbar-item.is-active {
    background-color: transparent !important;
    color: var(--accent-color-1) !important;
}

.navbar-burger {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero .title, .hero .subtitle {
    color: var(--text-light);
}

/* --- Methodology Section --- */
.methodology-card {
    border-left: 4px solid var(--accent-color-2);
}

.progress.is-primary {
    background-color: var(--accent-color-2);
}
.progress {
    height: 8px;
}

/* --- Customer Stories / Testimonials --- */
.testimonial-box {
    border-left: 4px solid var(--primary-color);
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
}

.testimonial-box strong {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* --- Pricing Section --- */
.pricing-card {
    border-top: 4px solid var(--primary-color);
}

.pricing-card.is-featured {
    border-color: var(--accent-color-1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card ul {
    list-style: none;
    margin-left: 0;
    text-align: left;
    padding-left: 1rem;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--accent-color-1);
    margin-right: 0.75rem;
    font-weight: bold;
}

/* --- Events Section --- */
.event-item .level-item .title {
    color: var(--primary-color);
}

.event-item .level-item .heading {
    font-family: var(--font-headings);
    color: var(--accent-color-1);
    font-weight: 700;
}

.event-item .level-left .level-item:first-child {
    border-right: 2px solid #eee;
    padding-right: 1.5rem;
    margin-right: 1.5rem;
}

/* --- Resources Section --- */
.resource-box {
    border-bottom: 3px solid var(--accent-color-2);
}


/* --- FAQ Section --- */
.faq-container details {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sharp);
    border: 1px solid #e0e0e0;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 1.2rem;
    font-weight: 700;
    font-family: var(--font-headings);
    cursor: pointer;
    position: relative;
    list-style: none; /* Hide default marker */
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
    border-top: 1px solid #e0e0e0;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-dark);
    color: #b5b5b5;
    padding: 4rem 1.5rem;
}

.footer .title {
    color: var(--text-light);
}

.footer-title {
    color: var(--accent-color-2);
    font-weight: 700;
}

.footer a {
    color: #b5b5b5;
}

.footer a:hover {
    color: var(--text-light);
}

.footer ul {
    list-style: none;
    margin: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

/* ---------------------------------- */
/*       7. Special Page Styles       */
/* ---------------------------------- */

/* For success.html body */
.success-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-light);
}
.success-container {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius-sharp);
    box-shadow: var(--box-shadow);
    max-width: 600px;
}

/* For pages like privacy.html, terms.html */
.static-page-content {
    padding-top: 8rem; /* Space for fixed navbar */
    padding-bottom: 4rem;
}

.static-page-content .title {
    margin-bottom: 2rem;
}

/* ---------------------------------- */
/*         8. Media Queries           */
/* ---------------------------------- */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: white;
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    
    .event-item .level, .event-item .level-left, .event-item .level-right {
        display: block;
        text-align: center;
    }

    .event-item .level-left .level-item:first-child {
        border-right: none;
        border-bottom: 2px solid #eee;
        margin: 0 0 1rem 0;
        padding: 0 0 1rem 0;
    }
    .event-item .level-right {
        margin-top: 1.5rem;
    }
}