:root {
    --primary-color: #1abc9c; /* Vivid Teal/Turquoise */
    --primary-color-rgb: 26, 188, 156;
    --primary-color-darker: #16a085;

    --secondary-color: #e74c3c; /* Alizarin Red - Accent 1 */
    --secondary-color-rgb: 231, 76, 60;

    --accent-color: #f39c12; /* Orange - Accent 2 */
    --accent-color-rgb: 243, 156, 18;

    --background-color: #f4f7f6; /* Light, slightly green-tinted white */
    --surface-color: #ffffff; /* For cards, modals */

    --glass-background: rgba(40, 40, 60, 0.25); /* Darker, slightly blueish glass for better contrast on varied backgrounds */
    --glass-background-light-elements: rgba(255, 255, 255, 0.1); /* For inputs on glass */
    --glass-border-color: rgba(255, 255, 255, 0.2);
    --glass-blur: 8px;

    --text-color-dark: #2c3e50; /* Midnight Blue - for main text on light BGs */
    --text-color-medium: #7f8c8d; /* Asbestos - for subtitles, less important text on light BGs */
    --text-color-light: #ffffff; /* For text on dark/glass BGs */
    --text-eco: #27ae60; /* Nephritis green for eco elements */

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

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 16px;

    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 12px 24px rgba(44, 62, 80, 0.15);

    --header-height: 70px;
    --page-top-padding: calc(var(--header-height) + 30px);
}

/* GLOBAL STYLES & RESETS */
html {
    scroll-behavior: smooth;
    background-color: var(--background-color); /* Ensure HTML bg matches body for overscroll */
}

body {
    font-family: var(--font-secondary);
    color: var(--text-color-dark);
    background-color: var(--background-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6, .title, .subtitle {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-color-dark);
    line-height: 1.3;
}

.title.is-1 { font-size: 3rem; }
.title.is-2 { font-size: 2.5rem; }
.title.is-3 { font-size: 2rem; }
.title.is-4 { font-size: 1.5rem; }
.title.is-5 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color-darker);
}

.section {
    padding: 4rem 1.5rem; /* Default section padding */
}

.section-title {
    margin-bottom: 2.5rem !important;
    font-weight: 700;
    color: #222222; /* STROGO: Darker titles */
}
.section .subtitle:not(.hero-subtitle) {
    color: var(--text-color-medium);
    margin-bottom: 2rem;
}

/* MAIN CONTENT AREA (for fixed header) */
.main-content {
    /* No top padding here if first section is fullheight hero */
    /* If not, add: padding-top: var(--header-height); */
}


/* HEADER / NAVBAR */
.header-main.is-fixed-top {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-light);
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.header-main .navbar {
    min-height: var(--header-height);
    padding: 0 1rem;
}
.site-title {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.navbar-item, .navbar-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--text-color-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
.navbar-item:hover, .navbar-link:hover,
.navbar-item.is-active, .navbar-link.is-active {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}
.navbar-burger span {
    background-color: var(--text-color-dark);
    height: 2px;
}
.navbar-dropdown {
    background-color: var(--surface-color);
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    border-top: none;
}
.navbar-dropdown .navbar-item {
    font-size: 0.9rem;
}

/* FOOTER */
.footer-main {
    background-color: var(--text-color-dark);
    color: #bdc3c7; /* Lighter gray for footer text */
    padding: 4rem 1.5rem 2rem;
    font-size: 0.95rem;
}
.footer-main .title.is-5.footer-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.footer-main p {
    color: #bdc3c7;
    line-height: 1.6;
}
.footer-main ul {
    list-style: none;
    margin-left: 0;
}
.footer-main ul li {
    margin-bottom: 0.5rem;
}
.footer-main ul li a {
    color: #bdc3c7;
    text-decoration: none;
}
.footer-main ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.footer-main .content.has-text-centered p {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #95a5a6;
}
#current-year {
    color: var(--accent-color);
    font-weight: 500;
}

