@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@100..900&display=swap");
:root {
  --color-light: #fff9ec;
  --color-medium-light: #fbeecb;
  --color-medium: #ddd2ba;
  --color-dark: #a69268;
}

html {
  scroll-behavior: smooth;
}

/* ======= Utils Elements ============  */

.section-title {
  font-size: 60px !important;
  line-height: 1.3 !important;
  color: #d54f34 !important;
}

.section-title::after {
  background-color: #d54f34 !important;
}

@media (max-width: 767px) {
  .section-title {
    font-size: 24px !important;
  }
}

.custom-btn {
  background: var(--color-dark);
  border: none;
  padding: 8px 22px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 600;
}

/* ========== Header section ========  */
.header {
  background-color: var(--color-light);
}

.header__wrapper {
  background-color: var(--color-light);
}

.header__btn {
  background-color: #a69268 !important;
  transition: all 0.3s ease-in-out;
}

.header__btn:hover {
  background-color: #d60000 !important;
}

.header__navbar--link:hover {
  color: #d60000 !important;
}

.header__navbar--link:hover::before {
  border-bottom: 2px solid #d60000 !important;
}

.header__style-2 .header__wrapper .header__logo {
  margin-top: -10px;
  margin-bottom: -10px;
}

.header__style-2 .header__logo img {
  height: 56px;
}

@media (max-width: 767px) {
  .header__navbar {
    top: 69px;
  }
}

/* ========== Hero section ============  */

.hero-section {
  background-color: var(--color-medium-light);
  position: relative;
}

.hero-section__description {
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
  max-width: 543px;
  margin: 0 auto;
  font-size: 24px;
}

.hero-section__media-content .hero-section__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-section__media-content .hero-section__slide iframe.hero-section__video,
.hero-section__media-content .hero-section__slide img.hero-section__image {
  position: relative;
  top: auto;
  left: auto;
  object-fit: contain;
  width: 100%;
  height: 100%;
  /* width: auto;
  height: auto; */
}

@media (max-width: 767px) {
  .hero-section__description {
    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
  }
}

/* ========  AD Compnent ======== */

.ad-section {
  background-color: #fff4de;
  padding: 32px 0;
}

.ad-banner {
  background-color: var(--color-medium);
  color: #000;
  text-align: center;
  font-size: 16px;
  margin: 0 auto;
  max-width: 970px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .ad-banner {
    max-width: 300px;
    height: 250px;
    font-size: 14px;
    padding: 16px 30px;
  }
}

/* ======== Tab Component =======  */
.tab-component .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  scroll-behavior: smooth;
}

.tab-component .tab-btn {
  background: var(--color-medium);
  border: none;
  padding: 8px 22px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}

.tab-component .tab-btn:hover {
  background: var(--color-dark);
  color: #fff;
}

.tab-component .tab-btn.active {
  background: var(--color-dark);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(169, 150, 107, 0.3);
}

.tab-component hr {
  height: 2px;
  align-self: stretch;
  background-color: var(--color-medium);
  margin-bottom: 32px;
}

.tab-component .tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.tab-component .tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tab-component .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.tab-component .card {
  background: var(--color-medium-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-component .card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* Modern CSS approach */
  background: #ccc2aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 22px;
  color: #444;
}

/* Optional fallback for older browsers */
.tab-component .card-img::before {
  content: "";
  display: block;
  padding-top: calc(100% * 2 / 3);
}

.tab-component .card-body {
  background: var(--color-medium-light);
  padding: 16px;
  padding-bottom: 24px;
}

.tab-component .card-body h6 {
  font-size: 18px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: left;
  color: rgba(0, 0, 0, 0.87);
  margin-bottom: 0;
}

.tab-component .card-body h6:hover {
  transition: all 0.3s ease;
  color: #8e6c21;
}

.see-more {
  display: inline-block;
  margin-top: 32px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 18px;
  font-weight: 600;
}

.see-more:hover {
  background: var(--color-medium);
  color: #000;
}

@media screen and (max-width: 992px) {
  .tab-component .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .tab-component .tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    margin-bottom: 14px;
    scrollbar-width: none;
    padding-left: 3px;
  }

  .tab-component .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-component .tab-btn {
    padding: 8px 20px;
  }

  .tab-component hr {
    margin-bottom: 16px;
  }

  .tab-component .cards {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: pointer;
  }

  .tab-component .cards::-webkit-scrollbar {
    display: none;
  }

  .tab-component .card {
    min-width: 250px;
    border-radius: 12px;
    background: #f8f4e8;
    transition: transform 0.3s ease;
  }

  .see-more {
    margin-top: 16px;
    padding: 4px 14px;
  }

  .see-more:hover {
    background: #8e7c56;
    transform: translateY(-2px);
  }
}

