/* =========================================
   GLOBAL STYLES & BACKGROUND
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #002222; 
    
    background-image: 
        url('Background_Pattern.svg'), 
        linear-gradient(to bottom, #007a7a 0%, #003b3b 100%);
        
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-position: center center, center center;
    background-size: cover, 100% 100%; 
    background-blend-mode: overlay; 
    
    color: #f4f4f4;
    line-height: 1.6;
}

/* --- Typography & Links --- */
h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   NAVIGATION (TOP BAR & NAVBAR)
   ========================================= */
.top-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    background-color: #050608;
    padding: 0.6rem 5%;
    font-size: 0.85rem;
    color: #aaa;
    border-bottom: 1px solid #1a1a1a;
}

.top-text { text-align: left; }
.top-social { text-align: center; }
.top-students { text-align: right; }

.top-bar a {
    color: #ccc;
    font-weight: 600;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.top-bar a:hover { color: #00b3b3; }

.top-social a {
    font-size: 1.2rem;
    margin: 0 10px;
}

.navbar {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    background-color: #11141a; 
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #007a7a; 
}

.nav-brand img {
    max-height: 80px; 
    display: block;
}

.navbar nav > ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: #f4f4f4;
}

.navbar nav ul li a:hover {
    color: #00b3b3; 
}

/* --- Dropdown Menu Styles --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #11141a; 
    min-width: 230px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 200;
    top: 100%;
    left: 0;
    border-top: 3px solid #007a7a; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li { 
    width: 100%;
}

.dropdown-content li a {
    padding: 15px 20px;
    display: block;
    text-align: left;
    border-bottom: 1px solid #2c333f;
    white-space: nowrap; 
}

.dropdown-content li:last-child a {
    border-bottom: none;
}

.dropdown-content li a:hover {
    background-color: #2c333f; 
    color: #00b3b3;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================================
   HOME PAGE: HERO SECTION
   ========================================= */
.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 5%;
    background: transparent; 
    min-height: 85vh;
}

.hero-content {
    flex: 1 1 400px;
    margin-right: 2rem;
}

