/* ========================== */
/* Reset & Global Styles */
/* ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bai Jamjuree', sans-serif;
}

/* General Styles */
body {
    font-family: 'Bai Jamjuree', sans-serif;
    background-color: #03451F; /* Green background */
    color: white; /* White text for contrast */
    text-align: center;
    margin: 0;
    padding: 0;
    margin-top: 80px; /* Adjust based on navbar height */
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}



/* Section Widths */
.hero, .example-section {
    width: 100%; /* Full width */
    max-width: 1200px; /* Same maximum width as the Hero section */
    margin: 0 auto; /* Centered */
    padding: 50px 20px;
}

/* Main Container */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

/* Header Styling */
h2 {
    color: #FDE11E; /* Yellow heading */
    background-color: rgba(255, 255, 255, 0.1); /* Light overlay */
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
}

.hero h2 {
        color: white; /* Yellow heading */
        background-color: rgba(255, 255, 255, 0.1); /* Light overlay */
        display: inline-block;
        padding: 10px 20px;
        border-radius: 8px;
}

h1, h2, h3 {
    font-weight: 600; /* Bold headings */
}

p, td, th, button {
    font-weight: 400; /* Regular text */
}

/* Prevent horizontal scroll on mobile */
body, html {
    overflow-x: hidden;
    width: 100%;
}

/* Example Section - Ensure Proper Scaling */
.example-section {
    padding-top: 1px; /* Reduce space at the top */
    padding-bottom: 1px; /* Add some space at the bottom */
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header and Paragraph Centering */
.example-header {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800; /* Yellow */
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
    max-width: 90%; /* Prevent it from stretching too wide */
}

/* Example Paragraph Styling */
.example-paragraph {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    max-width: 90%; /* Ensures good readability */
}

/* Ensure all internal elements are contained properly */
.example-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* If there's an image or video, make sure it scales properly */
.example-image, .example-video {
    width: 100%;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .example-header {
        font-size: 1.8rem;
    }
    
    .example-paragraph {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}



/* Field Container */
.field-container {
    position: relative;
    width: 100%; /* Make it responsive */
    max-width: 800px; /* Maintain aspect ratio */
    height: auto;
    margin: 0 auto; /* Ensures it stays centered */
    display: flex;
    justify-content: center;
}

.field-container img {
    display: block;
    width: 100%; /* Ensures the field scales */
    height: auto;
    margin: auto;
}

.player, .opponent, .ball {
    position: absolute;
    font-size: 24px;
    color: blue;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
}

.player {
    color: blue;
    font-size: 28px;
}

.player-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 900;
    color: #FDE11E;
    text-shadow: 1px 1px 2px black;
    pointer-events: none;
}

/* Opponent (Runner) - Medium Size for Better Proportion */
.opponent {
    color: yellow; /* Stronger highlight */
    font-size: 34px; /* Slightly reduced from 40px */
    width: 32px; /* Slightly smaller */
    height: 32px;
    transform: translate(-50%, -50%); /* Ensures proper positioning */
    text-shadow: 1px 1px 2px black; /* Add subtle shadow */
}

/* Ball (Smaller, but still centered) */
.ball {
    color: white; /* Baseball icon color */
    font-size: 14px; /* Further reduced size */
    background-color: red; /* Red circular background */
    border-radius: 50%; /* Makes it round */
    width: 18px; /* Slightly smaller */
    height: 18px;
    box-shadow: 0px 0px 5px rgba(255, 0, 0, 0.7); /* Red glow effect */
    border: 1px solid rgba(255, 255, 255, 0.6); /* White border for better visibility */
    transform: translate(-50%, -50%); /* Ensures correct alignment */
}

/* Table Styling */
.description-table {
    font-size: 0.85rem;
    width: 100%;
    max-width: 800px;
    margin: 15px auto;
    border-collapse: collapse;
    background: white; /* White background */
    color: black; /* Black text */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.description-table th {
    background-color: #FDE11E; /* Yellow */
    color: black; /* Black text */
    font-weight: 600;
    text-align: center;
    padding: 6px 10px;
    line-height: 1.2;
    border-bottom: 2px solid black;
}

.description-table td {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 6px 10px;
    line-height: 1.2;
    text-align: center; /* Horizontally center content */
    vertical-align: middle; /* Vertically center content */
}

/* Zebra Striping for Better Readability */
.description-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray */
}

.description-table tr:nth-child(odd) {
    background-color: white;
}

.description-table tr:hover {
    background-color: #f1f1f1;
}


/* Buttons Styling */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

button:hover {
    background-color: #0056b3;
}

/* Audio Play Button */
.description-table td button {
    background-color: #03451F; /* Green */
    color: white;
    border: 1px solid #FDE11E; /* Yellow border */
    font-size: 16px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.description-table td button i {
    color: #FDE11E; /* Yellow icon */
    font-size: 14px;
}

.description-table td button:hover {
    background-color: #FDE11E; /* Yellow hover */
    color: black;
}

.description-table td button:hover i {
    color: black; /* Icon changes to black on hover */
}

#situationPlayButton {
    background-color: #03451F; /* Green */
    border: 2px solid #FDE11E; /* Yellow border */
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#situationPlayButton i {
    color: #FDE11E; /* Yellow icon */
    transition: color 0.3s ease-in-out;
}

#situationPlayButton:hover {
    background-color: #FDE11E; /* Yellow hover */
}

#situationPlayButton:hover i {
    color: black; /* Black icon on hover */
}

/* Overlay Styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Scale with field */
    height: auto;
    opacity: 1; /* Arrows start visible */
    transition: opacity 0.5s ease-in-out; /* Smooth fade effect */
    z-index: 2; /* Ensure it sits above field but below moving players */
}