/* ========= crore_paper-section ===================  */
.crore_paper-section {
  background-color: var(--color-light);
}

/* ========== Ai Photo maker Section =========  */

.ai-photo-maker-section {
  background-color: var(--color-medium-light);
}
.ai-photo-maker-section .btns-wrapper {
  display: flex;
  column-gap: 32px;
}

.ai-photo-maker-section.competition-section .custom-btn {
  background: var(--color-dark);
  border: none;
  padding: 8px 22px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #fff;
  font-weight: 600;
}

.ai-photo-maker-section.competition-section .custom-btn:hover {
  background: var(--color-medium);
  color: #000;
}

.ai-photo-maker-section.competition-section .competition__image {
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ai-photo-maker-section .btns-wrapper {
    column-gap: 16px;
  }
}

/* ======== Townhall Section ======== */

.townhall {
  background-color: var(--color-light);
  padding: 64px 0;
}

.townhall-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

/* === Left Section === */
.townhall-feature {
  flex: 1;
  background-color: #d54f34;
  border-radius: 16px;
  padding: 0 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.townhall-feature span {
  font-family: "Noto Sans Bengali", sans-serif;
  font-size: 100px;
  font-weight: bolder;
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

.townhall-feature p {
  font-size: 16px;
  font-weight: bold;
}

.townhall-feature h3 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  color: #fff;
  max-width: 500px;
}

.townhall-feature .video-box {
  position: relative;
  width: 100%;
  border-radius: 16px;
  background-color: #fdd2d2;
  overflow: hidden;
  cursor: pointer;
}

.townhall-feature .video-box::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}

.townhall-feature .video-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.townhall-feature .video-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.townhall-feature .play-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 1;
}

.townhall-feature .play-btn:hover {
  transform: scale(1.1);
}

.townhall-feature .label {
  margin-top: 20px;
  font-size: 67px;
  font-family: "Noto Sans Bengali", sans-serif;
  font-weight: 200;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* === Right Section === */
.townhall-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.townhall-list .video-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 16px;
  cursor: pointer;
}

.townhall-list .video-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -15.5px;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.12);
}

.townhall-list .video-item:first-child::before {
  display: none;
}

.townhall-list .video-item-text {
  flex: 1;
}

.townhall-list .video-item h3 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  text-align: left;
  color: rgba(0, 0, 0, 0.87);
}

.townhall-list .video-item h3:hover {
  transition: all 0.3s ease;
  color: #8e6c21;
}

.townhall-list .video-item p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.56);
}

