/* style.css */

/* ------------------------------ */
/* ------ CSS VARIABLES --------- */
/* ------------------------------ */
:root {
    --primary-color: #FFC107; /* Amber */
    --primary-color-dark: #e0a800;
    --primary-color-light: #ffe670;

    --secondary-color: #673AB7; /* Deep Purple */
    --secondary-color-dark: #512DA8;

    --background-main: #f0f2f5; /* Main light grey page background */
    --background-card: #e0e5ec; /* Slightly different for card surfaces */
    --background-section: #f0f2f5; /* Match main background */

    --text-dark: #363636;
    --text-darker: #222222; /* For very important titles */
    --text-light: #FFFFFF;
    --text-muted: #555555;
    --text-link: var(--secondary-color);
    --text-link-hover: var(--primary-color);

    /* Neumorphic Shadows */
    --shadow-color-light-strong: #ffffff;
    --shadow-color-dark-strong: #a3b1c6; /* Adjusted for more neumorphic feel */
    --shadow-offset: 7px;
    --shadow-blur: 15px;

    /* Box shadows for neumorphism */
    --neumorphic-shadow-raised:
        var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-color-dark-strong),
        calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-color-light-strong);
    --neumorphic-shadow-pressed:
        inset var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-color-dark-strong),
        inset calc(-1 * var(--shadow-offset)) calc(-1 * var(--shadow-offset)) var(--shadow-blur) var(--shadow-color-light-strong);
    --neumorphic-shadow-hover: /* slightly more pronounced */
        10px 10px 20px var(--shadow-color-dark-strong),
        -10px -10px 20px var(--shadow-color-light-strong);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;

    --border-radius-soft: 15px;
    --border-radius-card: 20px;
    --border-radius-round: 50px;

    --header-height: 60px; /* Approximate, for padding calculations */
    --footer-height: auto;
}

/* ------------------------------ */
/* -------- GLOBAL STYLES ------- */
/* ------------------------------ */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-secondary);
    background-color: var(--background-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0px !important;
}