/* GLOBAL BUTTON STYLES */
button, .button, input[type='submit'], input[type='button'] {
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--border-radius-medium);
    transition: all 0.25s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8em 1.8em;
    border: 1px solid transparent;
    line-height: 1.5; /* Ensure consistent height */
    box-shadow: var(--shadow-light);
}
button:focus, .button:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em rgba(var(--primary-color-rgb), 0.35);
}
.button.is-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color-light);
}
.button.is-primary:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}
.button.is-link.is-outlined { /* Used for modal buttons */
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: none;
}
.button.is-link.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-1px);
}
.button.is-info.is-outlined { /* Used for webinar buttons */
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
    box-shadow: none;
}
.button.is-info.is-outlined:hover {
    background-color: var(--accent-color);
    color: var(--text-color-light);
}
.button.is-success { /* Used for modal confirm */
    background-color: var(--text-eco);
    border-color: var(--text-eco);
    color: var(--text-color-light);
}
.button.is-success:hover {
    background-color: #229954; /* Darker eco green */
    border-color: #229954;
    transform: translateY(-2px);
}

/* GLOBAL CARD STYLES */
.card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a Bulma columns row */
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}
.card .card-image {
    position: relative; /* For potential overlays */
}
.card .card-image .image-container { /* STROGO: Wrapper for image */
    display: block;
    overflow: hidden;
    background-color: var(--neutral-medium); /* Placeholder bg for images */
}
.card .card-image .image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* STROGO: Ensures image covers and is centered */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill card height */
    display: flex;
    flex-direction: column;
}
.card .card-content .title,
.card .card-content .subtitle {
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
    text-align: center; /* STROGO: Centering content */
}
.card .card-content .subtitle {
    color: var(--text-color-medium);
    font-weight: 500;
    margin-bottom: 1rem;
}
.card .card-content p:not(.title):not(.subtitle) {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-color-medium);
    flex-grow: 1; /* Pushes button to bottom */
    text-align: left; /* Default for paragraphs, override if needed */
}
.card .card-content .button { /* For buttons at the bottom of the card */
    margin-top: auto; /* Pushes button to the bottom */
    align-self: center; /* Center if not fullwidth */
}
.card .card-content .is-fullwidth.button {
    align-self: stretch; /* STROGO: Centering product card button */
}

/* HERO SECTION */
#hero {
    background-size: cover; /* From HTML style attribute */
    background-position: center center; /* From HTML style attribute */
    background-repeat: no-repeat; /* From HTML style attribute */
    position: relative; /* For pseudo-element overlay if needed */
}
/* Overlay is applied via linear-gradient in HTML style */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color-light) !important; /* STROGO: White text */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: var(--text-color-light) !important; /* STROGO: White text */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}
#hero .button {
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* PRICING (PRODUCTS) SECTION */
.product-card .product-title {
    font-size: 1.4rem;
    font-weight: 600;
}
.product-card .product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.product-card .card-image .image-container { /* STROGO: Fixed height for product images */
    height: 350px;
}
.product-card .card-content p {
    font-size: 0.9rem;
    min-height: 80px; /* Ensure some space for description */
    text-align: center;
}

/* GLASSMORPHIC SECTIONS */
.glassmorphic-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax-like effect */
    position: relative; /* For potential overlays */
    padding: 5rem 1.5rem;
}
.glassmorphic-section::before { /* Darkens the BG image slightly for better glass visibility */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.3); /* Adjust as needed */
    z-index: 0;
}
.glassmorphic-section .container {
    position: relative; /* To ensure content is above pseudo-element */
    z-index: 1;
}
.glassmorphic-section .section-title,
.glassmorphic-section .subtitle:not(.card .subtitle) {
    color: var(--text-color-light) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Common style for elements that should have glass effect inside .glassmorphic-section */
.glassmorphic-section .glass-effect,
.glassmorphic-section .card, /* Specific cards inside glass sections */
.glassmorphic-section form,
.glassmorphic-section .contact-info,
.glassmorphic-section .vision-image-container + .vision-text,
.glassmorphic-section .partners .column > div /* Assuming a div wraps logo+p */
{
    background: var(--glass-background);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border-color);
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 32px 0 rgba(0,0,0, 0.2);
    padding: 2rem;
    color: var(--text-color-light); /* Default text color for glass elements */
}
.glassmorphic-section .card { /* Override general card styles for glass sections */
    box-shadow: 0 8px 32px 0 rgba(0,0,0, 0.2); /* Glass shadow */
}