/* Run Play Button Styling */
#runPlayButton {
    background-color: #03451F; /* Green background */
    color: white;
    border: 2px solid #FDE11E; /* Yellow border */
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

#runPlayButton i {
    color: #FDE11E; /* Yellow icon */
    font-size: 20px;
}

#runPlayButton:hover {
    background-color: #FDE11E; /* Yellow hover */
    color: black;
    transform: scale(1.05); /* Slight pop effect */
}

#runPlayButton:hover i {
    color: black;
}

#runPlayButton:disabled {
    background-color: #666; /* Gray when disabled */
    border-color: #999;
    color: #ddd;
    cursor: not-allowed;
    transform: none;
}

#runPlayButton:disabled i {
    color: #bbb;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px; /* Smaller text for better readability */
    }

    h2 {
        font-size: 16px; /* Reduce heading size */
    }

    .description-table {
        font-size: 12px; /* Make table text smaller */
    }

    .description-table th, .description-table td {
        padding: 4px; /* Reduce padding to fit better */
    }

    button {
        font-size: 14px; /* Adjust button text size */
        padding: 6px 12px; /* Make the button slightly smaller */
    }
}

@media screen and (max-width: 1024px) {
    .player, .opponent, .ball {
        font-size: 20px; /* Slightly smaller */
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 768px) {
    .player, .opponent, .ball {
        font-size: 16px; /* More compact */
        width: 20px;
        height: 20px;
    }

    .description-table td button {
        font-size: 14px; /* Smaller icon */
        padding: 3px
    }
}

@media screen and (min-width: 768px) {
    .main-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center; /* Center everything vertically */
        width: 100%;
        margin: auto;
        gap: 20px;
        min-height: 90vh; /* Ensures it fills most of the screen */
    }

    .description-table {
        width: 100%;
        max-width: 100%;
    }

    .field-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Ensures field is centered */
        width: 100%; /* Make it responsive */
        max-width: 800px; /* Maintain aspect ratio */
        height: auto;
        margin: 0 auto; /* Ensures it stays centered */
        position: relative; /* Ensure position relative for overlay and players */
    }

    #runPlayButton {
        margin-top: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        height: 50px;
        font-size: 1rem;
    }
}


  
    
/* ========================== */
/* Navbar Styles */
/* ========================== */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #03451F;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Center Navbar Content */
.navbar-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFC800;
    text-decoration: none;
}

/* Navbar Links */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* Navbar Links */
.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFC800;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out; /* Added transition for hover effects */
    padding: 10px 15px; /* Added padding for a larger clickable area */
    border-radius: 5px; /* Added slight rounding for a more polished look */
}

.nav-links a i {
    color: white; /* Keeps them visible by default */
    transition: color 0.3s ease-in-out;
}

/* Change Icons to Site Green on Hover */
.nav-links a:hover i {
    color: #0FA34A; /* Your site’s green */
}

.nav-links a:hover {
    color: #03451F; /* Dark green text on hover */
    background-color: yellow; /* Yellow background on hover */
    transform: scale(1.05); /* Slight scaling for a subtle effect */
}

/* Hamburger Menu */
.nav-toggle {
    background: transparent !important; /* No background */
    border: none;
    outline: none;
    color: white; /* Icon stays visible */
}

/* Ensure when tapped, it stays theme-friendly */
.nav-toggle:focus,
.nav-toggle:active {
    background: rgba(255, 255, 255, 0.1) !important; /* Subtle highlight */
    outline: none;
    box-shadow: none;
}

.nav-toggle i {
    color: white !important; /* Keeps icon white */
    font-size: 1.8rem; /* Matches desktop styling */
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* Hide hamburger menu on larger screens */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}
/* Ensure Hamburger Shows on Mobile */
@media (max-width: 1024px) {
    .nav-links {
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        right: 10px;
        background: #03451F; /* Solid background matching theme */
        border-radius: 8px;
        padding: 10px;
        box-shadow: 0px 4px 10px rgba(255, 200, 0, 0.6); /* Yellow glow effect */
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        display: none; /* Hide by default */
    }

    /* Show dropdown when active */
    .nav-links.active {
        display: flex;
    }

    /* Hover effect for dropdown menu links */
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 10px 15px; /* Ensure padding covers the entire link area */
    }

    .nav-links a i {
        font-size: 1rem; /* Adjust icon size */
        color: white; /* Matches the navbar text */
    }

    .nav-links a:hover {
        background-color: yellow; /* Yellow background on hover */
        color: #03451F; /* Dark green text on hover */
    }

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

    .nav-toggle {
        display: block;
    }
}


/* ========================== */
/* Hero Section Styles */
/* ========================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 120px auto 0;
    padding: 50px 20px;
}

/* Left Side of Hero */
.hero-left {
    width: 50%;
    padding-right: 20px; /* Added padding to the right */
}

.hero-left h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #FFC800;
    margin-bottom: 20px; /* Added margin to create space below heading */
}

.hero-left p {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 30px; /* Added margin to create space below paragraph */
}


.cta-button {
    background-color: #FFC800;
    color: #000;
    font-size: 1.2rem;
    padding: 12px 24px;
    border: a;
    cursor: pointer;
    border-radius: 5px;
}

/* Play Button Fix */
/* Center the text and button in hero-right */
.hero-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Ensure vertical centering */
    text-align: center;
    width: 50%; /* Ensure it takes up the full available width */
}



