/* ============================================================
   GLOBAL RESET & BASE SETUP
   ============================================================ */
body, ul, li, a, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, ul, li, body, header, nav, footer, div {
    max-width: 100%;
}

/* Make body stretch full height for sticky footer */
html, body {
    height: 100%;
}

/* Enable sticky footer layout */
body {
    display: flex;
    flex-direction: column;
}

:root {
    --box-shadow: -5px 5px 10px 5px rgba(128, 128, 128, 0.9);
}

/* ============================================================
   HEADER SECTION
   Contains: Logo + Follow Us Section
   ============================================================ */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #002366;
    color: white;
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
}

/* Logo image */
.logo img {
    height: 50px;
    margin-left: 12px;
}

/* ------------------------------------------------------------
   FOLLOW US SECTION (Same style for all devices)
   ------------------------------------------------------------ */
.follow-us {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 2px;
}

.follow-us h4 {
    font-size: 15px;
    display: flex;
}

/* Social media icon style */
.follow-us a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover animation */
.follow-us a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   NAVBAR SECTION
   ============================================================ */

.navbar {
    background-color: #dc143c;
    padding: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    text-transform: uppercase;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
}

/* Navbar hover effect */
.navbar ul li a:hover {
    color: #ffd700;
}

/* ============================================================
   IMAGE BANNER / MAIN IMAGE
   ============================================================ */

.image-container img {
    width: 100%;
    height: auto;
}

/* ============================================================
   FOOTER SECTION — STICKY FOOTER (NO OVERLAY)
   ============================================================ */

.footer {
    background-color: #e4b3b0;
    font-size: 16px;
    padding: 12px;
    text-align: center;
    margin-top: auto; /* Pushes footer to bottom */
}

/* ============================================================
   RESPONSIVE DESIGN — MOBILE (MAX 760px)
   ============================================================ */

@media (max-width: 760px) {

    /* Adjust header alignment */
    .header {
        flex-wrap: wrap;
        text-align: center;
        padding: 10px;
    }

    /* Smaller logo on phones */
    .logo img {
        height: 40px;
        margin: 0 auto;
    }

    /* Navbar adjustments */
    .navbar ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    /* Allow images to scale properly */
    .image-container img {
        width: 100%;
        height: auto;
    }

    /* Footer stays same */
    .footer {
        font-size: 16px;
    }
}

/* ============================================================
   EXTRA BREAKPOINTS — SMALL PHONES (Max 480px)
   ============================================================ */

@media (max-width: 480px) {

    .header {
        padding: 8px 10px;
    }

    .logo img {
        height: 32px;
    }

    /* Navbar smaller text */
    .navbar ul li a {
        font-size: 12px;
    }

    .navbar ul {
        gap: 6px;
    }

    /* Footer smaller text */
    .footer {
        font-size: 14px;
        padding: 10px;
    }
}

/* ============================================================
   TABLETS (761px – 1024px)
   ============================================================ */

@media (min-width: 761px) and (max-width: 1024px) {

    .header {
        padding: 12px 30px;
    }

    .logo img {
        height: 48px;
    }

    .navbar ul {
        gap: 16px;
    }

    .navbar ul li a {
        font-size: 16px;
    }
}

/* ============================================================
   MEDIUM DESKTOPS (1025px – 1439px)
   ============================================================ */

@media (min-width: 1025px) and (max-width: 1439px) {

    .header {
        padding: 12px 60px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar ul {
        gap: 24px;
    }
}

/* ============================================================
   LARGE DESKTOPS (1440px+)
   Center layout & maintain spacing
   ============================================================ */

@media (min-width: 1440px) {

    body {
        margin: 0;
        max-width: 100%;
    }

    .header {
        padding: 16px 80px;
    }

    .navbar ul {
        gap: 30px;
    }

    .navbar ul li a {
        font-size: 18px;
    }
}

/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    z-index: 9999;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* Chat popup */
.chat-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 15px;
    display: none;
    z-index: 9999;
    font-family: Arial, sans-serif;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */

.main-content {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 16px;
    font-family: Arial, sans-serif;
}

/* ============================================================
   POINTS TABLE STYLING
   ============================================================ */

.points-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.points-title {
    font-size: 24px;
    margin-bottom: 6px;
    color: #002366;
    text-align: left;
}

.points-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
    color: #555;
}

/* Wrapper for horizontal scroll on small devices */
.points-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Base table style */
.points-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px; /* prevent squishing on mobile */
}

.points-table th,
.points-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.points-table th {
    background-color: #dc143c;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.points-table tr:nth-child(even) {
    background-color: #f1f1f1;
}

.points-table tr:hover {
    background-color: #ffecec;
}

/* Messages under table */
.points-message {
    margin-top: 10px;
    font-size: 14px;
}

.error-message {
    color: #c00;
}

/* ============================================================
   POINTS TABLE RESPONSIVE TWEAKS
   ============================================================ */

