/* GLOBAL RESET & BASIC SETUP */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* CSS VARIABLES */
:root {
    /* Fonts */
    --font-primary: 'Archivo Black', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Tetradic Color Scheme (Example) */
    --primary-color: #087F5B;   /* Teal Green - calming, natural */
    --primary-color-dark: #076C4F;
    --secondary-color: #C92A2A; /* Strong Red - energetic accent */
    --secondary-color-dark: #A52323;
    --accent-color-1: #F08C00;  /* Warm Orange - inviting */
    --accent-color-1-dark: #D07800;
    --accent-color-2: #5F3DC4;  /* Deep Violet - spiritual, sophisticated */
    --accent-color-2-dark: #4D31A0;

    /* Text Colors */
    --text-color-light: #FFFFFF;
    --text-color-dark: #343A40;      /* Dark gray for body text */
    --text-color-headings: #212529; /* Very dark gray/black for headings */
    --text-color-muted: #6C757D;    /* Lighter gray for less important text */

    /* Background Colors */
    --background-color-light: #F8F9FA; /* Very light gray / off-white */
    --background-color-medium: #E9ECEF; /* Light gray */
    --background-color-dark: #212529;   /* Dark for footer/contrasting sections */

    /* Glassmorphism & Volumetric UI */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-light-tint: rgba(255, 255, 255, 0.45); /* For cards on light backgrounds */
    --glass-border-color: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --backdrop-blur: 10px;
    --volumetric-shadow-light: -5px -5px 10px rgba(255, 255, 255, 0.7), 5px 5px 10px rgba(0, 0, 0, 0.1);
    --volumetric-shadow-dark: -3px -3px 7px rgba(50, 50, 50, 0.5), 3px 3px 7px rgba(0, 0, 0, 0.3);

    /* Borders & Spacing */
    --border-radius-main: 15px;
    --border-radius-small: 8px;
    --spacing-unit: 1rem; /* 16px */
    --section-padding: calc(var(--spacing-unit) * 4); /* 64px */
    --header-height: 80px;

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.4s;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-color-headings);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; } /* Section Titles */
h3 { font-size: 1.6rem; } /* Card Titles */
h4 { font-size: 1.3rem; }
p {
    margin-bottom: var(--spacing-unit);
    color: var(--text-color-dark);
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed-fast) ease;
}
a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

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


/* LAYOUT HELPERS */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
}

.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.section-padding-bg { /* For sections with background images/colors */
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-size: 2.5rem; /* Ensure section titles are prominent */
    color: var(--text-color-headings);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}

/* Columns (Basic - can be enhanced with Bulma or Bootstrap if fully integrated) */
.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: -0.75rem;
}
.column {
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75rem;
}
.column.is-two-thirds {
    flex: none;
    width: 66.6666%;
}
@media screen and (max-width: 768px) {
    .column.is-two-thirds {
        width: 100%;
    }
}

/* GLOBAL COMPONENT STYLES */

/* Buttons */
.cta-button, .learn-more-button, .secondary-button, .form-submit-button {
    display: inline-block;
    padding: calc(var(--spacing-unit)*0.8) calc(var(--spacing-unit)*2);
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all var(--transition-speed-normal) ease;
    border: none;
    box-shadow: var(--volumetric-shadow-dark); /* Subtle 3D effect */
    transform-style: preserve-3d;
}
.cta-button:hover, .learn-more-button:hover, .secondary-button:hover, .form-submit-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.cta-button:active, .learn-more-button:active, .secondary-button:active, .form-submit-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.cta-button, .form-submit-button { /* Primary buttons */
    background-color: var(--primary-color);
    color: var(--text-color-light);
}
.cta-button:hover, .form-submit-button:hover {
    background-color: var(--primary-color-dark);
    color: var(--text-color-light);
}

.secondary-button {
    background-color: var(--accent-color-1);
    color: var(--text-color-light);
}
.secondary-button:hover {
    background-color: var(--accent-color-1-dark);
    color: var(--text-color-light);
}

