/* ==========================================
   VISHVA RIDE - ABOUT PAGE
========================================== */

*{
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;
text-decoration: none;
color: inherit;
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-toggle{
    display:none;
}
.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/about-page/aboutbanner.png");
background-size:cover;
background-position:center;
}

.hero-content{
max-width:800px;
padding:20px;
}

.hero h1{
font-size:75px;
color:#ff671f;
margin-bottom:20px;
}

.hero p{
font-size:20px;
color:#eee;
line-height:1.8;
}

/* ================= COMMON ================= */

section{
padding:50px 8%;
}

section h2{
font-size:42px;
text-align:center;
margin-bottom:50px;
color:#000080;
}

section p{
color:black;
}

/* ================= STORY ================= */

.story{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;
}

.story-text h2{
text-align:left;
margin-bottom:15px;
}

.story-text p{
margin-bottom:20px;
font-size:17px;
text-align: justify;
color:black;
}

.story-image img{
width:100%;
height: 80%;
border-radius:20px;
box-shadow:0 5px 10px rgba(6,3,141,.80);
}

/* ================= MISSION ================= */

.mission-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.card{
background:#fff;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 5px 10px rgba(6,3,141,.80);
transition:.3s;
}

.card:hover{
transform:translateY(-10px);
}

.card h3{
color:#ff671f;
margin-bottom:20px;
font-size:28px;
}

.card p{
    color:black;
    line-height:1;
    margin-bottom:30px;
}

/* ================= VALUES ================= */

.values-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.value-card{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 5px 10px rgba(6,3,141,.80);
text-align:center;
transition:.3s;
}

.value-card:hover{
transform:translateY(-10px);
}

.value-card h3{
margin-bottom:15px;
color:#ff671f;
}

.value-card p{
    color:black;
    line-height:1;
    margin-bottom:30px;
}
/* ================= WHY ================= */

.why-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.why-card{
background:white;
color:#ff671f;
padding:35px;
border-radius:20px;
box-shadow:0 5px 10px rgba(6,3,141,.80);
text-align:center;
font-size:20px;
font-weight:600;
transition:.3s;
}

.why-card:hover{
transform:scale(1.05);
}

/* ================= TEAM ================= */

.team-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:30px;
    justify-content:center;
    align-items:stretch;
    max-width:900px;
    margin:0 auto;
}

.team-card{
width:100%;
    background:#fff;
    padding:30px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 5px 10px rgba(6,3,141,.80);
    transition:.4s;
    position:relative;
    overflow:hidden;
}

.team-card:hover{
transform:translateY(-10px);
}

.team-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;
    background:#ff671f;
}

.team h2:hover{
    margin-bottom:10px;
    color:#ff671f;
    margin-bottom: 50px;
}

.team-card img{
    width:170px;
    height:170px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #ff671f;
    margin-bottom:20px;
}

.team-card h3{
    margin-bottom:10px;
    color:#000080;
}

.team-card h4{
    color:#ff671f;
    font-size:18px;
    margin-bottom:18px;
}

.team-card p{
    color:black;
    line-height:1;
    font-size:15px;
    text-align: center;
    margin-bottom:25px;
}

/* ================= BUTTON ================= */

.profile-btn{
    display:inline-block;
    padding:12px 28px;
    background:#ff671f;
    color:#fff;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.profile-btn:hover{
    background:#fff;
    color:#000080;
    border:2px solid #ff671f;
}

/* ==========================================
      VOLUNTEER | SPONSOR | PARTNER
========================================== */

.join-us{
    text-align:center;
}

.join-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
    margin-top:50px;
}

.join-card{
    background:#fff;
    padding:40px 30px;
    border-radius:25px;
    box-shadow:0 10px 25px rgba(6,3,141,.20);
    transition:.4s;
}

.join-card:hover{
    transform:translateY(-12px);
    box-shadow:0 20px 35px rgba(6,3,141,.30);
}

.icon{
    font-size:55px;
    margin-bottom:20px;
}

.join-card h3{
    color:#ff671f;
    font-size:28px;
    margin-bottom:15px;
}

.join-card p{
    color:black;
    line-height:1;
    margin-bottom:30px;
}

.join-btn{
    display:inline-block;
    padding:13px 35px;
    background:#ff671f;
    color:#fff;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.join-btn:hover{
    background:#fff;
    color:#000080;
    border:2px solid #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;
}
/* ==========================================
        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 */

