:root {
    --primary-red: #E74C3C;
    --primary-blue: #3498DB;
    --primary-yellow: #F1C40F;
    --outline-black: #2C3E50; /* Dark charcoal for outlines/text */
    --background-light: #ECF0F1; /* Light grey for section backgrounds */
    --text-color: #2C3E50;
    --accent-green: #2ECC71; /* For positive elements or highlights */

    --font-heading: 'Bangers', cursive;
    --font-body: 'Comic Neue', cursive;
    --font-alt: 'Luckiest Guy', cursive; /* For specific bursts/numbers */

    --border-thickness: 4px;
    --shadow-offset: 8px; /* Comic-style shadow offset */
    --section-padding: 80px 40px; /* Generous padding for sections */
    --gap-spacing: 40px; /* Exaggerated spacing */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    overflow-x: hidden; /* Prevent horizontal scroll due to shadows/overlaps */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--outline-black);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    -webkit-text-stroke: 1px var(--outline-black); /* Comic outline effect */
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red); /* Pop shadow */
}

h1 { font-size: 3.5em; text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow); }
h2 { font-size: 2.5em; text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue); }
h3 { font-size: 1.8em; text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red); }

p {
    margin-bottom: 1em;
    font-size: 1.1em;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1em;
}

ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 1.1em;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: var(--primary-yellow);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 50%;
    box-shadow: 2px 2px 0 var(--primary-red); /* Small comic shadow for bullets */
}

/* Comic Button Style */
.comic-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-red);
    color: var(--background-light);
    font-family: var(--font-alt);
    font-size: 1.3em;
    text-transform: uppercase;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 10px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transition: transform 0.2s ease-out, background-color 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.comic-button:hover {
    background-color: var(--primary-yellow);
    color: var(--outline-black);
    transform: translate(calc(var(--shadow-offset) * -0.5), calc(var(--shadow-offset) * -0.5)); /* Bounce effect */
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

.comic-button.action-button {
    background-color: var(--primary-blue);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.comic-button.action-button:hover {
    background-color: var(--primary-yellow);
    color: var(--outline-black);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-red);
}

/* Comic Panel Base Style */
.comic-panel {
    background-color: white;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    padding: 30px;
    position: relative;
    overflow: hidden; /* For images inside */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.comic-panel:hover {
    transform: translateY(-8px) translateX(-8px);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

.comic-image {
    width: 100%;
    height: 200px; /* Consistent height for images in cards */
    object-fit: cover;
    border-bottom: var(--border-thickness) solid var(--outline-black);
    margin-bottom: 20px;
    display: block;
    border-radius: 10px 10px 0 0;
}

/* Halftone Texture Mixin (CSS only) */
.halftone-texture {
    background-image: radial-gradient(circle, var(--outline-black) 15%, transparent 16%),
                      radial-gradient(circle, var(--outline-black) 15%, transparent 16%);
    background-size: 20px 20px; /* Size of the halftone dots pattern */
    background-position: 0 0, 10px 10px; /* Offset for second pattern to create staggered dots */
    opacity: 1;.1; /* Subtle effect */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Header & Navigation */
.main-header {
    background-color: var(--primary-yellow);
    padding: 15px var(--gap-spacing);
    border-bottom: var(--border-thickness) solid var(--outline-black);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 var(--shadow-offset) 0 var(--outline-black);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2.2em;
    color: var(--outline-black);
    text-transform: uppercase;
    text-shadow: 4px 4px 0 var(--primary-red);
    -webkit-text-stroke: 1px var(--outline-black);
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    transform: scale(1.05) rotate(-2deg);
    text-shadow: 6px 6px 0 var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-family: var(--font-alt);
    color: var(--outline-black);
    font-size: 1.1em;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.burger-line {
    width: 30px;
    height: 3px;
    background-color: var(--outline-black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 450px; /* Compact height */
    padding: var(--section-padding);
    background: var(--primary-blue); /* Solid primary color */
    color: var(--background-light);
    overflow: hidden;
    border-bottom: var(--border-thickness) solid var(--outline-black);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    -webkit-text-stroke: 1.5px var(--outline-black);
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--background-light);
    text-shadow: 1px 1px 0 var(--outline-black); /* Subtle text shadow for readability */
}

.halftone-overlay {
    @extend .halftone-texture; /* Reusing the halftone pattern */
    opacity: 1;.3;
    background-size: 40px 40px; /* Larger dots for hero */
    background-position: 0 0, 20px 20px;
    animation: halftone-scroll 60s linear infinite; /* Subtle animation */
}

@keyframes halftone-scroll {
    from { background-position: 0 0, 20px 20px; }
    to { background-position: 40px 40px, 60px 60px; }
}

/* Section Layouts */
section {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-bottom: var(--border-thickness) solid var(--outline-black);
    background-color: var(--background-light); /* Default background */
}

section:last-of-type {
    border-bottom: none;
}

/* About Section - Two Column */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-spacing);
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue); /* Section specific background */
    color: var(--background-light);
    padding: calc(var(--section-padding) + 30px); /* Extra padding for overlaps */
}

.about-section h2 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
    -webkit-text-stroke: 1.5px var(--outline-black);
}
.about-section h3 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    -webkit-text-stroke: 1.5px var(--outline-black);
}
.about-section p {
    color: var(--background-light);
    text-shadow: 1px 1px 0 var(--outline-black); /* Subtle shadow for readability */
}
.about-section ul li {
    color: var(--background-light);
}
.about-section ul li::before {
    background-color: var(--primary-red);
    box-shadow: 2px 2px 0 var(--primary-yellow);
}

