/* style.css */

/* -------------------------------------------------------------------
   1. CSS Variables
------------------------------------------------------------------- */
:root {
    --primary-color: #0D47A1; /* Deep Blue - Trust, Professionalism */
    --primary-color-darker: #0A367E;
    --primary-color-lighter: #1E88E5;

    --secondary-color: #FF8F00; /* Amber/Orange - Accent, Innovation (Split Complement 1) */
    --secondary-color-darker: #E65100;

    --accent-color: #4CAF50; /* Green - Positive Action, Growth (Split Complement 2) */
    --accent-color-darker: #388E3C;

    --text-color: #333333; /* Dark gray for body text - Good Readability */
    --text-color-light: #FFFFFF;
    --text-color-medium: #555555;
    --heading-color: #222222; /* Very dark gray for headings */
    --link-color: var(--primary-color);
    --link-hover-color: var(--primary-color-darker);

    --background-color: #FFFFFF;
    --background-color-light: #f5f7fa; /* Light gray for subtle section differentiation */
    --background-color-medium: #e9ecef;

    --border-color: #d1d8e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-light: rgba(0, 0, 0, 0.05);
    --volumetric-shadow-light: rgba(255, 255, 255, 0.6);
    --volumetric-shadow-dark: rgba(0, 0, 0, 0.12);

    --font-family-headings: 'Oswald', sans-serif;
    --font-family-body: 'Nunito', sans-serif;

    --header-height: 80px;
    --border-radius-small: 6px;
    --border-radius-medium: 10px;
    --border-radius-large: 18px;

    --container-max-width: 1200px;
    --container-padding: 0 20px;

    --transition-speed: 0.3s;
    --transition-speed-fast: 0.2s;
}

/* -------------------------------------------------------------------
   2. Global Styles & Resets (Complementing Modern Normalize)
------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.main-container {
    width: 100%;
    overflow-x: hidden;
}

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

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

ul, ol {
    list-style: none;
    padding-left: 0;
}

/* -------------------------------------------------------------------
   3. Typography
------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.75em;
    font-weight: 500;
}

h1 { font-size: 2.8rem; text-shadow: 1px 1px 2px var(--shadow-color-light); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.page-title {
    text-align: center;
    margin-bottom: 1.5em;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 1em;
    color: var(--heading-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-intro {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
    color: var(--text-color-medium);
    font-size: 1.1rem;
}
.subsection-title {
    margin-bottom: 0.8em;
    color: var(--primary-color);
    font-size: 1.5rem;
}

p {
    margin-bottom: 1em;
}

.text-center { text-align: center; }
.text-light { color: var(--text-color-light) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }

/* -------------------------------------------------------------------
   4. Layout (Container, Grids)
------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: var(--container-padding);
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}

.bg-light {
    background-color: var(--background-color-light);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.parallax-background {
    background-attachment: scroll; /* Default for better mobile compatibility, JS will handle true parallax */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
    z-index: 1;
}

.parallax-background.bg-light .section-overlay {
    background: rgba(245, 247, 250, 0.7); /* Lighter overlay for light backgrounds */
}

/* For pages like privacy, terms */
.page-content {
    padding-top: calc(var(--header-height) + 40px); /* Header height + extra space */
}

.legal-content .container {
    max-width: 900px;
}
.legal-content h2 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--primary-color);
}
.legal-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1em;
}
.legal-content ul li {
    margin-bottom: 0.5em;
}
.last-updated {
    text-align: center;
    color: var(--text-color-medium);
    font-style: italic;
    margin-bottom: 2em;
}

/* Column Layout Example (can be expanded) */
.content-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.column-main {
    flex: 2; /* Takes 2/3 space roughly */
    min-width: calc(66% - 15px);
}
.column-sidebar {
    flex: 1; /* Takes 1/3 space roughly */
    min-width: calc(33% - 15px);
}

@media (max-width: 768px) {
    .content-columns {
        flex-direction: column;
    }
    .column-main, .column-sidebar {
        min-width: 100%;
    }
}


/* -------------------------------------------------------------------
   5. Utility Classes
------------------------------------------------------------------- */
.animate-on-scroll { /* Placeholder for JS animations */
    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);
}

/* -------------------------------------------------------------------
   6. Component Styles
------------------------------------------------------------------- */

/* Global Button Styles */
.btn, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-family-body);
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem; /* 12px 24px */
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-medium);
    transition: all var(--transition-speed) ease-in-out;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    text-decoration: none;
}

.btn-primary {
    color: var(--text-color-light);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    color: var(--text-color-light);
}

