/* style.css */

/* 1. CSS Variables & Root Styles */
:root {
    --primary-color: #00A9E0; /* Bright Blue */
    --primary-darker: #0086b3;
    --secondary-color: #FF9900; /* Bright Orange */
    --secondary-darker: #cc7a00;
    --accent-color: #FFDE59; /* Bright Yellow */
    --success-color: #28a745;
    --error-color: #dc3545;

    --text-color: #333333;
    --text-light-color: #FFFFFF;
    --heading-color: #222222;
    --link-color: var(--primary-color);
    --link-hover-color: var(--primary-darker);

    --background-color: #FFFFFF;
    --background-alt-color: #f4f7f9; /* Softer than f8f9fa */
    --card-background-color: #FFFFFF;
    --footer-background-color: #212529; /* Darker footer */
    --dark-overlay-color: rgba(0, 0, 0, 0.5);
    --light-overlay-color: rgba(255, 255, 255, 0.1);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Work Sans', sans-serif;

    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);

    --header-height: 80px; /* Approximate header height */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;

    --gradient-dynamic: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--background-color) 0%, var(--background-alt-color) 100%);
}

/* 2. Global Resets & 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);
    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 from animations */
}

/* Add padding to body if header is fixed and not transparent */
body.header-fixed-padding {
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    margin-bottom: 0.75em;
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.25em;
    color: var(--text-color); /* Ensure high contrast */
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1em;
}

/* 3. Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.text-center { text-align: center; }
.text-light-on-dark { color: var(--text-light-color); }
.text-light-on-dark h1, .text-light-on-dark h2, .text-light-on-dark h3, .text-light-on-dark p {
    color: var(--text-light-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Enhanced readability for light text on image */
}
.section-title {
    text-align: center;
    margin-bottom: 1.5em; /* Increased margin */
    font-weight: 700;
    color: var(--heading-color); /* Ensure dark color for titles */
    text-shadow: none; /* remove default if any or refine */
}
.section-title.light-text { /* For dark backgrounds */
    color: var(--text-light-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em; /* Increased margin */
    font-size: 1.1rem;
    color: #555555; /* Slightly lighter than main text but still contrasty */
}

/* General Section Styling */
section {
    padding: 60px 0; /* Natural height, vertical padding */
}

.alt-bg {
    background-color: var(--background-alt-color);
}

/* Dynamic background sections (example) */
.dynamic-gradient-bg {
    background: var(--gradient-dynamic);
    color: var(--text-light-color);
}
.dynamic-gradient-bg h1, .dynamic-gradient-bg h2, .dynamic-gradient-bg p {
    color: var(--text-light-color);
}

/* 4. Header / Navigation */
.site-header {
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent for glassmorphism if desired */
    backdrop-filter: blur(8px); /* Glassmorphism effect */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    height: var(--header-height);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.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: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.logo:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--secondary-color);
}

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

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

.main-nav a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) var(--transition-ease), color var(--transition-speed) var(--transition-ease);
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) var(--transition-ease);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}
.main-nav a:hover::after,
.main-nav a.active::after {
   width: 70%;
}


.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above nav items if they overlay */
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    position: relative;
    transition: transform var(--transition-speed) var(--transition-ease), background-color var(--transition-speed) var(--transition-ease);
}

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

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

/* Mobile Menu Active State */
.nav-open .hamburger { background-color: transparent; } /* Middle bar disappears */
.nav-open .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-open .hamburger::after { transform: rotate(-45deg); top: 0; }


/* 5. Hero Section */
.hero-section {
    min-height: calc(85vh - var(--header-height)); /* Adjusted height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative; /* For overlay */
    padding: 80px 0; /* More padding for content */
}

.hero-section::before { /* Parallax/Overlay element */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* The linear-gradient is applied via inline style in HTML, this is a fallback or additional layer if needed */
    /* background: var(--dark-overlay-color); */
    z-index: 1;
}

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

.hero-content h1 {
    color: var(--text-light-color); /* STRICT: White text for hero */
    font-size: 3.5rem; /* Larger hero title */
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* Stronger shadow for readability */
}

.hero-content p {
    color: var(--text-light-color); /* STRICT: White text for hero */
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* 6. Global Button Styles */
.cta-button, .cta-button-secondary, .submit-button, button, input[type="submit"], input[type="button"] {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-speed) var(--transition-ease), 
                color var(--transition-speed) var(--transition-ease), 
                transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.cta-button:hover, .cta-button-secondary:hover, .submit-button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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

.submit-button { /* For forms */
    background-color: var(--accent-color);
    color: var(--heading-color); /* Dark text on yellow */
}
.submit-button:hover {
    background-color: #e6c64c; /* Darker yellow */
    color: var(--heading-color);
}

/* Read More Link Style */
.read-more-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 10px;
    position: relative;
    padding-right: 20px; /* Space for arrow */
}

