/* style.css */

/* --- ROOT VARIABLES --- */
:root {
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lato', sans-serif;

    /* Split-Complementary Color Scheme */
    --primary-color: #0A2463; /* Deep Blue */
    --primary-color-darker: #071A48;
    --primary-color-lighter: #183D8A;

    --accent-color-1: #D95D39; /* Burnt Orange */
    --accent-color-1-darker: #B84928;
    --accent-color-1-lighter: #E57C5C;

    --accent-color-2: #3E92CC; /* Sky Blue */
    --accent-color-2-darker: #2C7BB8;
    --accent-color-2-lighter: #6FB0E0;

    --text-color-light: #FFFFFF;
    --text-color-dark: #222222; /* Darker for better contrast on light bg */
    --text-color-medium: #555555;
    --text-color-subtle: #777777;

    --background-color-light: #FFFFFF;
    --background-color-soft: #F4F7F9; /* Very light gray for subtle section differentiation */
    --background-color-dark-overlay: rgba(0, 0, 0, 0.6); /* Overlay for text on images */
    --background-color-dark-overlay-hero: rgba(10, 36, 99, 0.4); /* Slightly tinted for hero */


    --border-color: #E0E0E0;
    --border-radius-small: 5px;
    --border-radius-medium: 8px;

    --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 15px rgba(0, 0, 0, 0.12);

    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;

    --header-height: 80px; /* Adjust as needed */

    /* Dynamic Color Transitions - Gradients */
    --gradient-primary-accent: linear-gradient(135deg, var(--primary-color), var(--accent-color-2));
    --gradient-accent-pair: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2-lighter));
    --gradient-section-light: linear-gradient(180deg, var(--background-color-soft) 0%, var(--background-color-light) 100%);
    --gradient-section-colored: linear-gradient(135deg, var(--primary-color-lighter) 0%, var(--accent-color-2) 100%);
}

/* --- RESET & BASE STYLES --- */
*,
*::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-secondary);
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
    line-height: 1.7;
    -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-primary);
    font-weight: 700;
    color: var(--text-color-dark); /* Ensure high contrast for headings */
    line-height: 1.3;
    margin-bottom: 0.75em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05); /* Subtle text shadow for depth */
}

h1 {
    font-size: 2.8rem; /* Responsive: adjust with media queries */
    font-weight: 900;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

h4 {
    font-size: 1.3rem;
    color: var(--text-color-medium);
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-color-medium);
}

a {
    color: var(--accent-color-1);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}

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

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

ul, ol {
    list-style-position: inside;
    padding-left: 0; /* Remove default padding */
}

/* --- LAYOUT & CONTAINER --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
}
.section-padding-gradient {
    padding-top: 70px;
    padding-bottom: 70px;
    background: var(--gradient-section-light);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

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

/* --- GLOBAL BUTTON STYLES --- */
.cta-button,
button,
input[type="submit"],
input[type="button"],
.submit-button,
.modal-trigger-button {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8em 1.8em;
    border: none;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition-speed) var(--transition-timing),
                transform var(--transition-speed) var(--transition-timing),
                box-shadow var(--transition-speed) var(--transition-timing);
    background-color: var(--accent-color-1);
    color: var(--text-color-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.submit-button:hover,
.modal-trigger-button:hover {
    background-color: var(--accent-color-1-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--accent-color-1-darker), 0.3);
}

.cta-button:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
.submit-button:focus,
.modal-trigger-button:focus {
    outline: 2px solid var(--accent-color-2);
    outline-offset: 2px;
}

.cta-button.secondary {
    background-color: var(--accent-color-2);
    color: var(--text-color-light);
}
.cta-button.secondary:hover {
    background-color: var(--accent-color-2-darker);
    box-shadow: 0 4px 10px rgba(var(--accent-color-2-darker), 0.3);
}


/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    backdrop-filter: blur(8px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    height: var(--header-height);
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
}

.logo .logo-accent {
    color: var(--accent-color-1);
}

.main-nav .nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav .nav-menu li {
    margin-left: 1.8rem;
}

.main-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-color-medium);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed) var(--transition-timing);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--accent-color-1);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color-1);
    transition: width var(--transition-speed) var(--transition-timing);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Above other nav elements */
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0s var(--transition-speed); /* Instant transition for color to avoid delay */
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform var(--transition-speed) var(--transition-timing),
                top var(--transition-speed) var(--transition-timing),
                bottom var(--transition-speed) var(--transition-timing);
}

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

.hamburger::after {
    bottom: -8px;
}

