/* style.css */

/* --- CSS Variables --- */
:root {
    --primary-color-start: #4a69bd;
    --primary-color-end: #6a89cc;
    --secondary-color: #1e3799;
    --accent-color: #f6b93b;
    --accent-color-darker: #e5a72a;
    --text-color-dark: #363636;
    --text-color-light: #ffffff;
    --background-light: #f7f9fc;
    --border-color: #dbdbdb;
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.15);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color-start) 0%, var(--primary-color-end) 100%);
    
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

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

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

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

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

a {
    transition: color 0.3s ease;
}

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

@media screen and (min-width: 769px) {
    .section {
        padding: 6rem 1.5rem;
    }
}

.container {
    max-width: 1200px;
}

/* --- Header & Navigation --- */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.is-transparent {
    background-color: transparent;
}

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

.navbar-item, .navbar-link {
    font-family: var(--font-body);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.navbar.is-scrolled .navbar-item,
.navbar.is-scrolled .navbar-burger {
    color: var(--text-color-dark);
}

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

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

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

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

/* --- Global Button & Form Styles --- */
.button {
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 50px;
    padding: 1.2em 2.5em;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

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

.button.is-link.is-outlined {
    border-color: var(--primary-color-start);
    color: var(--primary-color-start);
}

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

.input, .textarea {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input:focus, .textarea:focus {
    border-color: var(--primary-color-start);
    box-shadow: 0 0 0 0.125em rgba(74, 105, 189, 0.25);
}

/* --- Card Component --- */
.card {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.card-image img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

/* Partners */
#partners img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

#partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Media */
.video-placeholder {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.video-placeholder img {
    display: block;
    width: 100%;
}

.video-placeholder::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-placeholder:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-color-start);
}

/* Gallery */
#gallery .image-container img {
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

#gallery .image-container img:hover {
     transform: scale(1.05);
}

/* FAQ Accordion */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    font-family: var(--font-body);
}

.accordion-header:hover {
    background-color: #f0f3f8;
}

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

.accordion-header.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
    padding: 3rem 1.5rem 3rem;
}

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

.footer a {
    color: #aeb6c3;
    transition: color 0.3s ease;
}

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

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

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

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

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

/* --- Specific Page Styles --- */
/* Success Page */
.success-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-primary);
}

.success-page-container .box {
    padding: 3rem;
    border-radius: 12px;
}

/* Privacy & Terms Pages */
.static-page-content {
    padding-top: 100px; /* To avoid content being hidden by fixed navbar */
    padding-bottom: 4rem;
}

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

.static-page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* --- Media Queries --- */
@media screen and (max-width: 768px) {
    #hero .title {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }
}