/* Reset Astra flex for this page */
body.single-programs .site-content .ast-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

/* Hero Wrapper */

body.single-programs .hero-image {
    margin-top:140px;
    width: 100%;
    height: 950px;
    background: #ccc;
}


/* Each Slide */
body.single-programs .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hero Content Overlay (Inside slider, fixed relative to wrapper) */
body.single-programs .hero-content {
    position: relative;       /* inside hero-wrapper */
    bottom: 80px;             /* distance from bottom of slider */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,255);
    border-radius: 0;
    padding: 30px;
    width: 90%;
    max-width: 1200px;
    z-index: 10;              /* above slider */
}

/* Eyebrow Label */
body.single-programs .hero-content .eyebrow {
    position: absolute;       /* relative to hero-content */
    top: -27px;
    left: 30px;
    display: inline-block;
    background: #007A09;
    color: #fff;
    padding: 15px 21px;
    border-radius: 0;
    font-size: 41px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    z-index: 11;
}

/* Responsive Heights */
@media (max-width: 1024px) {
    body.single-programs .hero-wrapper { height: 500px; }
}
@media (max-width: 768px) {
    body.single-programs .hero-wrapper { height: 400px; }
}
@media (max-width: 480px) {
    body.single-programs .hero-wrapper { height: 320px; }
}

body.single-programs .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
    text-align: justify;
    font-family: Helvetica;
}

body.single-programs .hero-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 35px;
    margin-bottom: 23px;
   font-family: Helvetica; 
   text-align: left;
}

body.single-programs .hero-subtitle {
    color: #555;
    line-height: 1.9;
    margin-top: -15px;
    text-align: justify !important;
}

body.single-programs .hero-subtitle .short-text {
    font-size: 14px;
    color: #555;
    margin-top: -15px;
    text-align: justify !important;
    font-family: Helvetica; 
     line-height: 1.9;
}

.hero-subtitle .full-text p {
    font-size: 14px !important;
    color: #555;
    margin-top: -15px;
    text-align: justify !important;
    font-family: Helvetica !important; 
}



.hero-subtitle .read-more-toggle {
    color: #008000;
    cursor: pointer;
    text-decoration: underline;
    /* margin-left: 5px; */
    font-size: 18px;
    font-family:Helvetica;
    font-weight:bold;
}


.hero-subtitle .full-text {
    display: inline;
}


.hero-subtitle.show-full .ellipsis,
.hero-subtitle.show-full .read-more-toggle {
    display: none;
}




/* Grey Stats Section */
body.single-programs .stats {
    margin:-75px 0;
    padding: 40px 0;
    background-color: #f5f5f5;
}

body.single-programs .container {
    width: 100%;
    max-width: 1200px;
    margin: 12px auto;
    margin-bottom: 29px;
}
body.single-programs .stats-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1D2327;
    margin: 0 0 2px;
}

body.single-programs .stats-header .line {
    display: block;
    width: 100%;
    height: 1px;
    background: #1D2327;
    border-radius: 1px;
}

body.single-programs .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

/* প্রতিটা .stat এখনো একটি আলাদা grid child */
body.single-programs .stat {
  display: grid;
  grid-template-rows: auto auto; /* h2 উপরে, p নিচে */
  background: #f5f5f5;
  padding: 10px;
  min-height: 150px;
  text-align: left;
  font-family: Helvetica;
}

body.single-programs .stat h2 {
  font-size: 27px;
  font-weight: bold;
  color: #1D2327;
  margin: 15px 0 0 0;
}

body.single-programs .stat p {
  font-size: 15px;
  color: #555;
  line-height: 1.4;
  margin: 5px 0 0 0;
  font-weight: normal;
}


/* Black Section */
body.single-programs .black-section {
    background-color: #000;
    padding: 60px 0;
    color: #fff;
    font-family: Helvetica;
}

body.single-programs .black-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    font-family: Helvetica;
}

body.single-programs .black-title h2 {
    font-size: 30px;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

body.single-programs .black-desc p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
    text-align: justify;               /* justify করার জন্য */
    font-family: Helvetica;
}

/* ==============================
   Accordion Section Styles
   ============================== */
body.single-programs .accordion-section {
  background: #fffff;
  padding: 50px 0;
  font-family: Helvetica;
}

