/* style.css */

/* 1. CSS Variables */
:root {
    /* Bright Color Scheme - Futuristic */
    --primary-color: #00CFE8; /* Bright Cyan/Teal */
    --primary-darker: #00AABF;
    --secondary-color: #E91E63; /* Vibrant Pink/Magenta */
    --secondary-darker: #C2185B;
    --accent-color: #FFEB3B; /* Bright Yellow */
    --accent-darker: #FBC02D;

    --neutral-darkest: #0F0F1A; /* Very Dark Blue/Purple - for deep backgrounds */
    --neutral-dark: #1C1C3A;   /* Dark Blue/Purple - for section backgrounds */
    --neutral-medium: #3A3A5A; /* Medium Dark - for borders, secondary elements */
    --neutral-light: #E0E0EF;  /* Light Lavender Grey - for light text or backgrounds */
    --neutral-lightest: #F5F5FA; /* Very Light - for light section backgrounds */

    --text-color-light: #FFFFFF;
    --text-color-dark: #121212;
    --text-color-medium: #CCCCCC; /* For subtitles on dark backgrounds */
    --text-color-subtle-dark: #555555; /* For descriptions on light backgrounds */

    --link-color: var(--primary-color);
    --link-hover-color: var(--accent-color);

    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-bg-dark: linear-gradient(135deg, var(--neutral-dark), #2a003a);


    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
    --section-padding-y: 80px;
    --border-radius-sm: 6px;
    --border-radius-md: 12px; /* For cards and curved elements */
    --border-radius-lg: 20px;

    /* Transitions & Animations */
    --transition-speed: 0.3s ease-in-out;

    /* Shadows for depth */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(233,30,99, 0.2); /* Using E91E63 RGB values */
    --shadow-lg: 0 10px 30px rgba(0,207,232, 0.25); /* Using 00CFE8 RGB values */

    /* RGB versions for direct use in rgba if needed (though direct hex in rgba is fine in modern CSS) */
    --primary-color-rgb: 0,207,232;
    --secondary-color-rgb: 233,30,99;
    --neutral-lightest-rgb: 245,245,250;
}

/* 2. Base Styles (Modern Normalize is used, so minimal reset here) */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px base */
}

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

/* 3. Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color-light);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Subtle shadow for readability */
}
h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p {
    margin-bottom: 1.25rem;
    font-size: 1rem; /* 16px */
    color: var(--text-color-medium);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}
a:hover, a:focus {
    color: var(--link-hover-color);
    text-decoration: underline;
}

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

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

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

.section-title {
    text-align: center;
    margin-bottom: 2.5rem; /* Increased margin */
    color: var(--primary-color); /* Brighter title color */
    font-size: clamp(2.2rem, 4.5vw, 3.2rem); /* Slightly larger */
}
.section-title::after { /* Futuristic underline */
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-bg);
    margin: 0.75rem auto 0;
    border-radius: var(--border-radius-sm);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem; /* Increased margin */
    font-size: 1.1rem;
    color: var(--text-color-medium);
}

/* Curved Grid Container (subtle effect on container) */
.curved-grid-container {
    display: grid;
    gap: 1.5rem; /* Default gap */
}
/* Example: 2 columns on tablet, 3 on desktop */
@media (min-width: 600px) {
    .statistics-grid, .methodology-steps, .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
@media (min-width: 992px) {
    .statistics-grid { grid-template-columns: repeat(4, 1fr); } /* Specific for 4 stats */
    .methodology-steps { grid-template-columns: repeat(4, 1fr); } /* Specific for 4 steps */
    .awards-grid { grid-template-columns: repeat(3, 1fr); }
}


/* 5. Utility Classes */
.text-center { text-align: center; }
.section-padding { padding: var(--section-padding-y) 0; background-color: var(--neutral-lightest); }
.section-padding .section-title,
.section-padding h1, .section-padding h2, .section-padding h3, .section-padding h4, .section-padding h5, .section-padding h6 {
    color: var(--text-color-dark);
    text-shadow: none;
}
.section-padding p, .section-padding li {
    color: var(--text-color-subtle-dark);
}
.section-padding .section-subtitle {
    color: #4a4a4a;
}
.section-padding a {
    color: var(--secondary-color);
}
.section-padding a:hover {
    color: var(--secondary-darker);
}


.section-padding-dark { padding: var(--section-padding-y) 0; background-color: var(--neutral-dark); }
.section-padding-dark .section-title,
.section-padding-dark h1, .section-padding-dark h2, .section-padding-dark h3, .section-padding-dark h4, .section-padding-dark h5, .section-padding-dark h6 {
    color: var(--text-color-light);
}
.section-padding-dark p, .section-padding-dark li {
    color: var(--text-color-medium);
}
.section-padding-dark a {
    color: var(--primary-color);
}
.section-padding-dark a:hover {
    color: var(--accent-color);
}


/* 6. Global Components */

/* Buttons */
.button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8em 1.8em;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm); /* Sharper for futuristic */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-speed);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.button:active, button:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(-1px);
    box-shadow: none;
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--neutral-darkest); /* Ensure contrast */
    border-color: var(--primary-color);
}
.button-primary:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    color: var(--neutral-darkest);
}

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