/* ========================== */
/* Responsive Hero Fixes */
/* ========================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-left, .hero-right {
        width: 100%;
    }

    .play-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;  /* Ensure a fixed width */
        height: 60px; /* Keep it square */
        margin: 0 auto; /* Center horizontally */
    }

    .cta-button {
        margin-bottom: 20px; /* Extra space below "GET STARTED" */
    }

    #videoText {
        margin-top: 10px; /* Space between text and button */
        margin-bottom: 10px; /* Extra space before button */
    }

    /* Light divider line for separation */
    .mobile-divider {
        width: 50%; /* Keep it subtle */
        height: 2px;
        background: rgba(255, 200, 0, 0.5); /* Lighter yellow */
        margin: 20px auto; /* Centered with spacing */
        border-radius: 2px;
    }
}

#videoText {
    font-size: 1.5rem; /* Increase text size */
    font-weight: bold; /* Make it stand out */
    color: white;
    margin-bottom: 15px; /* Space between text and button */
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    display: block;
}


/* Reusable Button Style */
.button-style {
    background-color: #03451F; /* Green background */
    color: white;
    border: 2px solid #FDE11E; /* Yellow border */
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.button-style:hover {
    background-color: #FDE11E; /* Yellow background on hover */
    color: #03451F; /* Dark green text on hover */
    transform: scale(1.05);
}

/* Divider Line */
.divider {
    height: 4px;
    background: linear-gradient(to right, #03451f,#FFC800, #03451F); /* Gradient from yellow to green */
    margin: 40px 0; /* Space above and below the divider */
    border-radius: 2px; /* Slight rounding for a smooth look */
}

/* Divider Line */
.divider-clear {
    height: 4px;
    background: linear-gradient(to right, #03451f00,#FFC800, #03451f00); /* Gradient from yellow to green */
    margin: 40px 0; /* Space above and below the divider */
    border-radius: 2px; /* Slight rounding for a smooth look */
}

.button-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%; /* Make the row span the full width */
    max-width: 400px; /* Optional: prevent it from stretching too wide */
    margin-left: auto;
    margin-right: auto;
}



/* ========================== */
/* Why This Matters Section */
/* ========================== */
.why-matters {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight contrast */
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto; /* Centers section */
}

.why-matters h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800; /* Matches site theme */
    margin-bottom: 20px;
}

.why-text {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.highlight {
    color: #FFC800; /* Yellow emphasis */
    font-weight: bold;
}

.brand-name {
    color: #FFC800;
    font-weight: bold;
}

.why-matters .cta-button {
    background-color: #03451F; /* Green background */
    color: white;
    border: 2px solid #FDE11E; /* Yellow border */
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    text-align: center;
    
}

.why-matters .cta-button:hover {
    background-color: #FDE11E; /* Yellow hover */
    color: black;
    transform: scale(1.05); /* Slight pop effect */
}

/* ========================== */
/* How It Works Section */
/* ========================== */
.how-it-works {
    text-align: center;
    padding: 50px 20px;
    max-width: 1000px;
    margin: 50px auto;
}

.how-header {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800; /* Matches theme */
    margin-bottom: 20px;
}

.how-text {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* ========================== */
/* Consistent Section Width & Styling */
/* ========================== */
.styled-section {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Light contrast */
    border-radius: 10px;
    max-width: 1200px; /* Matches hero section */
    margin: 50px auto; /* Centers section */
    width: 100%; /* Ensures responsiveness */
}


/* Headers for Consistency */
.styled-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800; /* Bright yellow title */
    margin-bottom: 20px;
}

/* Paragraph Styling */
.styled-section p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
/* ========================== */
/* Features Section (What You Get Inside) */
/* ========================== */
.features-section {
    text-align: center;
    padding: 40px 20px;
}

/* Feature Box Container */
.features-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Ensures stacking only on smaller screens */
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Feature Box */
.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 400px; /* Responsive width */
    max-width: 400px;
    text-align: center;
    border: 2px solid #FFC800;
}

/* Feature Icons */
.feature-box i {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

/* Feature Title */
.feature-box h3 {
    font-size: 1.5rem;
    color: #FFC800;
    margin-bottom: 10px;
}

/* Feature Text */
.feature-box p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

/* Early Adopters Promo */
.early-adopters {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFC800;
    margin-top: 20px;
}

/* CTA Button */
.features-section .cta-button {
    margin-top: 20px;
    background-color: #03451F;
    color: white;
    border: 2px solid #FDE11E;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.features-section .cta-button:hover {
    background-color: #FDE11E;
    color: black;
    transform: scale(1.05);
}



/* ========================== */
/* Pricing Section */
/* ========================== */
.pricing-section {
    text-align: center;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Set cards to the same height */
.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #FFC800;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    place-items: center;
}

.pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.5); /* Yellow glow */
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Highlight effect for Lifetime Plan */
.pricing-card.highlight {
    background: rgba(255, 200, 0, 0.2);
    border: 3px solid #FFC800;
    position: relative;
    overflow: hidden;
    /* transform: scale(1.05); */
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800;
    margin-bottom: 10px;
}

/* Ensure all buttons stay at the bottom */
.pricing-card ul {
    flex-grow: 1; /* Pushes the button to the bottom */
    list-style: none;
    padding: 0;
}

.pricing-card ul li {
    font-size: 1rem;
    color: white;
    padding: 5px 0;
}

/* Button alignment fix */
.pricing-card .cta-button {
    margin-top: auto; /* Ensures button is at the bottom */
    background-color: #03451F;
    color: white;
    border: 2px solid #FDE11E;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
    text-decoration: none;
}

.pricing-card .cta-button:hover {
    background-color: #FDE11E;
    color: black;
    transform: scale(1.05);
}

.pricing-card.highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    z-index: 1;
    animation: shimmer 4s ease-in-out infinite; /* 🔁 ALWAYS shimmering */
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* ========================== */
/* Footer Styling */
/* ========================== */
.site-footer {
    background-color: #022B14; /* Darker green for contrast */
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1rem;
    margin-top: 50px;
    border-top: 3px solid #FFC800; /* Yellow top border */
}

/* Footer Content Layout */
.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Hyperlink for 8-Bit Hive Technology */
.footer-link {
    color: #FFC800; /* Normal yellow */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.footer-link:visited {
    color: #D4A017; /* Darker yellow after visited */
}

.footer-link:hover {
    color: #FDE11E; /* Lighter yellow for hover effect */
}

.site-footer p {
    margin: 5px 0;
}

.site-footer strong {
    color: #FFC800; /* Yellow highlight */
}

/* Add Extra Spacing Only for Pricing Page */
.pricing-page-section {
    margin-top: 100px; /* Adjust as needed */
}

.footer-social {
    margin: 10px 0 15px;
}

.footer-social .social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-social .social-icon:hover {
    transform: scale(1.2);
    text-shadow: 0 0 8px #FFC800;
}


/* ========================== */
/* Future Features Section */
/* ========================== */
.future-features {
    text-align: center;
    padding: 40px 20px;
}

/* Intro Text */
.future-intro {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Future Features Grid */
.future-features-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch; /* <- changed from flex-start to stretch */
}

.future-feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 400px;
    max-width: 400px;
    text-align: center;
    border: 2px solid #FFC800;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px; /* <--- add this to *force visible height equalization* */
}

