/* =========================
   JKYC Responsive CSS
========================= */

@media screen and (max-width:768px){

html,
body{
    width:100%;
    overflow-x:hidden;
    overflow-y:auto;
}

/* ===== Mobile Header ===== */

.header{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    padding:10px 15px;
    gap:10px;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.logo img{
    width:55px;
    height:55px;
}

.club-name h1{
    font-size:18px;
    line-height:1.2;
}

.club-name p{
    font-size:11px;
}

/* ===== Mobile Navbar ===== */

.navbar{
    flex:1;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}

.navbar::-webkit-scrollbar{
    display:none;
}

.navbar ul{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:center;
    gap:18px;
    padding:0 10px;
    margin:0;
    list-style:none;
    white-space:nowrap;
}

.navbar ul li{
    flex:0 0 auto;
}

.navbar ul li a{
    display:block;
    padding:8px 0;
    font-size:15px;
}

/* Hero */

@media(max-width:768px){

.hero-content{
left:25px;
right:25px;
max-width:100%;
}

.hero-content h1{
font-size:38px;
}

.hero-content p{
font-size:18px;
}

.hero-buttons{
flex-direction:column;
}

.btn-primary,
.btn-secondary{
width:180px;
text-align:center;
}

}

/* ===== About Section Mobile ===== */

.about{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:25px;
    padding:20px;
}

.about-image{
    width:100%;
    text-align:center;
}

.about-image img{
    width:100%;
    max-width:320px;
    height:auto;
    display:block;
    margin:auto;
}

.about-content{
    width:100%;
    text-align:center;
}

.about-content h2{
    font-size:32px;
    line-height:1.3;
}

.about-content p{
    font-size:16px;
    line-height:1.8;
}

.about-features{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
}

/* Leadership */

.leaders{
    grid-template-columns:1fr;
    gap:25px;
}

.executives{
    grid-template-columns:1fr;
    gap:25px;
}

/* Activities */

.activity-container{
    grid-template-columns:1fr;
}

/* Gallery */

.gallery-grid{
    grid-template-columns:1fr;
}

/* Contact */

.contact-container{
    grid-template-columns:1fr;
}

/* Footer */

.footer-container{
    grid-template-columns:1fr;
    text-align:center;
    gap:25px;
}

.footer-links,
.footer-social{
    margin-top:10px;
}

}
/* About Section Mobile Fix */

@media (max-width:768px){

.about-boxes{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.about-boxes .box{
    width:100%;
    text-align:center;
    padding:20px;
}

.about-boxes .box h3{
    margin-bottom:10px;
}

}
/* Stats Section Mobile Fix */

@media (max-width:768px){

.stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    padding:30px 20px;
}

.stat-card{
    width:100%;
    margin:0;
    padding:25px 15px;
}

.stat-card h2{
    font-size:34px;
}

.stat-card p{
    font-size:16px;
}

}
/* Leadership Mobile Fix */

@media (max-width:768px){

.leaders,
.executives{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:20px;
}

.leader-card{
    width:100%;
    max-width:320px;
    margin:0 auto;
}

.leader-card img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:50%;
}

.executive-title{
    text-align:center;
    margin:35px 0 20px;
}

}
/* =========================
   Footer Mobile Professional
========================= */

@media (max-width:768px){

.footer{
    padding:40px 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.footer-about{
    grid-column:1 / -1;
    text-align:center;
}

.footer-about h3{
    font-size:24px;
    margin-bottom:10px;
}

.footer-about p{
    font-size:15px;
    line-height:1.7;
}

.footer-links,
.footer-social{
    text-align:center;
}

.footer-links h3,
.footer-social h3{
    font-size:22px;
    margin-bottom:15px;
}

.footer-links a,
.footer-social a{
    display:block;
    text-decoration:none;
    margin:10px 0;
    font-size:16px;
}

.footer hr{
    grid-column:1 / -1;
    margin:20px 0;
}

.copyright{
    grid-column:1 / -1;
    text-align:center;
    font-size:14px;
    line-height:1.6;
}

}
/* ===========================
   HERO MOBILE FIX
=========================== */

@media screen and (max-width:768px){

html,
body{
    margin:0;
    padding:0;
    overflow-x:hidden;
}

.hero{
    position:relative;
    width:100%;
    height:100vh;
    min-height:100vh;
    padding:0;
    margin:0;
}

.hero-slider{
    width:100%;
    height:100%;
    position:relative;
}

.hero-slider img{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:absolute;
    top:50%;
    left:20px;
    right:20px;
    transform:translateY(-50%);
    z-index:10;

    background:transparent !important;
    padding:0 !important;
    margin:0 !important;

    color:#fff;
}

.hero-content h1{
    font-size:38px;
    line-height:1.2;
    margin-bottom:15px;
}

.hero-content p{
    font-size:18px;
    line-height:1.6;
    margin-bottom:25px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.hero-buttons a{
    flex:1;
    text-align:center;
}

}
/* ===== Mobile Dropdown Menu ===== */

@media (max-width:768px){

.menu-toggle{
    display:block;
    font-size:30px;
    color:#fff;
    cursor:pointer;
    z-index:1001;
}

.navbar{
    display:none;
    width:100%;
    background:#0b5d1e;
    margin-top:10px;
}

.navbar.active{
    display:block;
}

.navbar ul{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    padding:15px 0;
}

.navbar ul a{
    display:block;
    width:100%;
    text-align:center;
    padding:10px;
    color:#fff;
    text-decoration:none;
}
}
@media(max-width:992px){

.menu-toggle{
display:block;
font-size:30px;
color:#fff;
cursor:pointer;
}

.navbar{
position:fixed;
top:0;
left:-100%;
width:300px;
height:100vh;
background:#fff;
transition:.35s;
z-index:9999;
overflow-y:auto;
box-shadow:5px 0 20px rgba(0,0,0,.25);
}

.navbar.active{
left:0;
}

.close-menu{
font-size:34px;
padding:20px;
text-align:right;
cursor:pointer;
}

.navbar ul{
display:flex;
flex-direction:column;
align-items:flex-start;
padding:20px 35px;
gap:20px;
}

.navbar ul a{
color:#222;
font-size:18px;
font-weight:600;
}

}
/* Hero Mobile Fix */
@media (max-width:768px){

.hero-content{
    left:20px;
    right:20px;
    max-width:calc(100% - 40px);
}

.hero-content h1{
    font-size:32px !important;
    line-height:1.2;
    letter-spacing:0;
    word-break:break-word;
}

.hero-content p{
    font-size:18px;
    line-height:1.5;
}

.hero-buttons{
    width:100%;
}

.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary{
    width:100%;
    max-width:260px;
}

}
