/* style.css */

/*------------------------------------------------------------------
[Table of Contents]

1. CSS Variables
2. Global Resets & Base Styles
   - HTML, Body
   - Typography (Headings, Paragraphs, Links)
   - Container
3. Utility Classes
4. Header / Navigation
5. Hero Section
6. General Section Styling
7. Card Component Styling
   - Base Card
   - Project Card
   - Team Member Card
   - Testimonial Card
   - Pricing Card
   - External Link Card
8. UI Components
   - Buttons (Global)
   - Accordion
   - Forms
   - Progress Indicators
   - Statistical Widgets
9. Specific Section Styling
   - History
   - Research
   - Projects
   - Events
   - Pricing
   - Team
   - Media
   - Clientele
   - Customer Stories
   - External Resources
   - Contact
10. Footer
11. Special Page Styles
    - success.html
    - privacy.html, terms.html
12. Animations & Effects
    - Animate on Scroll
    - Parallax Effect
    - Microinteractions
13. Responsive Design (Media Queries)
-------------------------------------------------------------------*/

/* 1. CSS Variables */
:root {
    --font-primary: 'Oswald', sans-serif;
    --font-secondary: 'Nunito', sans-serif;

    --color-primary: #0D47A1; /* Deep Blue */
    --color-secondary: #00BFA5; /* Teal */
    --color-accent: #FFC107; /* Amber/Gold */
    --color-accent-dark: #FFA000;

    --text-light: #FFFFFF;
    --text-light-secondary: #E0E0E0;
    --text-dark: #333333;
    --text-dark-secondary: #555555;
    --text-headings: #222222;

    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, #00897B 100%); /* Teal to Darker Teal */
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, #FF8F00 100%); /* Amber to Orange */

    --background-light: #F8F9FA;
    --background-dark: #121212; /* Very dark grey for contrast */
    --background-card: #FFFFFF;
    --background-overlay: rgba(0, 0, 0, 0.5); /* Overlay for images with text */
    --background-overlay-darker: rgba(0, 0, 0, 0.7);

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

    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-strong: 0 8px 24px rgba(0,0,0,0.2);

    --header-height: 70px;
    --footer-background: #1a1a1a;
}

/* 2. Global Resets & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* For adaptive typography, base for rem units */
}

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

/* Typography */
h1, h2, h3, h4, h5, h6,
.title, .subtitle { /* Bulma classes */
    font-family: var(--font-primary);
    color: var(--text-headings);
    line-height: 1.2;
    margin-bottom: 0.75em;
    font-weight: 500;
}

h1, .title.is-1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2, .title.is-2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 1.5rem; }
h3, .title.is-3 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h4, .title.is-4 { font-size: clamp(1.5rem, 3vw, 2rem); }
h5, .title.is-5 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h6, .title.is-6 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-dark-secondary);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

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

/* Container (matches Bulma's .container concept) */
.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Bulma columns compatibility */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.columns:not(:last-child) {
    margin-bottom: calc(1.5rem - 0.75rem);
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.is-two-thirds { flex: none; width: 66.6666%; }
.is-one-third { flex: none; width: 33.3333%; }
.is-half { flex: none; width: 50%; }
.is-one-quarter { flex: none; width: 25%; }
.is-one-fifth { flex: none; width: 20%; }
.is-multiline { flex-wrap: wrap; }


/* 3. Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.is-fullwidth { width: 100%; }

/* 4. Header / Navigation */
.header-main {
    background-color: rgba(20, 20, 30, 0.85); /* Dark, slightly transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--header-height);
}
.navbar-brand .logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.navbar-brand .logo .logo-ia {
    color: var(--color-accent);
}
.navbar-brand .logo:hover {
    text-decoration: none;
    opacity: 0.9;
}
.navbar-menu {
    display: flex;
    align-items: center;
}
.navbar-start {
    display: flex;
    margin-left: auto; /* Pushes nav items to the right in desktop */
}
.navbar-item, .navbar-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--text-light-secondary);
    padding: 0.8rem 1rem;
    display: block;
    position: relative;
    font-size: 1rem;
}
.navbar-item:hover, .navbar-link:hover, .navbar-item.is-active {
    color: var(--text-light);
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
}
.navbar-link::after { /* For dropdown arrows if Bulma doesn't provide */
    display: none;
}
.navbar-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 0 0 var(--border-radius-small) var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    min-width: 200px;
    z-index: 1001;
}
.navbar-item.has-dropdown:hover .navbar-dropdown {
    display: block;
}
.navbar-dropdown .navbar-item {
    padding: 0.75rem 1.25rem;
    color: var(--text-light-secondary);
    white-space: nowrap;
}
.navbar-dropdown .navbar-item:hover {
    background-color: var(--color-secondary);
    color: var(--text-light);
}
.navbar-burger { /* Styles for mobile menu toggle */
    color: var(--text-light);
    cursor: pointer;
    display: none; /* Hidden on desktop */
    width: 3rem;
    height: 3rem;
    position: relative;
    margin-left: auto;
}
.navbar-burger span {
    background-color: currentColor;
    display: block;
    height: 2px;
    left: calc(50% - 8px);
    position: absolute;
    transform-origin: center;
    transition-duration: 86ms;
    transition-property: background-color, opacity, transform;
    transition-timing-function: ease-out;
    width: 16px;
}
.navbar-burger span:nth-child(1) { top: calc(50% - 6px); }
.navbar-burger span:nth-child(2) { top: calc(50% - 1px); }
.navbar-burger span:nth-child(3) { top: calc(50% + 4px); }

