/* Custom Properties (CSS Variables) */
:root {
    --color-dark-blue: #0A0A1A;
    --color-dark-gray: #1E1E2E;
    --color-black: #000000;
    --color-translucent-white: rgba(255, 255, 255, 0.1);
    --color-translucent-white-hover: rgba(255, 255, 255, 0.15);
    --color-text: #E0E0E0;
    --color-primary-accent: #00BFFF; /* Deep sky blue for accents */
    --font-family-poppins: 'Poppins', sans-serif;
    --blur-strength: 15px;
    --border-radius-lg: 15px;
    --border-radius-md: 10px;
    --padding-section: 80px 0;
    --container-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-poppins);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-dark-blue); /* Base dark background */
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.8em;
}

h1 { font-size: 3.2em; line-height: 1.1; }
h2 { font-size: 2.5em; line-height: 1.2; }
h3 { font-size: 1.8em; line-height: 1.3; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 1em;
    font-weight: 400;
}

a {
    color: var(--color-primary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFFFFF;
}

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

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #FFFFFF; /* Ensure text color remains white on hover */
}

.cta-button-small {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    font-size: 0.9em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
}

.content-panel {
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px; /* Add some margin for visual separation */
}

.content-panel:hover {
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-description {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #C0C0C0;
}


/* Header */
.main-header {
    background-color: rgba(10, 10, 26, 0.7); /* Slightly darker, less transparent */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #E0E0E0;
    font-weight: 500;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary-accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 4px 0;
    transition: all 0.3s ease;
}


/* Sections Common Styles */
section {
    padding: var(--padding-section);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(30, 30, 46, 0.9));
    z-index: -1;
}

section h2 {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    color: #FFFFFF;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent));
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: #FFFFFF;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-video-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) grayscale(0.2); /* Simulating video mood with image */
}

.hero-video-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Darker overlay */
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 60px; /* Adjust padding for hero panel */
    animation: fadeIn 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
    color: #F0F0F0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn {
    from {
        opacity: 1;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* About Section */
.about-section .container {
    padding-top: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.about-image-overlay {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.about-image-overlay:hover {
    transform: translateY(-5px);
}

.about-image-overlay img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: brightness(0.6);
}

.image-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #FFFFFF;
    text-align: left;
}

.image-text-overlay h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #FFFFFF;
}

.image-text-overlay p {
    font-size: 0.95em;
    line-height: 1.5;
    color: #F0F0F0;
    margin-bottom: 0;
}

.about-summary {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 1.5em auto;
    text-align: center;
    color: #C0C0C0;
}


/* Services Section */
.services-section .container {
    padding-top: 20px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.step-card h3.step-number {
    font-size: 3em;
    color: var(--color-primary-accent);
    margin-bottom: 15px;
    font-weight: 700;
    opacity: 1;.8;
}

.step-card h4 {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.step-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    filter: brightness(0.85);
}

.step-card p {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 15px;
    flex-grow: 1;
}


/* Features Section (Comparison Table) */
.features-section .container {
    padding-top: 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensures table doesn't get too small */
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--border-radius-lg);
    overflow: hidden; /* For rounded corners */
}

.comparison-table th,
.comparison-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #E0E0E0;
}

.comparison-table th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 1.1em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody tr:hover {
    background-color: var(--color-translucent-white-hover);
}

.comparison-table td:first-child {
    font-weight: 500;
}

/* Specific styling for Yes/No in table */
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
    font-weight: 600;
}

.comparison-table td:nth-child(2) { /* Kinetic Flow column */
    color: var(--color-primary-accent);
}

.comparison-table td:nth-child(3) { /* Standard Offering column */
    color: #FF6347; /* Tomato red for "No" */
}


