/*
  CSS File for ElektroExpertSK
  Design System: Futuristic with Eco-minimalism
  Color Scheme: Neutral
  Animation Style: Parallax
  Fonts: Archivo Black (Headings), Roboto (Body)
*/

/* -------------------------------------------------------------------
 * ## 1. Root Variables and Basic Reset
 * ------------------------------------------------------------------- */
:root {
    --font-primary: 'Roboto', sans-serif;
    --font-headings: 'Archivo Black', sans-serif;

    --color-text-primary: #313943; /* Dark grayish blue - neutral and modern */
    --color-text-secondary: #5f6c7b; /* Softer gray for secondary text */
    --color-text-light: #FFFFFF;
    --color-text-headings: #1a1f25; /* Very dark, almost black for strong headings */
    --color-text-link: var(--color-primary-accent);
    --color-text-link-hover: var(--color-primary-accent-darker);

    --color-background-body: #FDFDFD; /* Very light, clean off-white */
    --color-background-light: #FFFFFF;
    --color-background-alt: #F0F2F5;  /* Light gray, eco-minimalist feel */
    --color-background-dark-overlay: rgba(10, 20, 30, 0.55);
    --color-background-dark-overlay-stronger: rgba(5, 10, 15, 0.7);

    --color-primary-accent: #6A8E7F; /* Muted Green - Eco, Futuristic */
    --color-primary-accent-darker: #507162; /* Darker shade for hover */
    --color-secondary-accent: #A0AEC0; /* Neutral accent for borders, subtle elements */

    --border-radius-small: 4px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;

    --box-shadow-light: 0 2px 8px rgba(49, 57, 67, 0.07);
    --box-shadow-medium: 0 5px 15px rgba(49, 57, 67, 0.1);
    --box-shadow-strong: 0 8px 25px rgba(49, 57, 67, 0.12);

    --header-height: 70px;
    --footer-height: auto;
    --transition-speed: 0.3s;
    --transition-easing: ease-in-out;

    --container-max-width: 1140px;
    --container-padding: 0 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-background-body);
    font-weight: 400;
    overflow-x: hidden; /* Prevent horizontal scroll from AOS or other elements */
}

/* -------------------------------------------------------------------
 * ## 2. Typography
 * ------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-text-headings);
    margin-bottom: 0.75em;
    line-height: 1.3;
    font-weight: 400; /* Archivo Black is already bold */
    text-rendering: optimizeLegibility;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 1.5em; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1.25em;
    color: var(--color-text-secondary);
}

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

