/* CSS Variables */
:root {
    /* Color Palette (Tetrad Inspired) */
    --primary-color-1: #0A2463; /* Deep Blue */
    --primary-color-2: #3E92CC; /* Bright Blue/Teal */
    --accent-color-1: #F5A623; /* Amber/Orange */
    --accent-color-2: #D8315B; /* Magenta/Pinkish Red */

    --text-color: #333333;
    --text-color-light: #FFFFFF;
    --text-color-muted: #555555;
    --text-color-headings: #222222;

    --background-color: #F4F7F5; /* Off-white / Very Light Gray */
    --background-color-dark: #1a1a2e; /* Dark background for contrast sections */
    
    --glass-bg: rgba(255, 255, 255, 0.05); /* For dark backgrounds */
    --glass-bg-light: rgba(255, 255, 255, 0.65); /* For light backgrounds */
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-border-light: rgba(200, 200, 200, 0.3);
    
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-strong: rgba(0, 0, 0, 0.2);

    --border-color: #DDDDDD;
    --border-radius-small: 5px;
    --border-radius-medium: 10px;
    --border-radius-large: 15px;

    /* Fonts */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-medium: 0.3s;
    --transition-speed-slow: 0.5s;

    /* Spacing */
    --spacing-xs: 0.5rem;  /* 8px */
    --spacing-s: 1rem;    /* 16px */
    --spacing-m: 1.5rem;  /* 24px */
    --spacing-l: 2rem;    /* 32px */
    --spacing-xl: 3rem;   /* 48px */
    --spacing-xxl: 4rem;  /* 64px */

    /* Header height for content offset */
    --header-height: 80px;
}

/* Base & Reset Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color-headings);
    line-height: 1.3;
    margin-bottom: var(--spacing-m);
}

h1 { font-size: 2.8rem; } /* Approx 44.8px */
h2 { font-size: 2.2rem; } /* Approx 35.2px */
h3 { font-size: 1.8rem; } /* Approx 28.8px */
h4 { font-size: 1.4rem; } /* Approx 22.4px */

p {
    margin-bottom: var(--spacing-s);
    color: var(--text-color-muted);
}

a {
    color: var(--primary-color-2);
    text-decoration: none;
    transition: color var(--transition-speed-medium) ease;
}

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

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

ul, ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-s);
}

.text-center { text-align: center; }
.hidden { display: none; }

/* Glassmorphism Effect */
.glassmorphic {
    background: var(--glass-bg-light); /* Default for light theme elements */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 4px 20px var(--shadow-color);
    border-radius: var(--border-radius-medium);
    padding: 20px;
}

/* Sections General Styling */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden; /* For parallax children or animations */
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-l);
    color: var(--text-color-headings);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-intro {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
    color: var(--text-color-muted);
}

/* Overlays for background images */
.section-overlay, .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay); /* Default dark overlay */
    z-index: 1;
}
.hero-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-s) 0;
    transition: background-color var(--transition-speed-medium) ease, box-shadow var(--transition-speed-medium) ease;
}

.glassmorphic-header {
    background: rgba(10, 36, 99, 0.3); /* Semi-transparent --primary-color-1 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color-light);
    text-decoration: none;
    letter-spacing: 1px;
}
.logo:hover {
    color: var(--accent-color-1);
}

.main-navigation .nav-list {
    display: flex;
    gap: var(--spacing-m);
}

.main-navigation .nav-list a {
    color: var(--text-color-light);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: var(--spacing-xs) var(--spacing-s);
    border-radius: var(--border-radius-small);
    transition: color var(--transition-speed-medium) ease, background-color var(--transition-speed-medium) ease;
}

.main-navigation .nav-list a:hover,
.main-navigation .nav-list a.active {
    color: var(--accent-color-1);
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    position: relative;
    transition: background-color var(--transition-speed-medium) ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color-light);
    position: absolute;
    left: 0;
    transition: transform var(--transition-speed-medium) ease, top var(--transition-speed-medium) ease;
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

/* Mobile Menu Active State (JS toggles .menu-open on header or nav) */
.menu-open .hamburger-icon { background-color: transparent; }
.menu-open .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.menu-open .hamburger-icon::after { transform: rotate(-45deg); top: 0; }


/* Global Button Styles */
.cta-button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    background: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2));
    color: var(--text-color-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-s) var(--spacing-l);
    border: none;
    border-radius: var(--border-radius-medium);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all var(--transition-speed-medium) ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before,