/* Portfolio/Gallery Section (Interactive Showcase) */
.portfolio-section .container {
    padding-top: 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.portfolio-item:hover img {
    filter: brightness(0.9);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #FFFFFF;
    text-align: left;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.4em;
    color: #FFFFFF;
}

.item-overlay p {
    font-size: 0.9em;
    color: #F0F0F0;
    margin-bottom: 0;
}


/* Gallery Section (Slideshow) */
.gallery-section .container {
    padding-top: 20px;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: 50px auto 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.prev {
    left: 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little more opacity */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slideshow-caption {
    color: #f2f2f2;
    font-size: 1.2em;
    padding: 15px 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* The dots/bullets/indicators */
.slideshow-dots {
    padding: 15px 0 10px;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--color-primary-accent);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


/* Testimonials Section */
.testimonials-section .container {
    padding-top: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.testimonial-card blockquote {
    font-size: 1.25em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #F0F0F0;
    font-style: italic;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-primary-accent);
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Newsletter Section */
.newsletter-section {
    padding: var(--padding-section);
}

.newsletter-section .content-panel {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
}

.newsletter-section h2 {
    margin-bottom: 30px;
}

.newsletter-section p {
    font-size: 1.1em;
    margin-bottom: 1.5em;
    color: #C0C0C0;
}

.newsletter-cta {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-cta h3 {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.newsletter-cta p {
    font-size: 1em;
    color: #D0D0D0;
    margin-bottom: 25px;
}

/* FAQ Section */
.faq-section .container {
    padding-top: 20px;
}

.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
    text-align: left;
}

.faq-item {
    background-color: var(--color-translucent-white);
    backdrop-filter: blur(var(--blur-strength));
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-family-poppins);
    font-size: 1.15em;
    font-weight: 600;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    line-height: 1.4;
    color: #FFFFFF;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--color-primary-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(0deg); /* No rotation for - */
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #D0D0D0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content length */
    padding: 15px 25px 25px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}


/* Contact Section */
.contact-section .container {
    padding-top: 20px;
}

.contact-section .content-panel {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
}

.quick-action-buttons {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quick-action-buttons h3 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

/* Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    background-color: var(--color-dark-blue); /* Consistent dark backdrop */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
}

.main-footer::before {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.95), rgba(30, 30, 46, 0.95));
}

.main-footer p {
    margin-bottom: 15px;
    font-size: 0.95em;
    color: #B0B0B0;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-nav a {
    color: #E0E0E0;
    font-weight: 500;
    font-size: 0.9em;
    position: relative;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary-accent);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    h1 { font-size: 2.8em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }

    .nav-links {
        margin-left: 0;
    }

    .process-steps,
    .testimonials-grid,
    .portfolio-grid,
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-image-overlay img {
        height: 300px;
    }

    .portfolio-item img {
        height: 250px;
    }

    .slideshow-container {
        max-width: 800px;
    }
    .mySlides img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 75px; /* Height of header */
        left: 0;
        background-color: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px 0;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2em;
        padding: 10px 20px;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 40px;
    }
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1em;
    }

    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .about-grid,
    .process-steps,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack to 1 column */
    }

    .about-image-overlay img {
        height: 250px;
    }

    .image-text-overlay {
        padding: 20px;
    }
    .image-text-overlay h3 {
        font-size: 1.3em;
    }

    .step-card {
        padding: 25px;
    }
    .step-card h3.step-number {
        font-size: 2.5em;
    }

    .portfolio-item img {
        height: 200px;
    }
    .item-overlay h3 {
        font-size: 1.2em;
    }

    .mySlides img {
        height: 350px;
    }

    .slideshow-caption {
        font-size: 1em;
        padding: 10px;
    }

    .testimonial-card blockquote {
        font-size: 1.1em;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }

    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px 20px;
    }

    .quick-action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .content-panel {
        padding: 30px;
    }
    .section-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 10px 0;
    }
    .brand-logo {
        font-size: 1.5em;
    }
    .nav-links {
        top: 65px;
    }
    .hero-content {
        padding: 30px;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content p {
        font-size: 0.9em;
    }

    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.3em; }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .content-panel {
        padding: 20px;
    }

    .about-image-overlay img {
        height: 200px;
    }

    .mySlides img {
        height: 280px;
    }

    .prev, .next {
        padding: 10px;
        font-size: 16px;
    }

    .slideshow-caption {
        font-size: 0.9em;
        padding: 8px;
    }

    .dot {
        height: 12px;
        width: 12px;
    }

    .faq-question h3 {
        font-size: 0.95em;
    }
    .faq-answer {
        font-size: 0.9em;
    }

    .newsletter-cta h3 {
        font-size: 1.5em;
    }
    .newsletter-cta p {
        font-size: 0.9em;
    }
}

/* 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);
}

/* 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;}