/* Active state for hamburger menu */
.nav-open .hamburger {
    background-color: transparent; /* Middle bar disappears */
}

.nav-open .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-open .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}


/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - var(--header-height)); /* Adjust if header is transparent initially */
    padding-top: var(--header-height); /* Account for fixed header */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-bg {
    background-attachment: fixed; /* Simple parallax */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color-dark-overlay-hero); /* Darker overlay */
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 3.5rem; /* Larger for hero */
    color: var(--text-color-light); /* Explicitly white as per requirement */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color-light); /* Explicitly white */
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-content .cta-button {
    font-size: 1.1rem;
    padding: 1em 2.2em;
}

/* --- CARDS (General Styles) --- */
.card {
    background-color: var(--background-color-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-timing),
                box-shadow var(--transition-speed) var(--transition-timing);
    display: flex;
    flex-direction: column;
    height: 100%; /* For equal height cards in a grid */
    text-align: center; /* Center content within the card */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image, .image-container { /* Container for the image */
    width: 100%;
    overflow: hidden;
    display: flex; /* For centering the image if it's smaller */
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
}

.card-image img, .image-container img {
    width: 100%;
    height: 250px; /* Fixed height for card images */
    object-fit: cover; /* Crop image to fit, maintaining aspect ratio */
    transition: transform var(--transition-speed) var(--transition-timing);
    margin: 0 auto; /* Ensure image itself is centered if not 100% width */
}

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

.card-content {
    padding: 1.8rem;
    flex-grow: 1; /* Allows content to fill space if card height is fixed */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if present */
}

.card-content h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-color-medium);
    flex-grow: 1; /* Allows paragraph to take up available space */
    margin-bottom: 1.2rem;
}

.card-content .modal-trigger-button,
.card-content .cta-button {
    margin-top: auto; /* Pushes button to the bottom */
    align-self: center; /* Center button if card content is flex */
}


/* "Read More" style link */
.read-more-link {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--accent-color-2);
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition-speed) var(--transition-timing);
}

.read-more-link::after {
    content: ' →'; /* Arrow */
}

.read-more-link:hover {
    color: var(--accent-color-2-darker);
    text-decoration: underline;
}


/* --- OUR PROCESS SECTION --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.process-card .card-image img {
    height: 200px; /* Slightly smaller for process steps */
}

.process-card h3 {
    color: var(--accent-color-1); /* Different accent for process steps */
}

/* --- CASE STUDIES SECTION --- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.case-study-card .card-image img {
    height: 280px;
}

.case-study-card .modal-trigger-button {
    background-color: var(--primary-color);
}
.case-study-card .modal-trigger-button:hover {
    background-color: var(--primary-color-darker);
}

/* --- INNOVATION SECTION --- */
.innovation-section {
    position: relative;
    color: var(--text-color-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.innovation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color-dark-overlay);
    z-index: 1;
}

.innovation-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.innovation-content .section-title,
.innovation-content p {
    color: var(--text-color-light);
}
.innovation-content .section-title {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.innovation-content p {
     text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


.innovation-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.innovation-point {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle glassmorphism */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--border-radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.innovation-point img { /* For SVG icons */
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem auto;
    filter: brightness(0) invert(1); /* Make SVG white if it's dark */
}

.innovation-point h3 {
    color: var(--text-color-light);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.innovation-point p {
    color: var(--text-color-light) !important; /* Override general p color */
    opacity: 0.9;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- ACCOLADES SECTION --- */
.accolades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center; /* Vertically align items if they have different heights */
    text-align: center;
    margin-top: 3rem;
}

.accolade-item {
    padding: 1.5rem;
    background-color: var(--background-color-soft);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accolade-item .card-image { /* Using card-image class for consistency */
    width: 120px; /* Smaller size for award logos/icons */
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 50%; /* Circular if desired for award icons */
    background-color: var(--background-color-light); /* Background for the icon container */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accolade-item .card-image img {
    width: 70%; /* Adjust based on actual icon size */
    height: 70%;
    object-fit: contain; /* Ensure full icon is visible */
}

.accolade-item p {
    font-size: 1rem;
    color: var(--text-color-dark);
    font-weight: 500;
    margin-bottom: 0;
}

/* --- EXTERNAL RESOURCES SECTION --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card { /* Extending .card */
    text-align: left; /* Resources might be better left-aligned */
}
.resource-card .card-content {
    padding: 1.5rem;
}
.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.resource-card h3 a {
    color: var(--primary-color);
    font-weight: 700;
}
.resource-card h3 a:hover {
    color: var(--accent-color-1);
}
.resource-card p {
    font-size: 0.9rem;
    color: var(--text-color-subtle);
    margin-bottom: 0;
}


/* --- CONTACT SECTION --- */
.contact-form {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    background-color: var(--background-color-soft);
    padding: 2.5rem;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
}
.form-group label.checkbox-label {
    display: inline-block;
    font-weight: normal;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color-medium);
}


.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-color-dark);
    background-color: var(--background-color-light);
    transition: border-color var(--transition-speed) var(--transition-timing),
                box-shadow var(--transition-speed) var(--transition-timing);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color-2);
    box-shadow: 0 0 0 3px rgba(var(--accent-color-2-rgb), 0.2); /* Using RGB for transparency */
}
:root { /* Add RGB versions of accent-color-2 */
    --accent-color-2-rgb: 62, 146, 204;
}

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

.form-group input[type="checkbox"] {
    margin-right: 0.3rem;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color-1);
}