.button-link { /* For "Read More" style links */
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    padding: 0.25em 0;
    position: relative;
    transition: color var(--transition-speed);
}
.section-padding .button-link { color: var(--secondary-color); }
.section-padding .button-link:hover { color: var(--secondary-darker); }

.button-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.button-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* Cards - Global Styling */
.card {
    background-color: var(--neutral-dark); /* Default for dark sections */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content like images if they are direct children or in .card-image */
    text-align: center; /* Center text inside card */
    height: 100%;
}
.section-padding .card {
    background-color: var(--neutral-lightest);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.section-padding .card:hover {
     box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

.card-image { /* This is the direct parent of <img> */
    width: 100%;
    height: 200px; /* Fixed height for consistent card image sizes */
    overflow: hidden;
    position: relative; /* For potential overlays */
    margin-bottom: 1rem; /* Space between image and content */
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block; /* Remove any default inline spacing */
}
.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 0 1.5rem 1.5rem; /* Adjusted padding as image is now centered by card */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensure content takes full width for text-align center */
}
.card-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}
.section-padding .card-content h3 { color: var(--text-color-dark); }
.section-padding-dark .card-content h3 { color: var(--text-color-light); }

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.section-padding .card-content p { color: var(--text-color-subtle-dark); }
.section-padding-dark .card-content p { color: var(--text-color-medium); }

.card-content .button, .card-content .button-link {
    margin-top: auto;
    align-self: center; /* Center button within the card */
}


/* Progress Indicators */
.progress-indicator-container {
    width: 100%;
    background-color: var(--neutral-medium);
    border-radius: var(--border-radius-sm);
    height: 10px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background: var(--gradient-bg);
    border-radius: var(--border-radius-sm);
    transition: width 1s ease-out;
    width: 0; /* Initial width, set by JS or inline style */
}
.section-padding .progress-indicator-container { background-color: #d0d0e0; }


/* Forms (General styles for contact form) */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left; /* Align labels and inputs to left */
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--text-color-light);
}
.section-padding .form-group label { color: var(--text-color-dark); }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--neutral-medium);
    border-radius: var(--border-radius-sm);
    background-color: rgba(var(--neutral-lightest-rgb), 0.05); /* Subtle glassmorphism touch */
    color: var(--text-color-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}
.section-padding .contact-form input[type="text"],
.section-padding .contact-form input[type="email"],
.section-padding .contact-form input[type="tel"],
.section-padding .contact-form textarea {
    background-color: var(--neutral-lightest);
    border-color: #ccc;
    color: var(--text-color-dark);
}


.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.form-submit-button {
    width: 100%;
    padding: 1em 1.5em;
}


/* 7. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(var(--neutral-darkest-rgb, 15,15,26), 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color var(--transition-speed), padding var(--transition-speed);
}
.site-header.scrolled { /* Add via JS on scroll */
    background-color: rgba(var(--neutral-darkest-rgb, 15,15,26), 0.95);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust as needed */
    width: auto;
    transition: transform var(--transition-speed);
}
.logo:hover img {
    transform: scale(1.05);
}

.main-navigation .nav-list {
    display: flex;
    align-items: center;
}
.main-navigation .nav-link {
    font-family: var(--font-heading);
    color: var(--text-color-light);
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    border-radius: var(--border-radius-sm);
}
.main-navigation .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
    border-radius: 1px;
}
.main-navigation .nav-link:hover,
.main-navigation .nav-link.active { /* Add .active class via JS */
    color: var(--primary-color);
}
.main-navigation .nav-link:hover::before,
.main-navigation .nav-link.active::before {
    width: 70%;
}

