/* ======================================
   VISHVA RIDE RESULTS PAGE
====================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(135deg, rgba(255,153,51,.80),rgba(255,255,255,.30),
rgba(6,3,141,.20), rgba(255,255,255,.30), rgba(19,136,8,.80));
color:#000080;
}

/* ================= NAVBAR ================= */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 8%;
background:#fff;
box-shadow:0 2px 15px rgba(0,0,0,.08);
position:sticky;
top:0;
z-index:1000;
}

.logo{
display:flex;
flex-direction:column;
align-items: center;
text-decoration: none;
color: inherit;
justify-content: center;
}

.logo img{
   width:120px;
   height:auto;
   display:block;
   cursor: pointer;
}
.menu-toggle{
    display:none;
}
/*
.logo h2{
font-size:32px;
font-weight:800;
color:#000080;
}*/

.logo p{
font-size:12px;
font-weight:bold;
letter-spacing:2px;
text-transform:uppercase;
color:#000080;
}

.menu{
display:flex;
gap:35px;
list-style:none;
}

.menu a{
text-decoration:none;
font-weight:600;
color:#000080;
transition:.3s;
}

.menu a:hover,
.menu .active{
color:#ff671f;
}

.register-btn{
background:#ff671f;
color:white;
padding:13px 30px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.register-btn:hover{
border: 2px solid #ff671f;
background:white;
color: #000080;
}

/* ================= HERO ================= */

.hero{
height:650px;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("../image/01.png");
background-size:cover;
background-position:center;
}

.hero h1{
font-size:75px;
color:#ff671f;
margin-bottom:20px;
}

.hero p{
font-size:20px;
color:#f2f2f2;
}

/* ================= SEARCH ================= */
/*
.search-section{
padding:50px 8% 30px;
text-align:center;
}

.search-section h2{
font-size:40px;
margin-bottom:15px;
}

.search-section p{
color:black;
margin-bottom:35px;
}

.search-box{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.search-box input{
width:450px;
padding:18px;
border:2px solid #ff671f;
border-radius:40px;
box-shadow:0 5px 15px rgba(0,0,0,.1);
font-size:16px;
outline:none;
}

.search-box button{
padding:18px 35px;
background:white;
color:#000080;
border:2px solid #ff671f;
border-radius:40px;
cursor:pointer;
font-weight:600;
transition:.3s;
}

.search-box button:hover{
background:#ff671f;

color:#000080;
}
*/
/* ================= FILTER ================= */

.filter-section{
display:flex;
justify-content:center;
gap:20px;
padding:10px 8% 60px;
flex-wrap:wrap;
}

.filter-btn{
padding:12px 30px;
border:2px solid #000080;
background:white;
color:#ff671f;
border-radius:30px;
font-weight:600;
cursor:pointer;
box-shadow:0 5px 15px rgba(0,0,0,.08);
transition:.3s;
}

.filter-btn:hover,
.filter-btn.active{
background:#ff671f;
color:#000080;
}


/* ================= RESULTS TABLE ================= */
/* ==========================================
   LEADERBOARD SECTION
========================================== */

.results{
    width:100%;
    padding:60px 5%;
    text-align:center;
}

.results h2{
    font-size:42px;
    color:#000080;
    margin-bottom:40px;
    font-weight:700;
}

/* Table Container */
.table-container{
    max-width:1100px;
    margin:0 auto;
    overflow-x:auto;
}

/* Table */
table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

/* Header */
thead{
    background:#ff671f;
}

thead th{
    color:#fff;
    font-size:16px;
    font-weight:600;
    text-align:center;
    padding:10px 8px;
}

/* Table Cells */
tbody td{
    text-align:center;
    padding:10px 8px;
    font-size:15px;
    color:#000080;
    border-bottom:1px solid #e5e5e5;
}

/* Alternate Row Color */
tbody tr:nth-child(even){
    background:#f8f8f8;
}

/* Hover Effect */
tbody tr:hover{
    background:#FFF1E8;
    transition:.3s;
}

/* Status Badge */
.completed{
    display:inline-block;
    padding:6px 16px;
    border:2px solid #ff671f;
    border-radius:30px;
    background:#fff;
    color:#000080;
    font-weight:600;
    font-size:14px;
}

/* Buttons */
table button{
    padding:8px 18px;
    border:2px solid #ff671f;
    background:#fff;
    color:#000080;
    border-radius:25px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

table button:hover{
    background:#ff671f;
    color:#fff;
    border-color:#000080;
}

/* Note */
.table-container p{
    margin-top:30px;
    font-size:16px;
    color:#000080;
    text-align:center;
    line-height:1.6;
}

.table-container a{
    color:#ff671f;
    text-decoration:none;
    font-weight:bold;
}

.table-container a:hover{
    color:#000080;
    text-decoration:underline;
}

/* ================= PODIUM ================= */

.podium{
padding:30px 8%;
text-align:center;
}

.podium h2{
font-size:42px;
margin-bottom:10px;
}
.podium p{
    color: black;
margin-bottom:40px;
}
.podium-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    max-width:1200px;
    margin:40px auto 0;
}

.winner{
    background:#fff;
    padding:25px 20px;
    border-radius:20px;
    box-shadow:0 5px 10px rgba(6,3,141,.80);
    text-align:center;
    transition:.3s;
}

.winner:hover{
    transform:translateY(-8px);
}

.winner img{
    width:150px;
    height:150px;
    border-radius:50%;

    object-fit:cover;
    margin-bottom:15px;
}

.first{
border-top:8px solid #D4AF37;

}

.second{
border-top:8px solid #C0C0C0;
}

.third{
border-top:8px solid #CD7F32;
}

.winner h3{
font-size:30px;
margin-bottom:15px;
}

.winner-info{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:10px;
}

.winner-info h4{
    margin:0;
    font-size:20px;
}

.winner-info p{
    margin:0;
    font-size: 25px;
    font-weight: bold;
    color:#000080;
}


/* ================= STATS ================= */

.stats{
padding:90px 8%;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.stat-card{
background:white;
padding:35px;
text-align:center;
border-radius:20px;
box-shadow:0 5px 10px rgba(6,3,141,.80);  
transition:.3s;
}

.stat-card:hover{
transform:translateY(-10px);
}

.stat-card h2{
font-size:40px;
color:#000080;
margin-bottom:10px;
}

.stat-card p{
    font-weight: bold;
color:#ff671f;
}

/* ================= CTA ================= */
.cta{
    background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)), 
    url("../image/ctabanner/ctabanner.png") center;
    text-align:center;
    color:#000080;
    height: 400px;
    padding:90px 8%;
}