a:hover, a:focus {
    color: var(--color-text-link-hover);
    text-decoration: none; /* Keep it clean */
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

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

/* -------------------------------------------------------------------
 * ## 3. Layout
 * ------------------------------------------------------------------- */
.main-container {
    width: 100%;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.columns {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.column {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 15px;
    min-width: 0; /* Important for flex items that might overflow */
}

.column.is-two-thirds {
    flex: none;
    width: 66.6666%;
}
.column.is-one-third { /* Assuming the other column in HTML is one-third */
    flex: none;
    width: 33.3333%;
}

.image-container {
    margin-bottom: 1.5em;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.centered-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.centered-image img {
    max-width: 100%;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
}

/* -------------------------------------------------------------------
 * ## 4. Header & Navigation
 * ------------------------------------------------------------------- */
.site-header {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent for futuristic feel */
    backdrop-filter: blur(10px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    padding: 0; /* Let container handle padding */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--box-shadow-light);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: var(--font-headings);
    font-size: 1.8em !important; /* Override inline style if needed, or match it */
    color: var(--color-text-headings) !important;
    text-decoration: none;
    font-weight: normal; /* Archivo Black is bold by default */
}
.logo span {
    color: var(--color-primary-accent) !important;
}

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

.main-nav .nav-list li {
    margin-left: 25px;
}

.main-nav .nav-list li a {
    font-family: var(--font-primary);
    font-weight: 700; /* Bold for nav links */
    font-size: 0.95rem;
    color: var(--color-text-primary);
    text-decoration: none;
    padding: 10px 5px;
    position: relative;
    transition: color var(--transition-speed) var(--transition-easing);
}

.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary-accent);
    transition: width var(--transition-speed) var(--transition-easing);
}

.main-nav .nav-list li a:hover,
.main-nav .nav-list li a:focus,
.main-nav .nav-list li a.active { /* Add .active class via JS for current page/section */
    color: var(--color-primary-accent);
}

.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a:focus::after,
.main-nav .nav-list li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav list on mobile */
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    background-color: var(--color-text-headings);
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: all var(--transition-speed) var(--transition-easing);
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(5px); /* Adjusted because the main bar is 3px thick */
}

/* Mobile menu open state */
.menu-toggle.is-active .hamburger {
    background-color: transparent; /* Hide middle bar */
}
.menu-toggle.is-active .hamburger::before {
    transform: translateY(0px) rotate(45deg);
}
.menu-toggle.is-active .hamburger::after {
    transform: translateY(-3px) rotate(-45deg); /* Align with the new center */
}

/* -------------------------------------------------------------------
 * ## 5. Global Button Styles
 * ------------------------------------------------------------------- */
.cta-button,
button[type="submit"] { /* General form submit buttons */
    display: inline-block;
    background-color: var(--color-primary-accent);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    padding: 12px 30px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    border: 2px solid var(--color-primary-accent);
    cursor: pointer;
    transition: background-color var(--transition-speed) var(--transition-easing),
                color var(--transition-speed) var(--transition-easing),
                transform var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
    box-shadow: var(--box-shadow-light);
}

.cta-button:hover, .cta-button:focus,
button[type="submit"]:hover, button[type="submit"]:focus {
    background-color: var(--color-primary-accent-darker);
    border-color: var(--color-primary-accent-darker);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-medium);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: var(--color-text-primary);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CCD1D9; /* Softer border */
    border-radius: var(--border-radius-small);
    background-color: var(--color-background-light);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
}

.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(--color-primary-accent);
    box-shadow: 0 0 0 3px rgba(106, 142, 127, 0.2); /* Focus ring */
}

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

.form-group input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
    width: 18px; /* Custom checkbox size */
    height: 18px;
    accent-color: var(--color-primary-accent); /* Modern way to style checkbox */
}

.checkbox-label {
    font-weight: normal !important; /* Override label global if needed */
    font-size: 0.9rem !important;
    color: var(--color-text-secondary) !important;
    display: inline !important; /* Ensure it aligns with checkbox */
}
.checkbox-label a {
    color: var(--color-primary-accent);
    text-decoration: underline;
}

/* -------------------------------------------------------------------
 * ## 7. Card Styles (Generic)
 * ------------------------------------------------------------------- */
.card {
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
    display: flex;
    flex-direction: column;
    /* align-items: center; /* This might be too restrictive globally, better per-card type if needed */
    text-align: left; /* Default, can be overridden */
    height: 100%; /* For equal height cards in a grid */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.card-image { /* Container for the image */
    width: 100%;
    height: 200px; /* Or a specific aspect ratio using padding-top trick if needed */
    overflow: hidden;
    display: flex;      /* For centering animated icons */
    align-items: center;/* For centering animated icons */
    justify-content: center;/* For centering animated icons */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px 25px;
    flex-grow: 1; /* Allows content to fill space for equal height cards */
    display: flex;
    flex-direction: column;
}
.card-content h3, .card-content h4 {
    margin-top: 0;
    color: var(--color-text-headings);
}
.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Pushes button to bottom if any */
}
.card-content .cta-button {
    margin-top: auto; /* Pushes button to bottom */
    align-self: flex-start; /* Aligns button to left */
}

/* For cards that should have centered content inside card-content */
.card.text-center .card-content,
.card-content.text-center {
    text-align: center;
}
.card.text-center .card-content .cta-button,
.card-content.text-center .cta-button {
    align-self: center;
}


/* -------------------------------------------------------------------
 * ## 8. Section-Specific Styles
 * ------------------------------------------------------------------- */