.burger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Above nav list on mobile */
}
.burger-menu-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    margin: 5px 0;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger-menu.open .burger-menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-menu.open .burger-menu-line:nth-child(2) {
    opacity: 0;
}
.burger-menu.open .burger-menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* 8. Footer */
.site-footer {
    background-color: var(--neutral-darkest);
    color: var(--text-color-medium);
    padding: 3rem 0;
    border-top: 2px solid var(--neutral-medium);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.footer-column h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-column ul li {
    margin-bottom: 0.6rem;
}
.footer-column ul li a {
    color: var(--text-color-medium);
    transition: color var(--transition-speed);
    font-size: 0.95rem;
}
.footer-column ul li a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}
.footer-copyright {
    grid-column: 1 / -1; /* Span all columns */
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-medium);
}
.footer-copyright img {
    margin: 0 auto 1rem;
}
.footer-copyright p {
    font-size: 0.9rem;
    color: #aaa; /* More subtle */
    margin-bottom: 0.25rem;
}
.social-links-text li {
    display: inline-block; /* Or flex for better control */
    margin-right: 1rem;
}
.social-links-text li:last-child {
    margin-right: 0;
}
.social-links-text a {
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
}

/* 9. Section-Specific Styles */

/* Hero Section */
.hero-section {
    min-height: 90vh; /* Adjusted from 100vh to account for header */
    padding-top: 100px; /* Space for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--text-color-light); /* Ensured white text */
}
/* The linear-gradient overlay is applied inline in HTML for the specific image */
.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--text-color-light) !important; /* Important for hero */
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-color-light) !important; /* Important for hero */
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}
.hero-section .button-primary {
    padding: 1em 2.5em;
    font-size: 1.1rem;
}

/* Statistics Section */
.stat-item {
    background-color: #fff; /* Cards on light bg are lighter */
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.stat-icon-placeholder img {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0px 2px 4px rgba(var(--primary-color-rgb), 0.3));
}
.stat-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}
.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-darker);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}
.stat-description {
    font-size: 0.9rem;
    color: var(--text-color-subtle-dark);
}

/* Methodology Section */
.method-step {
    text-align: center;
    background: rgba(var(--neutral-lightest-rgb), 0.05); /* Subtle glass on dark */
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-speed);
}
.method-step:hover {
    background: rgba(var(--neutral-lightest-rgb), 0.1);
}
.method-step-image {
    width: 100%;
    max-width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.method-step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.pricing-card { /* Extends .card */
    text-align: center; /* Content already centered by .card */
}
.pricing-card .card-image { height: 220px; }
.pricing-title {
    font-size: 1.6rem;
    color: var(--secondary-color);
}
.pricing-price {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary-darker);
    margin: 0.5rem 0 1.5rem;
}
.pricing-features {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 1rem; /* Indent list */
    flex-grow: 1;
    align-self: stretch; /* Make features list take width for text-align: left */
}
.pricing-features li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-family: var(--font-heading);
}
.section-padding .pricing-features li::before { color: var(--secondary-color); }
.pricing-card .button {
    width: 80%;
    /* margin: 0 auto; /* Centered by card's align-self: center on button */
}

/* Blog & News Sections */
.blog-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-post-card .card-image, .news-item-card .card-image { height: 220px; }

.blog-post-title, .news-title {
    font-size: 1.4rem;
}
.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}
.section-padding .news-date { color: var(--secondary-darker); }

.blog-post-excerpt, .news-excerpt {
    font-size: 0.9rem;
}

/* External Resources Section */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.resource-item.card {
    background-color: rgba(var(--neutral-lightest-rgb), 0.05);
    text-align: left; /* Override general card text-align center */
    align-items: flex-start; /* Override general card align-items center */
}
.resource-item.card .card-content {
    text-align: left; /* Ensure content within is left-aligned */
}
.resource-item.card:hover {
    background-color: rgba(var(--neutral-lightest-rgb), 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.resource-title a {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}
.resource-title a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}
.resource-description {
    font-size: 0.9rem;
    color: var(--text-color-medium);
}

/* Awards Section */
.award-item {
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}
.award-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 1rem;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.1));
}
.award-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Press Section */
.press-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.5rem;
    align-items: center;
}
.press-logo-item {
    text-align: center;
}
.press-logo-item img {
    max-height: 60px;
    width: auto;
    margin: 0 auto 0.75rem;
    filter: grayscale(100%) contrast(0%) brightness(2.5);
    opacity: 0.8;
    transition: opacity var(--transition-speed), filter var(--transition-speed);
}
.press-logo-item:hover img {
    opacity: 1;
    filter: grayscale(0%) contrast(100%) brightness(1);
}
.press-logo-item p a {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    text-decoration: none;
}
.press-logo-item p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Media Section */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.media-item .card-image { height: 225px; }
.media-thumbnail-container {
    position: relative;
    width: 100%; /* Ensure it spans the card image area */
    height: 100%;
}
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
    border-radius: inherit; /* If card-image has radius */
}
.media-item:hover .play-button-overlay {
    opacity: 1;
}
.play-icon, .play-icon-doc {
    font-size: 3rem;
    color: var(--text-color-light);
    text-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.7);
}
.play-icon-doc { font-size: 2.5rem; }
.media-title {
    font-size: 1.3rem;
}