.cta h2{
    color:#ff671f;
    margin-bottom:20px;
}

.cta p{
    font-size:18px;
    color:white;
    margin-bottom:35px;
}

.cta-btn{
    display:inline-block;
    padding:16px 40px;
    background:#ff671f;
    color:white;
    text-decoration:none;
    font-weight:700;
    border-radius:35px;
    transition:.3s;
}

.cta-btn:hover{
    border: 2px solid #ff671f;
    background: white;
    color: #000080; 
}

.cta-secbtn{
    display:inline-block;
    padding:16px 40px;
    background:transparent;
    color:white;
    text-decoration:none;
    font-weight:700;
    border: 2px solid #ff671f;
    border-radius:35px;
    transition:.3s;
}

.cta-secbtn:hover{
    border: 2px solid #000080;
    background: white;
    color: #000080; 
}

/* ==========================================
      FOOTER
========================================== */

.footer{
    background:#fff;
    padding:25px 60px 10px;
    border-top:1px solid #ddd;
}

/* Top */
.footer-top{
    display:grid;
    grid-template-columns:1fr 2fr 1fr;
    align-items:flex-start;
    gap:5px;
}

/* LEFT */
.footer-left h3{
    color:#ff5b2e;
    margin-bottom:15px;
}

.footer-link{
    display:flex;
    gap:15px;
    list-style:none;
}

.footer-link a{
    text-decoration:none;
    font-weight:none;
    color:#000080;
    transition:.3s;
}

.footer-link a:hover{
    color:#ff671f;
    font-weight:bold;
}