h1, h2, h3, h4, h5, h6,
.title, .subtitle { /* Bulma classes */
    font-family: var(--font-primary);
    color: var(--text-darker);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

/* Ensure Bulma's .title and .subtitle also get the Poppins font by default */
.title, .subtitle {
    font-family: var(--font-primary) !important; /* Override Bulma if necessary */
}

.title.is-1, .title.is-2 { color: #1a1a1a; } /* Even darker for main section titles */
.subtitle { color: var(--text-muted); }

p {
    margin-bottom: 1rem;
    font-size: 1.05rem; /* Slightly larger paragraph text */
}

a {
    color: var(--text-link);
    font-weight: 500;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--text-link-hover);
    text-decoration: none; /* Optional: remove underline on hover if desired */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-container {
    max-width: 100%; /* Full width sections, content controlled by Bulma's .container */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer stays at bottom for short content pages */
}

main {
    flex-grow: 1; /* Allows main content to expand and push footer down */
}


/* ------------------------------ */
/* ------ UTILITY CLASSES ------- */
/* ------------------------------ */
.has-parallax-background {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem !important; /* More space below title */
    font-size: 2.8rem !important; /* Larger section titles */
    font-weight: 700 !important;
    color: var(--text-darker) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-light { color: var(--text-light) !important; }
.text-dark { color: var(--text-dark) !important; }

.content ul { list-style: disc outside; margin-left: 2em; }
.content ol { list-style: decimal outside; margin-left: 2em; }


/* ------------------------------ */
/* --- NEUMORPHIC COMPONENTS ---- */
/* ------------------------------ */

/* General Section Styling */
.neumorphic-section {
    padding: 4rem 1.5rem;
    background-color: var(--background-section);
    position: relative; /* For pseudo-elements or z-indexing */
}

/* Neumorphic Button (Global) */
.neumorphic-button, button.neumorphic-button, input[type="submit"].neumorphic-button {
    background: var(--background-card);
    border: none;
    padding: 12px 28px; /* Slightly adjusted padding */
    border-radius: var(--border-radius-round);
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--neumorphic-shadow-raised);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-decoration: none; /* For <a> styled as buttons */
    display: inline-block; /* For <a> tags */
    text-align: center;
    font-size: 1rem;
}
.neumorphic-button:hover, button.neumorphic-button:hover, input[type="submit"].neumorphic-button:hover {
    box-shadow: var(--neumorphic-shadow-pressed);
    color: var(--primary-color);
    transform: translateY(1px); /* Subtle press effect */
}
.neumorphic-button:active, button.neumorphic-button:active, input[type="submit"].neumorphic-button:active {
    box-shadow: var(--neumorphic-shadow-pressed);
    transform: translateY(2px);
}

.neumorphic-button.is-primary, button.neumorphic-button.is-primary, input[type="submit"].neumorphic-button.is-primary {
    background: var(--primary-color);
    color: var(--text-light); /* Text on primary button */
     box-shadow:
        5px 5px 10px var(--primary-color-dark), /* Darker shade of primary for shadow */
        -5px -5px 10px var(--primary-color-light); /* Lighter shade of primary for highlight */
}
.neumorphic-button.is-primary:hover, button.neumorphic-button.is-primary:hover, input[type="submit"].neumorphic-button.is-primary:hover {
    background: var(--primary-color); /* Keep primary color */
    opacity: 0.9;
    color: var(--text-light);
    box-shadow:
        inset 3px 3px 7px var(--primary-color-dark),
        inset -3px -3px 7px var(--primary-color-light);
}

/* Neumorphic Input Fields */
.neumorphic-input, .neumorphic-textarea,
input.input.neumorphic-input, textarea.textarea.neumorphic-textarea { /* For Bulma compatibility */
    background: var(--background-card);
    border: none !important; /* Override Bulma borders */
    padding: 15px 20px;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-secondary);
    color: var(--text-dark);
    box-shadow: var(--neumorphic-shadow-pressed);
    transition: all 0.2s ease-in-out;
    width: 100%; /* Ensure full width within its container */
}
.neumorphic-input:focus, .neumorphic-textarea:focus,
input.input.neumorphic-input:focus, textarea.textarea.neumorphic-textarea:focus {
    outline: none;
    box-shadow:
        var(--neumorphic-shadow-pressed), /* Keep inset shadow */
        0 0 0 3px rgba(var(--primary-color), 0.5); /* Focus ring like neumorphic */
    /* Or for a different focus:
    box-shadow:
      var(--neumorphic-shadow-raised),
      0 0 0 2px var(--primary-color);
    */
}

/* Neumorphic Cards */
.neumorphic-card { /* Can be added to Bulma's .card or used standalone */
    background: var(--background-card);
    border-radius: var(--border-radius-card);
    padding: 25px;
    margin-bottom: 1.5rem; /* Default Bulma card margin */
    box-shadow: var(--neumorphic-shadow-raised);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in columns */
}
.neumorphic-card:hover {
    transform: translateY(-8px) scale(1.02); /* More 3D effect */
    box-shadow: var(--neumorphic-shadow-hover);
}
/* Content centering for general items inside a neumorphic card */
.neumorphic-card .card-content,
.neumorphic-card > .content { /* If .content is a direct child */
    text-align: center;
    flex-grow: 1; /* Allows content to fill space if card has fixed height or in flex row */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content if card acts as flex container for content */
}
.neumorphic-card .card-content p:last-child {
    margin-bottom: 0;
}

/* Styling for Bulma's card structure when .neumorphic-card is applied */
.card.neumorphic-card .card-header {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Subtle separator */
}
.card.neumorphic-card .card-header-title {
    color: var(--text-darker);
    font-family: var(--font-primary);
}

/* Card Image Styling */
.neumorphic-card .card-image, /* Bulma's card-image */
.neumorphic-card .image-container { /* Custom container if used */
    border-radius: var(--border-radius-soft); /* Rounded images inside cards */
    overflow: hidden; /* Important for object-fit and border-radius */
    margin-bottom: 1rem;
    position: relative; /* For potential overlays */
}
.neumorphic-card .card-image img,
.neumorphic-card .image-container img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensures image covers the area, might crop */
    display: block;
    border-radius: var(--border-radius-soft); /* Ensure image itself is rounded if container is not enough */
}

/* Section Content Box (inset neumorphism) */
.section-content-box {
    background-color: var(--background-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--neumorphic-shadow-pressed);
}
.section-content-box .title {
    color: var(--text-darker);
}

/* Curved Section Divider (already in HTML inline style - for .shape-fill) */
.curved-section-top-divider .shape-fill {
    fill: var(--background-section); /* Match section background */
}

/* ------------------------------ */
/* -------- HEADER / NAVBAR ----- */
/* ------------------------------ */
.header { /* Bulma .header class not standard, apply to <header> tag */
    background-color: var(--background-card);
    padding: 0.5rem 0; /* Reduced padding */
    box-shadow: var(--neumorphic-shadow-raised);
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000;
    width: 100%;
}
.navbar { /* Bulma .navbar */
    background-color: transparent; /* Make navbar transparent, header has bg */
    min-height: var(--header-height);
}
.navbar-brand img {
    max-height: 40px; /* Adjust logo size */
    height: auto;
}
.navbar-item, .navbar-link {
    font-family: var(--font-primary);
    color: var(--text-dark) !important;
    transition: color 0.3s ease, background-color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}