.glassmorphic-section .card .title,
.glassmorphic-section .card .subtitle,
.glassmorphic-section .card p,
.glassmorphic-section .vision-text,
.glassmorphic-section .partners p {
    color: var(--text-color-light) !important;
}
.glassmorphic-section .partners figure img {
    filter: brightness(0) invert(1); /* If logos are dark, make them white */
}
.glassmorphic-section .label.contact-label {
    color: var(--text-color-light) !important;
    font-weight: 500;
}
.glassmorphic-section .input.contact-input,
.glassmorphic-section .textarea.contact-textarea {
    background-color: var(--glass-background-light-elements);
    border: 1px solid var(--glass-border-color);
    color: var(--text-color-light);
    border-radius: var(--border-radius-small);
}
.glassmorphic-section .input.contact-input::placeholder,
.glassmorphic-section .textarea.contact-textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
.glassmorphic-section .input.contact-input:focus,
.glassmorphic-section .textarea.contact-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(var(--primary-color-rgb),0.3);
}

/* VISION SECTION */
.vision-image-container {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-medium); /* Use if not in glass section */
}
.vision-image-container img {
    width: 100%; display: block;
}
.vision-text { /* If in glass section, it inherits styles. If not: */
    /* color: var(--text-color-medium); */
    font-size: 1.1rem;
    line-height: 1.8;
}