body.single-programs .accordion-section .container {
  max-width: 900px;
  margin: 0 auto;
}

body.single-programs .accordion-header {
  font-size: 24px;
  font-weight: 700;
  color: #0000;
  margin-bottom: 20px;
  border-bottom: 2px solid #007A09;
  padding-bottom: 8px;
  font-family: Helvetica;
}

/* Accordion Items */
body.single-programs .accordion-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #e6e6e6;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.single-programs .accordion-toggle {
  width: 100%;
  text-align: left;
  background: #e6e6e6;
  border: none;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

body.single-programs .accordion-toggle:hover {
  background: #dcdcdc;
}

body.single-programs .accordion-toggle:focus {
  outline: 2px solid #007A09;
  outline-offset: 2px;
}

body.single-programs .toggle-icon {
  font-size: 20px;
  color: #007A09;
  transition: transform 0.3s ease;
}

/* Accordion Content */
body.single-programs .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  background: #e6e6e6;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

body.single-programs .accordion-content p {
  margin: 12px 0;
}

/* Active State */
body.single-programs .accordion-item.active .accordion-content {
  max-height: 300px; /* প্রয়োজনে বাড়াতে পারো */
  padding: 15px 20px;
}

body.single-programs .accordion-item.active .toggle-icon {
  transform: rotate(45deg); /* + থেকে × */
}

/* Responsive */
@media (max-width: 576px) {
  body.single-programs .accordion-toggle {
    font-size: 14px;
    padding: 14px 16px;
  }
  body.single-programs .accordion-content {
    font-size: 13px;
    padding: 0 16px;
  }
}

.info-box-section {
  padding: 40px 20px;
  margin-top: 40px;
}

.info-box-content {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  padding: 50px 30px;
}

.info-overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  opacity: 0.85;
  z-index:1;
}

.info-inner-grid {
  position: relative;
  z-index:2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  text-align:left;
}

.info-item img {
  width: 89px;
  height: 94px;
  margin-bottom: 0px;
  filter: brightness(0) invert(20);
}


.info-item h4 {
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0px;
  color: #ffffff; /* à¦¸à¦¾à¦¦à¦¾ (white) */
  text-align: left;
}


.info-item p {
  font-size: 15px;
  line-height: 1.5;
  margin:0;
  text-align: left;
  font-weight: normal;
  font-family: Helvetica;
}

@media(max-width:992px){
  .info-inner-grid{
    grid-template-columns:1fr;
  }
}


/* Responsive */
@media (max-width: 992px) {
    body.single-programs .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    body.single-programs .black-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    body.single-programs .black-title h2 {
        font-size: 24px;
    }
    body.single-programs .black-desc p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    body.single-programs .stat-grid {
        grid-template-columns: 1fr;
    }
    body.single-programs .hero-content {
        width: 92%;
        margin-top: -40px;
        padding: 30px 20px 20px;
    }
    body.single-programs .eyebrow {
        left: 20px;
        font-size: 12px;
        padding: 6px 14px;
    }
    body.single-programs .hero-title {
        font-size: 24px;
        margin-top: 15px;
    }
    body.single-programs .hero-grid {
        grid-template-columns: 1fr;
    }
}

.programme-section {
  margin-top: 60px;
  font-family: Arial, sans-serif;
}

.programme-section .container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.programme-section .section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.programme-section .section-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #000;
  border-radius: 2px;
  margin-bottom: 30px;
}

.programme-section .highlight-item {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
}

.programme-section .highlight-text h4 {
  font-size: 30px;   /* আগের 20px থেকে বড় করা হলো */
  font-weight: bold;
  color: #000;       /* black করা হলো */
  margin-bottom: 12px;
}

.programme-section .highlight-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.programme-section .highlight-item img {
  width: 100%;
  height: 280px;      /* এখানে height কমানো হলো (তুমি চাইলে 150px/120px দিতে পারো) */
  object-fit: cover;  /* ইমেজ ক্রপ হয়ে সুন্দরভাবে fit হবে */
  border-radius: 6px; /* কোণাগুলো হালকা গোল চাইলে */
}

@media(max-width: 768px) {
  .programme-section .highlight-item {
    grid-template-columns: 1fr;
  }
  .programme-section .highlight-image {
    order: -1;
  }
}


