/* Universal layout reset - includes padding and borders inside total width */
*, *::before, *::after {
    box-sizing: border-box;
}

/* CSS Variables for easy color changes */
:root {
    --navy: #0e1b29;
    --green: #1F8A70;
    --light-bg: #f8f9fa;
    --text-dark: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navigation */
nav {
    background: var(--navy);
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    /* Spaced out: Logo | Links | Login */
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo,
.nav-auth {
    flex: 1;
    /* These take up equal space to force links to the center */
}

.nav-links {
    flex: 2;
    /* Takes up more space */
    text-align: center;
}

nav img {
    height: 60px;
    vertical-align: middle;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

/* The Green Highlight for the current page */
.nav-links a.active {
    color: var(--green) !important;
    /* Forces the brand green */
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-auth {
    text-align: right;
}

/* Smaller login button for the nav */
.btn-login {
    border: 1.5px solid var(--green);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--green);
}








/* Hero Home with Teacher Background */
.hero-home {
    position: relative;
    height: 850px;
    /* Reduced height to effectively 'crop' the image */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Shifts the content block to the left */
    padding-left: 10%;           /* Keeps it perfectly aligned with your site's side margins */
    text-align: left;            /* Left-aligns the text and the button */
    color: #fff;
    overflow: hidden;
}

.hero-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Using background-position: top center to crop the bottom */
    background: linear-gradient(rgba(201, 214, 229, 0.5), rgba(184, 207, 232, 0.5)), url('images/teacher.jpeg') no-repeat;
    background-size: cover;
    background-position: top center;

    /* Blur Effect */
    filter: blur(3px);
    transform: scale(1.1);
    /* Prevents white edges from blur */
    z-index: -1;
}

.hero-content h1 {
    font-size: 6.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-overlay {
    background: rgba(14, 27, 41, 0.5);
    /* Dark tint so white text pops */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

/* New Navy Background Section for H2s */
.value-prop {
    background-color: var(--navy);
    color: #ffffff;
    padding: 80px 10%;
    text-align: center;
}

.value-prop h2 {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 30px;
}

.value-prop h2:last-child {
    margin-bottom: 0;
}

/* Feature adjustments for spacing */
.features {
    padding: 80px 10%;
    background-color: #fff;
}

/* Button specific for the Hero */
.btn-primary-hero {
    background: var(--green);
    color: white;
    padding: 15px 40px;
    margin-bottom: 100px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary-hero:hover {
    background: #1a7a63;
    transform: translateY(-3px);
}




/* Buttons */
.btn {
    background: var(--green);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.btn:hover {
    background: #0056b3;
}

/* Features Section */
.features {
    background: white;
    /* Clean white background like the image */
    padding: 80px 10%;
    text-align: center;
}

/* 1. Header Wrapper to split the block into 2 equal columns */
.features-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 40px;
}

/* 2. Left Box: Navy Banner holding the text */
.features-title-box {
    flex: 1;
    background-color: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    /* min-height: 180px; */
    /* Forces both boxes to look identical in height layout */
}

/* Overriding the default look of the title to look bright white inside the navy banner */
.features-title-box h2 {
    color: #ffffff !important;
    font-size: 3rem;
    margin: 0;
}

.features h2 {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* 3. Right Box: Holds the soccer image layout seamlessly */
.features-image-box {
    /* Ensures the image respects the rounded card edges */
    height: 100%;
    border-radius: 12px;
    overflow: hidden;    
    flex: 1;
    max-width: 500px; /* Stops the image from scaling out of control on massive monitors */
}

.features-image-box img {
    /* Crops image cleanly inside its layout box boundaries */
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    width: 100%;
    height: 200px;         /* Anchors a consistent, clean block height on desktop */
    object-fit: cover;     /* Crops the image dynamically instead of compressing it */
    border-radius: 12px;   /* Polishes the sharp edges */
    box-shadow: 0 4px 20px rgba(14, 27, 41, 0.08); /* Soft subtle depth using your navy tone */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    /* Updated to match the strong drop-shadow of the team cards */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-15px);
    /* Keeps the shadow consistent or slightly deeper on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Feature Icons - Circular Navy Background */
.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--navy);
    /* Changes the circle background to Navy */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Formats the icon inside the circle and turns it white */
.feature-icon img {
    width: 28px;
    /* Perfect size sizing for line icons */
    height: 28px;
    object-fit: contain;
    filter: invert(1) brightness(2);
    /* Magic trick: turns black lines into crisp white */
}

.feature-item p {
    color: #666;
    /* Softer text color for descriptions */
    font-size: 1rem;
}


/* How It Works Layout Grid */
.how-it-works {
    padding: 100px 10%;
    background-color: #ffffff;
}

.how-it-works-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Slightly larger area layout for text content space */
    gap: 80px;
    align-items: flex-start;
}

/* Left Column Styling */
.how-content-side h2 {
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}

.how-content-side .main-intro {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* Content List Rows styling */
.info-list-item {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e2efeb;
    /* Soft divider line color */
}

.info-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-list-item h3 {
    color: #1F8A70;
    /* Brand Green Titles */
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.info-list-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-list-item a {
    color: #1F8A70;
    text-decoration: underline;
}

/* Right Column: Absolute Monitor Stacking Trick Layout */
.how-graphic-side {
    position: relative;
    width: 100%;
    margin-top: 10px;
    /* Aligns visually balanced across from text list body start */
}

.monitors-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    /* Dictates container boundaries for stacked elements */
}

.monitor {
    position: absolute;
    width: 85%;
    /* Scaled smaller so they overlap inside bounding boxes gracefully */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s ease;
    left: 0;
    top: 0;
    z-index: 1;
}

/* Micro interaction hover pop effects */
.monitors-wrapper:hover .monitor-front {
    transform: translate(5px, -5px) scale(1.05);
}


/* Reviews section ------------------------------------------ */
.reviews-section {
    background-color: #f0f7f5; /* Soft brand-tinted background to break up the white space */
    padding: 40px 10%;
    text-align: center;
    border-top: 1px solid #e2efeb;
    border-bottom: 1px solid #e2efeb;
}

.review-container {
    max-width: 950px;
    margin: 0 auto;
}

.review-text {
    font-size: 1.6rem;
    font-style: italic;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: 400;
}

.review-author {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.review-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(31, 138, 112, 0.4), rgba(0, 0, 0, 0));
    max-width: 600px;
    margin: 40px auto;
}





/* About Page */
.mission-section {
    padding: 100px 10%;
    text-align: left;
    /* Removed the dark overlay and set to no-repeat */
    background: url('images/blackboard.jpeg') no-repeat;
    /* Stretches horizontally to 100% width, height adjusts automatically */
    background-size: 100% auto;
    background-position: center;
    color: #fff;
}

.mission-section h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    /* Added shadow to keep text readable against the raw image */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.mission-text {
    font-size: 1.5rem;
    color: #fff;
    max-width: 600px;
    /* Narrower width to match your red box screenshot */
    margin: 0;
    /* Removes the 'auto' centering to pull it to the left */
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
    /* Keeps text readable against the chalk */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.story-section {
    padding: 80px 10% 100px;
    background-color: #0e1b29;
    /* Matches original website navy */
    color: #ffffff;
}

.story-grid {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    color: #ffffff;
    /* Contrast against navy */
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.story-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    /* Subtle radius from the screenshot */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}







/* Leadership Team Styles */
.leadership-section {
    padding: 80px 10%;
    background-color: #fff;
}

.section-title {
    color: var(--green);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.section-intro {
    color: #666;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 0px;
}

.team-card {
    text-align: center;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    /* Stronger drop-shadow effect as requested */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-15px);
}

.team-card img {
    width: 60%;
    /* Slightly smaller images */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.team-card h3 {
    color: #0e1b29;
    margin-bottom: 2px;
}

.team-card .role {
    color: #1F8A70;
    /* Verisafe Green for the role text */
    font-weight: 600;
}

.team-card .role-text {
    color: #777;
    font-size: 0.8rem;
}

.advantage-section {
    padding: 40px 10%;
    background-color: var(--light-bg); /* Alternates background rhythm beautifully */
    border-top: 1px solid #eaeaea;
}

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

.advantage-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    border: 1px solid #eef0f2;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Subtle top indicator line matching company green */
.advantage-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--green);
}

.advantage-card h3 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}










/* Pricing Page Specifics */

.pricing-header {
    text-align: center;
    padding: 80px 10% 40px;
    background: var(--light-bg);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 10% 80px;
    flex-wrap: wrap;
}

.pricing-card {
    background: white;
    border: 1px solid #ddd;
    padding: 40px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.pricing-card.featured {
    border: 2px solid var(--green);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card .badge {
    background: var(--green);
    color: white;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--navy);
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.stripe-pricing-section {
    padding: 40px 5%;
    background-color: #fff;
    /* White background to make the Stripe cards pop */
}

.stripe-container {
    margin: 0 auto;
    /* Optional: adds a soft shadow around the whole table area */
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
}

/* Ensure the mission text on the pricing page is left-aligned like the About page */
.pricing-page .mission-text {
    text-align: left;
    margin: 0;
}







/* FAQ Header - Library Background */
.faq-header {
    position: relative;
    padding: 100px 10%;
    text-align: left;
    color: #fff;
    overflow: hidden;
    background: none !important;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.faq-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/library.jpg') no-repeat;
    background-size: cover;
    background-position: center;

    /* The Blur Effect */
    filter: blur(3px);

    /* Slightly scale up the image to hide the white 'glow' edges caused by blurring */
    transform: scale(1.1);

    /* Put the image behind the text */
    z-index: -1;
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 60px 10%;
    /* Adjusted top padding to bridge gap */
    background-color: #f8f9fa;
    text-align: left;
    /* Ensures section titles also align left */
}

.faq-grid {
    max-width: 900px;
    margin: 10px 0 0;
}

.faq-row {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-row summary {
    background-color: #f0f7f5;
    padding: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0e1b29;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
    text-align: left;
    /* Explicitly align summary text left */
}

/* 1. Standard Hover (Only applies when the parent .faq-row is NOT open) */
.faq-row:not([open]) summary:hover {
    background-color: #e2efeb;
    color: #0e1b29;
    /* Keeps text dark on hover */
}

/* 2. Open State (Overrides everything when the row is clicked) */
.faq-row[open] summary {
    background-color: var(--navy);
    color: #ffffff;
    cursor: default;
    /* Optional: changes cursor to signal it's already expanded */
}

/* 3. Ensure the icon turns white when open */
.faq-row[open] summary::after {
    color: #ffffff;
    content: '-';
}

/* Custom indicator arrow */
.faq-row summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    color: #1F8A70;
    transition: transform 0.3s ease;
}

.faq-content {
    padding: 0 25px 25px 25px;
    line-height: 1.7;
    color: #444;
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: left;
    /* Aligns the answer text to the left */
}










/* Contact Page Header Logic */
.contact-header {
    position: relative;
    padding: 100px 10%;
    text-align: left;
    color: #fff;
    overflow: hidden;
    background: none !important;
}

.contact-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/scouts.jpg') no-repeat;
    background-size: 100% auto;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.1);
    z-index: -1;
}

/* Button Styling */
.contact-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--green);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--navy);
}

