/* === Mouse-Following Card Glow Effect === */

.glow-card {
    position: relative;
    /* Required for the pseudo-element */
    overflow: hidden;
    /* Keeps the glow inside the card's bounds */
}

.glow-card::before {
    content: '';
    position: absolute;
    /* Use CSS variables for position, default to center */
    top: var(--y, 50%);
    left: var(--x, 50%);
    /* Center the glow on the cursor */
    transform: translate(-50%, -50%);
    width: 300px;
    /* Size of the glow */
    height: 300px;
    /* Size of the glow */
    /* The radial gradient is the glow itself */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), /* Center color */
    transparent 70%/* Fades to transparent */
    );
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s ease-out;
}


/* When you hover the card, make the glow visible */

.glow-card:hover::before {
    opacity: 1;
}

/* === MOBILE RESPONSIVENESS - FIXED VERSION === */


/* For tablets and mobile phones */

@media (max-width: 768px) {
    /* 1. Fix header */
    header {
        padding: 15px 15px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.95);
        box-sizing: border-box;
        height: 70px;
    }
    /* 2. Navigation */
    .nav-left ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    .nav-left ul li {
        display: inline-block;
        margin: 0 8px;
    }
    /* 3. Main container - enough space for header */
    .main-container {
        padding-top: 100px;
        margin-top: 0;
        min-height: 100vh;
    }
    .main-container main {
        height: auto;
        padding: 20px 10px;
        margin-top: 0;
    }
    /* 4. Registration form - scrollable if too tall */
    .registration-container {
        width: 90%;
        margin: 0 auto;
        padding: 25px;
        position: relative;
        z-index: 1;
        background-color: rgba(0, 0, 0, 0.85);
        border-radius: 10px;
        max-height: 75vh;
        /* Limit height */
        overflow-y: auto;
        /* Add scroll if needed */
    }
    /* 5. Ensure ALL form content is visible */
    .registration-form {
        display: block;
        width: 100%;
    }
    .registration-form .form-group {
        display: block;
        margin-bottom: 20px;
        width: 100%;
    }
    .registration-form label {
        display: block;
        color: white;
        margin-bottom: 8px;
        font-weight: bold;
    }
    /*         .registration-form input,
        .registration-form select {
                NOTE: These styles were moved to the global
                'Unified Form Field Styles' section for consistency.
        } 
    */
    /* 6. Button */
    .submit-btn {
        display: block;
        width: 100%;
        padding: 15px;
        font-size: 18px;
        background-color: #e50914;
        color: white;
        border: none;
        border-radius: 5px;
        margin-top: 10px;
    }
    /* 7. Footer */
    .footer-content-wrapper {
        display: block;
    }
    .footer-about,
    .footer-links,
    .footer-social {
        margin-bottom: 30px;
        text-align: center;
    }
    /* 8. Background */
    .video-background video {
        display: none;
    }
    .video-background {
        background: #1a1a2e;
    }
}


/* For very small phones */

@media (max-width: 480px) {
    header {
        padding: 12px 10px;
        height: 65px;
    }
    .main-container {
        padding-top: 90px;
    }
    .registration-container {
        width: 95%;
        /* padding: 20px; -- This is now handled by clamp() */
        max-height: 70vh;
        /* Slightly less height on small phones */
    }
    /*     .registration-container h1 {
          font-size: 1.3rem; -- This is now handled by clamp()
    } 
    */
    .nav-left ul li {
        margin: 0 5px;
    }
    .nav-left a {
        font-size: 13px;
    }
}


/* For landscape mode */

@media (max-width: 768px) and (orientation: landscape) {
    .main-container {
        padding-top: 80px;
    }
    .registration-container {
        max-height: 65vh;
        /* Less height in landscape */
        margin: 10px auto;
    }
    header {
        height: 60px;
        padding: 10px 15px;
    }
}


/* === this is how we use fonts === */

h1,
h2,
h3 {
    font-family: 'font1', sans-serif;
}


/* === this is for the custom font we used we import it from fonts folder=== */

@font-face {
    font-family: 'font1';
    /* This is the name YOU invent */
    src: url('/fonts/ringm___-webfont.woff') format('woff2');
    font-weight: normal;
    font-style: normal;
}


/* === Global Styles for Custom Cursor === */

html {
    scroll-behavior: smooth;
    /* ADD YOUR CURSOR CODE HERE */
    cursor: url('/assets/arrowhead.svg'), auto;
}