.read-more-link::after {
    content: '→'; /* Arrow */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right var(--transition-speed) var(--transition-ease);
}

.read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}
.read-more-link:hover::after {
    right: -5px; /* Arrow moves on hover */
}


/* 7. Card Styles */
.card {
    background-color: var(--card-background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden; /* Important for child elements like images */
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    display: flex;
    flex-direction: column;
    align-items: center; /* Center card-image and card-content */
    text-align: center; /* Center inline text inside card-content */
    height: 100%; /* For equal height cards in a grid */
}

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

.card-image { /* Image container */
    width: 100%;
    height: 220px; /* Fixed height for image container */
    overflow: hidden;
    /* margin-bottom: 20px; /* Added spacing */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the area, crops if necessary */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother zoom */
}

.card:hover .card-image img {
    transform: scale(1.1); /* Zoom effect on hover */
}

.card-content {
    padding: 25px; /* More padding */
    width: 100%; /* Ensure content block takes full width */
    flex-grow: 1; /* Allows content to fill space if card height is fixed by grid */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* If there's a button at the bottom */
}

.card-content h3 {
    margin-bottom: 0.5em; /* Tighter margin for card titles */
    font-size: 1.4rem;
    color: var(--primary-color);
}
.card-content h4 {
    margin-bottom: 0.5em;
    font-size: 1.2rem;
    color: var(--secondary-color);
}
.card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444444; /* Darker grey for better contrast on white */
    margin-bottom: 1em; /* Ensure some space before any button */
}

/* Grids for cards */
.mistakes-grid, .services-grid, .press-grid, .resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Specific Card types adjustment if needed */
.mistake-card h3 { color: var(--error-color); }
.service-card h3 { color: var(--primary-color); }
.press-quote { padding: 25px; background: var(--background-alt-color); }
.press-quote footer { font-style: italic; margin-top: 15px; color: var(--primary-color); font-weight: 500;}
.resource-item { padding: 20px; }
.resource-item h4 a { color: var(--primary-color); font-weight: 600;}
.resource-item h4 a:hover { color: var(--secondary-color); }
.resource-item p { font-size: 0.9rem; margin-top: 10px; color: #555;}


/* 8. Section Specific Styles */

/* Common Mistakes Section */
.common-mistakes-section { /* No specific styles other than grid */ }

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* For overlay if needed */
}
.mission-vision-section p {
    font-size: 1.15rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.8;
}
/* If background-image is used, ensure text readability */
#mission[style*="background-image"]::before, #community[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Gradient applied inline, this is a fallback */
    /* background: var(--dark-overlay-color); */ 
    z-index: 0;
}
#mission .container, #community .container {
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-section { /* Uses services-grid */ }

/* Case Studies Section - Carousel */
.carousel-container {
    /* Basic styling for a simple carousel, JS will handle functionality */
    display: flex; /* If slides are inline */
    overflow-x: auto; /* For scrolling if JS is not fully implemented */
    gap: 20px;
    padding-bottom: 20px; /* For scrollbar or shadow */
}
.carousel-slide {
    min-width: 300px; /* Or a percentage */
    flex: 0 0 auto; /* Prevent shrinking/growing */
}
/* Ensure cards in carousel maintain structure */
.carousel-slide.card {
    height: auto; /* Override fixed height if it causes issues in carousel */
}


/* History Section - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after { /* The central line */
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: -1; /* Behind items */
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
/* Alternating items */
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }

/* The circle on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--background-color);
    border: 4px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even)::after { left: -10px; }

/* Arrow pointing to the timeline */
.timeline-item::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 28px;
    width: 0;
    z-index: 1;
    border: medium solid var(--card-background-color);
}
.timeline-item:nth-child(odd)::before {
    right: 30px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--card-background-color);
}
.timeline-item:nth-child(even)::before {
    left: 30px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--card-background-color) transparent transparent;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-background-color);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}
.timeline-content h4 { color: var(--primary-color); }

/* External Resources Section */
.external-resources-section .resource-item {
    transition: all var(--transition-speed) var(--transition-ease);
}
.external-resources-section .resource-item:hover {
    border-left: 5px solid var(--primary-color);
    background-color: #eef8ff;
}

