:root {
    --black: #000;
    --white: #fff;
    --red: #E74C3C;
    --lime: #A2E22C;
    --cobalt: #3498DB;
    --accent-dark: var(--red); /* Primary accent */
    --accent-light: var(--lime); /* Secondary accent */
    --text-color: var(--white);
    --bg-color: var(--black);
    --border-color: var(--white);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden; /* Prevent horizontal scroll from overlapping elements */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--white); /* Default for headings */
    margin-bottom: 0.5em;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.4em; }

p {
    margin-bottom: 1em;
    font-family: 'Oswald', sans-serif; /* Keep Oswald for paragraphs */
    font-weight: 300;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: none; /* Brutalist: instant change */
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    color: var(--accent-dark);
    margin-bottom: 1em;
    padding-top: 2em; /* Ensure some spacing from previous section */
    font-size: 3em;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: var(--cobalt);
    margin-bottom: 2em;
    font-size: 1.5em;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* Header & Navigation */
.site-header {
    background-color: var(--black);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 2em;
    border-bottom: 2px solid var(--accent-light); /* Exposed structure */
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 2.2em;
    letter-spacing: 0.08em;
    color: var(--accent-dark);
    margin: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5em;
}

.nav-links a {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1em;
    padding: 0.5em 0;
    border-bottom: 2px solid transparent;
    transition: none; /* Brutalist: instant change */
}

.nav-links a:hover {
    color: var(--accent-light);
    border-color: var(--accent-dark);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7); /* Blocky overlay */
    padding: 3em 5%;
    max-width: 800px;
    border: 3px solid var(--accent-light); /* Unpolished border */
    text-align: center;
    margin: 0 5%;
}

.hero-content h1 {
    font-size: 4.5em;
    color: var(--accent-light);
    margin-bottom: 0.5em;
    letter-spacing: 0.1em;
    text-shadow: 4px 4px 0 var(--accent-dark); /* Bold shadow effect */
}

.hero-content p {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5em;
    letter-spacing: 0.02em;
}

/* About Section */
.about-section {
    padding: 0; /* No spacing */
    background-color: var(--black);
    color: var(--white);
    border-top: 4px solid var(--cobalt); /* Exposed structure */
    border-bottom: 4px solid var(--cobalt);
    margin-top: -2px; /* Overlap with previous section */
}

.about-section .section-title {
    padding-top: 3em;
    padding-bottom: 1em;
    border-bottom: 2px solid var(--accent-light);
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack on small screens */
    margin-top: 2em;
}

.about-image-block {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 4em; /* Separator for stacked blocks */
}

.about-image-block.reverse {
    flex-direction: column-reverse; /* Reverse order for second block on mobile */
}

.about-image-block .large-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.about-image-block .image-overlay-text {
    background-color: var(--accent-dark);
    color: var(--white);
    padding: 2.5em;
    border: 2px solid var(--border-color);
    margin-top: -30px; /* Overlap */
    position: relative;
    z-index: 2;
}

.about-image-block.reverse .image-overlay-text {
    margin-top: 0;
    margin-bottom: -30px; /* Overlap */
}

.image-overlay-text h3 {
    color: var(--white);
    font-size: 1.8em;
    margin-bottom: 0.8em;
    letter-spacing: 0.05em;
}

.image-overlay-text p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1.2em;
}

.image-overlay-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5em;
}

.image-overlay-text ul li {
    font-size: 1em;
    margin-bottom: 0.8em;
    position: relative;
    padding-left: 1.5em;
}

.image-overlay-text ul li::before {
    color: var(--cobalt);
    position: absolute;
    left: 0;
    font-size: 0.8em;
    line-height: 1.5;
}


/* Services Section - Tabbed Interface */
.services-section {
    padding: 0;
    background-color: var(--bg-color);
    border-top: 4px solid var(--accent-dark);
    border-bottom: 4px solid var(--accent-dark);
    margin-top: -2px;
}

.services-section .section-title,
.services-section .section-subtitle {
    padding-top: 2em;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0; /* No spacing */
    margin-top: 2em;
    border: 2px solid var(--white);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-button {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 1.2em 2em;
    font-family: 'Anton', sans-serif;
    font-size: 1.1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 2px solid var(--white); /* Separators */
    transition: none;
}

.tab-button:last-child {
    border-right: none;
}

.tab-button:hover,
.tab-button.active {
    background-color: var(--accent-dark);
    color: var(--white);
    border-color: var(--accent-dark);
}

.tab-content {
    margin-top: 2em;
    padding: 0 5%;
}

.tab-pane {
    display: none;
    border: 3px solid var(--cobalt); /* Blocky border */
    padding: 3em;
    background-color: var(--black);
}

.tab-pane.active {
    display: block;
}

.service-panel-content h4 {
    color: var(--accent-light);
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
}

.service-panel-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1.5em;
    text-align: justify;
    padding: 0 2em;
}

/* Features Section - Icon with Text (Plain text instead of icons) */
.features-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--lime);
    border-bottom: 4px solid var(--lime);
    margin-top: -2px;
}