.btn-secondary {
    color: var(--text-color-light);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color-darker);
    border-color: var(--secondary-color-darker);
    color: var(--text-color-light);
}

.btn-accent {
    color: var(--text-color-light);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-accent:hover {
    background-color: var(--accent-color-darker);
    border-color: var(--accent-color-darker);
    color: var(--text-color-light);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

/* Volumetric Styles for buttons and elements */
.btn-volumetric, .volumetric-element {
    box-shadow: 0 4px 8px var(--volumetric-shadow-dark),
                inset 0 -2px 2px var(--volumetric-shadow-dark), /* inner bottom */
                inset 0 2px 1px var(--volumetric-shadow-light); /* inner top */
    transform: translateY(0);
}
.btn-volumetric:hover, .volumetric-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--volumetric-shadow-dark),
                inset 0 -2px 2px var(--volumetric-shadow-dark),
                inset 0 2px 1px var(--volumetric-shadow-light);
}
.btn-volumetric:active, .volumetric-element:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px var(--volumetric-shadow-dark),
                inset 0 -1px 1px var(--volumetric-shadow-dark),
                inset 0 1px 0px var(--volumetric-shadow-light);
}


/* Global Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color-medium);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-family-body);
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    transition: border-color var(--transition-speed-fast) ease-in-out, box-shadow var(--transition-speed-fast) ease-in-out;
    box-shadow: inset 0 1px 3px var(--shadow-color-light);
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    color: var(--text-color);
    background-color: var(--background-color);
    border-color: var(--primary-color-lighter);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb, 13, 71, 161), 0.25), inset 0 1px 3px var(--shadow-color-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group-checkbox {
    display: flex;
    align-items: center;
}
.form-group-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    height: 1.1em;
    width: 1.1em;
}
.form-group-checkbox .checkbox-label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form { /* General contact form styles */
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.volumetric-form {
    background: var(--background-color-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--volumetric-shadow-dark),
                inset 0 3px 5px var(--volumetric-shadow-light);
}


/* Global Card Styles */
.card {
    background-color: var(--background-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards in a grid equal height */
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}
.card-image { /* Container for image */
    width: 100%;
    overflow: hidden;
    /* Fixed height and object-fit for consistent image display */
    height: 200px; /* Example fixed height, adjust per card type */
    display: flex; /* For centering the img tag if it's smaller */
    align-items: center;
    justify-content: center;
    background-color: var(--background-color-medium); /* Placeholder bg for images */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, might crop */
    transition: transform var(--transition-speed) ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-content {
    padding: 1.5rem;
    text-align: left; /* Default, can be overridden */
    flex-grow: 1; /* Allows content to fill space for equal height cards */
    display: flex;
    flex-direction: column;
}
.card-content h3 {
    margin-bottom: 0.5em;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    margin-bottom: 1em;
    flex-grow: 1; /* Pushes button to bottom if card is flex column */
}
.card-content .btn, .card-content .read-more-link {
    margin-top: auto; /* Pushes button to bottom */
    align-self: flex-start; /* Align button to left */
}
/* For cards that need centered content and images (STRICT requirement) */
.card.text-centered-content,
.item.text-centered-content /* Add other similar selectors */ {
    align-items: center; /* Centers flex items (like card-image, card-content) if card is flex column */
    text-align: center;
}
.card.text-centered-content .card-content {
    align-items: center; /* Centers content within card-content */
    text-align: center;
}
.card.text-centered-content .card-content .btn,
.card.text-centered-content .card-content .read-more-link {
    align-self: center; /* Center button in centered card */
}

.read-more-link {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
    padding: 0.3rem 0;
    position: relative;
}
.read-more-link::after {
    content: ' →';
}
.read-more-link:hover {
    color: var(--accent-color-darker);
    text-decoration: none;
}


/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px var(--shadow-color-light);
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    font-family: var(--font-family-headings);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo .logo-accent {
    color: var(--secondary-color);
}
.main-navigation .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-navigation .nav-list li {
    margin-left: 25px;
}
.main-navigation .nav-list a {
    font-family: var(--font-family-body);
    font-weight: 600;
    color: var(--text-color-medium);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-speed-fast) ease;
}
.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active {
    color: var(--primary-color);
}
.main-navigation .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}
.main-navigation .nav-list a:hover::after,
.main-navigation .nav-list a.active::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav list when open */
}
.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-speed) ease-in-out;
}
.burger-menu.open .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-menu.open .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* -------------------------------------------------------------------
   7. Section-Specific Styles
------------------------------------------------------------------- */