.townhall-list .video-thumb {
  width: 150px;
  aspect-ratio: 16 / 9;
  background-color: var(--color-medium);
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.townhall-list .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.townhall-list .video-thumb .play-btn {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.townhall-list .video-thumb .play-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .townhall-container {
    flex-direction: column;
  }

  .townhall-feature,
  .townhall-list {
    flex: none;
    width: 100%;
  }

  .townhall-feature p {
    font-size: 16px;
  }

  .townhall-feature span {
    font-size: 46px;
  }

  .townhall-feature h3 {
    font-size: 24px;
  }

  .townhall-feature .play-btn {
    top: 8px;
    left: 8px;
    width: 35px;
    height: 35px;
  }

  .townhall-feature .label {
    font-size: 39px;
  }

  .townhall-list .video-item h3 {
    font-size: 18px;
  }
  .townhall-list .video-item p {
    font-size: 14px;
  }

  .townhall-list .video-thumb {
    width: 120px;
  }
}

/* ========= Greeting card Section =======  */

.greeting_card-section {
  background-color: var(--color-medium-light);
}

.greeting_card-section .section-title {
  margin-bottom: 16px;
}

.greeting_card-section .content-wrapper {
  gap: 32px;
}

.greeting_card-section .img-box {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.greeting_card-section .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting_card-section .text-content h2 {
  font-size: 40px;
  font-weight: bold;
  line-height: 1;
  text-align: left;
  color: #000;
}

.greeting_card-section .text-content p {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
  color: #000;
}

@media (max-width: 768px) {
  .greeting_card-section .section-title {
    margin-bottom: 8px;
  }

  .greeting_card-section .content-wrapper {
    gap: 16px;
  }

  .greeting_card-section .text-content h2 {
    font-size: 20px;
  }

  .greeting_card-section .text-content p {
    font-size: 16px;
    margin-bottom: 0;
  }

  .greeting_card-section
    .competition-section
    .competition__wrapper
    div:first-child {
    margin-top: 0;
  }

  .greeting_card-section
    .competition-section
    .competition__wrapper
    div:last-child {
    margin-bottom: 0;
  }
}

/* ========= photo gallery Section =======  */
.photo-gallery-section {
  background-color: var(--color-light);
}

.photo-gallery-section .card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.photo-gallery-section .card .photo-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 48px;
  height: 48px;
  z-index: 2;
  border-radius: 50%;
  cursor: pointer;
}

.photo-gallery-section .big-card.card .photo-icon {
  width: 64px;
  height: 64px;
}

.photo-gallery-section .card .photo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-gallery-section a.card .img-box {
  width: 100%;
  height: 100%;
}

.photo-gallery-section .card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-gallery-section .card:hover .img-box img {
  transform: scale(1.05);
}

.photo-gallery-section .card:hover .title-wrapper .title {
  color: #ffb300;
  cursor: pointer;
}
.photo-gallery-section .card .title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 72px 16px 16px;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.9)
  );
}

.photo-gallery-section .card .title-wrapper .subtitle {
  position: relative;
  z-index: 4;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  color: rgba(255, 255, 255, 0.87);
  margin-right: 20px;
  display: inline-block;
  color: #ffb300;
}

.photo-gallery-section .big-card.card .title-wrapper .subtitle {
  font-size: 28px;
  margin-right: 24px;
}

.photo-gallery-section .card .title-wrapper .subtitle::before {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #ffffff61;
}

.photo-gallery-section .big-card.card .title-wrapper .subtitle::before {
  right: -16px;
}

.photo-gallery-section .card .title-wrapper .title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 8px;
  transition: all 0.3s ease-in-out;
}

.photo-gallery-section .big-card.card .title-wrapper .title {
  font-size: 28px;
}

.photo-gallery-section .parent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 650px;
}

/* Big card takes the entire left column */
.photo-gallery-section .big-card {
  grid-row: 1 / span 2;
  grid-column: 1;
}

/* Small cards container */
.photo-gallery-section .small-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  grid-row: 1;
  grid-column: 2;
}

/* Medium card */
.photo-gallery-section .medium-card {
  grid-row: 2;
  grid-column: 2;
}

@media (max-width: 768px) {
  .photo-gallery-section .parent {
    grid-template-columns: 1fr;
    grid-template-rows: 328px 164px 164px;
    height: auto;
  }

  .photo-gallery-section .big-card {
    grid-row: 1;
    grid-column: 1;
  }

  .photo-gallery-section .small-cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-row: 2;
    grid-column: 1;
  }

  .photo-gallery-section .medium-card {
    grid-row: 3;
    grid-column: 1;
  }

  .photo-gallery-section .card .photo-icon {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
  }

  .photo-gallery-section .big-card.card .photo-icon {
    width: 48px;
    height: 48px;
  }

  .photo-gallery-section .big-card.card .title-wrapper {
    padding: 72px 16px 16px;
  }

  .photo-gallery-section .card .title-wrapper {
    padding: 24px 8px 8px;
  }

  .photo-gallery-section .card .title-wrapper .subtitle {
    font-size: 16px;
  }

  .photo-gallery-section .big-card.card .title-wrapper .subtitle {
    font-size: 20px;
    margin-right: 24px;
  }

  .photo-gallery-section .card .title-wrapper .subtitle::before {
    right: -13px;
  }

  .photo-gallery-section .big-card.card .title-wrapper .subtitle::before {
    right: -16px;
  }

  .photo-gallery-section .card .title-wrapper .title {
    font-size: 16px;
  }

  .photo-gallery-section .big-card.card .title-wrapper .title {
    font-size: 20px;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.photo-gallery-section .card {
  animation: fadeInUp 0.6s ease forwards;
}

.photo-gallery-section .big-card {
  animation-delay: 0.1s;
}

.photo-gallery-section .small-cards .card:nth-child(1) {
  animation-delay: 0.2s;
}

.photo-gallery-section .small-cards .card:nth-child(2) {
  animation-delay: 0.3s;
}

.photo-gallery-section .medium-card {
  animation-delay: 0.4s;
}

/* ========= Video Section ======= */
.video-section-slide {
  background-color: var(--color-medium-light);
}

.video-section-slide .media-content-wrapper {
  cursor: pointer;
}

.video-section-slide .media-content-wrapper .banner-section3__image {
  border-radius: 16px;
  overflow: hidden;
}

.banner-section3__media-content .banner-section3__text-content-wrapper {
  border-radius: 16px;
}
.video-section-slide .media-content-wrapper .banner-section3__slide {
  position: relative;
}

.video-section-slide .media-content-wrapper .banner-section3__slide .play-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80.5px;
  height: 80.5px;
  z-index: 2;
}

