/* ===============================
   VISHVA RIDE - HOME PAGE CSS
===============================*/

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

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;
    justify-content: center;
}

.logo img{
   width:120px;
   height:auto;
   display:block;
   cursor: pointer;
}
/*
.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;
}

/* Hide hamburger menu on Desktop */

.menu-toggle{
    display:none;
    font-size:34px;
    cursor:pointer;
    color:#000080;
}
.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;
    align-items:center;
    padding:0 8%;
    background:
    linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),
    url("../image/home/homebanner.png") center;
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
    /*animation: heroslider 25s infinite;*/
}

.hero-content{
    max-width:700px;
}

.hero-content h4{
    color:white;
    letter-spacing:3px;
    margin-bottom:20px;
}

.hero-content h1{
    font-size:75px;
    color:#ff671f;
    line-height:1.2;
    margin-bottom:none;
    font-weight:800;
}

.hero-content h2{
    font-size:52px;
    color:#06bbf1;
    line-height:1;
    margin-bottom:25px;
    font-weight:800;
}

.hero-content .hero-event .cyclothon{
    color:#FF671F !important;
    font-size:21px !important;
}

.hero-content .hero-event .marathon{
    color:#FFFFFF !important;
    font-size:21px !important;
}

.hero-content .hero-event .walkathon{
    color:#1aec07 !important;
    font-size:21px !important;
}

.hero-content p{
    color:white;
    width:51%;
    font-size:18px;
    line-height:1.2;
    text-align:justify;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:10px;
}

.btn-primary{
    background:#ff671f;
    color:white;
    padding:15px 20px;
    border-radius:35px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover{
    background:white;
    border:2px solid #ff671f;
    color:#000080;
}

.btn-secondary{
    border:2px solid #ff671f;
    padding:15px 20px;
    border-radius:35px;
    text-decoration:none;
    font-weight:600;
    color:#ff671f;
    transition:.3s;
}

.btn-secondary:hover{
    background:white;
    color:#000080;
}

/* ================= STATS ================= */
/*
.stats{
padding:80px 8%;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.stat-box{
background:white;
padding:35px;
text-align:center;
border:1px solid #ff671f;
border-radius:20px;
box-shadow:0 5px 10px rgba(6,3,141,.80);
}

.stat-box h2{
font-size:42px;
color:#ff671f;
margin-bottom:10px;
}

.stat-box p{
color:black;
}
*/
/* ================= FEATURED EVENTS ================= */
.featured{
    padding:10px 8%;
    text-align:center;
    margin-top:80px;
}

.featured h2{
    font-size:45px;
    margin-bottom:15px;
}

.featured p{
    font-size:20px;
    color:black;
}

.subtitle{
    color:#000080;
    margin-bottom:50px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
    justify-items:center;
}

.event-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 10px rgba(6,3,141,.80);
    transition:.3s;
    width:400px;
}

.event-card:hover{
    transform:translateY(-10px);
}

.event-card img{
    width:400px;
    height:400px;
    object-fit:cover;
    display:block;
}

.card-content{
    padding:20px;
    text-align:center;
}

.button-group{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.button-group a{
    display:inline-block;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.explore-btn{
    background:#ff671f;
    color:white;
}

.explore-btn:hover{
    background:white;
    color:#ff671f;
    border:2px solid #000080;
}

.register-btn{
    background:white;
    color:#ff671f;
    border:2px solid #ff671f;
}

.register-btn:hover{
    background:white;
    color:#000080;
    
}

    /* Event Card Buttons */

.button-group{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:nowrap;
}

.button-group a{
    flex:1;
    width:auto;
    padding:12px 10px;
    text-align:center;
    font-size:14px;
    box-sizing:border-box;
}
/* ================= FEATURES ================= */

.about{
    padding:70px 8%;
    text-align:center;
}

.about h2{
    font-size:45px;
    margin-bottom:50px;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.feature{
    background:white;
    padding:35px;
    border-radius:20px;
    text-decoration: none;
    box-shadow:0 5px 5px rgba(6,3,141,.80);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-10px);
}

.feature h3{
    margin-bottom:20px;
    text-decoration: none;
    color:#ff671f;
}

.feature h3:hover{
    margin-bottom:20px;
    text-decoration: none;
    color:#000080;
}

.feature p{
    color:black;
    line-height:1;
}

/* ================= CTA ================= */

.cta{
    height:400px;
    padding:100px 8%;
    width: auto-fit;
    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)),*/
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)), 
    url("../image/ctabanner/ctabanner1.png") center;
    align-items: center;
    text-align:center;
    color:#ff671f;
}

.cta h2{
    font-size:48px;
    margin-bottom:20px;
}

.cta p{
    font-size:18px;
    color:white;
    margin-bottom:35px;
}

.join-btn{
    display:inline-block;
    padding:15px 40px;
    background:#ff671f;
    color:white;
    text-decoration:none;
    font-weight:700;
    border-radius:35px;
}

.join-btn:hover{
    border: 2px solid #ff671f;
    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;
}


/* ==========================================
        RESPONSIVE DESIGN
========================================== */

/* ===================== TABLET (iPad) ===================== */