/* Hero Section */
.hero-section {
    padding: 120px 0 100px; /* Extra top padding for fixed header */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--color-text-light); /* Ensured by HTML linear-gradient */
    text-align: center; /* Center content */
}
.hero-content h1 {
    font-size: 3.2rem; /* Larger for hero */
    margin-bottom: 0.5em;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Ensure readability */
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-light); /* Explicitly white */
    text-shadow: 0 1px 3px rgba(0,0,0,0.4); /* Ensure readability */
}
.hero-section .cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* General Content Section Styling */
.content-section {
    padding: 60px 0;
}
.content-section.alt-background {
    background-color: var(--color-background-alt);
}

.section-title {
    margin-bottom: 1em; /* Default adjusted */
    text-align: center;
    color: var(--color-text-headings) !important; /* Ensure dark titles on light backgrounds */
}
.section-title + .section-subtitle {
    margin-top: -1em; /* Pull subtitle closer if it directly follows */
    margin-bottom: 2.5em;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
}

/* About Us Section */
#about .image-container img {
    border-radius: var(--border-radius-medium);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.feature-item.card .card-image {
    height: auto; /* For icons */
    padding: 20px 0 0; /* Space for icon */
}
.feature-item.card .animated-icon {
    font-size: 3rem; /* Example size for emoji icons */
    color: var(--color-primary-accent);
    margin-bottom: 15px;
    text-align: center;
}
.feature-item.card .card-content {
    text-align: center;
}

.stats-widgets-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    text-align: center;
}
.stat-widget {
    padding: 20px;
    background-color: var(--color-background-light);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
    min-width: 200px;
    flex: 1;
}
.stat-number {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--color-primary-accent);
    display: block;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Our Process Section */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--color-background-light);
    padding: 25px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-light);
}
.step-number {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--color-primary-accent);
    background-color: #EBF0EE; /* Light green accent bg */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-content h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

/* Vision Section */
.parallax-background {
    background-attachment: fixed; /* Simple parallax */
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    padding: 80px 0;
    position: relative;
}
.parallax-background h2, .parallax-background p {
    position: relative;
    z-index: 2; /* Above overlay */
    color: var(--color-text-light); /* Ensure white text from HTML is applied */
}
.parallax-background h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.parallax-background p {
     text-shadow: 0 1px 3px rgba(0,0,0,0.5);
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
}
/* The linear-gradient overlay is applied inline in HTML, which is fine */

/* Accolades Section (Carousel) */
.carousel-container {
    /* Basic styling for container, JS will handle actual carousel logic */
    display: grid; /* Fallback or for simple display */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    /* If using a JS carousel, it might override this display */
}
.carousel-slide.card .card-image {
    height: 180px; /* Example fixed height */
}
.carousel-slide.card .card-content {
    text-align: center;
}

/* Workshops Section */
#workshops .image-container img {
    border-radius: var(--border-radius-medium);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.team-member.card .card-image {
    height: 280px; /* Square-ish for portraits */
    border-radius: 0; /* Image fills top part */
}
.team-member.card .card-image img {
    border-radius: 0; /* Ensure no radius conflict */
}
.team-member.card .card-content {
    text-align: center;
}
.team-member.card .card-content h4 {
    margin-bottom: 0.2em;
}
.team-member.card .card-content p:first-of-type { /* Role */
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-bottom: 0.8em;
    font-size: 0.9rem;
}
.member-bio {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Careers Section */
#careers ul {
    list-style: disc;
    padding-left: 20px;
}
#careers ul li {
    margin-bottom: 0.5em;
}

/* External Resources Section */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.resource-item.card .card-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5em;
}
.resource-item.card .card-content h4 a {
    color: var(--color-text-headings);
    transition: color var(--transition-speed) var(--transition-easing);
}
.resource-item.card .card-content h4 a:hover {
    color: var(--color-primary-accent);
}
.resource-item.card .card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Section */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto 40px auto;
    background-color: var(--color-background-light);
    padding: 30px 40px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--box-shadow-medium);
}
.contact-details {
    text-align: center;
}
.contact-details p {
    margin-bottom: 0.8em;
    font-size: 1rem;
}
.contact-details strong {
    color: var(--color-text-primary);
}