.navbar-burger.is-active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.navbar-burger.is-active span:nth-child(2) { opacity: 0; }
.navbar-burger.is-active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.logo {
    display: flex;
    align-items: center;
}
/* 5. Hero Section */
.hero-section {
    position: relative;
    color: var(--text-light);
    padding: clamp(80px, 20vh, 200px) 0; /* Responsive padding */
    min-height: 80vh; /* Ensure it's substantial but not overly fixed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-overlay-darker); /* Darker overlay for better text contrast */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--text-light) !important; /* Ensure white text */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-light-secondary) !important; /* Ensure light text */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 6. General Section Styling */
.section {
    padding: clamp(3rem, 8vw, 5rem) 0; /* Responsive padding */
    position: relative;
}
.section-title {
    color: var(--text-headings);
    text-align: center;
    margin-bottom: 2rem; /* Increased margin for better separation */
    font-weight: 700;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}
.section-description {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color: var(--text-dark-secondary);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}
.gradient-background {
    background: var(--gradient-primary);
    color: var(--text-light);
}
.gradient-background .section-title,
.gradient-background .subtitle,
.gradient-background p,
.gradient-background label {
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.gradient-background .section-title::after {
    background: var(--text-light);
}
.gradient-background-alt {
    background: var(--gradient-secondary);
    color: var(--text-light);
}
.gradient-background-alt .section-title,
.gradient-background-alt .subtitle,
.gradient-background-alt p,
.gradient-background-alt .stat-label,
.gradient-background-alt .stat-number {
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.gradient-background-alt .section-title::after {
    background: var(--text-light);
}
.content-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
}
.gradient-background .content-box h3 { color: var(--text-light); }
.gradient-background .content-box p { color: var(--text-light-secondary); }

/* 7. Card Component Styling */
.card {
    background-color: var(--background-card);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* align-items: center; */ /* STROGO: on card */
    height: 100%; /* For equal height cards in a row */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}
.card-image { /* Container for the image */
    width: 100%;
    /* height: 200px; */ /* STROGO: fixed height for image containers */
    overflow: hidden;
    display: flex; /* STROGO: center image */
    justify-content: center; /* STROGO: center image */
    align-items: center; /* STROGO: center image */
    background-color: #eee; /* Placeholder for unloaded images */
}
.card-image img {
    width: 100%;
    height: 100%; /* Fill the fixed height container */
    object-fit: cover; /* STROGO: object-fit */
    transition: transform 0.4s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allows content to fill space if card is flex item */
    /* text-align: center; */ /* STROGO: center content */
}
.card-content .title, .card-content .subtitle {
    margin-bottom: 0.5rem;
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
}
.card-header { /* For pricing cards */
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    text-align: center;
}
.card-header .title {
    color: var(--text-light);
    margin: 0;
}

/* Specific Card Types */
.project-card .card-image { height: 250px; }
.team-member-card { text-align: center; } /* STROGO: center card content */
.team-member-card .card-image {
    width: 150px; /* Example size for circular/square headshot */
    height: 150px;
    border-radius: 50%; /* Circular images */
    margin: 1.5rem auto 1rem; /* STROGO: margin auto */
    border: 4px solid var(--text-light);
    box-shadow: var(--shadow-light);
}
.team-member-card .card-image img {
    border-radius: 50%;
}
.team-member-card .title.is-5 { margin-top: 0.5rem; }
.team-member-card .subtitle.is-6 { color: var(--color-secondary); margin-bottom: 0.5rem;}
.team-member-card .bio-short { font-size: 0.9rem; }

.testimonial-card {
    background-color: var(--background-light); /* Or slightly different from main bg */
    padding: 2rem;
    text-align: left;
}
.testimonial-card .card-image { /* For author image */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}
.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}
.testimonial-quote::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--color-secondary);
    position: absolute;
    left: -0.5rem;
    top: -0.5rem;
}
.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
    display: block; /* To clear float */
}
.pricing-card { text-align: center; }
.pricing-card .card-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}
.pricing-card .card-header .price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}
.pricing-card .popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--border-radius-small);
    transform: rotate(5deg);
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
.pricing-card ul li:last-child {
    border-bottom: none;
}
.external-link-card {
    background: rgba(255,255,255,0.15); /* For gradient backgrounds */
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    color: var(--text-light);
}
.external-link-card .title a {
    color: var(--text-light);
}
.external-link-card .title a:hover {
    color: var(--color-accent);
}
.external-link-card .description {
    color: var(--text-light-secondary);
    font-size: 0.9rem;
}