.navbar-item:hover, .navbar-link:hover, .navbar-item.is-active {
    background-color: transparent !important; /* Override Bulma's hover bg */
    color: var(--primary-color) !important;
}
.navbar-burger span {
    background-color: var(--text-dark) !important;
    height: 2px; /* Thinner burger lines */
}
.navbar-menu {
    background-color: var(--background-card); /* For mobile dropdown */
    box-shadow: var(--neumorphic-shadow-raised);
}
@media screen and (max-width: 1023px) {
    .navbar-menu {
        border-top: 1px solid var(--shadow-color-dark-strong); /* Separator for mobile */
    }
    .navbar-item {
        padding: 0.75rem 1rem;
    }
}

/* ------------------------------ */
/* --------- HERO SECTION ------- */
/* ------------------------------ */
.hero.is-fullheight {
    background-size: cover;
    background-position: center center;
    position: relative; /* For overlay */
}
.hero.is-fullheight::before { /* Dark overlay for text contrast on hero image */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)); /* Darker gradient */
    z-index: 1;
}
.hero-body {
    position: relative;
    z-index: 2; /* Above overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .title, .hero .subtitle {
    color: var(--text-light) !important; /* White text for hero */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* Stronger shadow for readability */
}
.hero .title {
    font-size: 3.5rem; /* Larger hero title */
    margin-bottom: 1.5rem;
}
.hero .subtitle {
    font-size: 1.5rem; /* Slightly larger hero subtitle */
    margin-bottom: 2rem;
    font-weight: 400; /* Lighter weight for subtitle */
}

/* ------------------------------ */
/* --------- ABOUT SECTION ------ */
/* ------------------------------ */
#about .content h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
#about .image.neumorphic-card { /* The image itself is wrapped in neumorphic card */
    padding: 15px; /* Padding around the image inside its card wrapper */
}
#about .image.neumorphic-card img {
    border-radius: var(--border-radius-soft);
}

/* ------------------------------ */
/* ------ ACCOLADES SECTION ----- */
/* ------------------------------ */
#accolades .neumorphic-card .title.is-4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
#accolades .neumorphic-card .subtitle.is-6 {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

/* ------------------------------ */
/* ------ WORKSHOPS SECTION ----- */
/* ------------------------------ */
#workshops .neumorphic-card .card-content .title.is-4 {
    margin-bottom: 0.75rem;
}
#workshops .neumorphic-card .card-image img {
    height: 250px; /* Slightly taller images for workshop cards */
}
#workshops .neumorphic-button { margin-top: 1rem; }

/* ------------------------------ */
/* -------- PRESS SECTION ------- */
/* ------------------------------ */
#press .neumorphic-card {
    padding: 20px;
}
#press .neumorphic-card figure.image {
    margin-bottom: 1rem;
}
#press .neumorphic-card .is-size-5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ------------------------------ */
/* ------ STATISTICS SECTION ---- */
/* ------------------------------ */
#statistics .neumorphic-card.section-content-box { /* Statistics cards use inset shadow */
    padding: 2rem;
}
#statistics .title.is-1 {
    color: var(--primary-color) !important;
    font-size: 3.5rem !important;
    margin-bottom: 0.25rem !important;
}
#statistics .subtitle.is-5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ------------------------------ */
/* --- EXTERNAL RESOURCES SECTION - */
/* ------------------------------ */
#external-resources .neumorphic-card .title.is-5 a {
    color: var(--secondary-color);
}
#external-resources .neumorphic-card .title.is-5 a:hover {
    color: var(--primary-color);
}
#external-resources .neumorphic-card .is-size-6 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ------------------------------ */
/* ------- CONTACT SECTION ------ */
/* ------------------------------ */
#contact .neumorphic-card { /* The form itself is a neumorphic card */
    padding: 30px;
}
#contact .label {
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-primary);
}