/* faqs layout gap fixed */

.faqs2 {
    height: 2100px;
}


/*gap between bg video and footer */

.gap1 {
    height: 200px;
}


/* news gap layout fixed */

.newsh {
    height: 1070px;
}


/* === Cookie Consent Banner === */

#cookie-banner {
    position: fixed;
    /* Sticks to the viewport */
    bottom: 0;
    left: 0;
    width: 100%;
    /* --- CHANGED THIS --- */
    background-color: rgba(0, 0, 0, 0.75);
    /* Semi-transparent background */
    color: #ccc;
    padding: 15px;
    /* --- REMOVED THIS --- */
    /* box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); */
    /* Removed shadow for a flatter look */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Space between text and button */
    z-index: 1000;
    /* Ensures it's on top of other content */
    /* Smooth transition for appearing */
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}


/* This class makes the banner slide up into view */

#cookie-banner.cookie-banner-visible {
    transform: translateY(0);
}

#cookie-banner p {
    margin: 0;
    font-size: 15px;
}

#cookie-banner .btn {
    background-color: #e50914;
    /* Your red accent color */
    padding: 8px 18px;
    flex-shrink: 0;
    /* Prevents button from shrinking */
}


/* Initially hide the banner completely */

.cookie-banner-hidden {
    display: none;
}


/* --- Custom Styling for Dropdown Menus --- */


/* === Unified Form Field Styles === */


/* This one rule targets all your form fields at once */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select {
    /* 1. Remove default browser looks */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* 2. Set transparent background and text color */
    background-color: rgba(0, 0, 0, 0.75);
    /* Semi-transparent */
    color: #fff;
    /* White text */
    /* 3. Set consistent sizing and borders */
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    /* Use the body's font */
    font-size: 1em;
}


/* 4. Add back the custom arrow for SELECT dropdowns */

.form-group select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 10px;
}


/* 5. Style the dropdown options list */

.form-group select option {
    background-color: #333;
    color: #fff;
}


/* 6. Fix the DATE input's placeholder and icon */


/* This styles the "mm/dd/yyyy" placeholder text */

.form-group input[type="date"] {
    color: #999;
}


/* This styles the text *after* a date is selected */

.form-group input[type="date"]:valid {
    color: #fff;
    /* White text when valid */
}


/* This makes the calendar icon white */

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    /* A simple trick to turn the black icon white */
    cursor: pointer;
}


/* === Pre-loader Styles === */

#loader-wrapper {
    position: fixed;
    /* Sits on top of the page content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #121212;
    /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensures it's on top of everything */
    transition: opacity 0.75s, visibility 0.75s;
    /* Smooth fade-out transition */
}

.loader {
    border: 8px solid #333;
    /* Light grey ring */
    border-top: 8px solid #e50914;
    /* Red color for the spinning part */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    /* The spin animation */
}


/* This class will be added by JavaScript to hide the loader */

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}


/* Keyframe animation for the spinning effect */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* General body styling to remove default margin and set a base font */

body {
    margin: 0;
    font-family: sans-serif;
    /* A fallback font */
    color: white;
    /* Set default text color to white for readability on a dark video */
}


/* Container for the video background */

.video-background {
    position: fixed;
    /* Fixes the video in place, so it doesn't scroll with the content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Places the video BEHIND all other content */
    overflow: hidden;
    /* Prevents scrollbars from appearing on the container */
}


/* The actual video element */

#background-video {
    width: 100vw;
    /* 100% of the viewport width */
    height: 100vh;
    /* 100% of the viewport height */
    object-fit: cover;
    /* Crucial property: scales the video to cover the entire screen without distortion */
}


/* Style the header and its content */

header {
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.3);
    /* A semi-transparent background to make nav readable */
}

nav {
    display: flex;
    justify-content: space-between;
    /* Pushes nav-left and nav-right to opposite ends */
    align-items: center;
    /* transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7); this will be used to make it hovering */
}


/* Style for the navigation lists to remove bullets and default padding */

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* Makes list items appear in a row */
}

nav ul li {
    margin-right: 20px;
    /* Spacing between nav items */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}


/* Main content styling to center it */


/* === Server Status Indicator === */