/* Feature Icons */
.future-feature-box i {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

/* Feature Title */
.future-feature-box h3 {
    font-size: 1.5rem;
    color: #FFC800;
    margin-bottom: 10px;
}

/* Feature Text */
.future-feature-box p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    flex-grow: 1;
    margin-top: auto;
}

/* Future Note Text */
.future-note {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFC800;
    margin-top: 20px;
}

/* CTA Button */
.future-features .cta-button {
    margin-top: 20px;
    background-color: #03451F;
    color: white;
    border: 2px solid #FDE11E;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.future-features .cta-button:hover {
    background-color: #FDE11E;
    color: black;
    transform: scale(1.05);
}



/* ========================== */
/* FUTURE SECTIONS - COMMENTED OUT FOR LATER USE */
/* ========================== */

/* Who This Is For Section */
.who-this-for {
    /* display: none; */ /* Uncomment when ready to use */
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto;
}

.who-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 20px auto;
}

.who-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    max-width: 250px;
    text-align: center;
    border: 2px solid #FFC800;
}

.who-item i {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.who-item h3 {
    font-size: 1.5rem;
    color: #FFC800;
    margin-bottom: 10px;
}

.who-item p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

/* Social Proof (Testimonials) */
.social-proof {
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 50px auto;
    text-align: center;
}
.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 20px auto;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    max-width: 350px;
    text-align: center;
    border: 2px solid #FFC800;
}

.testimonial p {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
}

.testimonial strong {
    font-size: 1rem;
    color: white;
    display: block;
    margin-top: 10px;
}

.testimonial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 200, 0, 0.3);
    transition: all 0.2s ease;
}

/* Final CTA */
.final-cta {
    /* display: none; */ /* Uncomment when ready */
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto;
}

.final-cta h2 {
    font-size: 2rem;
    color: #FFC800;
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 20px;
}

.final-cta .cta-button {
    background-color: #03451F;
    color: white;
    border: 2px solid #FDE11E;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.final-cta .cta-button:hover {
    background-color: #FDE11E;
    color: black;
    transform: scale(1.05);
}

/* Specifically make the volume icon in the example scenario white */
#situationPlayButton i {
    color: white;
}

/* ========================== */
/* Navbar Branding - EliteSportsIQ */
/* ========================== */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none; /* Remove underline */
    color: white; /* Ensure text stays white */
}

.navbar-brand:hover {
    color: #FFC800; /* Change color on hover */
}

/* Font Awesome Icon */
.navbar-brand i {
    font-size: 1.8rem; /* Make it slightly larger */
    color: #FFC800; /* Matches your theme */
}

.navbar-logo {
    height: 40px; /* Adjust height as needed */
    width: auto;
    display: inline-block;
    vertical-align: middle;
}


/* Stacked Text */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* ELITE and SPORTS styling */
.elite {
    font-size: 1.1rem; /* Slightly larger for emphasis */
    color: white;
}

.sports {
    font-size: 1rem;
    color: white;
}

/* IQ Styling (same height as stacked text) */
.iq {
    font-size: 1.8rem; /* Matches icon height */
    font-weight: bold;
    color: #FFC800; /* Standout color */
    margin-left: 4px;
}

.navbar a {
    text-decoration: none !important;
}

.navbar a:hover, 
.navbar a:focus {
    text-decoration: none !important;
}

/* ================================ */
/* Defensive Situations Layout Fix */
/* ================================ */
/* Add space so content isn't hidden behind navbar */
#situation-container {
    padding-top: 0; /* Remove any top padding */
    margin-top: 0;  /* Reduce any extra space */
}

.situation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔥 Centers the header */
    justify-content: center;
    gap: 20px;
}

/* Ensure images and animations stay contained */
.field-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

/* ================================ */
/* Mobile & Tablet: Stack Layout */
/* ================================ */
@media screen and (max-width: 768px) {
    .situation-container {
        flex-direction: column; /* Stack only on small screens */
        align-items: center;
    }

    .left-content,
    .right-content {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .content-wrapper {
        flex-direction: column;
    }

    .left-content {
        order: 2;
        width: 100%;
    }

    .right-content {
        order: 1;
        width: 100%;
    }
    }

/* ================================ */
/* Situation Selection Buttons */
/* ================================ */
.situation-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0; /* Reduce padding */
    margin-bottom: 5px; /* Reduce space below buttons */
}