/* Smooth Scroll Effect */
html {
    scroll-behavior: smooth;
}

/* Form Styling */
.form-section {
    padding: 80px 10%;
    background: #f8f9fa;
}

.contact-ui-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.schedule-section {
    padding: 80px 10%;
    text-align: center;
}








/* ==========================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 1024px) {

    /* 1. Fix Navigation Layout */
    nav {
        flex-direction: column;
        /* Stacks logo and links vertically */
        padding: 15px 5%;
        text-align: center;
        position: static !important;
    }

    .logo,
    .nav-auth,
    .nav-links {
        flex: none;
        /* Disables the desktop layout spacing constraints */
        width: 100%;
        margin-bottom: 12px;
    }

    .nav-auth {
        text-align: center;
        /* Centers login button on mobile mobile screens */
        margin-bottom: 5px;
    }

    .nav-links a {
        display: inline-block;
        margin: 5px 8px;
        /* Slightly closer spacing to avoid text wrapping */
        font-size: 0.95rem;
    }

    /* Home page (index.html) =============================================== */

    /* 2. Fix Hero Banner Typography & Layout */
    .hero-home {
        height: auto;
        /* Allow content height to dictate sizing instead of a rigid 800px */
        padding: 50px 5%;        
    }

    .hero-home::before {
        background-position: center center;
        /* Keep face frame centered */
    }

    .hero-home h1,
    .hero-content h1 {
        font-size: 3rem !important;
        /* Drops title from a massive 3.5rem to an readable size */
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .btn-primary-hero {
        padding: 12px 30px;
        font-size: 1rem;
        margin-top: 40px;
    }

    /* 3. Global Container Spacing for Smaller Viewports */
    .value-prop,
    .features,
    .how-it-works,
    .faq-section {
        padding: 50px 5% !important;
        /* Opens up content space from 10% side pads */
    }

    .value-prop h2 {
        font-size: 1.25rem;
        /* Makes text less intense on compact screens */
    }

    .how-it-works-container {
        display: flex;
        /* Switch grid to flex layout for reordering */
        flex-direction: column;
        /* Stack elements top-to-bottom */
        gap: 40px;
    }

    /* 1. Push the graphic side to the top of the stack */
    .how-graphic-side {
        order: 1;
        margin-top: 0;
    }

    /* 2. Push the text content side below the graphic */
    .how-content-side {
        order: 2;
    }

    .monitors-wrapper {
        position: relative;
        width: 100%;
        height: 180px;
        /* Reduced container height since they no longer stack down */
        max-width: 480px;
        margin: 0 auto;
    }

    .monitor {
        width: 55%;
        /* Made smaller so both images can fit on the screen side-by-side */
    }

    .monitor-back {
        left: 0;
        top: 0;
        z-index: 1;
    }

    .monitor-front {
        right: 0;
        top: 0;
        /* Cleared vertical offset so it lines up horizontally with the back monitor */
        z-index: 2;
    }

    .features-header-wrapper {
        flex-direction: column;   /* Stacks the title safely over the image */
        align-items: stretch; /* Keeps both boxes matched at 100% full width on mobile */
        gap: 16px;                /* Tighter spacing for mobile viewports */
    }

    .features-title-box {
        height: 160px;            /* Slimmer banner profile so your feature items stay close by */
        border-radius: 8px;       /* Slightly tighter radius appropriate for small screens */
    }

    .features-image-box {
        width: 100%;
        max-width: 100%;
    }

    .features-image-box img {
        height: 160px;            /* Slimmer banner profile so your feature items stay close by */
        border-radius: 8px;       /* Slightly tighter radius appropriate for small screens */
    }

    .reviews-section {
        padding: 40px 5% !important;
    }
    .review-text {
        font-size: 1.3rem;
    }
    .review-author {
        font-size: 1rem;
    }

    /* About ===============================================*/

    /* Fixes the About Page Mission Section Background */
    .mission-section {
        background-size: cover !important; /* Forces the blackboard image to scale up and fully cover the box */
        padding: 50px 8% !important;        /* Redefines comfortable padding so it wraps cleanly on phone viewports */
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .story-grid {
        flex-direction: column;
    }

     .advantage-grid {
        grid-template-columns: 1fr;
    }

    .mission-section h1 {
        font-size: 2rem;
    }

    .mission-text {
        font-size: 1.2rem;
    }

    .contact-header {
        padding: 40px 4% !important;        /* Streamlines vertical space around your contact buttons */
    }

    .contact-header::before {
        background-size: cover !important;  /* Forces the scouts image to completely fill the background without gaps */
    }
}