/* Contact Section */
.contact-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.contact-form-container {
    flex: 2;
    min-width: 300px;
}
.contact-details-container {
    flex: 1;
    min-width: 280px;
    background: rgba(var(--neutral-lightest-rgb), 0.05);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    text-align: left; /* Details should be left-aligned */
}
.contact-details-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.contact-details-container p {
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}
.contact-details-container img.contact-icon { /* Specific class for contact icons */
    margin-right: 10px;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(150deg) saturate(5);
}
.contact-details-container a { color: var(--text-color-medium); }
.contact-details-container a:hover { color: var(--accent-color); }

.map-placeholder img {
    border-radius: var(--border-radius-sm);
    margin-top: 1.5rem;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
}


/* 10. Particle Container */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}


/* 11. Cookie Consent Popup */
/* Basic styles, assuming it's added via JS and HTML has the structure */
#cookie-consent-popup {
    /* HTML provided inline styles will take precedence if not overridden with !important */
    font-family: var(--font-body);
}
#cookie-consent-popup p a {
    color: var(--primary-color); /* Make link more thematic */
}
#cookie-consent-popup #accept-cookies {
    background-color: var(--primary-color);
    color: var(--neutral-darkest);
    font-family: var(--font-heading);
    text-transform: uppercase;
}
#cookie-consent-popup #accept-cookies:hover {
    background-color: var(--primary-darker);
}


/* 12. Specific Page Styles */

/* success.html */
.success-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    text-align: center;
    padding: var(--container-padding);
    background: var(--gradient-bg-dark); /* Futuristic gradient for success */
}
.success-content {
    background: rgba(var(--neutral-lightest-rgb), 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
}
.success-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.success-content p {
    color: var(--text-color-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.success-content .button {
    font-size: 1.1rem;
}

/* privacy.html & terms.html */
.privacy-page-container,
.terms-page-container {
    padding-top: 120px;
    padding-bottom: var(--section-padding-y);
    background-color: var(--neutral-lightest);
    color: var(--text-color-dark);
}
.privacy-page-container .container,
.terms-page-container .container {
     max-width: 800px; /* Better readability for text-heavy pages */
}
.privacy-page-container .container h1,
.terms-page-container .container h1 {
    color: var(--text-color-dark);
    margin-bottom: 2rem;
    text-align: center;
}
.privacy-page-container .container h2,
.terms-page-container .container h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.privacy-page-container .container p,
.terms-page-container .container p,
.privacy-page-container .container li,
.terms-page-container .container li {
    color: var(--text-color-subtle-dark);
    line-height: 1.8;
    text-align: left;
}
.privacy-page-container .container ul,
.terms-page-container .container ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
    text-align: left;
}


/* 13. Responsive Media Queries */
@media (max-width: 991px) { /* Tablet */
    .hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }
    .hero-description { font-size: clamp(1rem, 2.2vw, 1.2rem); }

    .contact-flex-container {
        flex-direction: column;
    }
}

@media (max-width: 767px) { /* Mobile */
    body {
        font-size: 15px; /* Slightly smaller base for mobile if needed */
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .section-title { margin-bottom: 2rem; font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .section-subtitle { margin-bottom: 2rem; font-size: 0.95rem; }
    :root { --section-padding-y: 60px; }


    /* Header Mobile */
    .main-navigation .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(var(--neutral-darkest-rgb), 0.98);
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    .main-navigation .nav-list.open {
        display: flex;
    }
    .main-navigation .nav-link {
        padding: 0.8rem 1rem;
        margin-left: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--neutral-medium);
    }
    .main-navigation .nav-link:last-child {
        border-bottom: none;
    }
    .main-navigation .nav-link:hover,
    .main-navigation .nav-link.active {
        background-color: rgba(var(--primary-color-rgb), 0.1);
    }
    .main-navigation .nav-link::before { display: none; }

    .burger-menu {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column ul {
        padding-left: 0;
    }
    .social-links-text li {
        margin: 0 0.5rem 0.5rem;
    }
    .hero-section { min-height: 70vh; padding-top: 80px; }
    .pricing-grid, .blog-grid, .news-grid, .media-grid, .resources-list,
    .statistics-grid, .methodology-steps, .awards-grid, .press-logos-grid {
        grid-template-columns: 1fr;
    }

    .card:hover {
        transform: translateY(-3px);
        /* scale(1.02) might be too much on small screens */
    }
    .contact-details-container {
        padding: 1.5rem;
    }
    .success-content {
        padding: 2rem;
    }
}

/* Animations on scroll (placeholder, to be triggered by JS) */
.animate-on-scroll {
    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);
}