.learn-more-button {
    background-color: transparent;
    color: var(--accent-color-2);
    border: 2px solid var(--accent-color-2);
    box-shadow: none;
}
.learn-more-button:hover {
    background-color: var(--accent-color-2);
    color: var(--text-color-light);
    box-shadow: 0 4px 10px rgba(95, 61, 196, 0.3);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background-color: var(--text-color-light); /* Opaque background for better readability */
    border-radius: var(--border-radius-main);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center card-image and card-content */
    transition: transform var(--transition-speed-normal) ease, box-shadow var(--transition-speed-normal) ease;
    height: 100%; /* For equal height cards in a grid */
}
.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.card-image, .image-container { /* Ensure this is the direct child for image */
    width: 100%;
    height: 200px; /* Example fixed height for card images */
    overflow: hidden;
    margin-bottom: var(--spacing-unit);
    display: flex; /* For centering image if it's smaller */
    justify-content: center;
    align-items: center;
}
.card-image img, .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove extra space below image */
    transition: transform var(--transition-speed-normal) ease;
}
.card:hover .card-image img, .card:hover .image-container img {
    transform: scale(1.05);
}
.card-content {
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center; /* Center text content within the card */
    flex-grow: 1; /* Allows content to take up space for equal height cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom if card has varying content height */
}
.card-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Specific Card types may need adjustments */
.service-card .card-content h3 { color: var(--accent-color-1); }
.project-card .card-content h3 { color: var(--accent-color-2); }
.pricing-card .card-content h3 { color: var(--secondary-color); }


/* HEADER & NAVIGATION */
.site-header {
    background-color: rgba(33, 37, 41, 0.85); /* Dark, slightly transparent */
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    padding: calc(var(--spacing-unit)*0.5) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: var(--header-height);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo img {
    max-height: 50px;
    width: auto;
    transition: transform var(--transition-speed-fast) ease;
}
.logo img:hover {
    transform: scale(1.05);
}
.main-navigation .nav-links {
    list-style: none;
    display: flex;
}
.main-navigation .nav-links li {
    margin-left: calc(var(--spacing-unit) * 1.5);
}
.main-navigation .nav-links a {
    color: var(--text-color-light);
    font-weight: 500;
    padding: calc(var(--spacing-unit)*0.5) var(--spacing-unit);
    border-radius: var(--border-radius-small);
    transition: background-color var(--transition-speed-fast) ease, color var(--transition-speed-fast) ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.main-navigation .nav-links a:hover,
.main-navigation .nav-links a.active {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 2rem;
    cursor: pointer;
}

/* Main content padding for fixed header */
main {
    padding-top: var(--header-height);
}

/* HERO SECTION */
.hero-section {
    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; /* For overlay */
    background-attachment: fixed; /* Simple parallax */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Darken for text readability */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-unit) * 2;
    max-width: 800px;
}
.hero-content h1 {
    color: var(--text-color-light); /* Ensured by HTML, reinforced here */
    font-size: 3.5rem;
    margin-bottom: var(--spacing-unit);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-content p {
    color: var(--text-color-light); /* Ensured by HTML, reinforced here */
    font-size: 1.3rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.hero-content .cta-button {
    padding: calc(var(--spacing-unit)*1) calc(var(--spacing-unit)*2.5);
    font-size: 1.2rem;
    background-color: var(--accent-color-1);
}
.hero-content .cta-button:hover {
    background-color: var(--accent-color-1-dark);
}


/* SERVICES SECTION */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

/* ABOUT US SECTION */
.about-us-short-section .about-content {
    align-items: center; /* Vertically align columns if different heights */
}
.volumetric-image img {
    border-radius: var(--border-radius-main);
    box-shadow: var(--volumetric-shadow-light);
    max-width: 100%;
    height: auto;
}

/* CUSTOMER STORIES SECTION */
.stories-slider { /* Basic styling, actual slider JS will handle movement */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}
.story-card {
    background-color: var(--background-color-medium);
    border-left: 5px solid var(--primary-color);
}
.story-card .card-image img { /* Testimonial portraits */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: calc(var(--spacing-unit) * -0.5); /* Slight overlap */
    border: 3px solid var(--text-color-light);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.story-card blockquote {
    font-style: italic;
    color: var(--text-color-dark);
    margin: 0;
}
.story-card blockquote p {
    margin-bottom: var(--spacing-unit);
}
.story-card footer {
    font-weight: bold;
    color: var(--primary-color);
    font-style: normal;
}

/* MEDIA SECTION */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}
.media-item {
    background: var(--text-color-light);
    border-radius: var(--border-radius-small);
    box-shadow: var(--box-shadow-soft);
    padding: var(--spacing-unit);
    text-align: center;
}
.media-thumbnail {
    position: relative;
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius-small);
    overflow: hidden;
}
.media-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.media-thumbnail:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0,0,0,0.6);
}
.media-item h3 {
    font-size: 1.2rem;
    color: var(--accent-color-2);
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
}