@media (max-width: 768px) {
    .points-title {
        font-size: 20px;
        text-align: center;
    }

    .points-subtitle {
        text-align: center;
        font-size: 13px;
    }

    .points-table {
        min-width: 550px;
    }

    .points-table th,
    .points-table td {
        font-size: 13px;
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .points-title {
        font-size: 18px;
    }

    .points-table {
        min-width: 500px;
    }

    .points-table th,
    .points-table td {
        font-size: 12px;
        padding: 8px 4px;
    }
}

/*========================================
        style for fixtures table
======================================== */
@media (max-width: 768px) {
    .fixture-title {
        font-size: 20px;
        text-align: center;
    }

    .fixture-subtitle {
        text-align: center;
        font-size: 13px;
    }

    .fixture-table {
        min-width: 550px;
    }

    .fixture-table th,
    .fixture-table td {
        font-size: 13px;
        padding: 8px 6px;
    }
}

/* ============================================================
   TEAMS PAGE STYLING (teams.html grid)
   ============================================================ */

.teams-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.teams-title {
    font-size: 24px;
    margin-bottom: 6px;
    color: #002366;
    text-align: left;
}

.teams-subtitle {
    font-size: 14px;
    margin-bottom: 16px;
    color: #555;
}

/* Grid for team cards */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Individual team card */
.team-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.team-name {
    font-size: 18px;
    margin: 8px 0 6px;
    color: #dc143c;
}

/* Generic text inside team card */
.team-card p {
    font-size: 14px;
    margin: 2px 0;
    color: #333;
}

/* Team Logo Styling */
.team-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 6px;
    display: block;
    padding-left: 30px;
}

/* Responsive grid for tablets and phones */
@media (max-width: 1024px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .teams-title {
        text-align: center;
    }

    .teams-subtitle {
        text-align: center;
    }

    .team-logo {
        width: 80px;
        height: 80px;
    }
}
<<<<<<< HEAD
.table-representative { 
    width: 20px; 
    height: 15px; 
    object-fit: cover;

}
/* ============================================================
   ERAA TABLE SECTION
   ============================================================ */

.eraa-section {
  padding: 0 300px;
}

/* Main table styling */
#eraa-section table {
    width: 50%;
    margin: 150px auto;
    border-collapse: collapse;
    background: #ea0000;
}

/* Table header + cells */
#eraa-section th,
#eraa-section td {
    padding: 8px 12px;
    border: 1px solid #0707f6;
    text-align: center;
    font-size: 14px;
}

/* Header row */
#eraa-section th {
    background: #ff0000;
    color: rgb(218, 6, 6);
}

/* Control table LENGTH (column widths) */
#eraa-section td:nth-child(1),
#eraa-section th:nth-child(1) {
    width: 120px;
}

#eraa-section td:nth-child(2),
#eraa-section th:nth-child(2) {
    width: 150px;
}

#eraa-section td:nth-child(3),
#eraa-section th:nth-child(3) {
    width: 100px;
}

/* Control row HEIGHT */
#eraa-section tr {
    height: 36px;
}

/* Image inside table */
#eraa-section .player-img {
    width: 30px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
=======
/* ============================================================
   SINGLE TEAM DETAIL PAGES (Lumbini Lions, other teams)
   ============================================================ */

/* Main wrapper */
.team-detail-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

/* Top hero section */
.team-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

/* Logo */
.team-hero-logo .team-logo {
    width: 150px;
    height: 120px;
    object-fit: contain;
}

/* Team big title */
.team-hero .team-name {
    font-size: 28px;
    margin: 0 0 8px;
    color: #dc143c;
}

/* Hero text */
.team-hero-info p {
    font-size: 14px;
    margin: 2px 0;
    color: #333;
}

/* Website link */
.team-hero-info a {
    color: #002366;
    text-decoration: none;
    font-weight: bold;
}

.team-hero-info a:hover {
    text-decoration: underline;
}

/* Content boxes */
.team-about,
.team-management,
.team-squad,
.team-performance {
    margin-top: 16px;
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* Section titles */
.team-about h2,
.team-management h2,
.team-squad h2,
.team-performance h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #002366;
}

/* Section paragraphs */
.team-about p,
.team-management p,
.team-squad p,
.team-performance p {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 6px;
}

/* Notes */
.team-detail-section .note {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* Lists */
.team-management ul,
.team-squad ul {
    list-style: disc;
    padding-left: 20px;
    margin: 6px 0 4px;
}

.team-management li,
.team-squad li {
    font-size: 14px;
    margin: 2px 0;
}

/* ============================================================
   PLAYER GRID & PLAYER CARDS
   ============================================================ */

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 10px 0 18px;
}

.player-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.player-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
}

.player-name {
    font-size: 15px;
    font-weight: bold;
    color: #002366;
    margin: 2px 0;
}

.player-role {
    font-size: 13px;
    font-weight: bold;
    color: #dc143c;
    margin: 2px 0;
}

/* ============================================================
   RESPONSIVE FIXES (FULLY RESPONSIVE NOW)
   ============================================================ */

/* ✔ Tablet breakpoint – earlier stacking */
@media (max-width: 900px) {
    .team-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-hero-logo {
        align-self: center;
    }

    .team-hero .team-name {
        font-size: 26px;
    }
}

/* ✔ Mobile – smaller images and 2-column player grid */
@media (max-width: 600px) {

    .player-photo {
        width: 80px;
        height: 80px;
    }

    .player-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ✔ Small phones – 1 player per row */
@media (max-width: 480px) {
    .player-grid {
        grid-template-columns: 1fr;
    }

    .team-hero .team-name {
        font-size: 22px;
    }
>>>>>>> 5e9210eb75c0ed0070e3fc69ddc102f5f2b307ab
}