button::before,
input[type="submit"]::before,
input[type="button"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-speed-slow) ease-in-out;
}

.cta-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-1));
}

.cta-button:hover::before,
button:hover::before,
input[type="submit"]:hover::before,
input[type="button"]:hover::before {
    left: 100%;
}

.cta-button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    min-height: 90vh; /* Avoid 100vh to prevent scrollbar if content is small */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--text-color-light);
    padding: var(--spacing-xxl) var(--spacing-s);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem; /* Ensure readability */
    color: var(--text-color-light); /* Explicitly white as per prompt */
    margin-bottom: var(--spacing-m);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color-light); /* Explicitly white */
    margin-bottom: var(--spacing-l);
    line-height: 1.8;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-section .cta-button {
    padding: var(--spacing-m) var(--spacing-xl);
    font-size: 1.1rem;
}

.parallax-layer-1, .parallax-layer-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* Basic styling for layers, JS will handle parallax effect depth */
    /* Example: background-image: url('image/parallax-element.png'); background-repeat: no-repeat; */
    z-index: 0;
}

/* Card Styles (Global) */
.card {
    background-color: var(--text-color-light); /* Solid background for readability inside glass sections */
    border-radius: var(--border-radius-medium);
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: transform var(--transition-speed-medium) ease, box-shadow var(--transition-speed-medium) ease;
    display: flex;
    flex-direction: column;
    /* align-items: center; Per STROGO rule, centers card-image and card-content if they are not full width */
    /* text-align: center; /* To center text within content sections */
    height: 100%; /* For equal height cards in a grid */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color-strong);
}

.card-image { /* This is the container for the image */
    width: 100%; /* Takes full width of card or its grid cell */
    height: 200px; /* Fixed height as requested */
    overflow: hidden;
    /* margin-bottom: var(--spacing-m); Removed as per card structure in HTML */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* remove extra space below image */
    transition: transform var(--transition-speed-slow) ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-m);
    flex-grow: 1; /* Allows content to fill space in flex column */
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; /* if you want buttons at bottom */
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-s);
    color: var(--primary-color-1);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    flex-grow: 1; /* Pushes elements after it down if card content is flex */
}
.card-content .read-more-link, .card-content .cta-button {
    margin-top: auto; /* Pushes button to bottom if card content is flex */
    align-self: flex-start; /* Default alignment */
}

/* Specific Card Centering (overriding individual text-align if needed) */
.service-card .card-content,
.award-card .card-content,
.news-card .card-content,
.team-member-card .card-content {
    text-align: left; /* Override if global card text-align is center */
}
.team-member-card .card-content {
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-l);
}

/* Innovation Section */
.innovation-section {
    background-color: var(--primary-color-1); /* Dark background */
    color: var(--text-color-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.innovation-section .section-title,
.innovation-section .section-intro {
    color: var(--text-color-light);
}
.innovation-section .section-intro p { /* If p inside intro */
    color: rgba(255,255,255,0.8);
}

.statistics-widgets {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--spacing-m);
    margin-top: var(--spacing-xl);
}

.widget {
    text-align: center;
    padding: var(--spacing-m);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-medium);
    min-width: 200px;
    flex: 1;
    max-width: 250px; /* Prevent them from becoming too wide */
}

.widget-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color-1);
    margin-bottom: var(--spacing-xs);
}

