/* ==========================================
   PMF Official Website
   Style.css - Part 1
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Hind Siliguri',sans-serif;
    background:#f8fafc;
    color:#222;
    line-height:1.7;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

section{
    padding:90px 0;
}

.container{
    max-width:1200px;
}

/* =========================
   TOP BAR
========================= */

.top-bar{
    background:#0d6efd;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.top-bar a{
    color:#fff;
    margin-left:15px;
    transition:.3s;
}

.top-bar a:hover{
    color:#ffd43b;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    background:#ffffff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    padding:12px 0;
    z-index:999;
}

.navbar-brand{
    color:#222;
}

.logo{
    width:55px;
    height:55px;
    border-radius:50%;
}

.navbar-brand h5{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#0d6efd;
}

.navbar-brand small{
    color:#666;
    font-size:12px;
}

.navbar-nav .nav-link{
    color:#333;
    font-weight:600;
    margin-left:18px;
    transition:.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    color:#0d6efd;
}

.navbar-toggler{
    border:none;
    box-shadow:none!important;
    font-size:24px;
}

/* =========================
   HERO
========================= */

.hero{
    padding-top:180px;
    padding-bottom:90px;
    background:linear-gradient(135deg,#eaf4ff,#ffffff);
}

.hero-badge{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    margin-bottom:20px;
}

.hero h1{
    font-size:48px;
    font-weight:700;
    margin-bottom:20px;
    color:#0d2b55;
}

.hero p{
    font-size:18px;
    color:#555;
    margin-bottom:30px;
}

.hero-btn .btn{
    margin-right:12px;
    margin-bottom:12px;
    padding:12px 28px;
    border-radius:50px;
    font-weight:600;
}

.hero-image{
    width:100%;
    max-width:520px;
    margin:auto;
    animation:float 4s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }

}
/* ==========================================
   SECTION TITLE
========================================== */

.section-subtitle{
    display:inline-block;
    color:#0d6efd;
    font-weight:700;
    margin-bottom:12px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:15px;
}

section h2{
    font-size:38px;
    font-weight:700;
    color:#0d2b55;
    margin-bottom:20px;
}

section p{
    color:#666;
    font-size:17px;
}

/* ==========================================
   ABOUT
========================================== */

.about{
    background:#ffffff;
}

.about-logo{
    width:280px;
    margin:auto;
    transition:.4s;
}

.about-logo:hover{
    transform:scale(1.05);
}

.about p{
    margin-bottom:18px;
}

.about .btn{
    padding:12px 30px;
    border-radius:50px;
    font-weight:600;
}

/* ==========================================
   ACTIVITIES
========================================== */

.activities{
    background:#f4f8fc;
}

.activity-card{
    background:#fff;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

.activity-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.activity-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    font-size:32px;
    margin-bottom:20px;
}

.activity-card h5{
    font-size:22px;
    font-weight:700;
    color:#0d2b55;
    margin-bottom:15px;
}

.activity-card p{
    color:#666;
    margin-bottom:22px;
}

.activity-card .btn{
    border-radius:50px;
    padding:10px 25px;
    font-weight:600;
}

/* ==========================================
   GALLERY SECTION
========================================== */

.gallery{
    background:#ffffff;
}

.gallery .activity-card{
    border:1px solid #eef2f7;
}

.gallery .activity-card:hover{
    border-color:#0d6efd;
}

/* ==========================================
   COMMON BUTTONS
========================================== */

.btn-success{
    background:#198754;
    border:none;
    transition:.3s;
}

.btn-success:hover{
    background:#157347;
}

.btn-outline-success{
    border:2px solid #198754;
    transition:.3s;
}

.btn-outline-success:hover{
    background:#198754;
    color:#fff;
}
/* ==========================================
   CONTACT
========================================== */

.contact{
    background:#f4f8fc;
}

.contact-card{
    background:#ffffff;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.contact-card h4{
    color:#0d2b55;
    font-size:30px;
    font-weight:700;
    margin-bottom:30px;
}

.contact-item{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin-bottom:25px;
}

.contact-item i{
    width:55px;
    height:55px;
    min-width:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    font-size:22px;
}

.contact-buttons{
    margin-top:30px;
}

.contact-buttons .btn{
    margin:8px;
    padding:12px 30px;
    border-radius:50px;
    font-weight:600;
}

/* ==========================================
   FOOTER
========================================== */

footer{
    background:#0d2b55;
    color:#ffffff;
    padding:70px 0 25px;
}

.footer-logo{
    width:80px;
}

footer h5{
    font-weight:700;
    margin-bottom:20px;
}

footer p{
    color:#d7d7d7;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#d7d7d7;
    transition:.3s;
}