.server-status {
    display: flex;
    /* Lines up the dot and text */
    align-items: center;
    /* Vertically centers them */
    margin-right: 20px;
    /* Space from the login button */
    color: #ccc;
    /* Light grey text */
    font-size: 15px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #2ecc71;
    /* A bright green color */
    border-radius: 50%;
    /* Makes it a perfect circle */
    margin-right: 8px;
    /* Space from the text */
    /* This adds the pulsing animation */
    animation: pulse 2s infinite;
    /* Adds a soft glow */
    box-shadow: 0 0 8px #2ecc71;
}


/* This is the animation keyframe */

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.nav-right {
    display: flex;
    /* This is the main fix: makes children align in a row */
    align-items: center;
    /* This vertically centers all items (dot, text, buttons) */
}


/* === Stats Counter Section === */

.stats-section {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1000px;
    margin: 100px auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5em;
    color: #e50914;
    /* Your red accent color */
    margin: 0;
}

.stat-item p {
    font-size: 1.2em;
    color: #ccc;
    margin: 0;
}


/* === Discord CTA Section === */

.discord-cta {
    /* background-color: rgba(0, 0, 0, 0.75); -- REMOVED */
    padding: 50px 20px;
    margin-top: 100px;
    /* Space from content above */
    text-align: center;
    /* border-top: 3px solid #e50914; -- REMOVED */
    /* border-bottom: 3px solid #e50914; -- REMOVED */
    /* border-radius: 10px; -- REMOVED */
}

.discord-cta h2 {
    font-size: 2.5em;
    margin: 0 0 15px 0;
    color: #fff;
}

.discord-cta p {
    font-size: 1.2em;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 25px auto;
}

.btn-discord {
    background-color: #7289DA;
    /* Discord's brand color */
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-discord:hover {
    background-color: #5f73bc;
}


/* === Testimonial Carousel === */

.testimonial-carousel {
    /* Adjust this value to push it down as much as you want */
    margin-top: 100px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    /* This pair keeps it centered */
    margin-right: auto;
    /* This pair keeps it centered */
    padding: 20px;
    position: relative;
    /* Container for absolute children */
    min-height: 200px;
}

.testimonial-carousel h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.testimonial-carousel {
    position: relative;
    text-align: center;
    font-size: 1.5em;
    /* Container for absolute children */
    min-height: 200px;
    /* So it has space */
    /* ... other styles ... */
}

.carousel-slide {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 1s ease-in-out;
    /* Smooth fade */
}

.carousel-slide.active-slide {
    opacity: 1;
    /* Visible */
}

homepage-main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    /* Takes up most of the screen height */
    text-align: center;
}

.hover-content h1 {
    font-size: 3.5em;
    /* Large font for the main heading */
    margin-bottom: 10px;
}

.hover-content p {
    font-size: 1.2em;
    /* Slightly larger paragraph text */
}


/* Footer styling */


/* === Sponsor Logo Carousel === */


/* 1. The Animation Keyframes */


/* This moves the slider from its start (0%) to the end of the first set of logos (-50%) */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* 2. The Container */


/* This acts as the "window" and hides the parts of the slider that are off-screen */

.sponsor-carousel-container {
    width: 100%;
    overflow: hidden;
    /* This is essential */
    padding: 20px 0;
    margin-bottom: 10px;
    border-top: 1px solid #444;
    /* Optional: adds a nice separator */
    border-bottom: 1px solid #444;
}


/* 3. The Slider */


/* This is the "track" that holds all logos and gets animated */

.sponsor-slider {
    display: flex;
    width: max-content;
    /* Makes the slider as wide as all its content */
    /* This applies the animation */
    /* You can change '25s' to make it faster or slower */
    animation: scroll 25s linear infinite;
    /* this is used to make the animation sliding */
}


/* 4. The Logos */

.sponsor-slider img {
    height: 50px;
    /* Adjust this to your logo size */
    width: auto;
    margin: 0 40px;
    /* Space between logos */
    /* Professional touch: make logos grayscale and semi-transparent */
    filter: grayscale(1) opacity(0.7);
    transition: all 0.3s ease;
}


/* 5. Hover Effects (Optional but recommended) */


/* Pause the animation when the user hovers */

.sponsor-slider:hover {
    animation-play-state: paused;
}


/* Make the logo colorful and pop out on its own hover */

.sponsor-slider img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}


/* === Smooth Scrolling === */

html {
    scroll-behavior: smooth;
}


/* === Enhanced Footer Styles === */