/* 8. UI Components */
/* Buttons (Global) */
.button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem; /* Standard padding */
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.button:focus, button:focus, input[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--rgb-secondary), 0.5); /* Use RGB components if available */
}
.primary-button {
    background: var(--gradient-accent);
    color: var(--text-dark) !important; /* Important for contrast on gradient */
    border-color: var(--color-accent);
}
.primary-button:hover {
    background: var(--gradient-accent); /* Keep gradient, maybe shift slightly */
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text-dark) !important;
}
.secondary-button {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.gradient-background .secondary-button,
.gradient-background-alt .secondary-button {
    color: var(--text-light);
    border-color: var(--text-light);
}
.secondary-button:hover {
    background-color: var(--color-secondary);
    color: var(--text-light) !important;
    text-decoration: none;
}
.gradient-background .secondary-button:hover,
.gradient-background-alt .secondary-button:hover {
    background-color: var(--text-light);
    color: var(--color-secondary) !important;
}
.large-button {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
}

/* Accordion */
.accordion-container { max-width: 800px; margin: 2rem auto; }
.accordion-item {
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-small);
    overflow: hidden;
}
.accordion-header {
    background-color: #f7f7f7;
    color: var(--text-dark);
    cursor: pointer;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: background-color 0.3s ease;
    position: relative;
}
.accordion-header::after { /* Arrow indicator */
    content: '+';
    font-size: 1.5rem;
    color: var(--color-secondary);
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.accordion-header.is-active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg); /* Or just change content to '-' */
}
.accordion-header:hover {
    background-color: #efefef;
}
.accordion-content {
    padding: 0 1.5rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.accordion-content p { padding: 1rem 0; font-size: 0.95rem; }

/* Forms */
.contact-form .label {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--text-light); /* For contact section with dark bg */
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}
.contact-section .label { color: var(--text-light); }
.input, .textarea {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: var(--font-secondary);
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--background-light);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-small);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-bottom: 1rem; /* Spacing for fields */
}
.input:focus, .textarea:focus {
    color: var(--text-dark);
    background-color: #fff;
    border-color: var(--color-secondary);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 165, 0.25); /* Teal focus */
}
.textarea { min-height: 120px; resize: vertical; }