.donation-section {
  margin-top: 60px;
  font-family: Arial, sans-serif;
}

.donate-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  align-items: center;
  width: 90%;
  max-width: 950px;
  margin: 0 auto;
}

.donation-quote {
  color: #001f3f;
}

.quote-icon {
    display: block;               /* block element */
    width: 48px;                  /* size adjust করুন */
    height: 48px;
    margin-bottom: 15px;
    background: url('https://prottyashi.mouliksolutions.com/storage/2025/09/quotes-icon.svg') center/contain no-repeat;
    text-indent: -9999px;         /* পুরানো text hide করতে */
    line-height: 0;
    color: transparent;
}



.quote-text {
  font-size: 30px;
  line-height: 1.4;
  color: #222;
  margin-bottom: 12px;
  text-align: justify;
}

.quote-author {
  font-size: 18px;
  color: #888;
  font-weight: 500;
}

.donation-box {
  background-color: #007A09;
  padding: 30px 25px;
  text-align: center;
  border-radius: 6px;
  color: #fff;
}

.donation-box .donate-text {
  font-size: 31px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.donate-button {
  display: inline-block;
  padding: 12px 23px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 29px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.donate-button:hover {
  background-color: #007B12;
  color: #fff;
}


@media(max-width: 768px) {
  .donate-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .donation-quote { order: 2; margin-top: 20px; }
  .donation-box { order: 1; }
}


 .video-section {
  background-color: #000;
  color: #fff;
  padding: 60px 0;
  font-family: Arial, sans-serif;
}

 .video-section .container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

 .video-heading .subheading {
  font-size: 22px;
  color: #fff;
  margin-bottom: 5px;
  text-align: left;
}

 .underline-full {
  height: 1px;
  background-color: #fff;
  width: 100%;
  margin-bottom: 30px;
}

 .video-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 2.2fr;
  margin-bottom: 33px;
  gap: 40px;
}

 .video-title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1.5;
  color: #fff;
  text-align: left;
}

 .video-description {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-align: justify;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  position: relative;
}

 .video-box {
  width: 100%;
  max-width: 800px;
  height: 450px;
  position: relative;
  border: 2px solid #007A09;
  border-radius: 8px;
  overflow: hidden;
}

 .video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

 .video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

 .video-placeholder .play-button {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.video-placeholder .play-button span {
    display: inline-block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}
 .video-placeholder .play-button:hover {
  background-color: #066e41;
}

 .video-box iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media(max-width: 768px){
  .video-info-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .video-box {
    height: 300px;
    max-width: 100%;
  }
  .video-title {
    font-size: 26px;
  }
   .video-description {
    font-size: 14px;
  }
 .video-placeholder .play-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}


.stories-inspiration-section {
    margin-top: 30px; /* উপরে ৫০ পিক্সেল স্পেস */
}


.donor-partner-section {
    margin-bottom: 40px;
}

.donor-partner-section .section-title {
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #008000;
    margin-bottom: 30px;
}

.donor-partner-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.donor-partner-card {
    width: 165px; /* একটু বড় করলাম কার্ডের width */
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    padding: 3px;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donor-partner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.donor-partner-card img {
    width: 150px;       /* লোগো এর width */
    height: 130px;      /* লোগো এর height */
    object-fit: contain; /* লোগো ঠিকমত ফিট করবে */
    display: block;
    margin: 0 auto;
}

.donor-partner-name {
    font-size: 15px;
    color: #333;
    margin: 0;
     font-family: Helvetica, Arial, sans-serif;
}



.program-gallery-section {
    padding: 50px 20px;
    background: #fff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 15px;
}

.gallery-title h2 {
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
    margin: 0;
}

.gallery-title .line {
    flex: 1;
    height: 1px;
    background: #333;
}

.program-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Gallery Item */
.program-gallery .pg-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
}

/* Image inside Gallery Item */
.program-gallery .pg-item img {
    width: 100%;
    height: 250px; /* image height */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.program-gallery .pg-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.program-gallery .pg-item:hover img {
    transform: scale(1.1);
}

/* Hidden Gallery Items (initially hidden) */
.hidden-gallery-item {
    display: none;
    opacity: 0;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 25px;
}

.load-more-btn {
    background-color: #28a745; /* Green */
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 27px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.load-more-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.load-more-btn i {
    margin-left: 8px;
}

/* Responsive */
@media(max-width:768px){
    .program-gallery .pg-item img {
        height: 180px;
    }
}



/* Container */
.success-story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 2px;
}

/* Title with line */
.success-story-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}
.success-story-title .line {
    flex: 1;
    height: 1px;
    background: #333;
}

.success-story-title h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 10px;
    white-space: nowrap;
}