/* CENTER */
.footer-center{
    text-align:center;
}
.brand-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-bottom:10px;
}
.brand-row h2{
    color:#ff5b2e;
    font-size:34px;
    margin:0;
}
.footer-center p{
    color: #000080;
}

/* Offline Icons */
.social-icons{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-top:none;
}
.social-icons a{
    width:35px;
    height:35px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 5px 10px rgba(6,3,141,.80);
    transition:.3s;
}
.social-icons img{
    width:24px;
    height:24px;
    display: block;
}
.social-icons a:hover{
    transform:translateY(-5px);
}
/* RIGHT */
.footer-right{
    text-align:right;
}
.footer-right h3{
    color:#ff5b2e;
    margin-bottom:15px;
}
.footer-right p{
    color: #000080;
    margin:8px 0;
}
/* Bottom */
.footer-bottom{
    margin-top:20px;
    text-align:center;
}
.footer-bottom hr{
    border:none;
    border-top:1px solid #000080;
    margin-bottom:12px;
}
.footer-bottom p{
    color:#000080;
    font-size:14px;
}

/* ==========================================
        TABLET RESPONSIVE
========================================== */

@media (max-width:992px){

/* Navbar */


.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:15px 5%;
    position:relative;
}

.logo{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:12px;
    flex:1;
}

.logo img{
    width:90px;      /* Bigger than mobile */
    height:auto;
}

/* Tablet Tagline */
.logo .tagline{
    display:block;
    width:100%;
    white-space:nowrap;
    text-align:center;
    font-size:22px;   /* Bigger than mobile (12px) */
    font-weight:700;
    letter-spacing:0.5px;
    line-height:1.2;
    text-transform:uppercase;
}

.logo .tagline .orange{
    color:#FF671F;
}

.logo .tagline .blue{
    color:#000080;
}

.logo .tagline .green{
    color:#138808;
}

/* Hamburger */
    .menu-toggle{
        display:block;
        font-size:36px;
        cursor:pointer;
    }

    .menu{
        position:absolute;
        top:80px;
        right:20px;
        width:150px;
        background:#fff;
        border-radius:12px;
        box-shadow:0 10px 20px rgba(0,0,0,.15);
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        padding:10px 0;
        gap: 0;
        max-height:0;
        overflow:hidden;
        opacity:0;
        transition:.35s ease;
    }

    .menu.active{
        max-height:500px;
        opacity:1;
    }


.menu li{
    width:100%;
    margin:0;
    padding:0;
}

.menu a{
    display:block;
    width:100%;
    padding:4px 9px;   /* Reduced from 14px 20px */
    font-size:15px;
    line-height:1.2;
    text-align: center;
}

.register-btn{
    display:none;
}

/* ==========Hero============= */

.hero{
    height:500px;
}

.hero h1{
    font-size:48px;
}

.hero p{
    font-size:18px;
    line-height:1.6;
}

/*=========================
    RESULTS - TABLET
=========================*/

.results{
    width:100%;
    padding:40px 3%;
}

.results h2{
    font-size:28px;
    margin-bottom:30px;
    text-align:center;
}

/* Table Container */
.table-container{
    width:100%;
    overflow-x:auto;
}

/* Table */
table{
    width:100%;
    min-width:100%;
    border-collapse:collapse;
}

/* Header */
thead th{
    padding:10px 6px;
    font-size:18px;
    text-align:center;
}

/* Table Data */
tbody td{
    padding:10px 6px;
    font-size:16px;
    text-align:center;
}

/* Status Badge */
.completed{
    padding:5px 10px;
    font-size:14px;
}

/* Note */
.table-container p{
    margin-top:20px;
    font-size:18px;
    text-align:center;
    line-height:1.5;
    color:#000;
}

.table-container a{
    font-weight:700;
}

/*==============================
    PODIUM - TABLET
==============================*/

.podium{
    padding:40px 5%;
    text-align:center;
}

.podium h2{
    font-size:28px;
    margin-bottom:10px;
}

.podium > p{
    font-size:18px;
    margin-bottom:30px;
    color:#000;
}

/* Three boxes in one row */
.podium-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    align-items:end;
}

/* Winner Box */
.winner{
    background:#fff;
    padding:20px 15px;
    border-radius:18px;
    box-shadow:0 5px 10px rgba(6,3,141,.80);
    text-align:center;
    transition:.3s;
}