/* Hero Section */
.hero-section {
    color: var(--text-color-light); /* IMPORTANT: Hero text is white */
    min-height: calc(100vh - var(--header-height)); /* Full viewport height minus header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height); /* Account for fixed header */
}
.hero-overlay { /* Ensures text readability on image */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    color: rgba(255,255,255,0.9);
}
.hero-section .btn {
    margin-top: 1rem;
}
.hero-section .btn-secondary { /* Example of specific button in hero */
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.hero-section .btn-secondary:hover {
    background-color: var(--secondary-color-darker);
    border-color: var(--secondary-color-darker);
}

/* Top Registration Form in Hero */
.registration-form-container.top-form {
    background: rgba(255, 255, 255, 0.15); /* Glassmorphism attempt */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    margin: 0 auto 3rem auto;
    max-width: 550px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}
.top-form .form-title {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}
.top-form .form-group label {
    color: rgba(255,255,255,0.85);
}
.top-form .form-group input {
    background-color: rgba(255,255,255,0.8);
    color: var(--text-color);
    border-color: rgba(255,255,255,0.3);
}
.top-form .form-group input::placeholder {
    color: var(--text-color-medium);
}
.top-form .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.top-form .btn-primary:hover {
    background-color: var(--accent-color-darker);
    border-color: var(--accent-color-darker);
}


/* About Us Section */
.about-us-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.about-us-text {
    flex: 1;
    min-width: 300px;
}
.about-us-image { /* This is the card-image div */
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Control image size */
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: 0 6px 15px var(--shadow-color);
}
.about-us-image img { /* The img tag itself */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Methodology Section */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}
.methodology-step .card-image { height: 180px; }
.methodology-step h3 {
    font-size: 1.2rem;
    color: var(--heading-color); /* Darker than primary for contrast on light bg */
}

/* Statistical Widgets */
.statistical-widgets-container {
    margin-top: 3rem;
    text-align: center;
}
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 1.5rem;
}
.widget {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    text-align: center;
    border: 1px solid var(--border-color);
}
.widget h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.2em;
    font-weight: 700;
}
.widget p {
    font-size: 1rem;
    color: var(--text-color-medium);
    margin-bottom: 0;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.research-item .card-image { height: 220px; }

/* Workshops Section */
/* Custom Slider - Basic structure, JS will handle functionality */
.custom-slider-container {
    position: relative;
    overflow: hidden; /* Important for slider */
    padding: 10px 0; /* Space for volumetric shadow */
}
.slider-wrapper {
    display: flex; /* Key for horizontal scroll/slide */
    transition: transform var(--transition-speed) ease-in-out; /* For JS sliding */
}
.slider-slide {
    min-width: 320px; /* Width of each slide/card */
    max-width: 320px;
    margin-right: 25px;
    flex-shrink: 0; /* Prevent slides from shrinking */
}
.slider-slide:last-child {
    margin-right: 0;
}
.slider-slide .card-image { height: 180px; }
.workshop-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5em;
}
.slider-controls {
    text-align: center;
    margin-top: 1.5rem;
}
.slider-controls button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    margin: 0 8px;
    border-radius: var(--border-radius-small);
    font-size: 1.2rem;
}
.slider-controls button:hover {
    background-color: var(--primary-color-darker);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-speed);
    border-radius: 34px;
}
.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-speed);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .slider {
    background-color: var(--accent-color);
}
.toggle-switch input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-color);
}
.toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
}
.toggle-example label[for="workshopNotificationToggle"] {
    color: var(--text-color) !important; /* Override default label if any */
    vertical-align: middle;
}


/* Webinars Section */
.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.webinar-item .card-image { height: 200px; }
.webinar-date {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    font-style: italic;
    margin-bottom: 0.5em;
}

/* External Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.resource-item {
    padding: 1.5rem; /* No image, so direct padding on card */
    background-color: var(--background-color);
}
.resource-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
}
.resource-item h3 a {
    color: var(--primary-color);
}
.resource-item h3 a:hover {
    color: var(--primary-color-darker);
}
.resource-item p {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    margin-bottom: 0;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.news-item .card-image { height: 200px; }
.news-date {
    font-size: 0.85rem;
    color: var(--text-color-medium);
    display: block;
    margin-bottom: 0.5em;
}

/* Partners Section */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.partner-logo {
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 100px;
}
.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition-speed) ease, opacity var(--transition-speed) ease;
}
.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Info Block (on index page) */
.contact-block-section {
    background-color: var(--primary-color-lighter);
    color: var(--text-color-light);
}
.contact-block-section .section-title {
    color: var(--text-color-light);
}
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    color: var(--text-color-light);
}
.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(255,255,255,0.2);
}
.contact-card h3 {
    color: var(--text-color-light);
    margin-bottom: 1rem;
}
.contact-card p {
    margin-bottom: 0.5rem;
}
.contact-card a {
    color: var(--secondary-color);
    font-weight: 600;
}
.contact-card a:hover {
    color: var(--text-color-light);
}