.video-section-slide
  .media-content-wrapper
  .banner-section3__slide
  .play-btn
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section-slide
  .banner-section3__media-content
  .banner-section3__text-content-wrapper {
  height: 44%;
}

.video-section-slide
  .banner-section3__text-content-wrapper
  h2.banner-section3__title
  span {
  position: relative;
  color: #ffb300;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
  margin-right: 16px;
}

.video-section-slide
  .banner-section3__text-content-wrapper
  h2.banner-section3__title
  span::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 45%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #ffffff61;
}

.video-section-slide
  .banner-section3__text-content-wrapper
  h2.banner-section3__title {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
}

.video-section-slide
  .banner-section3__text-content-wrapper
  p.banner-section3__description {
  font-size: 16px;
  font-weight: normal;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.87);
}

.video-section-slide
  .banner-section3__text-content-wrapper
  span.published-time {
  margin-top: 10px;
  display: inline-block;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: rgba(255, 255, 255, 0.87);
}

.video-section-slide
  .banner-section3__media-content
  .owl-carousel
  .owl-nav
  button.owl-prev {
  left: 24px;
  max-width: 48px;
  width: 100%;
}

.video-section-slide
  .banner-section3__media-content
  .owl-carousel
  .owl-nav
  button.owl-next {
  right: 24px;
  max-width: 48px;
  width: 100%;
}

.video-section-slide .banner-section3__media-content .owl-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
}

.video-section-slide .banner-section3__media-content .owl-dot {
  width: 12px;
  height: 12px;
  background-color: #00000061;

  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
}

.video-section-slide .banner-section3__media-content .owl-dot.active {
  background-color: #000;
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .video-section-slide .banner-section3__media-content .banner-section3__slide {
    aspect-ratio: 3/2;
  }

  .video-section-slide
    .media-content-wrapper
    .banner-section3__slide
    .play-btn {
    top: 4px;
    left: 4px;
    width: 40px;
    height: 40px;
  }

  .video-section-slide
    .banner-section3__text-content-wrapper
    h2.banner-section3__title
    span {
    font-size: 18px;
    margin-right: 16px;
  }

  .video-section-slide
    .banner-section3__text-content-wrapper
    h2.banner-section3__title
    span::before {
    right: -14px;
    top: 45%;
  }

  .video-section-slide
    .banner-section3__text-content-wrapper
    h2.banner-section3__title {
    font-size: 18px;
  }

  .video-section-slide
    .banner-section3__text-content-wrapper
    p.banner-section3__description {
    display: none;
  }

  .video-section-slide
    .banner-section3__text-content-wrapper
    span.published-time {
    display: none;
  }

  .video-section-slide
    .banner-section3__media-content
    .owl-carousel
    .owl-nav
    button.owl-prev {
    display: none;
  }
  .video-section-slide
    .banner-section3__media-content
    .owl-carousel
    .owl-nav
    button.owl-next {
    display: none;
  }

  .video-section-slide .banner-section3__media-content .owl-dots {
    display: none;
  }
}

/* ========== Footer ===========  */

footer {
  background-color: var(--color-light) !important;
}

footer p.developed {
  font-size: 14px;
  text-align: right;
  font-weight: 300;
  margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
  .footer__copyright {
    border-bottom: none;
  }
  footer p.developed {
    text-align: center;
  }
}