.winner:hover{
    transform:translateY(-5px);
}

/* Image */
.winner img{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}

/* Position and Name */
.winner-info{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.winner-info p{
    margin:0;
    font-size:18px;
    font-weight:700;
    color:#000080;
}

.winner-info h4{
    margin:0;
    font-size:20px;
    font-weight:700;
}

/* Top borders */
.first{
    border-top:6px solid #D4AF37;
    transform:translateY(-25px);
}

.second{
    border-top:6px solid #C0C0C0;
}

.third{
    border-top:6px solid #CD7F32;
}
/* =============Stats=============== */
.stats{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:10px;
        padding:40px 5%;
        align-items:center;
    }

    .stat-card{
        padding:18px 8px;
        text-align:center;
    }

    .stat-card h2{
        font-size:28px;
        margin-bottom:10px;
    }

    .stat-card p{
        font-size:14px;
    }

/* =============CTA=============== */

.cta {
    background-position:68% center;
}
.cta h2{
    font-size:38px;
}

.cta p{
    font-size:16px;
}
/* Button container */
.cta-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:20px;
}

/* Buttons */
.cta-btn,
.cta-secbtn{
    display:inline-block;
    width:42%;
    text-align:center;
    vertical-align:middle;
    margin:0 5px;
}

/* Footer */

.footer-top{
    display:flex;
    flex-direction:column;
    text-align:center;
    gap:25px;
}

.footer-left{
    width:100%;
}

.footer-left h3{
    margin-bottom:15px;
}

.footer-link{
    justify-content:center;
    flex-wrap:wrap;
}

.footer-center{
    width:100%;
}

.footer-right{
    width:100%;
    text-align:center;
}

.brand-row{
    justify-content:center;
}

}

/* ==========================================
        MOBILE RESPONSIVE
========================================== */