/* Differentiate Situation Buttons */
.situation-button {
    background: #03451F; /* Darker green */
    color: white; /* Yellow text */
    border: 2px solid #FDE11E;
    padding: 8px 12px; /* Tighter padding */
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    width: 94%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 auto;
    transition: background-color 0.3s ease-in-out, transform 0.15s ease-in-out;
}

.situation-button i {
    color: #FDE11E; /* Yellow icon */
    transition: color 0.3s ease-in-out;
    padding: 6px;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 1rem;
}

.situation-button:hover {
    background: #FFC800;
    color: #03451F;
    transform: scale(1.08);
}

.situation-button:hover i {
    color: #022B14;
}

.situation-text {
    flex-grow: 1;
    font-size: 0.95rem;
}

.position-circle {
    width: 28px;
    height: 28px;
    background-color: #ffd700;
    color: #004d25;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    border: 2px solid #004d25;
}

.position-circle-group {
    display: flex;
    gap: 4px; /* Slightly less than before */
    margin-left: auto;
}

.situation-button:focus {
    outline: none;
    background-color: inherit;
    color: inherit;
}

.circle-note {
    font-size: 0.85rem;
    color: #FDE11E;
    margin: 10px 0 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    width: 100%;  /* ✅ This was missing */
}

.example-circle {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid #FDE11E;
    color: #03451F;
    background-color: #FDE11E;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .situation-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .situation-button {
        width: 80%; /* Larger buttons for easier tapping */
    }

    .situation-button:focus {
        outline: none;
        background-color: inherit;
        color: inherit;
    } 
    .circle-note {
        margin-bottom: 10px;
      }
}

/* Scenario Accordion */
.scenario-accordion {
    width: 90%;
    max-width: 600px;
    max-height: none;
    margin: 10px auto;
    margin-top: 60px;
    overflow: visible;
}

/* Accordion Button */
.accordion-button {
    background: #03451F;
    color: white;
    border: 2px solid #FFC800;
    padding: 10px;
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between icon and text */
}

.accordion-button:hover,
.accordion-button.active {
    background: #FFC800;
    color: #03451F;
}

.accordion-button i {
    transition: transform 0.3s ease-in-out;
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.accordion-content.active {
    max-height: 1000px; /* Adjust based on content */
}


/* Select New Situation Button */
.select-new-button {
    display: none; /* Initially hidden */
    background: #FFC800;
    color: #03451F;
    border: none;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    margin: 20px auto;
    width: 80%;
    max-width: 300px;
}

.select-new-button:hover {
    background: #03451F;
    color: #FFC800;
}

@media (max-width: 768px) {
    .styled-section {
        padding: 30px 10px; /* Reduce padding for mobile */
    }

    .future-features-container,
    .features-container {
        gap: 15px; /* Reduce spacing between elements */
    }

    .feature-box p,
    .future-feature-box p {
        margin-bottom: 5px; /* Reduce extra space below paragraphs */
    }
}

.future-feature-box {
    min-height: auto !important;
}

/* Wrap icon to prevent shifting */
.player-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}


/* Highlighted Player Effect */
.highlight-player .player-icon {
    color: #04d98b !important; /* Site Green */
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Yellow Glow */
    transform: scale(1.2); /* Ensures only the icon grows, not the container */
}

/* Table row highlight effect */
.description-table tr.selected {
    background-color: rgba(3, 69, 31, 0.5); /* Slight green tint */
    transition: background-color 0.3s ease-in-out;
}

/* Highlighted Table Row */
.highlight-row {
    background-color: rgba(65, 141, 97, 0.5) !important; /* Light green tint */
    transition: background-color 0.3s ease-in-out;
    height: auto; /* Ensure the row does not expand */
    border: none !important; /* Prevent border changes from affecting row size */
    padding: inherit !important; /* Keep padding consistent */
}

.highlight-player {
    color: #04d98b !important; /* Site Green */
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9); /* Yellow Glow */
    transform: translate(-50%, -50%) scale(1.2); /* Grow without shifting */
}

/* Quick Pricing Blurb */
.pricing-blurb {
    text-align: center;
    padding: 50px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight contrast */
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto; /* Centers section */
}

.pricing-blurb p {
    margin-bottom: 10px;
}

.pricing-blurb h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #FFC800; /* Matches site theme */
    margin-bottom: 20px;
}

.highlight-price {
    color: #FFC800; /* Gold color to stand out */
    font-weight: bold;
}

.pricing-blurb .cta-button {
    margin-top: 20px;
    background-color: #03451F;
    color: white;
    border: 2px solid #FDE11E;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.pricing-blurb .cta-button:hover {
    background-color: #FDE11E;
    color: black;
    transform: scale(1.05);
}

/* Style the input fields */
input[type="text"], input[type="password"] {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #FDE11E;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px; /* 🔥 Adds spacing between inputs */
}

/* Placeholder Text */
input::placeholder {
    color: rgb(255, 255, 255);
}

/* Focus Effect */
input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFC800;
    box-shadow: 0px 0px 10px rgba(255, 200, 0, 0.6);
}

/* Label Styling */
label {
    font-size: 18px;
    color: #FFC800;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Force input fields inside forms to match the theme */
form input[type="text"],
form input[type="password"] 
form input[type="email"]{
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #FDE11E; /* Yellow border */
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease-in-out;
}

/* Placeholder Text */
form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Focus Effect */
form input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFC800;
    box-shadow: 0px 0px 10px rgba(255, 200, 0, 0.6);
}

/* ========================== */
/* Registration Form Styling */
/* ========================== */

/* Centered Form Container */
.register-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px; /* Ensures form isn't too wide */
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1); /* Light background effect */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Form Header */
.register-container h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #ffcc00; /* Gold */
    margin-bottom: 20px;
}

