:root {
    --primary-cream: #F5F5DC;
    --primary-mustard: #FFDB58;
    --primary-brick-red: #B22222;
    --primary-teal: #008080;
    --text-dark: #333;
    --text-light: #fff;
    --bg-texture: rgba(0, 0, 0, 0.04); /* Subtle grain/texture overlay */
    --border-soft: rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.85); /* Slightly transparent white for cards */
    --link-color: var(--primary-brick-red);
    --hover-color: var(--primary-mustard);
    --accent-color: var(--primary-teal);

    /* Fonts */
    --font-heading: 'Abril Fatface', serif;
    --font-body: 'Lora', serif;
    --font-accent: 'Pacifico', cursive;
}

/* Global 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-dark);
    background-color: var(--primary-cream);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0gAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpiYGBgaGCyBgYGEpggAAEGAAJgACeHhS+nAAAAAElFTkSuQmCC') repeat; /* Subtle grain texture */
    opacity: 1;.1;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-brick-red);
    position: relative;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-mustard);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

/* Buttons */
.button {
    display: inline-block;
    background-color: var(--primary-mustard);
    color: var(--text-dark);
    font-family: var(--font-accent);
    font-size: 1.2em;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: capitalize;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--primary-mustard);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.button:hover {
    background-color: var(--primary-brick-red);
    color: var(--text-light);
    border-color: var(--primary-brick-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* Header */
.main-header {
    background-color: rgba(245, 245, 220, 0.9); /* Semi-transparent cream */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--border-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-accent);
    font-size: 2.2em;
    color: var(--primary-teal);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-mustard);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/image_37.jpg') no-repeat center center/cover;
    filter: sepia(0.6) grayscale(0.2) contrast(1.1); /* Vintage photo tone */
    transform: scale(1.05); /* Slight zoom for subtle motion */
    animation: vignette-fade 10s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes vignette-fade {
    0% { filter: sepia(0.6) grayscale(0.2) contrast(1.1) brightness(0.95); }
    100% { filter: sepia(0.5) grayscale(0.1) contrast(1.05) brightness(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5); /* Vignette effect */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-card, .feature-card, .portfolio-item, .service-item, .team-member, .testimonial-card, .gallery-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-card:hover, .feature-card:hover, .portfolio-item:hover, .service-item:hover, .team-member:hover, .testimonial-card:hover, .gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-card .card-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-mustard);
    border-radius: 50%;
    opacity: 1;.7;
    filter: blur(5px);
    z-index: 0;
}

.about-card .card-title, .feature-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--primary-brick-red);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.about-card p, .feature-card p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.about-card img, .feature-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    filter: sepia(0.5) grayscale(0.2);
    transition: filter 0.3s ease;
}

.about-card:hover img, .feature-card:hover img {
    filter: sepia(0.3) grayscale(0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-item h4 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    filter: sepia(0.6) grayscale(0.3);
    transition: filter 0.3s ease;
}

.service-item:hover img {
    filter: sepia(0.4) grayscale(0.1);
}

/* Features Section - uses card-grid as specified */

/* Portfolio/Gallery Section */
.portfolio-section {
    background-color: var(--primary-mustard); /* Background for this section */
    color: var(--text-dark);
}

.portfolio-section .section-title, .portfolio-section .section-description {
    color: var(--text-dark);
}

.portfolio-section .section-title::after {
    background-color: var(--primary-brick-red);
}

.tab-interface {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
    padding: 12px 25px;
    border: 2px solid var(--border-soft);
    border-radius: 5px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tab-button:hover {
    background-color: var(--primary-cream);
    border-color: var(--primary-brick-red);
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: var(--primary-brick-red);
    color: var(--text-light);
    border-color: var(--primary-brick-red);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tab-content .tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content .tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
    margin-top: 0; /* Override default card-grid margin */
}

.portfolio-item img {
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    filter: sepia(0.4) grayscale(0.1);
    transition: filter 0.3s ease;
}

.portfolio-item:hover img {
    filter: sepia(0.2) grayscale(0.05);
}

.portfolio-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    color: var(--primary-teal);
    margin-bottom: 8px;
}

.portfolio-item p {
    font-size: 0.9em;
    color: var(--text-dark);
}

/* Team Section */
.department-section {
    margin-bottom: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.department-section:not(:last-child) {
    margin-bottom: 60px;
}

.department-section h3 {
    font-family: var(--font-heading);
    font-size: 2.2em;
    text-align: center;
    color: var(--primary-brick-red);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.department-section h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-teal);
    border-radius: 1.5px;
}

.department-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

.team-grid {
    margin-top: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-mustard);
    margin-bottom: 15px;
    filter: sepia(0.4) grayscale(0.1);
    transition: filter 0.3s ease;
}