.widget-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-l);
}
.award-card .card-image {
    height: 150px; /* Specific height for award images/icons */
    width: 150px;
    margin: 0 auto var(--spacing-m) auto; /* Center the image container */
    border-radius: 50%;
}
.award-card .card-content {
    text-align: center;
}

/* Team Section */
/* Basic styles for slider, JS will handle functionality */
.custom-slider {
    position: relative;
}
.slider-wrapper {
    display: flex; /* This will be managed by JS for sliding effect */
    overflow: hidden; /* Hide non-visible slides */
    gap: var(--spacing-l); /* If showing multiple slides at once and JS handles scrolling */
}
.slide {
    flex: 0 0 100%; /* Default: show one slide */
    /* For multi-item slider: flex: 0 0 calc( (100% / 3) - (var(--spacing-l) * 2 / 3) ); */
    /* The above calculation can be complex, often handled by slider JS */
    min-width: 0; /* Fix for flexbox overflow issues */
}
.team-slider .slide {
    flex: 0 0 calc(33.333% - var(--spacing-l) * 2 / 3); /* Example for 3 slides */
    /* Fallback for single item display if JS is not adjusting this */
}


.team-member-card .card-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-m) auto; /* Center image container */
    border: 4px solid var(--accent-color-1);
}
.member-name { color: var(--primary-color-1); }
.member-role {
    font-style: italic;
    color: var(--accent-color-2);
    margin-bottom: var(--spacing-s);
    font-weight: bold;
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: var(--spacing-s);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-control.prev { left: -20px; }
.slider-control.next { right: -20px; }
.slider-control:hover { background-color: var(--accent-color-1); }


/* Customer Stories Section */
.customer-stories-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-color-light);
}
.customer-stories-section .section-title,
.customer-stories-section .section-intro {
    color: var(--text-color-light); /* Ensure high contrast */
    position: relative;
    z-index: 2;
}
.customer-stories-section .section-intro p {
    color: rgba(255,255,255,0.9);
}

.story-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-medium);
    padding: var(--spacing-l);
    color: var(--text-color-light);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.story-card .card-image { /* client logo */
    width: 120px;
    height: 80px;
    margin-bottom: var(--spacing-m);
    background-color: rgba(255,255,255,0.1); /* Light bg for logo if it's transparent */
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-small);
}
.story-card .card-image img {
    object-fit: contain; /* Logos should be contained */
}
.story-title {
    color: var(--accent-color-1);
    font-size: 1.5rem;
}
.story-card p { color: rgba(255,255,255,0.9); }
.story-client {
    margin-top: var(--spacing-m);
    font-weight: bold;
    font-style: italic;
    color: var(--primary-color-2); /* Brighter blue on dark */
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--text-color-light);
    padding: var(--spacing-l);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
}
.testimonial-card blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-color-muted);
    margin-bottom: var(--spacing-m);
    position: relative;
    padding: 0 var(--spacing-l);
}
.testimonial-card blockquote p::before,
.testimonial-card blockquote p::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--accent-color-1);
    position: absolute;
    line-height: 1;
}
.testimonial-card blockquote p::before { top: -5px; left: -5px; }
.testimonial-card blockquote p::after { bottom: -15px; right: -5px; }

.testimonial-card footer {
    font-weight: bold;
    color: var(--primary-color-1);
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-l);
}
.news-card .card-content {
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 0.85rem;
    color: var(--text-color-muted);
    margin-bottom: var(--spacing-xs);
}
.read-more-link {
    display: inline-block;
    margin-top: auto; /* Pushes to bottom */
    padding-top: var(--spacing-s);
    color: var(--accent-color-1);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-speed-medium) ease;
}
.read-more-link::after {
    content: '→';
    margin-left: 0.5em;
    transition: transform var(--transition-speed-medium) ease;
    display: inline-block;
}
.read-more-link:hover {
    color: var(--primary-color-2);
}
.read-more-link:hover::after {
    transform: translateX(5px);
}