/* Contact Page (contacts.html) */
.contact-page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.contact-form-detailed-container {
    flex: 1.5; /* Form takes more space */
    min-width: 300px;
}
.contact-info-detailed-container {
    flex: 1;
    min-width: 280px;
}
.form-title-page { /* For titles within contact page columns */
    font-size: 1.8rem;
    color: var(--text-color-light); /* Assuming dark parallax bg */
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
.contact-info-block {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius-medium);
    color: var(--text-color-light); /* For text on dark parallax bg */
}
.contact-info-block h3 { color: var(--text-color-light); }
.contact-info-block p { display: flex; align-items: center; margin-bottom: 0.8rem; }
.contact-info-block img { margin-right: 10px; } /* Icons */
.contact-info-block a { color: var(--secondary-color); }
.map-placeholder {
    background-color: var(--background-color-medium);
    border-radius: var(--border-radius-medium);
    padding: 1rem;
    text-align: center;
}
.map-placeholder img { margin: 10px auto 0 auto; }


/* Success Page (success.html) */
.success-page .container { /* The container inside success-page section */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 120px); /* 120px for footer approx */
    text-align: center;
}
.success-page .page-title {
    color: var(--accent-color);
}
.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
    animation: success-pop 0.5s ease-out;
}
@keyframes success-pop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}


/* Footer */
.site-footer-main {
    background-color: var(--heading-color);
    color: rgba(255,255,255,0.7);
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 0.95rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h4 {
    color: var(--text-color-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.footer-column ul li {
    margin-bottom: 0.7rem;
}
.footer-column ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.footer-column ul a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}
.footer-column p {
    color: rgba(255,255,255,0.7);
}
.footer-column .logo { /* Footer logo, if used */
    color: var(--text-color-light);
}
.footer-column .logo .logo-accent {
    color: var(--secondary-color);
}
.social-links li a { /* IMPORTANT: Text-based social links */
    display: inline-block;
    padding: 5px 0; /* Add some clickable area */
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9rem;
}
.footer-bottom p { margin-bottom: 0; }


/* Cookie Consent Popup */
#cookieConsentPopup {
    /* HTML already provides: display, position, bottom, left, width, background-color, color, padding, text-align, z-index, box-shadow */
    font-family: var(--font-family-body);
}
#cookieConsentPopup p {
    font-size: 0.95rem; /* Slightly smaller for popup */
    line-height: 1.5;
}
#cookieConsentPopup a {
    /* Style provided in HTML, but can be overridden here if needed */
    font-weight: 600;
}
#acceptCookieButton {
    /* Style provided in HTML, but can be overridden for consistency */
    font-weight: 700;
    transition: background-color var(--transition-speed-fast) ease;
}
#acceptCookieButton:hover {
    background-color: var(--primary-color-darker) !important; /* Important to override inline */
}

/* -------------------------------------------------------------------
   8. Responsive Design (Media Queries)
------------------------------------------------------------------- */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    h1 { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    h2 { font-size: 1.8rem; }
    .section-padding { padding-top: 50px; padding-bottom: 50px; }

    .main-navigation .nav-list {
        display: none; /* Hide for burger */
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px var(--shadow-color-light);
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }
    .main-navigation .nav-list.open {
        display: flex; /* Show when open */
    }
    .main-navigation .nav-list li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        padding: 12px 20px;
        display: block;
        width: 100%;
    }
    .main-navigation .nav-list a::after {
        display: none; /* No underline for mobile dropdown */
    }
    .burger-menu {
        display: block;
    }

    .registration-form-container.top-form {
        padding: 1.5rem;
    }
    .top-form .form-title { font-size: 1.4rem; }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    .footer-column { text-align: center; }
    .footer-column ul { padding-left: 0; }
}

@media (max-width: 576px) {
    body { font-size: 15px; } /* Slightly smaller base for very small screens */
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    .btn, button, input[type="submit"] {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
    .hero-section { min-height: auto; padding-top: calc(var(--header-height) + 20px); padding-bottom: 40px;} /* Adjust hero for small screens */
    .slider-slide {
        min-width: 280px;
        max-width: 280px;
    }
}