.hero-logo {
    width: 100%;
    max-width: 350px; 
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.7)); 
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: #f4f4f4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* --- Lead Capture Form --- */
.hero-form {
    flex: 0 1 380px;
    background-color: rgba(17, 20, 26, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border-top: 5px solid #007a7a; 
}

.hero-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.hero-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-form input, .hero-form select {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1.8rem;
    border: none;
    border-radius: 4px;
    background-color: #2c333f;
    color: #fff;
    font-size: 1rem;
}

.hero-form input:focus, .hero-form select:focus {
    outline: 2px solid #00b3b3; 
}

.cta-button {
    width: 100%;
    padding: 1.1rem;
    background-color: #D93F30; 
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover { 
    background-color: #B33225; 
    transform: translateY(-2px); 
}

/* =========================================
   HOME PAGE: MAIN SECTIONS
   ========================================= */
.welcome, .programs, .about-section {
    padding: 3rem 5%; 
    text-align: center;
    background-color: transparent; 
}

.welcome h2, .programs h2, .about-intro h2, .team-section h2 {
    margin-bottom: 2.5rem;
    color: #ffffff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.welcome p, .about-intro p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #ccc;
}

.program-grid, .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.core-values { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem; 
}

.team-grid { margin-top: 2rem; }

.program-card, .value-box, .team-card {
    background-color: #11141a;
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 320px;
    text-align: left;
    border-bottom: 3px solid #2c333f;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-box, .team-card {
    padding: 2rem;
    border-top: 3px solid #007a7a;
    border-bottom: none;
}

.team-card { text-align: center; max-width: 320px; }
.value-box { max-width: 500px; }
.program-card { max-width: 450px; }

.program-card:hover, .team-card:hover {
    transform: translateY(-8px);
    border-color: #007a7a; 
}

.program-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.program-details { padding: 2rem; }

.program-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-box h3 {
    margin-bottom: 1rem;
    color: #00b3b3;
}

.value-box ul { list-style-type: none; }
.value-box ul li { margin-bottom: 0.8rem; color: #f4f4f4; }
.value-box p { color: #f4f4f4; }

.team-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #007a7a;
    background-color: #2c333f; 
}

.team-card h3 {
    color: #f4f4f4;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.team-card p {
    color: #00b3b3;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.text-link {
    display: inline-block;
    margin-top: 1.2rem;
    color: #00b3b3; 
    font-weight: bold;
    font-size: 0.9rem;
}

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.contact-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: transparent; 
}

.contact-section h2 {
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px; 
    margin: 0 auto 2rem auto; 
}

.contact-info, .contact-hours {
    background-color: rgba(17, 20, 26, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    flex: 1 1 400px; 
    border-top: 4px solid #007a7a;
    text-align: left;
}

.contact-logo {
    max-width: 120px; 
    margin-bottom: 1.5rem;
    display: block;
}

.contact-info h3, .contact-hours h3 {
    color: #00b3b3;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1.05rem;
}

.contact-info strong {
    color: #f4f4f4;
}

.contact-info a {
    color: #00b3b3;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
}

.contact-hours ul {
    list-style: none;
}

.contact-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2c333f;
    color: #f4f4f4;
    font-size: 1.05rem;
}

.contact-hours ul li:last-child {
    border-bottom: none;
}

/* Force the Google Map to stay inside its box */
.map-container iframe {
    width: 100% !important;
    height: 400px;
    border: none;
}

.map-container {
    margin-top: 1.5rem;
    width: 100%;
    border: 2px solid #007a7a;
    border-radius: 4px;
    overflow: hidden;
}

.site-footer {
    background-color: transparent; /* Stripped away the dark block */
    padding: 1rem 5% 1rem; /* Tighter padding */
    text-align: center;
    border-top: none; /* Removed the harsh teal line */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer .tagline {
    color: #f4f4f4;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-width: 200px; /* Slightly smaller to save space */
    margin-bottom: -30px; 
    position: relative;
    z-index: 10;
}

.footer-contact-box {
    border: 1px solid #007a7a;
    padding: 1.5rem; /* Tighter internal spacing */
    width: 100%;
    max-width: 600px;
    background-color: rgba(17, 20, 26, 0.6); /* A subtle glass effect so the text stays easy to read */
    border-radius: 8px; /* Added soft edges to match the rest of your site */
}

.footer-contact-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-contact-box p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-socials { margin-top: 1.5rem; }

.footer-socials a {
    color: #ccc;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-socials a:hover { color: #00b3b3; }

.copyright {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #666;
}

/* =========================================
   PROGRAM PAGES (BJJ & Women's)
   ========================================= */

/* --- Program Hero --- */
.program-hero {
    padding: 6rem 5%;
    text-align: left;
    /* Forced transparency to let the pattern shine! */
    background: transparent !important; 
    background-color: transparent !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.program-hero-content {
    max-width: 700px;
}

.program-hero-content h3 {
    color: #00b3b3;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.program-hero-content h2 {
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.program-hero-content p {
    font-size: 1.2rem;
    color: #f4f4f4;
}

/* --- Side Logo for Women's Page --- */
.hero-side-logo {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
}

.hero-side-logo img {
    width: 100%;
    max-width: 350px; 
    filter: drop-shadow(0px 8px 16px rgba(0,0,0,0.6)); 
}

/* --- The New "Boxed" Form Section (Formerly Red Banner) --- */
.red-banner {
    background: rgba(17, 20, 26, 0.95) !important; 
    max-width: 1000px;
    margin: 2rem auto 4rem auto; 
    border-radius: 8px;
    
    /* --- The New Red Borders! --- */
    border-top: 4px solid #D93F30; 
    border-bottom: 4px solid #D93F30; 
    
    padding: 2.5rem 5% !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.red-banner h2 {
    color: #ffffff !important; 
    text-shadow: none;
    margin-bottom: 0.5rem !important;
}

.red-banner p {
    color: #aaaaaa !important; /* Soft gray so it doesn't fight the white headers */
    margin-bottom: 1.5rem !important;
}

/* --- Form Inputs (Dark Mode Boxes) --- */
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.inline-form input, .inline-form select {
    flex: 1 1 200px;
    background-color: #11141a; /* Dark boxes */
    color: #fff;
    border: 1px solid #2c333f;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0 !important;
}

.inline-form input:focus, .inline-form select:focus {
    outline: none;
    border: 1px solid #00b3b3; /* Teal glow when typing */
}

/* --- The Red CTA Button --- */
.inline-form .cta-button {
    flex: 1 1 100%; 
    background-color: #D93F30; /* The button becomes the main red element */
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.inline-form .cta-button:hover {
    background-color: #B33225;
    transform: translateY(-2px);
}

/* --- Flexible Icon Grids (Troubles & Benefits) --- */
.troubles-section {
    padding: 5rem 5%;
    text-align: center;
    /* We removed the dark grey box! */
    background-color: transparent; 
    border-top: 3px solid #007a7a;
    border-bottom: 3px solid #007a7a;
}

.troubles-section h2 {
    color: #aaaaaa;
    margin-bottom: 3rem;
}

.troubles-grid, .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trouble-item, .benefit-box {
    flex: 1 1 200px;
    max-width: 250px; 
    background: transparent;
}

.trouble-item img, .benefit-box img {
    width: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

.trouble-item p, .benefit-box p {
    font-size: 1.05rem;
    color: #ffffff; 
    line-height: 1.6;
}

/* --- Alternating Content Blocks --- */
.alternating-blocks {
    padding: 4rem 5%;
    /* We removed the dark grey box! */
    background-color: transparent !important; 
    border-top: 2px solid #007a7a;
    border-bottom: 2px solid #007a7a;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 6rem auto;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-row .text-box {
    flex: 1 1 400px;
}

.content-row .image-box {
    flex: 1 1 400px;
}

/* --- Image Box Fix (Prevents Giant Logos) --- */
.content-row .image-box img {
    width: 100%;
    max-width: 450px; 
    margin: 0 auto; 
    display: block;
    border-radius: 8px;
    border: 3px solid #007a7a;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}

.text-box h3 {
    color: #00b3b3;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.text-box h2 {
    color: #ffffff !important; 
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-box p {
    color: #aaaaaa !important; 
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Testimonial Section --- */
.testimonial-section {
    background: #0b1016; 
    padding: 2.5rem 5%; 
    text-align: center;
    border-top: 3px solid #007a7a;
    border-bottom: 3px solid #007a7a; 
}

/* --- Google Review Link Styling --- */
.review-link {
    display: inline-block;
    color: #00b3b3;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.review-link:hover {
    color: #ffffff;
}

.review-link i {
    margin-right: 8px;
}
.testimonial-section h2 {
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.testimonial-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 2rem;
}

.nav-arrow {
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: #007a7a;
}

.testimonial-body {
    flex: 1;
}

.testimonial-body .stars {
    color: #ffc107; 
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-body h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.testimonial-body p {
    color: #aaaaaa; 
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
}

/* --- FAQ Section --- */
.faq-section {
    background-color: transparent; 
    padding: 5rem 5%;
    text-align: center;
}

.faq-section h2 {
    color: #ffffff; 
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: rgba(17, 20, 26, 0.8); 
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #007a7a; 
    cursor: pointer;
}

.faq-item summary {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ffffff; 
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item p {
    margin-top: 1rem;
    color: #aaaaaa; 
    line-height: 1.6;
    border-top: 1px solid #2c333f; 
    padding-top: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.more-benefits {
    background: rgba(17, 20, 26, 0.95) !important; 
    max-width: 1000px;
    margin: 2rem auto; 
    border-radius: 8px;
    
    /* --- The New Red Borders! --- */
    border-top: 4px solid #D93F30; 
    border-bottom: 4px solid #D93F30; 
    
    padding: 2.5rem 5% 1.5rem !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    text-align: center;
}

.more-benefits h2 {
    color: #ffffff !important;
    margin-bottom: 2rem !important; /* Brought a little breathing room back */
    font-size: 2.2rem;
}

/* Softens the text back to gray now that it is sitting on a dark background again */
.more-benefits .benefit-box p, 
.more-benefits .trouble-item p {
    color: #aaaaaa !important; 
    margin-bottom: 0 !important;
}

.more-benefits img {
    margin-bottom: 1rem !important; 
}

/* --- Photo Gallery Carousel --- */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden; 
    border-radius: 8px;
    border: 3px solid #007a7a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out; 
}

.carousel-slide {
    min-width: 100%; 
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 450px; 
    object-fit: cover; 
    display: block;
    -webkit-touch-callout: none; 
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 20, 26, 0.8);
    color: #00b3b3;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s, color 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #00b3b3;
    color: #11141a;
}

.prev-btn { left: 0; border-radius: 0 4px 4px 0; }
.next-btn { right: 0; border-radius: 4px 0 0 4px; }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .carousel-slide img {
        height: 300px; 
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .top-bar {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    .top-text, .top-social, .top-students { text-align: center; }
    .navbar nav ul { gap: 12px; }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .hero-content {
        margin-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    .hero-content h2 { font-size: 2.2rem; }
    
    .content-row, .content-row.reverse {
        flex-direction: column; 
        gap: 2rem;
    }
    .program-hero-content h2 {
        font-size: 2.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr; 
    }
}

/* --- Floating Chat Widget --- */
.chat-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center; /* Lines the text box up perfectly with the button */
    gap: 15px; 
}

.chat-tooltip {
    background-color: #ffffff;
    color: #11141a;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

/* This creates the tiny triangle pointing to the chat button */
.chat-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.floating-chat-btn {
    background-color: #D93F30; 
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-chat-btn:hover {
    transform: scale(1.1); 
    background-color: #B33225;
}

/* On mobile phones, hide the text bubble so it doesn't cover up the screen */
@media (max-width: 768px) {
    .chat-tooltip {
        display: none;
    }
}

/* =========================================
   SCHEDULE PAGE
   ========================================= */
.schedule-section {
    padding: 5rem 5%;
    text-align: center;
    background-color: transparent;
}

.schedule-section h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.day-card {
    background: rgba(17, 20, 26, 0.95);
    border-top: 4px solid #007a7a;
    border-bottom: 2px solid #2c333f;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.day-card:hover {
    transform: translateY(-5px);
    border-top-color: #D93F30; /* Flashes red when hovered! */
}

.day-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #2c333f;
    padding-bottom: 0.8rem;
    letter-spacing: 2px;
}

.day-card ul {
    list-style: none;
    padding: 0;
}

.day-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #aaaaaa;
    border-bottom: 1px dashed #2c333f;
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
}

.day-card .time {
    color: #00b3b3;
    font-weight: bold;
    font-size: 1.05rem;
}

/* =========================================
   TEAM BIO MODALS (POPUPS)
   ========================================= */
.bio-btn {
    background: transparent;
    color: #00b3b3;
    border: 1px solid #00b3b3;
    padding: 8px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.bio-btn:hover {
    background: #00b3b3;
    color: #050608;
    box-shadow: 0 0 10px rgba(0, 179, 179, 0.5);
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Stays on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Dark transparent background */
    backdrop-filter: blur(5px); /* Blurs the website behind it */
}

.modal-content {
    background-color: #11141a;
    margin: 10vh auto;
    padding: 40px;
    border-top: 4px solid #00b3b3;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    color: #aaaaaa;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    text-align: left;
}

.modal-content h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #D93F30;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ffffff;
}

/* =========================================
   TEAM MEMBER IMAGES (THE FIX)
   ========================================= */
.team-item img {
    width: 160px !important;
    height: 160px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #007a7a;
    margin: 0 auto 15px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    
    /* NEW: Stops the mobile "Save Image" popup! */
    -webkit-touch-callout: none; 
}

/* =========================================
   TEAM MEMBER HOVER ANIMATION
   ========================================= */
/* 1. Add the smooth transition to the existing images */
.team-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 2. The actual "Pop & Glow" effect when hovered */
.team-item img:hover {
    transform: scale(1.08); /* Zooms the picture in slightly */
    box-shadow: 0 0 25px #00b3b3; /* Adds a bright teal glowing halo */
    border-color: #00b3b3; /* Brightens the border */
}

/* =========================================
   BUBBLE HEADS ANIMATION
   ========================================= */
.hero-side-logo img {
    /* Adds a heavy shadow so they look 3D against the background */
    filter: drop-shadow(0 20px 15px rgba(0, 0, 0, 0.7));
    
    /* Starts the endless floating animation */
    animation: arcadeFloat 4s ease-in-out infinite;
    
    /* Acts as the shock absorber for the hover effect */
    transition: filter 0.4s ease; 
    
    /* NEW: Stops the mobile "Save Image" popup! */
    -webkit-touch-callout: none; 
}

/* =========================================
   SKETCH EFFECT (DESKTOP VS MOBILE FIX)
   ========================================= */

/* 1. DESKTOP ONLY: Normal Hover Effect */
@media (hover: hover) {
    .hero-side-logo img:hover {
        filter: grayscale(100%) contrast(150%) drop-shadow(0 20px 15px rgba(0, 179, 179, 0.5));
        cursor: pointer;
    }
    
    .animated-main-logo:hover {
        filter: grayscale(100%) contrast(150%) drop-shadow(0 20px 15px rgba(217, 63, 48, 0.6)); 
        cursor: pointer;
    }
}

/* The actual invisible spring making them float */
@keyframes arcadeFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   HOME PAGE MAIN LOGO ANIMATION
   ========================================= */
.animated-main-logo {
    filter: drop-shadow(0 20px 15px rgba(0, 0, 0, 0.7));
    /* We are reusing the arcadeFloat animation we already built! */
    animation: arcadeFloat 4s ease-in-out infinite;
    transition: filter 0.4s ease; 

/* NEW: Extra CSS Locks */
    user-select: none;         /* Stops double-click highlighting */
    -webkit-user-drag: none;   /* Forces Safari/Chrome to block dragging */
    -webkit-touch-callout: none; /* NEW: Stops the mobile "Save Image" popup! */
}

/* =========================================
   1. MASTER LOGO LOCK (ANIMATED LOGOS)
   ========================================= */
/* We keep pointer-events ON here so your hover animations still work! */
.nav-brand img,
.contact-logo,
.footer-logo,
.hero-side-logo img,
.animated-main-logo {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* =========================================
   2. ULTIMATE GHOST LOCK (STATIC ICONS ONLY)
   ========================================= */
/* We use pointer-events: none to make these 100% un-clickable ghosts! */
.trouble-item img,
.benefit-box img,
.value-box img {
    user-select: none;
    -webkit-user-select: none;   /* Extra Safari lock */
    -webkit-user-drag: none;
    -webkit-touch-callout: none; /* THE MISSING MOBILE LOCK! */
    pointer-events: none; 
}

/* =========================================
   MOBILE BACKGROUND FIX
   ========================================= */
@media (max-width: 768px) {
    body {
        /* 1. Turns off 'fixed' so mobile phones stop zooming in 1000% */
        background-attachment: scroll, scroll;
        
        /* 2. Shrinks the pattern to exactly 100% of the phone's width */
        background-size: 100% auto, 100% 100%; 
        
        /* 3. Lets the pattern repeat down the page so it doesn't just cut off */
        background-repeat: repeat, no-repeat; 
    }
}