.about-left, .about-right {
    position: relative;
    z-index: 2;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-overlap-1, .panel-overlap-2 {
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 15px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline-black);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.panel-overlap-1 {
    transform: rotate(3deg) translateY(20px) translateX(-10px);
    z-index: 3;
    background-color: var(--primary-yellow);
    padding: 10px;
}

.panel-overlap-2 {
    transform: rotate(-5deg) translateY(-30px) translateX(20px);
    z-index: 4;
    background-color: var(--primary-red);
    padding: 10px;
}

.panel-overlap-1:hover, .panel-overlap-2:hover {
    transform: scale(1.03) rotate(0deg);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

/* Stats Section */
.stats-section {
    text-align: center;
    background-color: var(--primary-red);
    color: var(--background-light);
}
.stats-section h2 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    -webkit-text-stroke: 1.5px var(--outline-black);
}
.stats-section p {
    color: var(--background-light);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--gap-spacing);
    margin-top: 50px;
}

.stat-item {
    flex-basis: 30%; /* Ensure 3 per row on larger screens */
    min-width: 280px;
    text-align: center;
    position: relative;
    padding: 30px 20px;
    border-radius: 50%; /* Burst shape */
    aspect-ratio: 1 / 1; /* Make it a circle */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-yellow);
    border: var(--border-thickness) solid var(--outline-black);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    cursor: default;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-red);
}

.stat-number {
    font-family: var(--font-alt);
    font-size: 3.5em;
    color: var(--outline-black);
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 var(--primary-red);
    -webkit-text-stroke: 1px var(--outline-black);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 1.2em;
    text-transform: uppercase;
    color: var(--outline-black);
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 1px 1px 0 var(--background-light);
}

/* Process Section */
.process-section {
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--gap-spacing);
    margin-top: 50px;
}

.process-step {
    text-align: left;
    background-color: var(--background-light);
    border-radius: 15px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-step .step-icon {
    font-family: var(--font-alt);
    font-size: 2.5em;
    color: var(--background-light);
    background-color: var(--primary-red);
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 4px 4px 0 var(--primary-blue);
    -webkit-text-stroke: 1px var(--outline-black);
    flex-shrink: 0;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
}
.process-step p {
    text-align: left;
}

.process-step .comic-image {
    border-radius: 10px;
    height: 220px;
}

/* Card Grid Styling (used by solutions, case studies, testimonials) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-spacing);
    padding-top: 30px;
}

/* Solutions Section */
.solutions-section {
    text-align: center;
    background-color: var(--primary-yellow);
    color: var(--outline-black);
}
.solutions-section h2 {
    color: var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    -webkit-text-stroke: 1.5px var(--background-light);
}
.solutions-section h3 {
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.solution-card, .tech-item {
    background-color: var(--background-light);
    text-align: left;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}
.solution-card:hover, .tech-item:hover {
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-blue);
}

.solution-card ul {
    margin-top: 15px;
}
.solution-card ul li::before {
    background-color: var(--primary-blue);
    box-shadow: 2px 2px 0 var(--primary-yellow);
}

/* Case Studies Section */
.case-studies-section {
    text-align: center;
}

.case-study-card {
    background-color: var(--background-light);
    text-align: left;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    cursor: pointer;
}
.case-study-card:hover {
    transform: translateY(-10px) rotate(1deg); /* Slight lift and rotation */
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-red);
}

