/* ================= Hero Section ================ */
.pit-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    font-family:Helvetica ;
}
.pit-hero {
    position: relative;
    text-align: left;
}

.pit-hero-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
}


.pit-hero-content {
    max-width: 80%;  /* boxed width */
    margin: 0 137px;
    /* padding: 21px; */
    position: relative; /* hero image-Ã Â¦ÂÃ Â¦Â° Ã Â¦â€°Ã Â¦ÂªÃ Â¦Â° correctly position Ã Â¦â€¢Ã Â¦Â°Ã Â¦Â¤Ã Â§â€¡ */
    z-index: 2;
}
.pit-hero-title {
    position: absolute;
    bottom: 75px;
    /* left: 50%; */
    transform: translateX(-7%);
    font-size: 46px;
    font-weight: bold;
    color: #fff;
    font-family: Helvetica;
}


.pit-description-box {
    position: absolute;
    bottom: -20px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    background:#007B09;
    color: #fff;
    padding: 20px 25px;
    font-size: 52px;
    /* border-radius: 6px; */
    font-family:Helvetica;
    margin: auto;
}

/* ================= Blog Description ================ */
.pit-blog-description .pit-container{
    margin-top: 30px;
}
.pit-blog-description {
    padding: 15px 10px;
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
    font-family:Helvetica;
}

/* ================= Training Philosophy ================ */
.training-black-section .pit-container {
    max-width: 85%;
    margin: 0 auto;
}
.training-black-section {
    background: #000;
    color: #fff;
    padding: 50px 20px;
}
.training-black-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 30px;
    text-align: justify;
    font-family:Helvetica ;
}
.training-black-left h2 {
    font-size: 48px;
    margin: 0;
    color:#fff;
     font-family:Helvetica ;
    font-weight: bold;
}
.training-black-right p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* ================= Accordion Section ================ */
/* Accordion Section */
.training-activities .accordion-wrapper {
    max-width: 1200px;
    margin: 40px auto;
}

.accordion-header {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0A7D4F;
    border-bottom: 2px solid #0A7D4F;
    padding-bottom: 8px;
}

.accordion-item {
    background: #E6E6E6 !important;
    border-radius: 5px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: background 0.3s ease;
    font-family:Helvetica ;
}

.accordion-item:hover {
    background: #20780d;
}

.accordion-toggle {
    width: 100%;
    text-align: left;
    background: #E6E6E6 !important;
    border: none;
    padding: 25px 20px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-family:Helvetica ;
}



.toggle-icon {
    font-size: 20px;
    color: #0A7D4F;
    transition: transform 0.3s ease;
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    padding: 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    font-family:Helvetica ;
}

.accordion-item.active .accordion-toggle {
    background: #0000;
    color:#333;
    }






/* ================= Impact Story Section ================= */
/* Impact Story Section */
.impact-story-section {
    padding: 50px 20px;
    background: #000; /* full black background */
    color: #fff;
}

.impact-story-section .pit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title + Line */
.impact-black-bg h2 {
    font-size: 28px;
    color: #ffff;
    margin: 0;
}
.impact-line {
    display: block;
    height: 2px;
    background: #ffff;
    width: 100%;
    margin: 15px 0 30px;
}

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* left small, right bigger */
    gap: 30px;
    margin-bottom: 40px;
    /* align-items: center; */
}

.story-left h2 {
    font-size: 52px;
    margin: 0;
    color: #fff;
}

.story-right p {
    font-size: 18px;
    line-height: 1.6;
    color: #ddd;
    font-family: Helvetica Neue;
    text-align: justify;
}

/* Video */
/* Story Video Thumbnail wrapper */
.story-video {
    position: relative;
    width: 100%;
    max-width: 1000px;   /* ভিডিও বক্সের সর্বোচ্চ সাইজ */
    margin: 0 auto;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    border: 3px solid #0A7D4F;
    aspect-ratio: 16 / 9; /* ✅ Fix: সবসময় 16:9 ratio */
    background: #000; /* উপরে–নিচে ফাঁকা থাকলে কালো দেখাবে */
}

/* Thumbnail image */
.story-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ✅ ফাঁকা জায়গা ছাড়া পুরো fill */
    display: block;
}

/* Play Button */
.success-story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.6);
    border: 3px solid #0A7D4F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.success-story-play-btn span {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 22px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}
.story-video:hover .success-story-play-btn {
    background: rgba(10,125,79,0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Modal Overlay */
.video-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Video Box */
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border: 4px solid #0A7D4F;
    border-radius: 12px;
    overflow: hidden;
}
.video-modal-content iframe {
    width: 100%;
    height: 560px;
    display: block;
}

/* Close Button */
.video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}
.video-modal-close:hover {
    color: #0A7D4F;
}

/* ================= PIT Gallery Section ================ */
/* Container for gallery */
.pit-gallery .pit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section padding */
.pit-gallery {
    padding: 40px 0;
}

/* Title */
/* PIT Gallery Title with Line */
.pit-gallery-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.pit-gallery-title .line {
    flex: 1;
    height: 1px;
    background: #000;  /* আপনার theme color */
}

.pit-gallery-title h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 10px;
    white-space: nowrap;
    color: #000;
}

/* Grid layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 20px;
}

/* Image wrapper */
.gallery-item {
    width: 100%;
    aspect-ratio: 4/3; /* fixed height based on width */
    overflow: hidden;
    border-radius: 6px;
}

/* Image style */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover & crop images to fit */
    display: block;
}

/* Hidden images */
.gallery-item.hidden {
    display: none;
}

/* Image hover effect */
.gallery-item {
    width: 100%;
    aspect-ratio: 4/3; /* fixed height based on width */
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth animation */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Hover effect */
.gallery-item:hover {
    transform: scale(1.05); /* slight zoom */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* subtle shadow */
}

.gallery-item:hover img {
    transform: scale(1.1); /* image zoom slightly more */
}



/* Show more button */
.gallery-show-more {
    text-align: center;
    margin-top: 20px;
}

.show-more-gallery {
    background: #0A7D4F;
    color: #fff;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 27px;
    cursor: pointer;
}

.show-more-gallery:hover {
    background: #085a3d;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* tablet 2 per row */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* mobile 1 per row */
    }
}