.features-section .section-title,
.features-section .section-subtitle {
    padding-top: 2em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* No spacing */
    margin: 2em 0;
    border: 2px solid var(--white);
    margin-left: 5%;
    margin-right: 5%;
}

.feature-card {
    background-color: var(--black);
    padding: 2.5em;
    border-right: 2px solid var(--white); /* Column separators */
    border-bottom: 2px solid var(--white); /* Row separators, effectively for mobile */
}

.feature-card:nth-child(3n) {
    border-right: none;
}

.feature-header {
    font-family: 'Anton', sans-serif;
    font-size: 2.5em;
    color: var(--accent-dark);
    margin-bottom: 0.8em;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.08em;
}

.feature-card p {
    font-size: 1.05em;
    line-height: 1.6;
    text-align: center;
}

.features-closing-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

/* Showcase Section - Highlights Grid */
.showcase-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--cobalt);
    border-bottom: 4px solid var(--cobalt);
    margin-top: -2px;
}

.showcase-section .section-title,
.showcase-section .section-subtitle {
    padding-top: 2em;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* No spacing */
    margin: 2em 5%;
    border: 2px solid var(--white);
}

.showcase-card {
    position: relative;
    overflow: hidden;
    background-color: var(--black);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
}

.showcase-card:nth-child(3n) {
    border-right: none;
}

.showcase-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark overlay for text */
    padding: 1.5em;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.2s ease-out; /* Snap transition */
    border-top: 2px solid var(--accent-dark);
}

.showcase-card:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-overlay h4 {
    color: var(--accent-light);
    font-size: 1.3em;
    margin-bottom: 0.5em;
    letter-spacing: 0.03em;
}

.showcase-overlay p {
    font-size: 0.95em;
    line-height: 1.5;
}

.showcase-closing-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

/* Team Section - Card Layout */
.team-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--accent-dark);
    border-bottom: 4px solid var(--accent-dark);
    margin-top: -2px;
}

.team-section .section-title,
.team-section .section-subtitle {
    padding-top: 2em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* No spacing */
    margin: 2em 5%;
    border: 2px solid var(--white);
}

.team-card {
    background-color: var(--black);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 2em; /* Ensure space for text */
}

.team-card:nth-child(3n) {
    border-right: none;
}

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: 1.5em;
    border-bottom: 2px solid var(--accent-light);
}

.team-info {
    padding: 0 1.5em;
}

.team-info h4 {
    color: var(--accent-light);
    font-size: 1.5em;
    margin-bottom: 0.5em;
    letter-spacing: 0.04em;
}

.team-info p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 0;
}

.team-closing-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

/* Portfolio/Gallery - Filterable Gallery */
.gallery-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--lime);
    border-bottom: 4px solid var(--lime);
    margin-top: -2px;
}

.gallery-section .section-title {
    padding-top: 2em;
    margin-bottom: 1em;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2em;
    border: 2px solid var(--white);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-button {
    background-color: var(--black);
    color: var(--white);
    border: none;
    padding: 1em 1.8em;
    font-family: 'Anton', sans-serif;
    font-size: 1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-right: 2px solid var(--white);
    transition: none;
}

.filter-button:last-child {
    border-right: none;
}

.filter-button:hover,
.filter-button.active {
    background-color: var(--cobalt);
    color: var(--white);
    border-color: var(--cobalt);
}

.gallery-intro-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 2em 5%;
    border: 2px solid var(--white);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background-color: var(--black);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
}

.gallery-item:nth-child(3n) {
    border-right: none;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.2s ease-out; /* Minimal animation */
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--accent-dark-rgb, 231, 76, 60), 0.7); /* Default solid overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Anton', sans-serif;
    font-size: 1.8em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 1;
    transition: opacity 0.2s ease-out; /* Snap transition */
    border: 3px solid var(--accent-light);
}
.gallery-item:hover .item-overlay {
    opacity: 1;
}

/* Testimonials - Video Testimonials (simulated) */
.testimonials-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--accent-dark);
    border-bottom: 4px solid var(--accent-dark);
    margin-top: -2px;
}

.testimonials-section .section-title {
    padding-top: 2em;
    margin-bottom: 1em;
}

.testimonials-intro-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 2em 5%;
    border: 2px solid var(--white);
}

.testimonial-card {
    background-color: var(--black);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 1.5em;
}

.testimonial-card:nth-child(3n) {
    border-right: none;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 1.5em;
    border-bottom: 2px solid var(--cobalt);
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent-dark);
    color: var(--white);
    font-family: 'Anton', sans-serif;
    font-size: 2em;
    padding: 0.5em 1em;
    border: 3px solid var(--accent-light);
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: none; /* Brutalist */
}

.play-button:hover {
    background-color: var(--accent-light);
    color: var(--black);
}

.testimonial-quote {
    font-family: 'Oswald', sans-serif;
    font-style: italic;
    font-size: 1.1em;
    margin: 0 1.5em 1em;
    line-height: 1.6;
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-light);
    margin-left: 1.5em;
    font-size: 1em;
    text-transform: uppercase;
}