/* Progress Indicators */
.progress-indicator-container { margin-top: 0.5rem; }
.progress-indicator-container label { font-size: 0.9rem; display: block; margin-bottom: 0.3rem; }
.progress-bar {
    -webkit-appearance: none;
    appearance: none;
    width: calc(100% - 40px); /* Account for span width */
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
.progress-bar::-webkit-progress-bar {
    background-color: rgba(255,255,255,0.3); /* For gradient backgrounds */
    border-radius: 6px;
}
.progress-bar::-webkit-progress-value {
    background-color: var(--color-accent);
    border-radius: 6px;
    transition: width 0.5s ease;
}
.progress-bar::-moz-progress-bar {
    background-color: var(--color-accent);
    border-radius: 6px;
    transition: width 0.5s ease;
}
.progress-indicator-container span {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
    width: 30px; /* Ensure space for percentage */
}
/* If section has light background and progress bars are used */
.section:not(.gradient-background):not(.gradient-background-alt) .progress-bar::-webkit-progress-bar {
    background-color: #e0e0e0;
}
.section:not(.gradient-background):not(.gradient-background-alt) .progress-indicator-container label,
.section:not(.gradient-background):not(.gradient-background-alt) .progress-indicator-container span {
    color: var(--text-dark-secondary);
}

/* Statistical Widgets */
.stat-widget {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-accent); /* Default, overridden by gradient sections */
    margin-bottom: 0.25rem;
    line-height: 1;
}
.stat-label {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: var(--text-dark-secondary); /* Default, overridden by gradient sections */
}
.gradient-background-alt .stat-number { color: var(--color-accent); }
.gradient-background-alt .stat-label { color: var(--text-light-secondary); }


/* 9. Specific Section Styling */
/* History Section */
#history .image-container img { border-radius: var(--border-radius-medium); box-shadow: var(--shadow-medium); }

/* Research Section */
#research .research-image img { border-radius: var(--border-radius-medium); margin-top: 2rem;}

/* Events Section */
.event-item {
    background: var(--background-card);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    overflow:hidden;
    margin-bottom: 2rem;
}
.event-item .image-container img { border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0; width: 100%; height: 250px; object-fit: cover; }
.event-item .subtitle { margin: 1.5rem 1.5rem 0.5rem; color: var(--text-headings); }
.event-item p { padding: 0 1.5rem; margin-bottom: 0.5rem; }
.event-item .button { margin: 1rem 1.5rem 1.5rem; }
/* Override for gradient background */
.gradient-background-alt .event-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.gradient-background-alt .event-item .subtitle { color: var(--text-light); }
.gradient-background-alt .event-item p { color: var(--text-light-secondary); }


/* Media Section */
.media-logos img {
    max-height: 60px; /* Control logo height */
    width: auto;
    margin: 1rem auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.media-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
.media-highlight { margin-top: 3rem; text-align: center; }
.media-highlight .image-container { max-width: 700px; margin: 0 auto 1.5rem; border-radius: var(--border-radius-medium); overflow: hidden; box-shadow: var(--shadow-medium); }
.media-highlight .subtitle { color: var(--text-headings); }

/* Clientele Section */
.client-logos img {
    max-height: 50px;
    width: auto;
    margin: 1rem auto;
    filter: brightness(0) invert(1); /* White logos on gradient */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.client-logos img:hover {
    opacity: 1;
}

/* Contact Section */
.contact-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: clamp(4rem, 10vw, 6rem) 0;
}
.contact-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--background-overlay-darker);
    z-index: 1;
}
.contact-content {
    position: relative;
    z-index: 2;
}
.contact-section .section-title,
.contact-section .section-description,
.contact-section .subtitle,
.contact-section p {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.contact-details p { font-size: 1rem; margin-bottom: 0.8rem;}
.contact-details strong { color: var(--text-light); } /* Ensure strong is also light */
.contact-section .input, .contact-section .textarea {
    background-color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-dark);
}
.contact-section .input::placeholder, .contact-section .textarea::placeholder {
    color: #888;
}

/* "Read More" Link style example */
.read-more-link {
    display: inline-block;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
    padding-bottom: 2px; /* For the underline effect */
    border-bottom: 2px solid transparent; /* Prepare for hover underline */
    transition: color 0.3s ease, border-color 0.3s ease;
}
.read-more-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    text-decoration: none; /* Remove default underline */
}
.read-more-link::after { /* Optional arrow */
    content: " →";
    transition: transform 0.3s ease;
    display: inline-block;
}
.read-more-link:hover::after {
    transform: translateX(4px);
}