.contact-form .submit-button {
    width: 100%;
    padding: 1em;
    font-size: 1.1rem;
}

/* --- MODAL WINDOWS --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if content is too long */
    background-color: rgba(0, 0, 0, 0.7); /* Darker semi-transparent overlay */
    backdrop-filter: blur(3px); /* Subtle blur for background */
    -webkit-backdrop-filter: blur(3px);
}

.modal-content {
    background-color: var(--background-color-light);
    margin: 10% auto; /* Centered, adjust top margin for different screen heights */
    padding: 2.5rem;
    border-radius: var(--border-radius-medium);
    width: 80%;
    max-width: 700px;
    box-shadow: var(--shadow-medium);
    position: relative;
    text-align: left; /* Modal content is usually left-aligned */
}

.modal-content .card-image { /* Image inside modal */
    margin-bottom: 1.5rem;
}
.modal-content .card-image img {
    border-radius: var(--border-radius-small);
    height: auto; /* Allow image to define its height */
    max-height: 400px; /* Prevent excessively tall images */
    object-fit: contain;
}


.close-button {
    color: var(--text-color-subtle);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    transition: color var(--transition-speed) var(--transition-timing);
}

.close-button:hover,
.close-button:focus {
    color: var(--text-color-dark);
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--primary-color-darker);
    color: var(--text-color-light);
    padding: 3rem 0 1.5rem 0;
    font-size: 0.95rem;
}

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

.site-footer h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h4::after { /* Underline for footer headings */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color-1);
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 0.7rem;
}

.site-footer ul li a {
    color: #c0c8e0; /* Lighter blueish-gray for links */
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing),
                padding-left var(--transition-speed) var(--transition-timing);
}

.site-footer ul li a:hover {
    color: var(--text-color-light);
    padding-left: 5px; /* Subtle hover effect */
    text-decoration: underline;
}

.footer-social ul {
    display: flex;
    gap: 1rem; /* For horizontal social links if needed, or keep vertical */
}
.footer-social ul li a { /* Text-only social links */
    font-weight: 500;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #c0c8e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: #a0aac8; /* Even lighter for copyright */
}
.footer-bottom p {
    margin-bottom: 0.3em;
}

/* --- PAGE-SPECIFIC STYLES --- */

/* ABOUT PAGE */
.page-hero { /* General hero for subpages */
    position: relative;
    min-height: 40vh; /* Shorter than main hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: var(--header-height);
}
.page-hero .hero-overlay {
    background-color: var(--background-color-dark-overlay); /* Generic dark overlay */
}
.page-hero .page-title {
    color: var(--text-color-light);
    font-size: 2.8rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.about-content .about-text-column {
    max-width: 800px; /* For better readability */
    margin: 0 auto 3rem auto;
    text-align: left; /* Standard text alignment */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card .card-image img {
    height: 280px; /* Square or portrait usually */
    border-radius: var(--border-radius-small); /* Or 50% for circular portraits */
}
.team-member-card .role {
    font-style: italic;
    color: var(--accent-color-2);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* CONTACTS PAGE */
.contact-details-section .contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 3rem;
}
@media (min-width: 992px) {
    .contact-details-section .contact-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); /* 2 columns on larger screens */
    }
}

.contact-info-column ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}
.contact-info-column ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-color-medium);
}
.contact-info-column ul li strong {
    color: var(--text-color-dark);
    margin-right: 0.5em;
}
.contact-info-column ul li a {
    color: var(--accent-color-1);
}