.hero{
    height:650px;
    padding:0 5%;
    background-size:cover;
    background-position:95% center;
}

.hero-content{
    max-width:650px;
}

.hero-content h1{
    font-size:65px;
}

.hero-content h2{
    font-size:52px;
    color:#06bbf1;
}

.hero-content p{
    width:100%;
    font-size:16px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}


/* ================= MISSION & VISION - TABLET ================= */

.mission-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    align-items:stretch;
}

.card{
    width:100%;
    padding:25px 20px;
}

.card h3{
    font-size:30px;
    margin-bottom:15px;
}

.card p{
    font-size:16px;
    line-height:1.6;
    text-align: justify;
}

/*================= CORE VALUES =================*/

.values h3{
    font-size: 30px;
}

/* ================= WHY CHOOSE US - TABLET ================= */

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

/* First Row */
.why-card:nth-child(1),
.why-card:nth-child(2){
    grid-column:span 2;
}

/* Second Row */
.why-card:nth-child(3),
.why-card:nth-child(4){
    grid-column:span 2;
}

/* Third Row - Center */
.why-card:nth-child(5){
    grid-column:2 / span 2;
}

.why-card{
    width:100%;
    padding:22px 18px;
    text-align:center;
}

.why-card h3{
    font-size:20px;
    line-height:1.4;
}

/* ================= cta TABLET ================= */

.cta h2{
    font-size: 35px;
}

.cta{
    background-position:98% center;
}
/* ================= 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{
    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:10% center;

}

.hero-content{
    max-width:100%;
}


.hero-content h1{
    font-size:32px;
}


.hero-content p{
    width:100%;
    font-size:15px;
    line-height:1.9;
}

/* ================= our story ================= */

.story{
    display:flex;
    flex-direction:column;
    gap:25px;
    align-items:center;
}

.story-text{
    order:1;
    width:100%;
}

.story-image{
    order:2;
    width:100%;
    text-align:center;
}

.story-image img{
    width:100%;
    max-width:450px;
    height:auto;
    border-radius:20px;
}

.story-text h2{
    font-size: 35px;
    text-align:center;
    margin-bottom:15px;
}

.story-text p{
    text-align:justify;
    font-size:15px;
    line-height:1.2;
}

/* ================= MISSION - MOBILE ================= */

.mission-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.card{
    width:100%;
    padding:20px 15px;
}

.mission h2{
    font-size: 35px;
}
.card h3{
    font-size:18px;
    margin-bottom:12px;
}

.card p{
    font-size:14px;
    line-height:1.5;
    margin-bottom:0;
    text-align: justify;
}

/* ================= CORE VALUES - MOBILE ================= */

.values-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.value-card{
    width:100%;
    padding:20px 15px;
}

.values h2{
    font-size: 35px;
}
.value-card h3{
    font-size:18px;
    margin-bottom:12px;
}

.value-card p{
    font-size:14px;
    line-height:1.5;
    margin-bottom:0;
}
/* ================= WHY CHOOSE US - MOBILE ================= */

.why h2{
    font-size: 26px;

}
.why-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:15px;
}

/* First 3 Cards */
.why-card:nth-child(1),
.why-card:nth-child(2),
.why-card:nth-child(3){
    grid-column:span 2;
}

/* Last 2 Cards (Centered) */
.why-card:nth-child(4){
    grid-column:2 / span 2;
}

.why-card:nth-child(5){
    grid-column:4 / span 2;
}

.why-card{
    padding:10px 5px;
    text-align:center;
}

.why-card h3{
    font-size:15px;
    line-height:1.4;
}

/* ================= TEAM - MOBILE ================= */

.team h2{
    font-size: 35px;
}
.team-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.team-card{
    width:100%;
    padding:18px 12px;
    text-align:center;
}

.team-card img{
    width:100px;
    height:100px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:12px;
}

.team-card h3{
    font-size:12px;
    margin-bottom:5px;
}

.team-card h4{
    font-size:14px;
    margin-bottom:10px;
}

.team-card p{
    font-size:13px;
    line-height:1.5;
    margin-bottom:15px;
}
.team-card a{
    margin-bottom:none;
}

.profile-btn{
    display:inline-block;
    width:100%;
    padding:10px;
    font-size:14px;
    text-align:center;
}
..profile-btn:hover{
    border: 2px solid #ff671f;
    color: #000080;
}

/* ================= CTA - MOBILE ================= */

.cta{
    text-align:center;
    padding:60px 5%;
    background-position:84% 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;
}

}