/* Labels */
.register-container label {
    font-size: 16px;
    font-weight: bold;
    color: #ffcc00; /* Gold */
    display: block;
    margin-bottom: 2px; /* Reduce space between label and input */
    text-align: left;
}

/* Input Fields */
.register-container input, 
.register-container select {
    width: 100%;
    padding: 10px; /* Slightly reduce padding for a tighter form */
    border: 2px solid #ffcc00;
    border-radius: 5px;
    font-size: 16px;
    background: white !important; /* Keeps fields white */
    color: black !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Remove autofill background color */
.register-container input:-webkit-autofill {
    background-color: white !important;
    color: black !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* Maintain Font Size While Typing */
.register-container input:focus, 
.register-container select:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
    font-size: 16px; /* Prevents shrinking */
}

/* Submit Button */
.register-container .cta-button {
    width: 100%;
    background: #ffcc00;
    color: #1b3a2c;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.register-container .cta-button:hover {
    background: #e6b800;
}

/* ========================== */
/* Improved Form Spacing & Alignment */
/* ========================== */

/* Improved Form Spacing & Alignment */
.register-container form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduce spacing between fields */
}

/* Fix label alignment */
.register-container label {
    margin-bottom: 3px; /* Reduce space between label and input */
}

/* Prevent input stretching on larger screens */
.register-container input, 
.register-container select {
    max-width: 100%; /* Keep width uniform */
}

/* Adjust spacing for tablets and desktops */
@media (min-width: 768px) {
    .register-container {
        max-width: 600px; /* Slightly wider for better proportion */
    }
}

@media (min-width: 1024px) {
    .register-container {
        max-width: 700px; /* Wider but not too large */
    }
}

/* Fully disable autofill background */
.register-container input:-webkit-autofill {
    background-color: white !important;
    color: black !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* Disabled button styling */
.button-disabled {
    background-color: #888 !important;
    cursor: not-allowed !important;
    color: #ccc !important;
}

/* Password rules list - Always Visible */
#password-rules {
    list-style-type: none;
    padding: 0;
    margin-top: 5px;
    text-align: left;
}

/* Default rule (Red ❌) */
#password-rules li {
    font-size: 14px;
    color: red; /* Default to red */
    margin-left: 0px;
    transition: color 0.3s ease;
    font-weight: bold;
    display: flex;
    align-items: center;
}



/* When valid, change text and icon color */
#password-rules li.valid {
    color: #00ff00 !important; /* Ensures text turns green */
}



/* Dashboard Container */
.dashboard-container {
    max-width: 100%; /* Prevents stretching */
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.dashboard-container h2 {
    background: none;
    padding: 10px 0;
    font-size: 1.5rem;
    color: #FFC800;
}

.dashboard-container p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Strong labels */
.dashboard-container strong {
    color: #ffcc00;

}button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#resetPlayButton.inactive {
    opacity: 0.5;
    cursor: not-allowed;
}

.dashboard-container a {
    display: inline-block;
}


/* ========================== */
/* About App Section */
/* ========================== */

.about-app {
    text-align: center;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle contrast */
    border-radius: 10px;
    max-width: 1000px;
    margin: 50px auto; /* Centers the section */
}

.about-app h2 {
    font-size: 2.2rem;
    font-weight: bold;
    color: #FFC800; /* Yellow header */
    margin-bottom: 20px;
}

.about-app p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.about-app .quote {
    font-style: italic;
    font-size: 1.3rem;
    color: #FFC800; /* Light yellow for emphasis */
    font-weight: bold;
    margin-top: 20px;
}

.about-app .cta-button {
    display: inline-block;
    margin-top: 20px;
    background-color: #FFC800; /* Bright yellow */
    color: #000;
    font-size: 1.2rem;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out, transform 0.1s ease-in-out;
    text-decoration: none;
}

.about-app .cta-button:hover {
    background-color: #FDE11E;
    transform: scale(1.05);
    text-decoration: none;
}

.about-app a {
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-app h2 {
        font-size: 1.8rem;
    }
    
    .about-app p {
        font-size: 1rem;
    }

    .about-app .quote {
        font-size: 1.1rem;
    }
}

.instructions-container {
    text-align: center;
    margin-bottom: 10px;
}

.instructions-container p {
    font-size: 1rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    display: block;
    max-width: 600px;
    margin: 0 auto;
}

.small-button {
    font-size: 0.9rem;
    padding: 5px 10px;
    margin-top: 5px;
}

.button-style:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #888; /* Grey out the button */
}

#email-error {
    display: inline-block; /* Keeps it inline next to the label */
    vertical-align: middle; /* Aligns nicely with the label */
    font-size: 14px; /* Ensures the text size stays the same */
    font-weight: bold;
}

label[for="email"] span {
    margin-left: 10px; /* Adjust spacing from the label */
    display: inline-block; /* Keeps it on the same line */
    font-weight: normal; /* Ensures consistent font weight */
    vertical-align: middle; /* Aligns it properly */
}

.dev-banner {
    background-color: #FFC800;
    color: #03451F;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-bottom: 2px solid #03451F;
}

/* Button Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
    z-index: 1; /* Keeps shimmer behind text */
}

.btn-shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 0; /* Behind the button text */
    pointer-events: none;
}

/* ----------- RESPONSIVE LAYOUT FIX FOR SCENARIO SECTION ----------- */

