/* ---
   Futuristic Business Coaching CSS
   Design System: Futuristic
   Color Scheme: Neutral
   Animation: Smooth Transitions
   Typography: Adaptive (Oswald, Nunito)
--- */

/* 1. CSS VARIABLES & ROOT CONFIGURATION
-------------------------------------------------- */
:root {
    /* Color Palette (Neutral with a strong accent) */
    --primary-color: #0d6efd; /* A professional, vibrant blue */
    --primary-color-dark: #0b5ed7;
    --background-color: #ffffff;
    --surface-color: #f8f9fa; /* Light grey for section backgrounds */
    --text-color: #343a40;
    --text-color-light: #6c757d;
    --heading-color: #212529;
    --white-color: #ffffff;
    --border-color: #dee2e6;
    --shadow-color-light: rgba(33, 37, 41, 0.05);
    --shadow-color-medium: rgba(33, 37, 41, 0.15);

    /* Typography */
    --font-family-headings: 'Oswald', sans-serif;
    --font-family-body: 'Nunito', sans-serif;

    /* Adaptive Font Sizes */
    --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* Scales from 16px to 18px */
    --font-size-h1: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
    --font-size-h2: clamp(2rem, 1.25rem + 3.75vw, 3.5rem);
    --font-size-title: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);

    /* Layout & Effects */
    --header-height: 80px;
    --section-padding-y: clamp(4rem, 2rem + 6vw, 6rem);
    --border-radius: 6px;
    --transition-speed: 0.3s;
}

/* 2. GLOBAL STYLES & RESETS
-------------------------------------------------- */
html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

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

h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.title.is-2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1.5rem !important;
}

.subtitle.is-5 {
    color: var(--text-color-light);
    font-family: var(--font-family-body);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

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

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

.section {
    padding: var(--section-padding-y) 1.5rem;
}

/* 3. SCROLL-TRIGGERED ANIMATIONS
-------------------------------------------------- */
[data-scroll-animation] {
    opacity: 1;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-scroll-animation="fade-in"] { transform: translateY(20px); }
[data-scroll-animation="fade-in-up"] { transform: translateY(40px); }
[data-scroll-animation="fade-in-left"] { transform: translateX(-40px); }
[data-scroll-animation="fade-in-right"] { transform: translateX(40px); }

[data-scroll-animation].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 4. HEADER & NAVIGATION
-------------------------------------------------- */
.header.is-fixed-top {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color-light);
    transition: background-color var(--transition-speed) ease;
}

.navbar {
    height: var(--header-height);
}

.logo-text {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--heading-color);
}

.navbar-item {
    font-family: var(--font-family-body);
    font-weight: 600;
    color: var(--text-color);
    transition: color var(--transition-speed) ease, background-color var(--transition-speed) ease;
    padding: 0.5rem 1.25rem;
}

.navbar-item:hover, .navbar-item.is-active {
    color: var(--primary-color);
    background-color: transparent;
}

.navbar-burger {
    color: var(--heading-color);
    height: var(--header-height);
    width: var(--header-height);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 16px var(--shadow-color-medium);
        padding-bottom: 1rem;
    }
}

/* 5. HERO SECTION
-------------------------------------------------- */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-bg {
    background-attachment: fixed;
}

#hero .title {
    font-size: var(--font-size-h1);
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

#hero .subtitle {
    font-size: var(--font-size-title);
    color: var(--white-color);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    font-family: var(--font-family-body);
    font-weight: 400;
}

/* 6. BUTTONS & INTERACTIVE ELEMENTS (GLOBAL)
-------------------------------------------------- */
.button {
    font-family: var(--font-family-body);
    font-weight: 700;
    border-radius: var(--border-radius);
    border-width: 2px;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0.75em 1.75em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.button.is-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

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

.button.is-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* 7. CARDS (GLOBAL STYLES)
-------------------------------------------------- */
.card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px var(--shadow-color-light);
    overflow: hidden;
    height: 100%;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color-medium);
}

.card .card-image {
    width: 100%;
    overflow: hidden;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content .media {
    margin-bottom: 1rem;
}

.card-content .title, .card-content .subtitle {
    text-align: center;
    margin-bottom: 0.5rem;
}

.card-content .content {
    margin-top: auto; /* Pushes content above to the top */
    color: var(--text-color-light);
}

.event-card .card-content {
    text-align: left;
}

.event-card .title {
    text-align: left;
}

/* 8. FORMS & CONTACT SECTION
-------------------------------------------------- */
.contact-form .label {
    color: var(--text-color);
    font-weight: 600;
}

.contact-form .input,
.contact-form .textarea {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form .input:focus,
.contact-form .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(13, 110, 253, 0.25);
}

/* 9. RESOURCES SECTION
-------------------------------------------------- */
.resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resource-list li {
    background: var(--surface-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    border-left: 5px solid transparent;
}

.resource-list li:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 15px var(--shadow-color-light);
}

.resource-list li a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
}

/* 10. FOOTER
-------------------------------------------------- */
.footer {
    background-color: var(--heading-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 1.5rem;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

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

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

.footer .content p {
    color: rgba(255, 255, 255, 0.5);
}

/* 11. MODAL STYLES
-------------------------------------------------- */
.modal-card {
    border-radius: var(--border-radius);
}

.modal-card-head, .modal-card-foot {
    background-color: var(--surface-color);
}

.modal-card-title {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
}

/* 12. SPECIFIC PAGE STYLES
-------------------------------------------------- */
/* For success.html */
body.success-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--surface-color);
}

/* For privacy.html, terms.html */
.static-page-content {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    min-height: 100vh;
}

.static-page-content h1 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
}

.static-page-content h2 {
    font-size: var(--font-size-title);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 13. RESPONSIVE ADJUSTMENTS
-------------------------------------------------- */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .columns.is-vcentered.is-8 {
        flex-direction: column-reverse;
    }
}