@media (max-width:576px){

    .navbar{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:10px;
    }

    .logo{
        display:flex;
        flex-direction:row;
        align-items:center;
        gap:10px;
        flex:1;
    }

    .logo img{
        width:70px;
        height:auto;
    }

    .logo p{
        display:block;
        font-size:10px;
        font-weight:700;
        color:#000080;
        letter-spacing:1px;
        text-transform:uppercase;
        line-height:1.3;
        white-space:normal;
    }

    .menu-toggle{
        display:block;
        cursor:pointer;
        font-size:32px;
    }

    .menu{
        position:absolute;
        top:80px;
        right:20px;
        width:150px;
        background:#fff;
        border-radius:12px;
        box-shadow:0 10px 20px rgba(0,0,0,.15);
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        padding:10px 0;
        gap: 0;
        max-height:0;
        overflow:hidden;
        opacity:0;
        transition:.35s ease;
    }

    .menu.active{
        max-height:500px;
        opacity:1;
    }

    /* Mobile Tricolour Tagline */

    .logo .tagline{
    display:block;
        width:100%;          /* Take available space */
        max-width:none;      /* Remove width restriction */
        white-space:nowrap;  /* Keep text on one line */
        text-align:center;
        font-size:12px;
        font-weight:700;
        letter-spacing:0.3px;

        
        line-height:1.2;
        text-transform:uppercase;
    }

    .logo .tagline .orange{
        color:#FF671F;
    }

    .logo .tagline .blue{
        color:#000080;
    }

    .logo .tagline .green{
        color:#15be06;
    }


    /* Hero */

    .hero{
        height:600px;
        padding:30px 5%;
        background-size:cover;
        background-position:55% center;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:15px;
        line-height:1.6;
    }

    /*========================================
        LEADERBOARD - MOBILE
    ========================================*/

    .results{
        padding:25px 3%;
    }

    .results h2{
        font-size:22px;
        line-height:1.4;
        margin-bottom:20px;
        text-align:center;
    }

    .table-container{
        width:100%;
        overflow-x:auto;
    }

    /* Table */
    table{
        width:100%;
        border-collapse:collapse;
        background:#fff;
    }

    /* Hide Digital Bib Column */
    table th:nth-child(2),
    table td:nth-child(2){
        display:none;
    }

    /* Header */
    thead th{
        padding:10px 6px;
        font-size:13px;
        text-align:center;
    }

    /* Body */
    tbody td{
        padding:10px 6px;
        font-size:12px;
        text-align:center;
    }

    /* Completed Badge */
    .completed{
        display:inline-block;
        padding:4px 8px;
        font-size:10px;
        border-radius:15px;
    }

    /* Note */
    .table-container p{
        margin-top:18px;
        font-size:13px;
        line-height:1.5;
        text-align:center;
    }

    .table-container a{
        color:#ff671f;
        font-weight:700;
        text-decoration:none;
    }

    .table-container a:hover{
        color:#000080;
    }

    /*=================================
        TOP PERFORMERS - MOBILE
    ==================================*/


    .podium{
        padding:25px 3%;
        text-align:center;
    }

    .podium h2{
        font-size:22px;
        margin-bottom:8px;
    }

    .podium > p{
        font-size:14px;
        margin-bottom:20px;
    }

    /* Three boxes in one row */
    .podium-grid{
        display:grid;
        grid-template-columns:repeat(3,1fr);
        gap:8px;
    }

    /* Winner Card */
    .winner{
        padding:10px 5px;
        border-radius:12px;
        box-shadow:0 3px 8px rgba(6,3,141,.4);
    }

    /* Image */
    .winner img{
        width:70px;
        height:70px;
        border-radius:50%;
        object-fit:cover;
        margin-bottom:10px;
    }

    /* Position */
    .winner-info{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:4px;
    }

    .winner-info p{
        margin:0;
        font-size:12px;
        font-weight:700;
        color:#000080;
    }

    .winner-info h4{
        margin:0;
        font-size:11px;
        line-height:1.3;
        font-weight:700;
    }

    /* Champion slightly taller */
    .first{
        transform:translateY(-8px);
    }

    /*=================================
        STATS - MOBILE
    ==================================*/

    .stats{
        display:grid;
        grid-template-columns:repeat(4,1fr);
        gap:8px;
        padding:25px 3%;
    }

    .stat-card{
        padding:12px 6px;
        border-radius:12px;
        text-align:center;
        min-height: 80px;
        box-shadow:0 3px 8px rgba(6,3,141,.30);
    }

    .stat-card h2{
        font-size:18px;
        margin-bottom:6px;
        font-weight:700;
    }

    .stat-card p{
        font-size:10px;
        line-height:1.3;
        margin:0;
    }

    /*================ CTA mobile================== */

    .cta{
        text-align:center;
        padding:60px 5%;
        background-position:center;
    }

    .cta h2{
        font-size:30px;
    }

    .cta p{
        font-size:18px;
        margin-bottom:50px;
    }

    /* Buttons in one row */

    .cta-btn,
    .cta-secbtn{
        display:inline-block;
        width:45%;
        padding:12px 10px;
        text-align:center;
        font-size:14px;
        margin:0;
        box-sizing:border-box;
    }

    .cta-btn{
        margin-right:10px;
    }
    /* ================= FOOTER MOBILE ================= */

    .footer{
        padding:25px 15px;
    }

    .footer-top{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:25px;
    }

    /* Quick Links */

    .footer-left{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .footer-left h3{
        margin-bottom:15px;
    }

    /* Keep both rows horizontal */

    .footer-link{
        display:flex;
        justify-content:center;
        gap:15px;
        flex-wrap:nowrap;
        margin-bottom:8px;
    }

    .footer-link li{
        list-style:none;
    }

    .footer-link a{
        font-size:14px;
    }

    /* Center */

    .footer-center{
        width:100%;
    }

    .brand-row{
        flex-direction:column;
        gap:10px;
    }

    .brand-row h2{
        font-size:28px;
    }

    .social-icons{
        justify-content:center;
    }

    /* Contact */

    .footer-right{
        width:100%;
        text-align:center;
    }

    .footer-right p{
        font-size:15px;
    }

    /* Copyright */

    .footer-bottom{
        margin-top:20px;
    }

    .footer-bottom hr{
        margin-bottom:10px;
    }

    .footer-bottom p{
        font-size:13px;
    }
}