.responsive-layout .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    max-width: 1300px;
  }
  
  .responsive-layout .left-content,
  .responsive-layout .right-content {
    width: 100%;
  }
  
  /* Force side-by-side only on wider screens */
  @media screen and (min-width: 768px) {
    .responsive-layout .content-wrapper {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
    }
  
    .responsive-layout .left-content {
      flex: 0 1 38%;
      max-width: 38%;
      min-width: 280px;
    }
  
    .responsive-layout .right-content {
      flex: 0 1 60%;
      max-width: 60%;
      min-width: 320px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }
  
  .announcement {
    position: absolute;
    opacity: 0;
    font-size: 1.4rem; /* Smaller text */
    font-weight: bold;
    z-index: 1000;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transform: translate(-50%, -50%); /* Center it at top/left */
}

#out { color: red; }
#time { color: yellow; }
#strike { color: yellow; }

.play-intelligence {
    margin-top: 1.5rem;
}

.info-toggle {
    display: flex;
    justify-content: center; /* centers icon and text together */
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #FDE11E;
    border-radius: 4px;
    background-color: #03451F;
    color: #fff;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.2s;
    margin-top: 0.75rem;
    width: 100%;
}

.info-toggle:hover {
    background-color: #145c38;
    color: #FDE11E;
}

.toggle-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

.toggle-label {
    display: inline-block;
}

.toggle-right {
    display: flex;
    align-items: center;
}

.mini-audio-btn {
    background: none;
    border: 1px;
    border-color: white;
    color: #f4d03f;
    font-size: 1rem;
    padding: 0;
    margin-left: 1rem;
    cursor: pointer;
}

.mini-audio-btn.large:hover {
    color: #ffffff;
}

.info-content {
    display: none;
    padding: 0;
    background-color: #0B602F;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-left: 4px solid #FDE11E;
    border-right: 4px solid #FDE11E; /* Add this */
    border-bottom: 4px solid #FDE11E;
    border-radius: 4px;
}

.info-inner {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

.info-audio-center {
    text-align: center;
    margin-bottom: 1.5rem; /* increase spacing below the audio button */
    padding-right: 10px;
}

.table-audio-btn {
    background-color: #03451F;
    color: white;
    border: 1px solid white;
    font-size: 16px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.table-audio-btn i {
    color: #FDE11E;
    font-size: 14px;
}

.table-audio-btn:hover {
    background-color: #FDE11E;
    color: black;
}

.table-audio-btn:hover i {
    color: black;
}

@media (max-width: 480px) {
    .info-audio-center {
        margin-bottom: 1.25rem;
    }
}

.table-tip {
    font-size: 0.85rem;
    color: #ccc;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.section-title {
    text-align: center;
    font-size: 1.3rem;
    color: #fff;
    margin: 1.5rem 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Select (Dropdown) Styling ===== */
select {
    background-color: #1e4d3b;
    color: #ffffff;
    border: 2px solid #ffcc00;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 16px;
    font-family: 'Bai Jamjuree', sans-serif;
    appearance: none; /* Remove native arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ffcc00' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
  }
  
  select:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(255, 204, 0, 0.7);
  }
  
  /* ===== Checkbox Styling ===== */
  input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #1e4d3b;
    border: 2px solid #ffcc00;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  input[type="checkbox"]:checked {
    background-color: #ffcc00;
    border-color: #ffcc00;
  }
  
  input[type="checkbox"]:checked::after {
    content: '✔';
    color: #0e3b2c;
    font-size: 14px;
    position: absolute;
    top: 1px;
    left: 4px;
  }
  
  /* === Form Layout Enhancements === */
form label {
    display: inline-block;
    min-width: 140px;
    text-align: right;
    margin-right: 10px;
    font-weight: 600;
    color: #ffcc00;
  }
  
  form input[type="text"],
  form select {
    margin-bottom: 15px;
    width: 250px;
  }
  
  /* Ensure dropdown arrow doesn’t overlap text */
  select {
    padding-right: 36px; /* space for background arrow */
  }
  
  /* Better spacing between checkbox and label */
  input[type="checkbox"] {
    margin-left: 10px;
    margin-right: 6px;
    vertical-align: middle;
  }
  
  /* Slight buffer between form elements and button */
  form .cta-button {
    margin-top: 10px;
  }
  
  ul#password-rules {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.75rem;
  }
  .rule {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .kpi-flex {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: nowrap;
    flex-wrap: wrap; /* fallback for mobile screens */
  }
  
  .kpi-box {
    background-color: #153a33;
    padding: 20px;
    border-radius: 10px;
    width: 180px;
    min-height: 160px;
    text-align: center;
    flex: 1 1 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }
  
  .kpi-box h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .kpi-box p {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffcc00;
    margin: 0;
  }
  
  .revenue-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
    color: #fff;
  }
  
  .revenue-list li {
    margin-bottom: 6px;
  }
  
  @media (max-width: 950px) {
    .kpi-flex {
      flex-wrap: wrap;
    }
    .kpi-box {
      width: 100%;
      max-width: 350px;
      margin: auto;
    }
  }
  
  /* ========================== */
/* Dashboard-Only Adjustments */
/* ========================== */
.dashboard-section {
    padding: 30px 20px; /* Slightly less padding */
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter */
}

.dashboard-section h2 {
    font-size: 1.6rem;
    background: none;
    color: #FFC800;
    margin-bottom: 15px;
}

.dashboard-section p {
    font-size: 1.1rem;
    color: white;
}

.dashboard-section .button-style {
    font-size: 1rem;
    padding: 8px 16px;
}

.dashboard-banner {
    background: linear-gradient(135deg, #013824, #025c3d);
    border: 2px solid #ffcc00;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.15);
    transition: all 0.3s ease-in-out;
  }
  
  .dashboard-banner h1 {
    font-size: 2.4rem;
    color: #ffcc00;
    margin-bottom: 1rem;
  }
  
  .dashboard-banner .subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .dashboard-banner .highlight {
    color: #ffcc00;
    font-weight: bold;
  }
  
  .dashboard-banner .tagline {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
  }
  
  
  .cta-button-big {
    background-color: #ffcc00;
    border: none;
    color: #002b23;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
  }
  
  .cta-button-big:hover {
    background-color: #ffe066;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
  
  /* Simple fade animation */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Accordion Wrapper */
.dashboard-accordion {
    background: linear-gradient(135deg, #013824, #025c3d);
    border: 2px solid #ffcc00;
    border-radius: 20px;
    margin-top: 20px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background-color: #1D5836; /* same dark green base as IQ Boost */
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
  }
  
  /* Accordion Button */
  .dashboard-accordion-btn {
    width: 100%;
    background-color: transparent;
    color: var(--gold);
    border: none;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .dashboard-accordion-btn i {
    margin-left: 10px;
  }
  
  .dashboard-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }
  

  /* When expanded */
.dashboard-accordion-content.show {
    max-height: 500px; /* adjust as needed */
  }

  .dashboard-accordion-content strong {
    color: var(--gold);
  }
  
  /* Touch-up: Slight border glow and rounding fix */
.dashboard-accordion {
    overflow: hidden; /* ensures clean rounding */
    padding: 0; /* removes any odd spacing glitches */
  }
  
  /* Match button hover style to rest of site */
  .dashboard-accordion-btn:hover {
    background-color: #34694A;
  }
  
  /* Make content center-aligned and more uniform */
  .dashboard-accordion-content {
    text-align: center;
    border-radius: 0 0 10px 10px; /* ensure rounded bottom */
  }
  
.dashboard-accordion-content p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  width: 100%;
  max-width: 600px;
}
  
  /* Optional: animate chevron rotation on open */
  .dashboard-accordion-btn .rotate {
    transition: transform 0.3s ease;
  }
  .dashboard-accordion-btn.open .rotate {
    transform: rotate(180deg);
  }
  
  .dashboard-accordion-content .button-row {
    margin-bottom: 2rem;
  }
  
/* ========================== */
/* Login Form Styling */
/* ========================== */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.login-container h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #FFC800;
    margin-bottom: 1.5rem;
}

.login-container .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.login-container label {
    font-size: 1rem;
    color: #FFC800;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
    width: 100%;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #FDE11E;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.login-container input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFC800;
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.6);
}

.login-container button {
    margin-top: 10px;
}

@media (max-width: 600px) {
    .login-container {
        padding: 20px;
    }
}

/* -------------------------- */
/* Feedback Form Styling     */
/* -------------------------- */
.feedback-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #003f1f;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.feedback-heading {
    text-align: center;
    color: #FFC800;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feedback-form .form-group {
    display: flex;
    flex-direction: column;
}

.feedback-form label {
    font-weight: bold;
    color: #FFC800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea,
.feedback-form select {
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #FDE11E;
    border-radius: 6px;
    background: #fff;
    color: #000;
    transition: box-shadow 0.3s ease;
}

.feedback-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cta-button {
    align-self: center;
    padding: 0.75rem 2rem;
}

.rating-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .rating-label {
    color: #FFC800;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .rating-stars {
    display: flex;
    justify-content: space-between;
    direction: rtl; /* reverses visual order without breaking HTML structure */
    align-items: center;
    max-width: 240px; /* You can tweak this! */
    margin: 0 auto 1rem;
    padding: 0;
    gap: 8px;
  }
  
  .rating-stars label {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;   /* wider stars */
    height: 36px;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    flex: 0 0 auto;
    box-sizing: content-box;
  }
  
  
  .rating-stars input[type="radio"] {
    display: none;
  }
  
  .rating-stars input[type="radio"]:checked ~ label {
    color: #FFC800;
  }
  
  .rating-stars label:hover,
  .rating-stars label:hover ~ label {
    color: #FFC800;
  }
  
  
  @media (max-width: 420px) {
    .rating-stars {
      max-width: 200px;
      gap: 6px;
    }
  
    .rating-stars label {
      width: 28px;
      height: 28px;
      font-size: 1.5rem;
    }
  }
  
  .star-rating {
    color: #FFC800;
    font-size: 1.2rem;
    margin-bottom: 8px;
    text-shadow: 0 0 4px rgba(255, 200, 0, 0.5);
}

.star-rating i {
    transition: transform 0.2s ease;
}

.star-rating i:hover {
    transform: scale(1.2);
}

.button-style.danger {
    background-color: #d9534f;
    border: 2px solid #fff; /* Yellow border */
    color: #fff;
    cursor: pointer;
    border-radius: 8px; 
}

.button-style.danger:hover {
    background-color: #c9302c;
}

.coming-soon-tag {
    font-size: 0.75rem;
    color: #aaa;
    margin-top: 5px;
    font-style: italic;
  }
  
#email-match-msg {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 20px rgba(255, 200, 0, 0.3);
}

.video-poster {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.pulse-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #FFC800;
    color: #03451F;
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 2rem;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    z-index: 2;
}

.pulse-play:hover {
    background: #03451F; /* Stay gold */
    color: #FFC800;       /* Keep icon dark green */
}

.pulse-play i {
    color: #03451F;
    transition: color 0.3s ease;
}

.pulse-play:hover i {
    color: #FFC800; /* Prevent turning blue */
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 200, 0, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 15px rgba(255, 200, 0, 0); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 200, 0, 0); }
}

.hero-video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.kpi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.kpi-card {
  background-color: #173d2c;
  flex: 1 1 18%;
  padding: 1rem;
  border-radius: 10px;
  color: #ffcc00;
  text-align: center;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.3);
}

.kpi-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}

.kpi-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: #ffffff;
}

.kpi-highlight {
  flex: 1 1 100%;
  background-color: #224d3a;
}

.legend p {
  font-size: 0.875rem;
  margin: 4px 0;
  line-height: 1.2;
}
/* .accordion-content {
  border: 1px dashed red;
} */