/* -------------------------------------------------------------------
 * ## 9. Footer Styles
 * ------------------------------------------------------------------- */
.site-footer {
    background-color: #1e242c; /* Dark footer for contrast */
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
}
.footer-column {
    flex: 1;
    min-width: 200px; /* Ensure columns don't get too squished */
}
.footer-column h4 {
    font-family: var(--font-headings);
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1em;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 0.8em;
}
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}
.footer-column ul li a:hover {
    color: var(--color-text-light);
}
.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}
.social-links-text li a { /* Explicitly for text links */
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------------------------------------------
 * ## 10. Specific Page Styles
 * ------------------------------------------------------------------- */

/* Success Page */
body.success-page-body { /* Add this class to body on success.html */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.success-page-body .site-header,
.success-page-body .site-footer {
    flex-shrink: 0; /* Prevent header/footer from shrinking */
}
.success-container-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px var(--container-padding);
    margin-top: var(--header-height); /* Account for fixed header */
}
.success-content {
    background-color: var(--color-background-light);
    padding: 40px 50px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-strong);
    max-width: 600px;
}
.success-content h1 {
    color: var(--color-primary-accent);
    font-size: 2.5rem;
}
.success-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5em;
}
.success-content .cta-button {
    margin-top: 1em;
}

/* Privacy & Terms Pages */
body.privacy-page-body,
body.terms-page-body { /* Add these classes to body on respective pages */
    padding-top: var(--header-height); /* Ensure content not under fixed header */
}
.static-page-content { /* Wrapper for content on these pages */
    padding: 40px 0;
}
.static-page-content .container h1 {
    text-align: center;
    margin-bottom: 1.5em;
    font-size: 2.5rem;
}
.static-page-content .container h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2em;
    margin-bottom: 0.8em;
}
.static-page-content .container h3 {
    text-align: left;
    font-size: 1.4rem;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}
.static-page-content .container p,
.static-page-content .container ul,
.static-page-content .container ol {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Read More Link Style */
a.read-more {
    font-weight: 700;
    color: var(--color-primary-accent);
    text-decoration: none;
    position: relative;
    display: inline-block; /* For padding and after element */
    padding-right: 15px; /* Space for arrow */
}
a.read-more::after {
    content: '→'; /* Or an SVG icon */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right var(--transition-speed) var(--transition-easing);
}
a.read-more:hover::after {
    right: -5px;
}


/* -------------------------------------------------------------------
 * ## 11. Media Queries for Responsiveness
 * ------------------------------------------------------------------- */

@media screen and (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }

    .column.is-two-thirds,
    .column.is-one-third {
        width: 100%; /* Stack columns */
        flex: 1 1 100%;
    }
    .columns {
        margin-left: 0;
        margin-right: 0;
    }
    .column {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero-section { padding: 100px 0 80px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .content-section { padding: 40px 0; }
    .section-title { margin-bottom: 1em; }
    .section-subtitle { font-size: 1rem; margin-bottom: 1.5em;}

    .menu-toggle {
        display: block;
    }
    .main-nav .nav-list {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-background-light);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: var(--box-shadow-medium);
        border-top: 1px solid var(--color-background-alt);
    }
    .main-nav .nav-list.is-active {
        display: flex;
    }
    .main-nav .nav-list li {
        margin: 0;
        width: 100%;
    }
    .main-nav .nav-list li a {
        display: block;
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid var(--color-background-alt);
    }
    .main-nav .nav-list li a::after { display: none; } /* Remove underline effect on mobile */
    .main-nav .nav-list li:last-child a { border-bottom: none; }

    .features-grid,
    .team-grid,
    .resources-list,
    .carousel-container {
        grid-template-columns: 1fr; /* Stack cards */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-column {
        margin-bottom: 20px;
    }
    .footer-column ul {
        text-align: center;
    }

    .contact-form-container {
        padding: 20px;
    }
    .success-page-body { margin-top: var(--header-height); }
    .static-page-body { padding-top: var(--header-height); }
}
html,body{
    overflow-x: hidden;
}