/* RESEARCH / EXTERNAL RESOURCES SECTION */
.research-section {
    background-color: var(--background-color-medium);
}
.resources-list .resource-item {
    background: var(--text-color-light);
    padding: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius-small);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.resources-list .resource-item h4 a {
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-weight: bold;
}

/* PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    align-items: stretch; /* Make cards in a row same height if content differs */
}
.pricing-card {
    border: 1px solid var(--background-color-medium);
}
.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: var(--spacing-unit) 0;
}

/* FAQ SECTION */
.faq-section {
    background-color: var(--background-color-medium);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: var(--text-color-light);
    margin-bottom: var(--spacing-unit);
    border-radius: var(--border-radius-small);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: calc(var(--spacing-unit)*1.2) var(--spacing-unit);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color-headings);
}
.faq-question:hover {
    background-color: rgba(0,0,0,0.02);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed-fast) ease;
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) ease-out, padding var(--transition-speed-normal) ease-out;
}
.faq-answer p {
    padding: 0 var(--spacing-unit) calc(var(--spacing-unit)*1.2) var(--spacing-unit);
    margin:0;
    color: var(--text-color-dark);
}
.faq-question[aria-expanded="true"] + .faq-answer {
    /* JS will set max-height to scrollHeight */
    padding-bottom: calc(var(--spacing-unit)*1.2);
}


/* CONTACT SECTION */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 3) auto;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius-main);
}
.glassmorphic-form {
    background: var(--glass-bg-light-tint);
    backdrop-filter: blur(var(--backdrop-blur));
    -webkit-backdrop-filter: blur(var(--backdrop-blur));
    border: 1px solid var(--glass-border-color);
    box-shadow: var(--glass-shadow);
}
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-color-headings);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: var(--spacing-unit);
    border-radius: var(--border-radius-small);
    border: 1px solid #ced4da; /* Light gray border */
    background-color: rgba(255,255,255,0.8); /* Slightly transparent for glassmorphism */
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed-fast) ease, box-shadow var(--transition-speed-fast) ease;
}
.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(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25); /* Use RGB version of primary color if available */
}
/* For box-shadow focus, define --primary-color-rgb: R, G, B; */
:root { --primary-color-rgb: 8, 127, 91; /* From #087F5B */ }

.toggle-group {
    display: flex;
    align-items: center;
}
.toggle-label {
    margin-right: var(--spacing-unit);
    margin-bottom: 0 !important; /* Override .form-group label */
}
/* Switch Toggle Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--primary-color);
}
input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}
input:checked + .slider:before {
    transform: translateX(26px);
}

.contact-details {
    text-align: center;
}
.contact-details h3 {
    margin-bottom: var(--spacing-unit);
}
.contact-details p {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.contact-details .icon-placeholder { /* If you want to style these spans */
    margin-right: calc(var(--spacing-unit) * 0.5);
    color: var(--primary-color);
}