/* ------------------------------ */
/* ----------- FOOTER ----------- */
/* ------------------------------ */
.footer {
    background-color: var(--background-card);
    padding: 3rem 1.5rem;
    box-shadow: 0 -5px 10px -5px var(--shadow-color-dark-strong); /* Top shadow for footer */
    color: var(--text-dark);
    margin-top: auto; /* Pushes footer to bottom if content is short */
}
.footer .title.is-5 {
    color: var(--text-darker);
    margin-bottom: 1rem;
}
.footer p, .footer li {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.footer a {
    color: var(--secondary-color);
    font-weight: 500;
}
.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.footer ul {
    list-style: none;
    margin-left: 0;
}
.footer ul li {
    margin-bottom: 0.5rem;
}
.footer .social-links a {
    margin: 0 12px 0 0; /* Spacing for text links */
    font-size: 1rem;
    display: inline-block; /* Ensure proper spacing and potential styling */
}
.footer .social-links a:last-child {
    margin-right: 0;
}
.footer .content.has-text-centered p {
    font-size: 0.9rem;
    border-top: 1px solid var(--shadow-color-dark-strong);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* ------------------------------ */
/* --------- MODAL STYLES ------- */
/* ------------------------------ */
.modal-card.neumorphic-card { /* Success modal card */
    max-width: 500px;
    border-radius: var(--border-radius-card);
    overflow: hidden; /* Ensures content respects border-radius */
}
.modal-card-body {
    background-color: var(--background-card);
    border-radius: var(--border-radius-card); /* Match parent if no header/footer */
    padding: 2.5rem;
}
.modal-card-body .title.is-4 {
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
}
.modal-card-body img { margin: 0 auto 1rem auto; }
.modal-card-body .close-modal-button { margin-top: 1.5rem; }

/* ------------------------------ */
/* ---- SPECIFIC PAGE STYLES ---- */
/* ------------------------------ */

/* For success.html page content centering */
body.success-page {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; /* This is handled by main-container flex */
}
/* main-container is already flex-column min-height 100vh */
.success-page .main-content-area { /* Wrapper for the success message box */
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.success-page .success-box {
    text-align: center;
    padding: 2rem 3rem;
    background: var(--background-card);
    border-radius: var(--border-radius-card);
    box-shadow: var(--neumorphic-shadow-raised);
    max-width: 550px;
}
.success-page .success-box img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
}
.success-page .success-box .title {
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
}
.success-page .success-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* For privacy.html and terms.html to prevent overlap with sticky header */
main.page-content-padding {
    padding-top: calc(var(--header-height) + 2rem); /* Header height + extra space */
}
.generic-page-content .container { /* For privacy/terms pages */
    background-color: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius-card);
    box-shadow: var(--neumorphic-shadow-pressed); /* Inset shadow for content area */
}
.generic-page-content .title.is-2 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}
.generic-page-content h3.title.is-4 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-darker);
}

/* ------------------------------ */
/* ---- COOKIE CONSENT POPUP ---- */
/* ------------------------------ */
#cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.97); /* Darker, more solid */
    color: #f1f1f1;
    padding: 25px 20px; /* More padding */
    box-shadow: 0 -3px 15px rgba(0,0,0,0.25);
    z-index: 9999;
    display: none; /* Hidden by default */
    text-align: center;
    border-top: 2px solid var(--primary-color);
}
#cookie-consent-popup p {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0; /* Slightly off-white for better readability */
}
#cookie-consent-popup p a {
    color: var(--primary-color) !important; /* Use primary color for link */
    text-decoration: underline;
    font-weight: 500;
}
#cookie-consent-popup p a:hover {
    color: var(--primary-color-light) !important;
}
#accept-cookie-button {
    background-color: var(--primary-color);
    color: var(--text-dark); /* Dark text on primary button */
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-round);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
#accept-cookie-button:hover {
    background-color: var(--primary-color-dark);
    transform: scale(1.05);
}

/* ------------------------------ */
/* ----- ANIMATIONS & AOS ------- */
/* ------------------------------ */
[data-aos] {
    transition-property: transform, opacity, box-shadow; /* Add box-shadow for neumorphic transitions */
}

/* Example of 3D hover for cards if not covered by :hover */
.has-3d-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.has-3d-hover:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.05); /* Subtle 3D rotation */
}


/* Read More Link Styling */
.read-more-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6em 1.2em;
    background-color: var(--secondary-color);
    color: var(--text-light) !important;
    border-radius: var(--border-radius-round);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}
.read-more-link:hover {
    background-color: var(--secondary-color-dark);
    color: var(--text-light) !important;
    transform: translateY(-3px);
    box-shadow: 3px 3px 12px rgba(0,0,0,0.2);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.2rem !important;
    }
    .hero .title {
        font-size: 2.5rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .neumorphic-section {
        padding: 3rem 1rem;
    }
    #cookie-consent-popup {
        padding: 20px 15px;
    }
    #cookie-consent-popup p {
        font-size: 0.9rem;
    }
    #accept-cookie-button {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    main.page-content-padding {
        padding-top: calc(var(--header-height) + 1rem);
    }
}
*{
    opacity: 1 !important;
}