.site-footer {
    background-color: #121212;
    /* A slightly darker background */
    color: #8c8c8c;
    padding: 40px 0;
    font-size: 15px;
    border-top: 3px solid #e50914;
    /* Red accent top border */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Back to top button styling */

.back-to-top {
    text-align: center;
    margin-bottom: 30px;
}

.top-link {
    color: #e50914;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #fff;
}


/* Flexbox wrapper for footer content */

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
    gap: 20px;
    margin-bottom: 30px;
}

.footer-about,
.footer-links,
.footer-social {
    flex: 1;
    /* Allows flex items to grow and shrink */
    min-width: 250px;
    /* Prevents them from getting too squished */
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-about p {
    line-height: 1.7;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
    color: #8c8c8c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #e50914;
    /* Red hover effect */
}

.social-icons a {
    margin-right: 15px;
    font-size: 1.2em;
}


/* Copyright section at the bottom */

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}


/* === Responsive Media Query === */

@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        /* Stack columns vertically on mobile */
        text-align: center;
    }
    .social-icons {
        margin-top: 10px;
    }
}


/* === Registration Page Styles === */


/* The main container for the form */

.registration-container {
    background-color: rgba(0, 0, 0, 0.75);
    /* Dark semi-transparent background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    /* Limits the width of the form on larger screens */
    text-align: left;
}

.registration-container h1 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 2em;
}


/* Container for each label and input pair */

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

.form-group label {
    display: block;
    /* Makes the label appear on its own line */
    margin-bottom: 5px;
    font-weight: bold;
}


/* Styling for the input fields */

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    box-sizing: border-box;
    /* Ensures padding doesn't affect the width */
}


/* Styling for the register button */

.registration-container .btn {
    width: 100%;
    padding: 12px;
    background-color: #e50914;
    /* A vibrant red color, common in gaming themes */
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.registration-container .btn:hover {
    background-color: #f40612;
    /* A slightly brighter red on hover */
}


/* Link to switch to the login page */

.login-link {
    margin-top: 20px;
    text-align: center;
    color: #8c8c8c;
}

.login-link a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}


/* === Login Page Styles === */


/* The main container for the form */

.login-container {
    background-color: rgba(0, 0, 0, 0.75);
    /* Dark semi-transparent background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    /* Limits the width of the form */
    text-align: left;
}

.login-container h1 {
    margin-bottom: 25px;
    text-align: center;
    font-size: 2em;
}


/* Styling for the login button */

.login-container .btn {
    width: 100%;
    padding: 12px;
    background-color: #e50914;
    /* Same red color as register button */
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.login-container .btn:hover {
    background-color: #f40612;
    /* Brighter red on hover */
}


/* Link to switch to the register page */

.register-link {
    margin-top: 20px;
    text-align: center;
    color: #8c8c8c;
}

.register-link a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.register-link a:hover {
    text-decoration: underline;
}


/* === 404 Page Styles === */


/* The container for the background image */

.image-background {
    background-image: url('/assets/BG1.jpg');
    /* todoChange this path */
    background-size: cover;
    /* Cover the entire screen */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    position: fixed;
    /* Fixes the image in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Place it behind all other content */
    filter: blur(3px) brightness(0.7);
    /* Optional: Blurs and darkens the image to make text pop */
}


/* The main container for the 404 message */

.not-found-container {
    background-color: rgba(0, 0, 0, 0.6);
    /* Semi-transparent background */
    padding: 40px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.not-found-container h1 {
    font-size: 6em;
    /* Very large "404" text */
    margin: 0;
    color: #e50914;
    /* Use the theme's accent color */
}

.not-found-container p {
    font-size: 1.2em;
    margin-bottom: 30px;
}


/* Style for the "Go Back to Home" button */

.not-found-container .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #e50914;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.not-found-container .btn:hover {
    background-color: #f40612;
}


/* === Reusable Image Background Style
for about us page  === */


/* If you already added this for the 404 page, you can skip it. */

.image-background2 {
    background-image: url('/assets/BG4.jpg');
    /* TODO: Change this path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(3px) brightness(0.7);
    /* Optional: Blurs and darkens the image */
}


/* === About Us Page Styles === */


/* Container for the about us content */

.about-us-container {
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    text-align: center;
}

.about-us-container h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.team-intro {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 40px;
}


/* Grid layout for the team member cards */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}


/* Individual card for each team member */

.team-member-card {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.team-member-card h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 5px;
    color: #e50914;
    /* Red accent color */
}