.case-study-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}
.case-study-card strong {
    color: var(--primary-red);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-red);
    color: var(--background-light);
    text-align: center;
}
.testimonials-section h2 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
    -webkit-text-stroke: 1.5px var(--outline-black);
}
.testimonials-section p {
    color: var(--background-light);
    text-shadow: 1px 1px 0 var(--outline-black);
}

.testimonial-card {
    background-color: var(--background-light);
    color: var(--text-color);
    text-align: left;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-blue);
    padding-bottom: 50px; /* Space for speech bubble tail */
}
.testimonial-card:hover {
    box-shadow: calc(var(--shadow-offset) * 1.5) calc(var(--shadow-offset) * 1.5) 0 var(--primary-yellow);
}

.speech-bubble {
    position: relative;
    border-radius: 15px;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -30px; /* Position the tail */
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Create a triangle */
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border: var(--border-thickness) solid var(--outline-black);
    border-top-color: transparent; /* Hide top border */
    border-left-color: transparent; /* Hide left border */
    z-index: 1;
    box-shadow: 4px 4px 0 var(--primary-blue);
}

.speech-bubble .rating {
    font-family: var(--font-alt);
    color: var(--primary-yellow); /* Example color for the rating text */
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 2px 2px 0 var(--outline-black);
    -webkit-text-stroke: 0.5px var(--outline-black);
}

.speech-bubble .reviewer {
    font-style: italic;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
    position: absolute; /* Position reviewer below tail */
    bottom: -60px;
    width: 100%;
    left: 0;
}

/* FAQ Section - Category Sections (Accordion) */
.faq-section {
    text-align: center;
}
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--gap-spacing);
    margin-top: 50px;
}

.faq-category {
    background-color: var(--background-light);
    text-align: left;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
}

.faq-category h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--outline-black);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-yellow);
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: var(--border-thickness) dashed var(--primary-blue);
    padding-bottom: 20px;
}
.faq-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    background-color: var(--primary-blue);
    color: var(--background-light);
    font-family: var(--font-alt);
    font-size: 1.2em;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    border: var(--border-thickness) solid var(--outline-black);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 4px 4px 0 var(--primary-red);
    -webkit-text-stroke: 0.5px var(--outline-black);
}

.faq-question:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--primary-yellow);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background-color: rgba(255, 255, 255, 0.8);
    border-left: var(--border-thickness) solid var(--primary-yellow);
    border-right: var(--border-thickness) solid var(--primary-yellow);
    border-bottom: var(--border-thickness) solid var(--primary-yellow);
    border-radius: 0 0 8px 8px;
    padding: 0 20px;
    margin-top: -8px; /* Overlap with button border */
    position: relative;
    z-index: 0;
}

.faq-answer[aria-hidden="false"] {
    padding: 20px;
    margin-top: 5px;
    border-bottom: var(--border-thickness) solid var(--primary-yellow);
}
.faq-answer p {
    margin-bottom: 0;
}


/* Call to Action Section */
.cta-section {
    text-align: center;
    padding: var(--section-padding);
    background-color: var(--primary-blue); /* Distinct background */
    color: var(--background-light);
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-thickness) solid var(--outline-black);
}
.cta-section h2 {
    color: var(--background-light);
    text-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-red);
    -webkit-text-stroke: 1.5px var(--outline-black);
}
.cta-section p {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--background-light);
    text-shadow: 1px 1px 0 var(--outline-black);
}

