/*
  style.css
  Theme: Financial Consulting in Argentina
  Design System: Modern
  Trend: Curved Grids
  Color Scheme: Analogous
  Animation Style: Particle Animation
*/

/* --- CSS Variables --- */
:root {
    /* Analogous Color Scheme */
    --primary-color: #005A9C; /* A strong, stable blue, reminiscent of the Argentinian flag */
    --primary-color-dark: #003F6E;
    --secondary-color: #00838F; /* A sophisticated teal for growth */
    --accent-color: #FFB300; /* A vibrant gold for calls-to-action */
    --accent-color-dark: #E6A100;

    /* Neutral & Text Colors */
    --text-dark: #222222;
    --text-light: #4a4a4a; /* Bulma's default text color */
    --text-on-dark: #FFFFFF;
    --background-light: #F7F9FB;
    --background-dark: #1A237E; /* A deep, professional navy blue */
    --border-color: #dbdbdb;

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

    /* UI Elements */
    --card-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    --card-shadow-hover: 0 12px 24px rgba(10, 10, 10, 0.2);
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

/* --- Global Styles --- */
html {
    scroll-behavior: smooth;
    background-color: var(--background-light);
}

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

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

.title.is-1, .title.is-2 {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.has-text-dark-contrast {
    color: var(--text-dark) !important;
}

.has-text-shadow {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

/* --- Header & Navigation --- */
.navbar.is-fixed-top {
    background-color: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-item.logo {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.navbar-item {
    font-weight: 600;
    transition: var(--transition-speed);
}

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

/* Burger menu for mobile */
.navbar-burger span {
    height: 2px;
    width: 20px;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        background-color: var(--background-dark);
    }
}


/* --- Global Component Styles --- */

/* Buttons */
.button {
    font-family: var(--font-family-heading);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition-speed);
    border-width: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:focus {
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.4);
}

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

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

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

/* Cards */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card:hover, .has-shadow-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.card-image img {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

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

/* Forms */
.input, .textarea {
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition-speed);
    box-shadow: none;
}

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

.form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
}


/* --- Section Specific Styles --- */

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

#hero .hero-body {
    position: relative;
    z-index: 2;
}

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

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Behind the Scenes Parallax Section */
.parallax-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 8rem 1.5rem;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}


/* "Curved Grid" effect using skewed pseudo-elements */
.section {
    position: relative;
    padding: 5rem 1.5rem;
}

.section.has-background-light::before, .section.has-background-light::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    background: inherit;
    z-index: 0;
}

.section.has-background-light::before {
    top: -40px;
    transform: skewY(-2deg);
}

.section.has-background-light::after {
    bottom: -40px;
    transform: skewY(-2deg);
}

.section > .container {
    position: relative;
    z-index: 1;
}


/* Features Section - Stat Widgets */
.stat-widget {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* FAQ Section - Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.faq-item summary {
    cursor: pointer;
    outline: none;
    transition: var(--transition-speed);
    list-style: none; /* Hide default marker */
    position: relative;
    padding-right: 2rem;
}

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

.faq-item summary:hover {
    color: var(--primary-color);
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-family: var(--font-family-body);
    color: var(--primary-color);
    transition: transform var(--transition-speed);
}

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

.faq-item[open] > .content {
    animation: fadeIn 0.5s ease;
}


/* Testimonials */
.media-left img {
    width: 64px;
    height: 64px;
}

/* Modal Styles */
.modal-card {
    border-radius: var(--border-radius);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    padding: 4rem 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer .title {
    color: var(--text-on-dark);
}
.footer .logo {
    color: var(--accent-color);
}
.footer a:not(.button) {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-speed);
}

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

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

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

/* --- Specific Page Styles --- */

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--background-light);
}

.success-page .box {
    max-width: 600px;
}

/* Privacy & Terms Pages */
.static-page-content {
    padding-top: 100px; /* Offset for fixed header */
    padding-bottom: 5rem;
}

.static-page-content h1, .static-page-content h2 {
    margin-bottom: 1.5rem;
}

.static-page-content p, .static-page-content ul {
    margin-bottom: 1rem;
}


/* --- Animations & Transitions --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* For Scroll Animations (to be triggered by JS) */
.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);
}