.team-member-card h4 {
    font-size: 1em;
    font-weight: normal;
    color: #aaa;
    margin-top: 0;
    margin-bottom: 15px;
}

.team-member-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #ddd;
}


/* news starts from here */


/* === News Page Styles === */

.news-container {
    width: 100%;
    max-width: 900px;
    /* A good width for blog-style content */
    padding: 40px 20px;
    text-align: center;
}

.news-container h1 {
    font-size: 3em;
    margin-bottom: 40px;
}


/* Container for all the article cards */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Space between each article card */
}


/* Individual article card styling */

.article-card {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: left;
    border-left: 5px solid #e50914;
    /* Red accent border on the left */
}

.article-card h2 {
    margin-top: 0;
    font-size: 2em;
}

.article-meta {
    font-size: 0.9em;
    color: #aaa;
    margin-top: -10px;
    margin-bottom: 20px;
}

.article-card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ddd;
}


/* Styling for the "Read More" button */

.article-card .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #e50914;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.article-card .btn:hover {
    background-color: #f40612;
}


/* === FAQs Page Styles === */

.faq-container {
    width: 100%;
    max-width: 900px;
    /* Limits the width */
    padding: 40px 20px;
    /* Adds space inside the box */
    /* --- THIS IS THE FIX --- */
    margin-left: auto;
    /* Pushes it away from the left */
    margin-right: auto;
    /* Pushes it away from the right */
}

.faq-container h1 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 40px;
}

.faq-category {
    text-align: left;
    font-size: 1.8em;
    color: #e50914;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}


/* Styling for the accordion element */

details {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #333;
}

summary {
    font-size: 1.2em;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    /* Removes the default arrow */
    position: relative;
}


/* Custom arrow/marker for the summary */

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5em;
    transition: transform 0.2s ease-in-out;
}

details[open]>summary::after {
    transform: rotate(45deg);
}

details p {
    padding: 0 20px 20px 20px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}


/* === Chatbot Section Styles === */

.chatbot-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #444;
    text-align: center;
}

.chatbot-section h2 {
    /* FLUID TYPOGRAPHY */
    font-size: clamp(1.4rem, 1.1rem + 2.5vw, 2em);
}

.chatbot-container {
    max-width: 500px;
    margin: 20px auto 0;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: left;
    overflow: hidden;
}

.chat-messages {
    padding: 20px;
    height: 150px;
    /* Example height */
    overflow-y: auto;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    max-width: 80%;
}

.bot-message {
    background-color: #333;
    color: #fff;
    border-bottom-left-radius: 0;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid #444;
}

.chat-input-area input {
    flex-grow: 1;
    border: none;
    background-color: #2b2b2b;
    padding: 15px;
    color: white;
    font-size: 1em;
}

.chat-input-area input:focus {
    outline: none;
}


/* This rule is now NOT overridden */

.chat-input-area button {
    border: none;
    background-color: #e50914;
    color: white;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    /* Charlie edits */
}


/* --- FIX --- 
   Changed 'button' to 'nav button' to only target nav buttons 
*/

nav button {
    background-color: rgba(63, 61, 61, 0);
    /* Semi-transparent background */
    color: white;
    border: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}


/* --- FIX --- 
   Changed 'button:hover' to 'nav button:hover' 
*/

nav button:hover {
    /*yeh jab hover karega tab jo selection box hoga vo thoda blur hoga */
    background-color: rgba(96, 92, 92, 0.447);
    transform: scale(1.2);
    /* hover karne pae enlarge hoga */
    box-shadow: 0 4px 8px rgba(9, 0, 0, 1);
    /* button jab enlarge hoga tab shadow dikhayega */
    cursor: pointer;
}


/* These rules are now NOT overridden */

.btn-cta button {
    background-color: rgb(63, 61, 61, 0);
    /* Semi-transparent background */
    color: white;
    border: solid white 2px;
    /* Border color change karna hai*/
    border-radius: 10px;
    padding: 10px 40px;
    cursor: pointer;
}

.btn-cta button:hover {
    background-color: rgba(96, 92, 92, 0.447);
    /*color baad me decide karna bur ka*/
    transform: scale(1.05);
    /* hover karne pae enlarge hoga */
    box-shadow: 0 4px 8px rgba(9, 0, 0, 1);
    /* button jab enlarge hoga tab shadow dikhayega */
}
