/* --- Global Styles & CSS Variables --- */
:root {
    /* Bright Color Palette */
    --primary-color: #6A0DAD; /* Vibrant Purple */
    --primary-hover-color: #4B0082; /* Indigo */
    --accent-color: #FFD700; /* Gold */
    --secondary-accent-color: #00C49A; /* Bright Teal */

    /* Neutrals */
    --text-color: #222222;
    --text-light-color: #FFFFFF;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #222222;
    --shadow-color-strong: rgba(0, 0, 0, 0.8);
    --shadow-color-light: rgba(0, 0, 0, 0.1);
    
    /* Fonts */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Merriweather', serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background-white);
}

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

.section {
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.title.is-1, .title.is-2 {
    text-shadow: 2px 2px 0px var(--shadow-color-light);
}

p {
    margin-bottom: 1.25rem;
}

/* --- Buttons & UI Components (Global) --- */
.button {
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: 4px;
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0px var(--border-color);
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover, .button:focus {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
}

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

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

.button.is-primary.is-light {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 4px 4px 0px var(--primary-color);
}
.button.is-primary.is-light:hover {
     background-color: var(--primary-color);
     color: var(--text-light-color);
}

/* Form elements */
.input, .textarea {
    border-radius: 4px;
    border: 2px solid var(--border-color);
    box-shadow: inset 2px 2px 0px var(--shadow-color-light);
    transition: all 0.2s ease;
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.25);
}

/* --- Header / Navigation --- */
.navbar {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.navbar.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color-light);
}

.navbar-item {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
}

.navbar-item:hover {
    color: var(--primary-color);
    background-color: transparent !important;
}

.navbar-burger span {
    background-color: var(--border-color);
    height: 3px;
    width: 20px;
}

/* --- Page Specific Styles --- */
.page-content {
    padding-top: 100px;
    padding-bottom: 50px;
}

.success-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}
.success-card {
    padding: 3rem;
    border: 2px solid var(--border-color);
    box-shadow: 8px 8px 0 var(--border-color);
}

/* --- Section: Hero --- */
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
}

#hero .title {
    color: var(--text-light-color);
    font-size: 4rem;
    font-weight: 800;
}

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

#hero .button.is-inverted.is-outlined {
    border-width: 2px;
    box-shadow: 4px 4px 0px var(--text-light-color);
    border-color: var(--text-light-color);
    color: var(--text-light-color);
}
#hero .button.is-inverted.is-outlined:hover {
    background-color: var(--text-light-color);
    color: var(--primary-color);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--text-light-color);
}

/* --- Section: Features --- */
.feature-card {
    height: 100%;
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: 6px 6px 0 var(--secondary-accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 0 var(--secondary-accent-color);
}
.icon-placeholder {
    width: 80px;
    height: 80px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.8rem;
    border: 2px dashed var(--border-color);
}

/* --- Section: Our Process --- */
.steps-container {
    position: relative;
    padding-left: 50px;
}
.steps-container::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--accent-color);
}

.step-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.step-number {
    position: absolute;
    left: -52px;
    top: -5px;
    width: 32px;
    height: 32px;
    background-color: var(--primary-color);
    color: var(--text-light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    border: 2px solid var(--border-color);
}

/* --- Section: Vision --- */
.widget-stats {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}
.stat-item {
    text-align: center;
}
.stat-item .title {
    font-size: 4rem;
    line-height: 1;
}

/* --- Section: Innovation, Case Studies, etc. --- */
.card {
    background-color: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: 6px 6px 0px var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card .card-image {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}
.card-content .content {
    font-size: 1rem;
}

/* --- Section: Events Calendar --- */
#events .box {
    border-radius: 0;
    border: 2px solid var(--border-color);
    box-shadow: 4px 4px 0 var(--border-color);
    transition: box-shadow 0.2s ease-in-out;
}
#events .box:hover {
     box-shadow: 6px 6px 0 var(--primary-color);
}
.event-date {
    background-color: var(--accent-color);
    color: var(--text-color);
    text-align: center;
    padding: 0.5rem;
    font-family: var(--font-headings);
    border: 2px solid var(--border-color);
    min-width: 70px;
}
.event-date .day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}
.event-date .month {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}
#events .media-right {
    align-self: center;
}

/* --- Section: Resources --- */
.resource-card {
    transition: all 0.2s ease;
}
.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px var(--primary-color);
}
.resource-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
.resource-card a:hover {
    text-decoration: underline;
}

/* --- Section: Contact --- */
#contact .card {
    box-shadow: 8px 8px 0px var(--primary-color);
}

/* --- Footer --- */
.footer {
    background-color: var(--text-color);
    color: #ccc;
    padding: 3rem 1.5rem;
}

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

.footer p, .footer li {
    color: #ccc;
}

.footer a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

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

/* --- Animations & Utilities --- */
.section-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* For elements that enter the viewport */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries for Responsiveness --- */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--background-white);
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
        padding: 0.5rem 0;
    }
    .steps-container {
        padding-left: 40px;
    }
    .step-number {
        left: -48px;
    }
    .widget-stats {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    #hero .title {
        font-size: 2.5rem;
    }
    #hero .subtitle {
        font-size: 1.25rem;
    }
    .section {
        padding: 3rem 1rem;
    }
    .footer .columns {
        text-align: center;
    }
    .footer .column:not(:last-child) {
        margin-bottom: 2rem;
    }
}