@media screen and (max-width:992px){

    /* ================= TABLET 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 tablet===================== */

    .hero{
        height:650px;
        padding:0 5%;
        background-size:cover;
        background-position:60% center;
    }

    .hero-content{
        max-width:650px;
    }

    .hero-content h1{
        font-size:75px;
    }

    .hero-content h2{
        font-size:52px;
        color:#06bbf1;
    }
    
    .hero-content p{
        width:56%;
        font-size:16px;
    }

    .hero-buttons{
        display:flex;
        gap:15px;
    }
    .hero-content .hero-event{
        color:inherit;
        font-size:18px;
        font-weight:800;
    }
    
    .hero-content .hero-event .cyclothon{
        color:#FF671F !important;
        font-size:21px !important;
    }

    .hero-content .hero-event .marathon{
        color:#FFFFFF !important;
        font-size:21px !important;
    }

    .hero-content .hero-event .walkathon{
        color:#1aec07 !important;
        font-size:21px !important;
    }
    /* ============Featured=============== */

    @media (max-width:992px){

    .featured{
        padding:40px 5%;
        text-align:center;
    }

    .featured h2{
        font-size:34px;
        margin-bottom:10px;
        color:#000080;
    }

    .featured .subtitle{
        font-size:18px;
        margin-bottom:30px;
    }

    .cards{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:25px;
        justify-items:center;
    }

    .event-card{
        width:100%;
        max-width:340px;
    }

    .event-card img{
        width:100%;
        height:auto;
        display:block;
        border-radius:15px;
    }

    /* Center the third card */
    .event-card:nth-child(3){
        grid-column:1 / 3;
        justify-self:center;
        max-width:340px;
    }

    .card-content{
        padding:15px;
    }

    .button-group{
        display:flex;
        justify-content:center;
        gap:10px;
    }

    .button-group a{
        flex:1;
        text-align:center;
        padding:10px;
        font-size:14px;
        border-radius:8px;
    }

}


    /*==================About================*/
    .about{
        padding:40px 5%;
    }

    .about h2{
        text-align:center;
        font-size:34px;
        margin-bottom:30px;
        color:#000080;
    }

    .features{
        display:grid;
        grid-template-columns:repeat(2, 1fr);
        gap:20px;
    }

    .feature{
        width:100%;
        text-align:center;
        padding:20px 15px;
        border-radius:15px;
    }

    .feature h3{
        font-size:22px;
        margin-bottom:12px;
    }

    .feature p{
        font-size:15px;
        line-height:1.6;
    }

    /*==========Stats=================*/

    .stats{
        grid-template-columns:repeat(2,1fr);
    }

    .event-card{
            width:350px;
    }

    .event-card img{
        width:350px;
        height:350px;
    }
    /* ================= FOOTER TABLET ================= */

    .footer{
        padding:30px 5%;
    }

    .footer-top{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:30px;
    }

    /* Quick Links */
    .footer-left{
        width:100%;
    }

    .footer-left h3{
        margin-bottom:15px;
    }

    /* Keep both link columns in one row */
    .footer-left{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .footer-link{
        display:flex;
        justify-content:center;
        gap:25px;
        margin-bottom:10px;
        flex-wrap:nowrap;
    }

    /* Center */

    .footer-center{
        width:100%;
    }

    .brand-row{
        flex-direction:column;
        gap:12px;
    }

    /* Contact */

    .footer-right{
        width:100%;
        text-align:center;
    }


    .footer-bottom{
        margin-top:25px;
    }
}

/* ===================== MOBILE ===================== */

@media screen and (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{
    font-size:30px;
    margin-left:10px;
    flex-shrink:0;
}

/* 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:70% center;
}

.hero-content{
    max-width:100%;
}

.hero-content h4{

    font-size:13px;

}

.hero-content h1{

    font-size:42px;

}

.hero-content h2{

    font-size:30px;
    color:#06bbf1;

}

.hero-content h3{

    font-size:18px;

}

.hero-content p{

    width:100%;

    font-size:15px;

    line-height:1.5;

}
/* Mobile Hero Event Colors */

.hero-content .hero-event{
    color:inherit;
    font-size:18px;
    font-weight:800;
}

.hero-content .hero-event .cyclothon{
    color:#FF671F !important;
    font-size: 18px !important;
}

.hero-content .hero-event .marathon{
    color:#FFFFFF !important;
    font-size: 18px !important;
}

.hero-content .hero-event .walkathon{
    color:#1aec07 !important;
    font-size: 18px !important;
}
.hero-buttons{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap;
}

.btn-primary,
.btn-secondary{
    flex:1;
    padding:12px 10px;
    font-size:13px;
    text-align:center;
}

/* ==================Featured card mobile================= */
    .featured{
        padding:35px 5%;
        text-align:center;
    }

    .featured h2{
        font-size:30px;
        color:#000080;
        margin-bottom:10px;
    }

    .featured .subtitle{
        font-size:16px;
        margin-bottom:25px;
        color:#555;
    }

    .cards{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:25px;
    }

    .event-card{
        width:100%;
        max-width:340px;
        border-radius:15px;
        overflow:hidden;
    }

    .event-card img{
        width:100%;
        height:auto;
        display:block;
    }

    .card-content{
        padding:15px;
    }

    /* Buttons in one row */
    .button-group{
        display:flex;
        justify-content:space-between;
        gap:10px;
    }

    .button-group a{
        flex:1;
        text-align:center;
        padding:10px 8px;
        font-size:13px;
        border-radius:8px;
    }

/*======================About MOBILE================== */

.about {
    margin: 15px;
    margin-bottom: 40px;
}
.about h2{
    text-align: center;
    font-size:25px;
}

.features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.feature{
    width:100%;
    padding:20px 15px;
}

.feature h3{
    font-size:18px;
    text-align: center;
}

.feature p{
    font-size:14px;
    line-height:1.4;
    text-align: justify;
}
/* ======================CTA MOBILE==================*/

.cta{
    background-position:91% center;
}

.cta h2{
    font-size:32px;
}

.cta p{
    font-size:14px;
}
/* ================= 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;
}

}