/* External Resources Section */
.external-resources-section {
    background-color: #e9edf0; /* Slightly different light background */
}
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-l);
}
.resource-item.card { /* Using card style */
    text-align: left;
}
.resource-title a {
    color: var(--primary-color-1);
    font-size: 1.2rem;
}
.resource-title a:hover {
    color: var(--accent-color-1);
}
.resource-description {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}


/* Contact Section */
.contact-section {
    background-color: var(--primary-color-1);
    color: var(--text-color-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contact-section .section-title,
.contact-section .section-intro,
.contact-section .contact-details-container h3 {
    color: var(--text-color-light);
    position: relative;
    z-index: 2;
}
.contact-section .section-intro p,
.contact-section .contact-details-container p {
    color: rgba(255,255,255,0.9);
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Default two columns */
    gap: var(--spacing-xl);
    position: relative;
    z-index: 2;
    align-items: flex-start; /* Align items at the top of their grid cells */
}

.contact-form-container, .contact-details-container {
    padding: var(--spacing-l);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-medium);
}

.form-group {
    margin-bottom: var(--spacing-m);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: bold;
    color: rgba(255,255,255,0.9);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-s);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-small);
    background-color: rgba(255,255,255,0.1);
    color: var(--text-color-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed-medium) ease, box-shadow var(--transition-speed-medium) ease;
}
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-1);
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.3); /* --accent-color-1 with alpha */
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-details-container p {
    margin-bottom: var(--spacing-s);
    display: flex;
    align-items: center;
}
.contact-details-container p img { /* Icons */
    margin-right: var(--spacing-s);
    filter: brightness(0) invert(1); /* Make icons white if they are dark */
}
.contact-details-container a {
    color: var(--accent-color-1); /* Link color for phone/email */
    font-weight: bold;
}
.contact-details-container a:hover {
    color: var(--text-color-light);
}
.map-placeholder img {
    border-radius: var(--border-radius-small);
    margin-top: var(--spacing-m);
    border: 2px solid var(--glass-border);
}


/* Footer */
.site-footer {
    background-color: var(--primary-color-1); /* Dark background for footer */
    color: rgba(255,255,255,0.8);
    padding: var(--spacing-xl) 0 var(--spacing-s) 0;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-l);
    margin-bottom: var(--spacing-l);
}

.footer-column h4 {
    color: var(--text-color-light);
    margin-bottom: var(--spacing-m);
    font-size: 1.2rem;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-s);
}

.footer-nav-list li {
    margin-bottom: var(--spacing-xs);
}

.footer-nav-list a, .footer-column p a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-speed-medium) ease;
}

.footer-nav-list a:hover, .footer-column p a:hover {
    color: var(--accent-color-1);
    text-decoration: underline;
}

.social-media-list {
    display: flex;
    flex-direction: column; /* As per prompt: text links, no icons */
    gap: var(--spacing-xs);
}
.social-media-list a {
    color: rgba(255,255,255,0.7);
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-speed-medium) ease;
    font-weight: bold;
}
.social-media-list a:hover {
    color: var(--accent-color-1);
}

.copyright-bar {
    text-align: center;
    padding-top: var(--spacing-l);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* Specific Page Styles */
/* success.html */
body.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--primary-color-1); /* Consistent dark background */
    padding: var(--spacing-l);
    color: var(--text-color-light);
}

.success-page .content-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: var(--spacing-xl) var(--spacing-xxl);
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 600px;
}

.success-page h1 {
    color: var(--accent-color-1);
    margin-bottom: var(--spacing-m);
    font-size: 2.5rem;
}