.footer-links a:hover{
    color:#ffffff;
    padding-left:8px;
}

.footer-social{
    margin-top:20px;
}

.footer-social a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:45px;
    height:45px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    color:#fff;
    margin-right:10px;
    transition:.3s;
    font-size:18px;
}

.footer-social a:hover{
    background:#0d6efd;
    transform:translateY(-5px);
}

footer hr{
    border-color:rgba(255,255,255,.2);
    margin:35px 0 20px;
}

/* ==========================================
   GALLERY PAGE HEADER
========================================== */

.page-header{
    padding:170px 0 80px;
    background:linear-gradient(135deg,#0d6efd,#0d2b55);
    color:#fff;
}

.page-header h1{
    font-size:46px;
    font-weight:700;
    margin-bottom:15px;
}

.page-header p{
    color:#eef4ff;
    font-size:18px;
}

/* ==========================================
   GALLERY PAGE
========================================== */

.gallery-page{
    background:#f8fafc;
}

.gallery-page img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:18px;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.gallery-page img:hover{
    transform:scale(1.04);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}
/* ==========================================
   LIGHTBOX
========================================== */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:92%;
    max-height:90vh;
    border-radius:15px;
    box-shadow:0 20px 60px rgba(0,0,0,.5);
    animation:zoomIn .35s ease;
}

.lightbox-close{
    position:absolute;
    top:20px;
    right:30px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
    transition:.3s;
    user-select:none;
}

.lightbox-close:hover{
    color:#0d6efd;
    transform:rotate(90deg);
}

@keyframes zoomIn{

    from{
        transform:scale(.7);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#edf2f7;
}

::-webkit-scrollbar-thumb{
    background:#0d6efd;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#0b5ed7;
}

/* ==========================================
   SMOOTH HOVER
========================================== */

.btn,
.activity-card,
.gallery-page img,
.footer-social a,
.about-logo,
.logo{
    transition:.3s ease;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width:992px){

    .navbar{
        top:0;
    }

    .hero{
        padding-top:130px;
        text-align:center;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-image{
        margin-top:40px;
        max-width:420px;
    }

    section{
        padding:70px 0;
    }

    section h2{
        font-size:32px;
    }

    .contact-card{
        padding:30px;
    }

    .page-header{
        padding:140px 0 70px;
    }

    .page-header h1{
        font-size:36px;
    }

}
/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width:768px){

    .top-bar{
        display:none;
    }

    .navbar{
        top:0;
        padding:10px 0;
    }

    .logo{
        width:45px;
        height:45px;
    }

    .navbar-brand h5{
        font-size:18px;
    }

    .navbar-brand small{
        font-size:11px;
    }

    .hero{
        padding-top:120px;
        padding-bottom:60px;
        text-align:center;
    }

    .hero h1{
        font-size:32px;
        line-height:1.4;
    }

    .hero p{
        font-size:16px;
    }

    .hero-btn .btn{
        width:100%;
        margin-bottom:12px;
    }

    section{
        padding:60px 0;
    }

    section h2{
        font-size:28px;
    }

    .about-logo{
        width:220px;
    }

    .activity-card{
        padding:30px 20px;
    }

    .activity-card h5{
        font-size:20px;
    }

    .contact-card{
        padding:25px 20px;
    }

    .contact-card h4{
        font-size:24px;
    }

    .contact-item{
        flex-direction:column;
        text-align:center;
        gap:10px;
        font-size:16px;
    }

    .contact-buttons .btn{
        width:100%;
        margin:8px 0;
    }

    .page-header{
        padding:120px 0 60px;
    }

    .page-header h1{
        font-size:30px;
    }

    .gallery-page img{
        height:220px;
    }

    footer{
        text-align:center;
    }

    .footer-social{
        margin-top:20px;
    }

}

/* ==========================================
   EXTRA SMALL DEVICE
========================================== */

@media (max-width:576px){

    .hero h1{
        font-size:28px;
    }

    section h2{
        font-size:25px;
    }

    .hero-image{
        max-width:100%;
    }

    .gallery-page img{
        height:200px;
    }

    .lightbox-close{
        top:15px;
        right:20px;
        font-size:36px;
    }

}

/* ==========================================
   SELECTION COLOR
========================================== */

::selection{
    background:#0d6efd;
    color:#ffffff;
}

/* ==========================================
   END OF FILE
========================================== */
/* ===== Contact Fix ===== */

.contact-item{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:15px !important;
    margin-bottom:20px !important;
}

.contact-item i{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    font-size:20px;
}

.contact-item span{
    display:block !important;
    font-size:18px;
    line-height:1.4;
    color:#333;
    word-break:break-word;
}