:root {
    --bs-success: #0B5D4A;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: #222;
}

.nav-link:hover,
.nav-link.actives {
    color: #0B5D4A;
    font-weight: bold;
}

#mainNavbar {
    transition: transform 0.3s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}
.navbar,
.navbar .container,
.navbar-collapse {
    overflow-x: hidden;
}

.hero-slide {
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.2;
}

.hero-text {
    max-width: 700px;
    margin-inline: auto;
    font-size: 1.1rem;
}

.section-title {
    font-weight: 700;
}

.hero-about {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url('assets/images/about-hero.jpg') center/cover no-repeat;
    color: #fff;
    padding: 120px 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-text {
    max-width: 700px;
    color: #6c757d;
}

#about img {
    min-height: 420px;
    object-fit: cover;
}

#about .border {
    transition: .3s;
}

#about .border:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.activity-img {
    height: 220px;
    object-fit: cover;
    transition: .4s;
}

#activities .card {
    transition: .35s;
}

#activities .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, .12) !important;
}

#activities .card:hover .activity-img {
    transform: scale(1.08);
}

.download-card {

    display: flex;
    align-items: center;
    gap: 1.5rem;

    padding: 1.5rem;

    border: 1px solid #e9ecef;
    border-radius: 20px;

    background: #fff;

    transition: .3s;

    height: 100%;
}

.download-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 .8rem 1.5rem rgba(0, 0, 0, .08);

}

.download-icon {

    width: 70px;
    height: 70px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f5ee;

    color: #198754;

    font-size: 2rem;

}

.overflow-auto {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.overflow-auto>div {
    scroll-snap-align: start;
}

/* videos */
.video-card{
    position:relative;
    overflow:hidden;
    border:none;
    border-radius:22px;
    cursor:pointer;
    background:#fff;
    transition:.4s cubic-bezier(.2,.8,.2,1);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.video-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

.video-thumb{
    position:relative;
    overflow:hidden;
}

.video-thumb img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:transform .6s ease;
}

.video-card:hover img{
    transform:scale(1.08);
}

/* Dark Gradient */
.video-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.8) 5%,
        rgba(0,0,0,.15) 45%,
        transparent 100%
    );
}

/* Play Button */

.play-btn{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:82px;
    height:82px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(10px);
    border:2px solid rgba(255,255,255,.45);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:42px;
    transition:.35s;
    z-index:5;
}

.video-card:hover .play-btn{
    transform:translate(-50%,-50%) scale(1.12);
    background:#198754;
}

/* Duration */

.video-time{
    position:absolute;
    right:15px;
    bottom:15px;
    background:rgba(0,0,0,.75);
    color:#fff;
    padding:4px 10px;
    border-radius:20px;
    font-size:.82rem;
    z-index:5;
}

/* Category Badge */

.video-category{
    position:absolute;
    top:15px;
    left:15px;
    background:#198754;
    color:#fff;
    padding:5px 12px;
    border-radius:30px;
    font-size:.8rem;
    z-index:5;
}

/* Card Body */

.video-card .card-body{
    padding:1.3rem;
}

.video-card h5{
    font-weight:700;
}

.video-card p{
    color:#6c757d;
    margin-bottom:0;
}

/* video model */
#videoModal .modal-content{
    background:#000;
    border:none;
    border-radius:25px;
    overflow:hidden;
}

#videoModal .modal-dialog{
    max-width:1200px;
}

#videoModal video{
    width:100%;
    max-height:85vh;
    background:#000;
}

#videoModal .btn-close{
    position:absolute;
    right:20px;
    top:20px;
    z-index:100;
    filter:invert(1);
    background-color:rgba(255,255,255,.15);
    border-radius:50%;
    padding:.8rem;
}

.video-info{
    background:#111;
    color:#fff;
    padding:22px;
}

.video-info h4{
    margin-bottom:8px;
}

.video-info p{
    color:#bdbdbd;
    margin:0;
}

@media (max-width:991px) {

    .hero-slide {
        min-height: 70vh;
    }

}

.gallery-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 576px) {
    .gallery-img {
        height: 140px;
    }
}

@media (max-width:767px) {

    .logo {
        height: 75px;
    }

    .hero-slide {
        min-height: 620px;
        padding: 80px 0;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn-lg {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    #about img {
        min-height: 300px;
    }

    .activity-img {
        height: 200px;
    }

    .download-card {

        flex-direction: column;

        text-align: center;

    }

    .download-card .btn {

        width: 100%;

    }

    .overflow-auto {
        gap: 1rem;
    }

}