.success-page p {
    margin-bottom: var(--spacing-l);
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* privacy.html, terms.html */
.static-page-content { /* Add this class to main content area of privacy/terms */
    padding-top: calc(var(--header-height) + var(--spacing-xl)); /* Offset for fixed header */
    padding-bottom: var(--spacing-xl);
    min-height: calc(100vh - var(--header-height) - 100px); /* Approximate footer height */
}
.static-page-content .container h1 {
    margin-bottom: var(--spacing-l);
}
.static-page-content .container h2 {
    margin-top: var(--spacing-l);
    margin-bottom: var(--spacing-s);
    color: var(--primary-color-1);
}
.static-page-content .container p,
.static-page-content .container li {
    color: var(--text-color);
    line-height: 1.8;
}
.static-page-content .container ul {
    list-style: disc;
    margin-left: var(--spacing-l);
    margin-bottom: var(--spacing-m);
}


/* Animations - Placeholder for scroll-triggered if JS adds classes */
.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);
}

/* Custom Slider default item counts for responsiveness (can be overridden by JS) */
@media (min-width: 768px) {
    .team-slider .slide {
        flex: 0 0 calc(50% - var(--spacing-l) / 2); /* 2 slides on tablet */
    }
}
@media (min-width: 1024px) {
    .team-slider .slide {
        flex: 0 0 calc(33.333% - var(--spacing-l) * 2 / 3); /* 3 slides on desktop */
    }
    .customer-stories-slider .slide, .testimonials-slider .slide {
        flex: 0 0 calc(50% - var(--spacing-l) / 2); /* 2 slides on desktop */
    }
}
@media (min-width: 1200px) {
     .customer-stories-slider .slide, .testimonials-slider .slide {
        flex: 0 0 calc(33.333% - var(--spacing-l) * 2 / 3); /* 3 slides on large desktop */
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .slider-control.prev { left: 0px; }
    .slider-control.next { right: 0px; }
}

@media (max-width: 768px) {
    .main-navigation .nav-list {
        display: none; /* Hidden for hamburger menu */
        position: absolute;
        top: calc(var(--header-height) - 1px); /* Adjust if header padding changes */
        left: 0;
        width: 100%;
        background-color: var(--primary-color-1); /* Solid background for mobile menu */
        flex-direction: column;
        padding: var(--spacing-s) 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .main-navigation.menu-open .nav-list {
        display: flex; /* Show when menu is open */
    }
    .main-navigation .nav-list li {
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-list a {
        display: block;
        padding: var(--spacing-m) var(--spacing-s);
        width: 100%;
        border-radius: 0;
    }
    .main-navigation .nav-list a:hover,
    .main-navigation .nav-list a.active {
        background-color: var(--accent-color-1);
        color: var(--text-color-light);
    }
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }

    .section { padding: var(--spacing-xl) 0; }
    .section-intro { font-size: 1rem; }

    .services-grid, .awards-grid, .news-grid, .resources-list {
        grid-template-columns: 1fr; /* Single column */
    }
    .statistics-widgets {
        flex-direction: column;
        align-items: center;
    }
    .widget {
        width: 80%;
        max-width: 300px;
    }
    .contact-content-wrapper {
        grid-template-columns: 1fr; /* Stack form and details */
    }

    /* Slider adjustments for mobile - typically show 1 item */
    .team-slider .slide,
    .customer-stories-slider .slide,
    .testimonials-slider .slide {
        flex: 0 0 100%;
        padding: 0 var(--spacing-xs); /* Ensure some spacing if cards nearly touch */
    }
    .slider-control { display: none; } /* Often hidden on mobile for swipe */
}

@media (max-width: 480px) {
    :root {
        --spacing-s: 0.8rem;
        --spacing-m: 1.2rem;
        --spacing-l: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }
    .container { width: 95%; }
    h1 { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .cta-button, button, input[type="submit"] {
        padding: var(--spacing-s) var(--spacing-m);
        font-size: 0.9rem;
    }
    .hero-section .cta-button {
        padding: var(--spacing-m) var(--spacing-l);
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column h4 { margin-top: var(--spacing-m); }
    .social-media-list {
        align-items: center;
    }
}