/* Community Section */
.community-section {
    background-size: cover;
    background-position: center;
    text-align: center;
}
.community-section p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
}

/* Press Section */
.press-section { /* Uses press-grid */ }

/* Careers Section */
.careers-section .careers-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.careers-section .careers-content p {
    font-size: 1.1rem;
    margin-bottom: 2em;
}

/* Contact Section & Form */
.contact-section {
    background-color: var(--background-alt-color);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-background-color);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    background-color: #fdfdfd;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 169, 224, 0.2); /* Focus ring */
}

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

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


/* 9. Footer */
.site-footer {
    background-color: var(--footer-background-color);
    color: rgba(255,255,255,0.8);
    padding: 50px 0;
    font-size: 0.95rem;
}

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

.site-footer h4 {
    font-family: var(--font-primary);
    color: var(--text-light-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-nav ul, .footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav li, .footer-social li {
    margin-bottom: 10px;
}

.footer-nav a, .footer-social a, .footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease), padding-left var(--transition-speed) var(--transition-ease);
}

.footer-nav a:hover, .footer-social a:hover, .footer-contact a:hover {
    color: var(--text-light-color);
    padding-left: 5px; /* Subtle hover effect */
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

.footer-social .social-links-text { /* Ensure text styling for social links */
    /* Styles already applied via .footer-social a */
}

.footer-copyright {
    grid-column: 1 / -1; /* Span all columns */
    text-align: center;
    padding-top: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* 10. Specific Page Styles */

/* success.html centering */
.success-page-container, .basic-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-height)); /* Account for fixed header */
    text-align: center;
    padding: 40px 20px; /* Add padding */
}
.success-page-container h1 { color: var(--success-color); font-size: 2.5rem; }
.success-page-container p { font-size: 1.2rem; max-width: 600px; }
.success-page-container .cta-button { margin-top: 20px; }


/* privacy.html & terms.html padding for content */
/* General content container for simple pages like privacy, terms */
.page-content-container {
    padding-top: calc(var(--header-height) + 40px); /* Header height + extra space */
    padding-bottom: 60px;
    min-height: calc(100vh - var(--header-height) - var(--footer-height, 200px)); /* Adjust footer height estimate */
}
.page-content-container .container {
    max-width: 900px; /* Readable width for text-heavy pages */
}
.page-content-container h1 {
    margin-bottom: 1.5em;
    text-align: center;
}
.page-content-container h2 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-size: 1.8rem;
}
.page-content-container p, .page-content-container ul, .page-content-container ol {
    margin-bottom: 1.5em;
    line-height: 1.8;
}
.page-content-container ul, .page-content-container ol {
    padding-left: 20px;
}


/* 11. Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }

    .timeline::after { left: 15px; } /* Adjust timeline line for smaller screens */
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; }
    .timeline-item:nth-child(even) { left: 0%; }
    .timeline-item::after { left: 6px; } /* Circle position */
    .timeline-item::before { /* Arrow */
        left: 40px;
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--card-background-color) transparent transparent;
    }
    .timeline-item:nth-child(odd)::before { right: auto; left: 40px; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; } /* Adjust header height for mobile */

    .main-nav {
        position: fixed;
        top: var(--header-height); /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%); /* Start off-screen */
        transition: transform var(--transition-speed) var(--transition-ease);
        z-index: 999; /* Below header but above content */
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .main-nav.nav-open {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

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

    .main-nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    .main-nav li:last-child a { border-bottom: none; }
    .main-nav a:hover, .main-nav a.active {
        background-color: var(--background-alt-color);
        color: var(--primary-color);
    }
    .main-nav a::after { display: none; } /* Remove underline effect for mobile nav */


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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .hero-section { min-height: 70vh; padding: 60px 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .mistakes-grid, .services-grid, .press-grid, .resources-list {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .card-image { height: 200px; } /* Adjust card image height if needed */

    .footer-container {
        grid-template-columns: 1fr; /* Stack footer columns */
        text-align: center;
    }
    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .container { width: 95%; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.9rem; }
    .cta-button, .cta-button-secondary, .submit-button, button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.9rem;
    }
    .contact-form { padding: 20px; }
}

/* AOS Animation Defaults (optional, AOS handles its own) */
[data-aos] {
    opacity: 0; /* Default state for elements to fade in */
    transition-property: opacity, transform;
}
[data-aos].aos-animate {
    opacity: 1;
}
html,body{
    overflow-x: hidden;
}