/* FAQ Section - Accordion Style */
.faq-section {
    padding: 0;
    background-color: var(--black);
    border-top: 4px solid var(--lime);
    border-bottom: 4px solid var(--lime);
    margin-top: -2px;
}

.faq-section .section-title,
.faq-section .section-subtitle {
    padding-top: 2em;
}

.faq-intro-paragraph {
    padding: 0 5%;
    margin-top: 2em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1.5em;
}

.faq-container {
    max-width: 90%;
    margin: 2em auto 4em auto;
    border: 2px solid var(--white);
}

.faq-item {
    border-bottom: 1px solid var(--cobalt);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background-color: var(--black);
    color: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5em 2em;
    font-family: 'Anton', sans-serif;
    font-size: 1.2em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none; /* Brutalist */
}

.faq-question::after {
    content: "+";
    font-size: 1.5em;
    font-weight: bold;
    color: var(--cobalt);
    transition: transform 0.1s linear; /* Instant cut effect */
}

.faq-question[aria-expanded="true"]::after {
    content: "-";
    transform: rotate(0deg); /* No rotation for brutalist */
    color: var(--accent-dark);
}

.faq-question:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2em;
    background-color: var(--black);
    color: var(--white);
    transition: max-height 0.3s ease-in-out; /* Smoother but quick reveal */
}

.faq-answer p {
    padding: 1.5em 0;
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid var(--white); /* Inner structure */
}

/* Footer */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2em 0;
    font-size: 0.9em;
    border-top: 2px solid var(--accent-light);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .main-nav {
        flex-direction: column;
        text-align: center;
        padding: 1em 1em 0.5em 1em;
    }

    .logo {
        margin-bottom: 0.5em;
    }

    .nav-links {
        gap: 0.8em;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9em;
        padding: 0.3em 0.5em;
    }

    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-block, .about-image-block.reverse {
        flex-direction: column;
        margin-bottom: 2em;
    }

    .about-image-block .large-image {
        height: 350px;
    }

    .about-image-block .image-overlay-text {
        margin-top: -20px;
    }

    .about-image-block.reverse .image-overlay-text {
        margin-bottom: -20px;
        margin-top: 0;
    }

    .tab-buttons {
        flex-direction: column;
        width: 90%;
    }

    .tab-button {
        border-right: none;
        border-bottom: 2px solid var(--white);
        width: 100%;
    }
    .tab-button:last-child {
        border-bottom: none;
    }

    .service-panel-content p {
        padding: 0 1em;
    }

    .features-grid,
    .showcase-grid,
    .team-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack all cards on mobile */
        margin-left: 2%;
        margin-right: 2%;
        width: 96%;
    }

    .feature-card,
    .showcase-card,
    .team-card,
    .gallery-item,
    .testimonial-card {
        border-right: none; /* Remove right border for stacked items */
    }
    .feature-card:last-child,
    .showcase-card:last-child,
    .team-card:last-child,
    .gallery-item:last-child,
    .testimonial-card:last-child {
        border-bottom: none; /* Remove bottom border for the very last item of the entire grid */
    }

    .feature-header {
        font-size: 2em;
    }

    .showcase-image {
        height: 250px;
    }

    .team-photo {
        height: 300px;
    }

    .gallery-item img {
        height: 200px;
    }

    .item-overlay {
        font-size: 1.3em;
    }

    .video-placeholder {
        height: 200px;
    }

    .play-button {
        font-size: 1.5em;
        padding: 0.4em 0.8em;
    }

    .faq-question {
        font-size: 1em;
        padding: 1em 1.5em;
    }

    .faq-answer p {
        padding: 1em 0;
    }
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Default to 1 col until larger screen */
    }
    .about-image-block {
        flex-direction: row; /* Desktop layout */
        align-items: center;
        margin-bottom: 0;
    }
    .about-image-block.reverse {
        flex-direction: row-reverse;
    }
    .about-image-block .large-image {
        width: 60%;
        height: 450px;
        flex-shrink: 0;
    }
    .about-image-block .image-overlay-text {
        width: 45%; /* Overlap */
        margin-left: -100px; /* Overlap effect */
        margin-top: 0;
        z-index: 2;
    }
    .about-image-block.reverse .image-overlay-text {
        margin-right: -100px; /* Overlap effect */
        margin-left: 0;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        gap: 2em;
    }
    .about-image-block .large-image {
        width: 65%; /* More image, less text overlap */
    }
    .about-image-block .image-overlay-text {
        width: 40%;
        margin-left: -80px;
    }
    .about-image-block.reverse .image-overlay-text {
        margin-right: -80px;
    }

    /* Keep 3 column layout for desktop */
    .features-grid,
    .showcase-grid,
    .team-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 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;
}

/* Enhanced: Team grid stabilization */
+ .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
+ @media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
+ @media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Enhanced: Missing animation classes from JS */
.animate-on-scroll {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animate-on-scroll.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;}
