/*
    style.css
    Theme: Financial Consulting in Argentina
    Design System: Minimalist, Block-based
    Color Scheme: Split-Complementary
    Animation Style: Parallax
*/

/* -------------------------------------------------- */
/* 1. CSS Variables & Root Styles
/* -------------------------------------------------- */

:root {
    /* Color Palette */
    --primary-color: #001219;       /* Oxford Blue - For dark backgrounds, primary text */
    --secondary-color: #005f73;     /* Deep Teal - For accents, secondary elements */
    --accent-color: #ee9b00;        /* Gamboge - For CTAs, buttons, links */
    --accent-color-dark: #ca6702;    /* Rust - Hover for accent color */
    
    --background-light: #f8f9fa;    /* Off-white for section backgrounds */
    --background-dark: var(--primary-color);
    
    --text-color: #343a40;          /* Dark Gray for body text */
    --text-light: #ffffff;          /* White for text on dark backgrounds */
    --border-color: #dee2e6;        /* Light Gray for borders */
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    
    /* UI Elements */
    --card-bg: #ffffff;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    --card-border-radius: 8px;
    --button-border-radius: 5px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

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

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

/* -------------------------------------------------- */
/* 2. General Layout & Sections
/* -------------------------------------------------- */

.section {
    padding: 5rem 1.5rem;
}

.section.has-background-light {
    background-color: var(--background-light);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0.75rem auto 0;
}

/* -------------------------------------------------- */
/* 3. Header & Navigation
/* -------------------------------------------------- */

.header.is-fixed-top {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.navbar-item {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

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

.navbar-brand .navbar-item {
    color: var(--primary-color) !important;
    font-family: var(--font-heading);
}

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

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

/* -------------------------------------------------- */
/* 4. Hero Section
/* -------------------------------------------------- */

#hero {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax Effect */
    position: relative;
    color: var(--text-light);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 18, 25, 0.7) 0%, rgba(0, 18, 25, 0.4) 100%);
    z-index: 1;
}

#hero .hero-body {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* -------------------------------------------------- */
/* 5. UI Components (Buttons, Cards, Forms, Accordions)
/* -------------------------------------------------- */

/* Global Button Styles */
.button.is-primary {
    background-color: var(--accent-color);
    border-color: transparent;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: var(--button-border-radius);
}

.button.is-primary:hover {
    background-color: var(--accent-color-dark);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Card Styles */
.card {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    border-radius: var(--card-border-radius);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card .card-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.card .card-content {
    text-align: left;
    flex-grow: 1;
}
.card .card-content .title {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.card .card-content .subtitle {
    color: var(--text-color);
    opacity: 0.8;
}

/* Specific Centered Cards (Instructors) */
#instructors .card {
    text-align: center;
    align-items: center;
}
#instructors .card-image {
    padding: 1.5rem 1.5rem 0 1.5rem;
}
#instructors .card-image img.is-rounded {
    border: 4px solid var(--background-light);
}


/* Form Styles */
.input, .textarea {
    border-radius: var(--button-border-radius);
    border-color: var(--border-color);
    transition: all 0.3s ease;
}

.input:focus, .textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.125em rgba(238, 155, 0, 0.25);
}

.label {
    font-weight: 600;
    color: var(--primary-color);
}

/* Accordion Styles */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}
.accordion-button:hover {
    background-color: rgba(0, 95, 115, 0.05);
}
.accordion-button .icon {
    transition: transform 0.3s ease;
}
.accordion-button[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1rem;
}
.accordion-content p {
    margin-bottom: 1rem;
}

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

/* Testimonials Section */
.testimonials-section {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax Effect */
    position: relative;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 95, 115, 0.85); /* Deep Teal Overlay */
    z-index: 1;
}
.testimonials-section .container {
    position: relative;
    z-index: 2;
}
.testimonials-section .section-title {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}
.testimonial-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

/* Awards & Press */
#awards .card {
    text-align: center;
}
.press-logos img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.press-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* External Resources Section */
.resource-link.box {
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}
.resource-link.box:hover {
    transform: translateX(5px);
    box-shadow: var(--card-hover-shadow);
}
.resource-link.box a {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--primary-color);
}

/* -------------------------------------------------- */
/* 7. Footer
/* -------------------------------------------------- */

.footer {
    background-color: var(--background-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 1.5rem 3rem;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

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

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

/* -------------------------------------------------- */
/* 8. Special Page Styles (Success, Privacy, Terms)
/* -------------------------------------------------- */

body.success-page, body.privacy-page, body.terms-page {
    display: flex;
    flex-direction: column;
}

.full-page-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 8rem 2rem 2rem; /* padding-top accounts for fixed header */
}

.content-page-container {
    padding: 8rem 2rem 4rem; /* padding-top accounts for fixed header */
    min-height: 100vh;
}

.content-page-container h1, .content-page-container h2 {
    margin-bottom: 1.5rem;
}
.content-page-container p, .content-page-container ul {
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------- */
/* 9. Animations & Responsiveness
/* -------------------------------------------------- */

/* Animate.css integration helper */
[data-wow-offset] {
    visibility: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .columns.is-desktop {
        flex-direction: column-reverse;
    }
    .columns.is-desktop .column:last-child {
        margin-bottom: 2rem;
    }
    .footer .columns {
        text-align: center;
    }
}
.navbar-item {
    font-family: var(--font-body);
    font-weight: 600;
    color: #c4cdd0 !important;
    transition: all 0.3s ease;
}
.navbar-brand .navbar-item {
    color: #898d8e !important;
    font-family: var(--font-heading);
}