.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 350px; /* Set a fixed height for the map iframe wrapper */
}
.map-container iframe {
    width: 100%;
    height: 100%; /* Make iframe fill the container */
    border: 0;
}

/* PRIVACY & TERMS PAGES */
.privacy-page-content,
.terms-page-content { /* Specific classes for these pages if needed */
    padding-top: calc(var(--header-height) + 40px); /* Space for fixed header */
    padding-bottom: 40px;
}
.legal-content {
    padding-top: calc(var(--header-height) + 40px);
    max-width: 850px; /* Good for readability */
    margin-left: auto;
    margin-right: auto;
}
.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color-2-lighter);
    padding-bottom: 0.5rem;
}
.legal-content p, .legal-content ul li {
    margin-bottom: 1rem;
    line-height: 1.8;
}
.legal-content ul {
    margin-left: 1.5rem; /* Indent list items */
    margin-bottom: 1.5rem;
}


/* SUCCESS PAGE */
.success-section {
    min-height: calc(100vh - var(--header-height) - 138px); /* 138px is approx footer height. Adjust this. */
    /* Or use flex for full page centering regardless of footer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height); /* Account for fixed header */
}
/* Alternative for full viewport height for success, if footer is not too tall */
body[data-barba-namespace="success"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body[data-barba-namespace="success"] main {
    flex-grow: 1;
    display: flex; /* To make .success-section fill the main area */
}
body[data-barba-namespace="success"] .success-section {
    flex-grow: 1; /* Makes section take remaining space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0; /* Remove bottom padding if it pushes content too much */
}


.success-icon img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}
.success-section h1 {
    color: var(--accent-color-2);
    font-size: 2.5rem;
}
.success-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}


/* --- COOKIE CONSENT POPUP --- */
/* Basic styling provided in HTML, this can enhance it */
#cookieConsentPopup {
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    display: flex; /* For better alignment of text and buttons */
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Space between paragraph and buttons */
}
#cookieConsentPopup p {
    margin: 0; /* Reset margin from general p */
    max-width: 90%;
}
#cookieConsentPopup button {
    transition: opacity 0.2s ease;
}
#cookieConsentPopup button:hover {
    opacity: 0.85;
    transform: none; /* Override global button hover transform if not desired */
    box-shadow: none; /* Override global button hover shadow */
}
#acceptCookieButton {
    background-color: var(--accent-color-2); /* Green or positive color */
}
#acceptCookieButton:hover {
    background-color: var(--accent-color-2-darker);
}
#closeCookieButton {
    background-color: var(--text-color-subtle); /* Neutral or less prominent */
}
#closeCookieButton:hover {
    background-color: var(--text-color-medium);
}

@media (min-width: 768px) {
    #cookieConsentPopup {
        flex-direction: row; /* Horizontal layout on larger screens */
        justify-content: space-between;
        padding: 15px 30px;
    }
    #cookieConsentPopup p {
        text-align: left;
        margin-right: 20px;
    }
    #cookieConsentPopup button {
        margin: 0 5px;
    }
}


/* --- RESPONSIVE DESIGN (Media Queries) --- */
@media (max-width: 991px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    h2, .section-title { font-size: 2rem; }

    .main-nav .nav-menu {
        display: none; /* Hide on mobile by default */
        flex-direction: column;
        position: absolute;
        top: var(--header-height); /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--background-color-light);
        box-shadow: var(--shadow-soft);
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }

    .main-nav .nav-menu.nav-menu-open {
        display: flex; /* Show when toggled */
    }

    .main-nav .nav-menu li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .main-nav .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        background-color: var(--background-color-soft);
    }
    .main-nav .nav-link::after {
        display: none; /* No underline for mobile nav items */
    }

    .nav-toggle {
        display: block; /* Show hamburger */
    }
}

@media (max-width: 767px) {
    .container {
        width: 95%;
    }
    h1 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    h2, .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }

    .section-padding, .section-padding-gradient {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .process-grid, .case-studies-grid, .team-grid, .accolades-grid, .resources-grid, .innovation-points {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
        gap: 1.5rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-social ul {
        justify-content: center;
    }

    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 1.5rem;
    }
    .close-button {
        top: 0.5rem;
        right: 1rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content .cta-button { font-size: 1rem; padding: 0.8em 1.5em; }

    .contact-form {
        padding: 1.5rem;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 0.8rem;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* Barba.js transitions (example - can be more complex) */
.barba-leave-active,
.barba-enter-active {
  transition: opacity 0.5s var(--transition-timing);
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}