.team-member:hover img {
    filter: sepia(0.2) grayscale(0.05);
}

.team-member h4 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.team-member .team-role {
    font-family: var(--font-accent);
    font-size: 1.1em;
    color: var(--primary-brick-red);
    margin-bottom: 10px;
}

.team-member p {
    font-size: 0.9em;
    color: var(--text-dark);
}

/* Showcase Section - Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-teal);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    height: 20px;
    width: 20px;
    background-color: var(--primary-mustard);
    border: 3px solid var(--primary-brick-red);
    position: absolute;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--card-bg);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid var(--border-soft);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--primary-teal);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1em;
    color: var(--text-dark);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: -15px;
    border: medium solid var(--card-bg);
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--card-bg);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: -15px;
    border: medium solid var(--card-bg);
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--card-bg) transparent transparent;
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--primary-brick-red); /* Background for this section */
    color: var(--text-light);
}

.testimonials-section .section-title, .testimonials-section .section-description {
    color: var(--text-light);
}

.testimonials-section .section-title::after {
    background-color: var(--primary-mustard);
}

.testimonial-grid {
    margin-top: 60px;
}

.testimonial-card {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-mustard);
    filter: sepia(0.3) grayscale(0.1);
}

.testimonial-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.testimonial-info .testimonial-origin {
    font-family: var(--font-accent);
    font-size: 0.95em;
    color: var(--primary-brick-red);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-dark);
    position: relative;
    padding-left: 20px;
}

.testimonial-quote::before {
    content: "“";
    font-family: var(--font-accent);
    font-size: 3em;
    color: var(--primary-mustard);
    position: absolute;
    left: 0;
    top: -5px;
    line-height: 1;
}

/* FAQ Section - Interactive Chat Style */
.faq-section {
    background-color: var(--primary-teal); /* Background for this section */
    color: var(--text-light);
}

.faq-section .section-title, .faq-section .section-description {
    color: var(--text-light);
}

.faq-section .section-title::after {
    background-color: var(--primary-mustard);
}

.interactive-chat-interface {
    max-width: 800px;
    margin: 60px auto 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
}

.chat-bubble {
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 80%;
    position: relative;
    font-size: 1.05em;
    line-height: 1.6;
}

.user-question {
    background-color: var(--primary-mustard);
    color: var(--text-dark);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-question h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin: 0;
}

.admin-answer {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.admin-answer p {
    margin: 0;
}

/* Gallery Section - Lightbox (modified to static gallery) */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    padding: 20px;
    border: 1px solid var(--border-soft);
    background-color: var(--card-bg);
}

.gallery-item img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    filter: sepia(0.5) grayscale(0.2);
    transition: filter 0.3s ease;
    display: block; /* Ensure image doesn't have extra space below */
}

.gallery-item:hover img {
    filter: sepia(0.3) grayscale(0.1);
}

.gallery-item h4 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: var(--primary-teal);
    margin-bottom: 5px;
}

.gallery-item p {
    font-size: 0.9em;
    color: var(--text-dark);
}

/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: var(--primary-cream);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-soft);
    font-size: 0.9em;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.8em;
    }
    .hero-content h1 {
        font-size: 3.2em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 20px; /* Adjust for header if it's a mobile toggle */
    }
    .main-nav li {
        margin: 10px 0;
    }
    .header-content {
        flex-direction: column;
    }
    .card-grid, .services-grid, .portfolio-grid, .team-grid, .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .about-card, .feature-card, .service-item, .portfolio-item, .team-member, .testimonial-card, .gallery-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 2.4em;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .main-nav ul {
        display: none; /* For simplicity, hide nav on smaller screens, would typically be a hamburger menu */
    }
    .header-content {
        justify-content: center;
    }
    .logo {
        font-size: 1.8em;
    }

    /* Timeline Responsiveness */
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 21px;
        transform: translateX(0);
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--card-bg) transparent transparent;
    }
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent var(--card-bg) transparent transparent;
    }

    .chat-bubble {
        max-width: 90%;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2em;
    }
    .hero-content h1 {
        font-size: 2em;
    }
    .button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .logo {
        font-size: 1.5em;
    }
    .tab-buttons {
        flex-direction: column;
    }
    .tab-button {
        width: 100%;
        margin-bottom: 10px;
    }
    .card-grid, .services-grid, .portfolio-grid, .team-grid, .image-gallery {
        grid-template-columns: 1fr;
    }
    .department-section h3 {
        font-size: 1.8em;
    }
    .testimonial-info h4 {
        font-size: 1.1em;
    }
    .testimonial-quote {
        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;
}

/* 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; } }

/* 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;}