/* FOOTER */
.site-footer {
    color: var(--text-color-light);
    background-color: var(--background-color-dark); /* Fallback if image fails */
    position: relative; /* For overlay */
}
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 40, 0.85), rgba(10, 25, 40, 0.95)); /* Dark blueish tint */
    z-index: 1;
}
.footer-content {
    position: relative;
    z-index: 2;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.footer-column h4 {
    color: var(--accent-color-1);
    margin-bottom: var(--spacing-unit);
    font-family: var(--font-primary);
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.footer-column a {
    color: #adb5bd; /* Lighter gray for footer links */
    text-decoration: none;
}
.footer-column a:hover {
    color: var(--text-color-light);
    text-decoration: underline;
}
.social-links-text a {
    display: inline-block; /* Or block for full-width links */
    padding: 5px 0;
}
.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 1.5);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #adb5bd;
}

/* PAGE-SPECIFIC STYLES */

/* For privacy.html, terms.html */
.static-page-content { /* Add this class to the main content container of these pages */
    padding-top: calc(var(--header-height) + var(--section-padding)); /* Header height + some extra */
    padding-bottom: var(--section-padding);
    min-height: calc(100vh - var(--header-height) - 140px); /* Adjust 140px based on footer height */
}
.static-page-content .container {
    max-width: 800px; /* Narrower content for text-heavy pages */
}
.static-page-content h1 {
    margin-bottom: var(--spacing-unit) * 2;
    text-align: center;
}

/* For success.html */
.success-page-container { /* Add this class to the body or a main wrapper of success.html */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-unit);
    background-color: var(--background-color-light);
}
.success-message-box {
    background-color: var(--text-color-light);
    padding: calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px;
}
.success-message-box h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}
.success-message-box p {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}


/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
    .main-navigation .menu-toggle {
        display: block; /* Show burger icon */
    }
    .main-navigation .nav-links {
        display: none; /* Hide links by default on mobile */
        position: absolute;
        top: var(--header-height); /* Position below header */
        left: 0;
        width: 100%;
        background-color: rgba(33, 37, 41, 0.98); /* Solid dark for dropdown */
        flex-direction: column;
        padding: var(--spacing-unit) 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-navigation .nav-links.active {
        display: flex; /* Show when active */
    }
    .main-navigation .nav-links li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-navigation .nav-links a {
        display: block;
        padding: calc(var(--spacing-unit)*0.8) var(--spacing-unit);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .main-navigation .nav-links li:last-child a {
        border-bottom: none;
    }

    .hero-section { min-height: 80vh; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .columns {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        width: 100% !important; /* Stack columns */
        padding-left: 0;
        padding-right: 0;
    }
    .footer-columns {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .footer-column ul {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: calc(var(--spacing-unit) * 2.5);
    }
    .container {
        width: 95%;
    }
    h1 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .cta-button, .learn-more-button, .secondary-button, .form-submit-button {
        padding: calc(var(--spacing-unit)*0.7) calc(var(--spacing-unit)*1.5);
        font-size: 0.9rem;
    }
    .services-grid, .media-grid, .projects-grid, .pricing-grid, .stories-slider {
        grid-template-columns: 1fr; /* Single column for cards on small screens */
    }
}

/* Animations (AOS will handle scroll, this is for hovers etc.) */
.animated-button { /* Example simple animation */
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Utility Classes */
.mb-1 { margin-bottom: calc(var(--spacing-unit) * 0.5); }
.mb-2 { margin-bottom: var(--spacing-unit); }
.mb-3 { margin-bottom: calc(var(--spacing-unit) * 1.5); }
.mt-1 { margin-top: calc(var(--spacing-unit) * 0.5); }
.mt-2 { margin-top: var(--spacing-unit); }
.mt-3 { margin-top: calc(var(--spacing-unit) * 1.5); }


/* Ensure sufficient contrast and readability */
.section-padding-bg::before { /* General overlay for background images */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust as needed */
    z-index: 0; /* Behind content */
    pointer-events: none; /* Allow clicks through */
}
.section-padding-bg > .container { /* Ensure content is above overlay */
    position: relative;
    z-index: 1;
}
/* For sections where overlay is explicitly defined like hero, this might be redundant or need adjustment. */
/* Example: if section already has an overlay, remove this generic one or make it conditional */
#hero.section-padding-bg::before,
.site-footer.section-padding-bg::before {
    display: none; /* Disable generic overlay if specific one exists */
}
html,body{
    overflow-x: hidden;
}