/* Footer */
.main-footer {
    background-color: var(--outline-black);
    color: var(--background-light);
    padding: 40px var(--gap-spacing);
    text-align: center;
    font-family: var(--font-body);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-content p {
    margin-bottom: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav ul {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: var(--primary-yellow);
    font-family: var(--font-alt);
    font-size: 0.95em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-red);
    transform: none; /* Override general a:hover transform */
}


/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .hero-section {
        min-height: 400px;
        padding: 60px 20px;
    }

    .about-section {
        grid-template-columns: 1fr;
        padding: var(--section-padding);
    }
    .about-right {
        margin-top: var(--gap-spacing);
    }
    .panel-overlap-1, .panel-overlap-2 {
        transform: none; /* Reset overlaps on smaller screens */
        margin-bottom: 20px;
    }
    .panel-overlap-1:hover, .panel-overlap-2:hover {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 20px;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .navbar-brand {
        font-size: 1.8em;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-yellow);
        border-top: var(--border-thickness) solid var(--outline-black);
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 1;
        pointer-events: none;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
    }

    .nav-links li a {
        font-size: 1.2em;
        padding: 10px 0;
    }
    .nav-links li a::after {
        display: none; /* Hide underline on mobile menu */
    }

    h1 { font-size: 2.5em; text-shadow: 6px 6px 0 var(--primary-yellow); }
    h2 { font-size: 1.8em; text-shadow: 6px 6px 0 var(--primary-blue); }
    h3 { font-size: 1.3em; text-shadow: 5px 5px 0 var(--primary-red); }

    .hero-section {
        min-height: 350px;
        padding: 40px 15px;
    }
    .hero-content p {
        font-size: 1em;
    }

    .comic-button {
        padding: 12px 25px;
        font-size: 1.1em;
        box-shadow: 6px 6px 0 var(--primary-blue);
    }

    .stat-item {
        flex-basis: 48%; /* 2 per row */
        min-width: unset;
    }
    .stats-grid {
        justify-content: center;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .faq-categories {
        grid-template-columns: 1fr;
    }
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; text-shadow: 4px 4px 0 var(--primary-yellow); }
    h2 { font-size: 1.5em; text-shadow: 4px 4px 0 var(--primary-blue); }
    h3 { font-size: 1.1em; text-shadow: 3px 3px 0 var(--primary-red); }

    .section-padding {
        padding: 40px 15px;
    }
    .navbar-brand {
        font-size: 1.5em;
    }
    .hero-section {
        min-height: 300px;
    }
    .stat-number {
        font-size: 2.8em;
    }
    .stat-item {
        flex-basis: 100%;
        max-width: 300px;
    }
    .faq-question {
        font-size: 1em;
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal Icon Fixes for Buttons */
button svg, .carousel-next svg, .carousel-prev svg, .slider-next svg, .slider-prev svg,
.next svg, .prev svg, .tab-button svg, .tab-btn svg {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

button i, .carousel-next i, .carousel-prev i, .slider-next i, .slider-prev i,
.next i, .prev i, .tab-button i, .tab-btn i {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    font-style: normal;
}

button .icon, .carousel-next .icon, .carousel-prev .icon,
.slider-next .icon, .slider-prev .icon, .tab-button .icon {
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

/* Ensure carousel buttons are clickable even with icons */
.carousel-next, .carousel-prev, .slider-next, .slider-prev,
.next, .prev, .next-btn, .prev-btn {
    cursor: pointer;
    position: relative;
}

.carousel-next *, .carousel-prev *, .slider-next *, .slider-prev *,
.next *, .prev *, .next-btn *, .prev-btn * {
    pointer-events: none;
}

/* Tab button icon fixes */
.tab-button, .tab-btn, .tab {
    cursor: pointer;
    position: relative;
}

.tab-button *, .tab-btn *, .tab * {
    pointer-events: none;
}

/* Ensure icons don't block clicks */
button > svg, button > i, button > .icon,
.carousel-next > svg, .carousel-prev > svg,
.tab-button > svg, .tab-button > i {
    pointer-events: none !important;
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Accessibility focus outlines */
:focus{outline:2px solid #5ac8fa;outline-offset:2px;}
:focus:not(:focus-visible){outline:none;}