/* HISTORY SECTION */
.history-milestones .milestone {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color-darker);
    position: relative;
}
.history-milestones .milestone::before {
    content: '';
    position: absolute;
    left: -9px; /* Adjust to center on border */
    top: 0.3em; /* Align with text */
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--background-color);
}
.history-milestones .milestone .title.is-4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.history-milestones .milestone p {
    color: var(--text-color-medium);
    font-size: 0.95rem;
}
.progress {
    height: 0.75rem;
    border-radius: var(--border-radius-small);
    background-color: #e0e0e0; /* Lighter grey for track */
}
.progress::-webkit-progress-value { transition: width 0.6s ease-out; border-radius: var(--border-radius-small); }
.progress::-moz-progress-bar { transition: width 0.6s ease-out; border-radius: var(--border-radius-small); }
.progress.is-primary::-webkit-progress-value, .progress.is-primary::-moz-progress-bar { background-color: var(--primary-color); }
.progress.is-info::-webkit-progress-value, .progress.is-info::-moz-progress-bar { background-color: var(--accent-color); }
.progress.is-success::-webkit-progress-value, .progress.is-success::-moz-progress-bar { background-color: var(--text-eco); }
.progress.is-warning::-webkit-progress-value, .progress.is-warning::-moz-progress-bar { background-color: #f0ad4e; } /* Bulma's warning */

/* PROJECTS SECTION (GALLERY & MODALS) */
.project-card .card-image .image-container { /* STROGO: Fixed height for project images */
    height: 220px;
}
.project-card .card-content .title {
    font-size: 1.1rem;
}
/* Modal Styles (Bulma provides base, augmentations) */
.modal-card {
    border-radius: var(--border-radius-large);
    max-width: 700px; /* Control modal width */
}
.modal-card-head, .modal-card-foot {
    background-color: var(--surface-color);
    border-color: #dbdbdb;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}
.modal-card-foot {
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
}
.modal-card-title {
    color: var(--primary-color);
    font-weight: 600;
}
.modal-card-body .image-container img {
    border-radius: var(--border-radius-medium);
}
.modal-card-body .content {
    color: var(--text-color-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* WEBINARS SECTION */
.event-card .card-image .image-container { /* STROGO: Fixed height for webinar images */
    height: 200px;
}
.event-card .card-content .title.is-5 {
    font-size: 1.2rem;
    min-height: 2.4em; /* Ensure space for two lines */
}
.event-card .card-content .subtitle.is-6 {
    color: var(--primary-color);
    font-weight: 500;
}

/* PARTNERS SECTION */
.partners .column {
    display: flex; /* For alignment if content varies */
    justify-content: center;
}
.partners .partner-item { /* Wrapper if needed inside column for glass effect */
    text-align: center;
    padding: 1rem; /* if this item gets the glass effect */
}
.partners figure {
    margin-bottom: 0.75rem;
    height: 80px; /* Ensure consistent logo area height */
    display: flex;
    align-items: center;
    justify-content: center;
}
.partners img {
    max-height: 60px; /* Control logo size */
    width: auto;
    transition: transform 0.3s ease;
}
.partners .partner-item:hover img {
    transform: scale(1.1);
}
.partners p { /* If this p is inside glass-effect partner-item */
    font-weight: 500;
    font-size: 0.9rem;
    /* color: var(--text-color-light) !important; (Handled by glass-effect rules) */
}

/* EXTERNAL RESOURCES SECTION */
.resource-card {
    border-left: 5px solid var(--primary-color);
    height: 100%;
}
.resource-card .card-content {
    padding: 1.25rem 1.5rem;
}
.resource-card .title.is-5 {
    margin-bottom: 0.5rem;
}
.resource-card .title a {
    color: var(--primary-color);
    font-weight: 600;
}
.resource-card .title a:hover {
    text-decoration: underline;
    color: var(--primary-color-darker);
}
.resource-card .content {
    font-size: 0.9rem;
    color: var(--text-color-medium);
}

/* CONTACT SECTION */
.contact-label {
    font-weight: 500;
    color: var(--text-color-dark); /* Default, overridden in glassmorphic */
}
.input, .textarea {
    border-radius: var(--border-radius-small);
    border: 1px solid #dbdbdb;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-secondary);
    font-size: 1rem;
}
.input:focus, .textarea:focus,
.input.is-focused, .textarea.is-focused,
.input:active, .textarea:active,
.input.is-active, .textarea.is-active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.125em rgba(var(--primary-color-rgb), 0.25) !important; /* Bulma might add its own */
}
.contact-info {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    /* Glass effect applied if in .glassmorphic-section */
}
.contact-info p {
    margin-bottom: 0.5rem;
}
.contact-info strong {
    color: var(--primary-color); /* If not in glass section, else white */
}
.glassmorphic-section .contact-info strong {
    color: var(--primary-color); /* Keep primary for emphasis even on glass */
}


/* PAGE SPECIFIC STYLES */
/* For about.html, terms.html, privacy.html wrapper */
.page-content-container {
    padding-top: var(--page-top-padding);
    padding-bottom: 4rem;
    min-height: calc(100vh - var(--header-height)); /* Ensure footer is pushed down */
}
.page-content-container .content h1,
.page-content-container .content h2,
.page-content-container .content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content-container .content h1:first-child,
.page-content-container .content h2:first-child {
    margin-top: 0;
}
.page-content-container .content p {
    line-height: 1.8;
    color: var(--text-color-medium);
}
.page-content-container .content ul li {
    line-height: 1.8;
    color: var(--text-color-medium);
}

/* Success Page */
.success-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
    background-color: var(--background-color);
}
.success-page-container .success-icon { /* Assuming an icon will be added with this class */
    font-size: 5rem; /* Placeholder */
    color: var(--text-eco);
    margin-bottom: 1.5rem;
    /* Example: using a checkmark SVG or FontAwesome */
}
.success-page-container .title {
    color: var(--text-eco);
    margin-bottom: 1rem;
}
.success-page-container .subtitle {
    color: var(--text-color-medium);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* "Read more" link style */
.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    display: inline-block; /* For proper positioning of pseudo-element */
}
.read-more-link::after {
    content: '→';
    font-family: sans-serif; /* Ensure arrow is consistent */
    margin-left: 0.4em;
    transition: transform 0.2s ease-out;
    display: inline-block;
}
.read-more-link:hover {
    text-decoration: underline;
    color: var(--primary-color-darker);
}
.read-more-link:hover::after {
    transform: translateX(3px);
}

/* ANIMATIONS ON SCROLL (JS will add .is-visible) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition-delay: 0.1s; /* Slight delay */
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered animation for items in a list/grid if needed by JS */
.columns.is-multiline .column.animate-on-scroll {
    /* JS can add delays to these */
}


/* RESPONSIVE ADJUSTMENTS (Bulma handles most, add overrides if needed) */
@media screen and (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .title.is-2, .section-title {
        font-size: 2rem;
    }
    .product-card .card-image .image-container {
        height: 280px;
    }
    .footer-main {
        text-align: center;
    }
    .footer-main .column {
        margin-bottom: 2rem;
    }
    .footer-main .column:last-child {
        margin-bottom: 0;
    }
    .glassmorphic-section {
        background-attachment: scroll; /* Disable fixed attachment on mobile for performance */
    }
}

/* Cookie Popup - Basic styles are inline in HTML as requested. This is for consistency. */
#cookie-popup {
    font-family: var(--font-secondary);
}
#accept-cookie-button {
    font-family: var(--font-primary);
    background-color: var(--text-eco); /* Use eco green for accept */
    padding: 8px 18px;
    font-size: 0.9em;
}
#accept-cookie-button:hover {
    background-color: #229954;
}

.title:not(.is-spaced)+.subtitle{
    margin: 0;
}