/* 10. Footer */
.footer-section {
    background-color: var(--footer-background);
    color: var(--text-light-secondary);
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}
.footer-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.footer-title .logo-ia { color: var(--color-accent); }
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li a {
    color: var(--text-light-secondary);
    padding: 0.3rem 0;
    display: inline-block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-section ul li a:hover {
    color: var(--color-accent);
    padding-left: 5px;
    text-decoration: none;
}
.social-links li a { /* Text-based social links */
    font-weight: 600;
}
.copyright {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}

/* 11. Special Page Styles */
.page-success, .page-privacy, .page-terms, .page-about, .page-contacts-standalone {
    padding-top: calc(var(--header-height) + 30px); /* Avoid overlap with fixed header */
    padding-bottom: 4rem;
}
.page-success .container {
    min-height: calc(100vh - var(--header-height) - 30px - 4rem); /* Full viewport height minus header and padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.page-success .success-icon {
    font-size: 5rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}
.page-success h1 {
    color: var(--text-headings);
    margin-bottom: 1rem;
}
.page-success p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Ensure padding for terms and privacy pages specifically */
body.terms-page main, body.privacy-page main {
    padding-top: 100px; /* As requested */
}
body.terms-page .container, body.privacy-page .container,
body.about-page .container, body.contacts-page .container {
    padding-top: 2rem; /* Add some space below header */
    max-width: 800px; /* Content focused */
}
body.terms-page h1, body.privacy-page h1,
body.about-page h1, body.contacts-page h1 {
    text-align: left;
    margin-bottom: 1.5rem;
}
body.terms-page h2, body.privacy-page h2,
body.about-page h2, body.contacts-page h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}


/* 12. Animations & Effects */
/* Animate on Scroll (basic setup, JS handles class toggling) */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effect (Simple CSS version) */
.parallax-bg {
    background-attachment: fixed; /* Creates simple parallax */
}

/* Microinteractions - already part of button/link hovers */

/* Cookie Consent Popup (Basic styling, HTML has some inline) */
#cookieConsentPopup {
    font-family: var(--font-secondary);
}
#cookieConsentPopup a {
    color: var(--color-accent) !important; /* Override inline */
}
#acceptCookieButton {
    background-color: var(--color-accent) !important; /* Override inline */
    color: var(--text-dark) !important;
}
#acceptCookieButton:hover {
    filter: brightness(1.1);
}

/* 13. Responsive Design (Media Queries) */
@media (max-width: 1024px) {
    .columns.is-desktop .column { /* For Bulma compatibility if used */
        /* flex-basis: initial;
        width: initial; */
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%; /* Position below header */
        width: 100%;
        background-color: rgba(20, 20, 30, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
    .navbar-menu.is-active {
        display: flex;
    }
    .navbar-start {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    .navbar-item, .navbar-link {
        text-align: center;
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .navbar-item:last-child, .navbar-link:last-child {
        border-bottom: none;
    }
    .navbar-dropdown {
        position: static;
        background-color: rgba(40,40,50,0.95);
        box-shadow: none;
        border-radius: 0;
        padding-left: 1rem; /* Indent dropdown items */
    }
    .navbar-burger {
        display: block;
    }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: clamp(1rem, 4vw, 1.2rem); }

    .column.is-two-thirds, .column.is-one-third,
    .column.is-half, .column.is-one-quarter, .column.is-one-fifth {
        width: 100%;
        flex: none;
    }
    .columns { margin-left: 0; margin-right: 0;} /* Reset negative margins for single column */
    .column { padding-left: 0; padding-right: 0; } /* Reset padding for single column */

    .footer-section .columns > .column {
        margin-bottom: 2rem;
        text-align: center;
    }
    .footer-section .columns > .column:last-child {
        margin-bottom: 0;
    }
    .footer-section ul {
        text-align: center;
    }
    .parallax-bg {
        background-attachment: scroll; /* Disable fixed attachment on mobile for performance/compatibility */
    }
    .pricing-cards .column { margin-bottom: 1.5rem; }
    .event-item .image-container img { height: 200px; }
}

@media (max-width: 480px) {
    body { font-size: 90%; } /* Slightly smaller base font for very small devices */
    .hero-section { padding: 60px 0; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .button { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .large-button { padding: 0.8rem 2rem; font-size: 1rem; }
    .section { padding: 2rem 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 1rem; }
    .section-title::after { width: 60px; height: 3px; }
    .section-description { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .contact-form .input, .contact-form .textarea { font-size: 0.9rem; }
}