/* Video Grid */
.success-story-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* Video Box */
.success-story-item {
    width: 519px;
    border: 1px solid #ddd;
    border-radius: 8px;   /* ✅ video box radius */
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Thumbnail */
.success-story-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;   /* ✅ same radius as box */
}
.success-story-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;   /* ✅ image also same radius */
}


/* Custom Play Button */
.success-story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-story-play-btn span {
    display: inline-block;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

/* Info (title + desc) */
.success-story-info {
    padding: 15px 5px 10px 0; /* top, right, bottom, left */
}

.success-story-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
    text-align: left; /* ✅ left aligned */
}

/* Success Story Video Title */
.success-story-video-title {
    font-size: 18px;       /* ✅ font size 18px */
    font-weight: bold;
    color: #007A09;        /* ✅ green shade (তুমি চাইলে অন্য hex কোড দিতে পারো) */
    margin-bottom: 8px;
    text-align: left;
    line-height: 1.4;
}


.success-story-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: left; /* ✅ left aligned */
}

/* Responsive */
@media (max-width: 768px) {
    .success-story-item {
        width: 100%;
        max-width: 90%;
    }
}




/* Project Duration Section */
.project-duration-section {
    margin: -10px 1px 35px -1px;
    font-family: Helvetica;
    margin-bottom: 27px 9px;
}


/* Container for centering the box */
.project-duration-container {
    max-width: 1200px;      /* boxed width */
    margin: 0 auto;         /* center align */
    display: flex;
    justify-content: flex-start; /* left align inside container */
}

/* The main box */
.project-duration-box {
    display: flex;
    align-items: center;
    border: 1px solid #007A09;
    border-radius: 5px;
    overflow: hidden;
}

/* Left Label */
.pd-label {
    background: #007A09;
    color: #fff;
    font-weight: bold;
    padding: 1px 9px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-icon {
    font-size: 16px;
}

/* Right Dates */
.pd-title {
    padding: 4px 3px;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    line-height: 1;
    flex: 1;
}


.pd-dates {
    padding: 4px 10px;
    font-weight: bold;
    font-size: 13px;  
    color: #000;
    line-height: 1;   /* compact */
    flex: 1;
}

/* Project Status above the box */
.pd-status {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: flex-start;
    padding: 0 2px;
    font-weight: bold;
    font-size: 16px;
    color: #007A09;
    margin-bottom: 8px;  
}


/* Project Status Container */
.project-status-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-weight: bold;
    font-size: 12px;
    color: #007A09; /* default text color */
    text-align: right;
    flex: 1;
}
/* Text beside dot */
.status-text {
    line-height: 1;
    text-transform: capitalize;
}

/* Dot Style */
.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #007A09; /* default green */
    display: inline-block;
}

/* Blinking Dot for ongoing */
.blinking-dot {
    background-color: #FFD700; /* deep orange */
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}


/* --- Global Font & Fixes (Appended for specific requirements) --- */

/* 1. Ensure Helvetica font family on all specific headings */
.stats-header h2,
.programme-section .highlight-text h4,
.programme-section .highlight-text p,
.gallery-title h2,
.donor-partner-section .section-title,
.success-story-title h2 {
    font-family: Helvetica, Arial, sans-serif !important;
}

/* 2. Donor & Partner Logo zoom effect */
.donor-partner-card {
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.donor-partner-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
}

.donor-partner-card img {
    transition: transform 0.3s ease !important;
    border: none !important;
    box-shadow: none !important;
}

.donor-partner-card:hover img {
    transform: scale(1.15) !important;
}

/* 3. Programme Highlights Image Width Reduction */
.programme-section .highlight-item {
    grid-template-columns: 1.8fr 1.2fr !important; /* text wider, image smaller */
}

@media(max-width: 768px) {
    .programme-section .highlight-item {
        grid-template-columns: 1fr !important;
    }
}
