/* CSS Variables */
:root {
  --font-family: Arial, sans-serif;
  --line-height: 1.6;

  /* Colors */
  --color-primary: #0b60ab;
  --color-primary-hover: #08315ed7;
  --color-secondary: #d4af37;
  --color-tertiary: #666;
  --color-bg-light: #fff;
  --color-dark: #333;
  --color-bg-alt: #f9f9f9;
  --color-white: #fff;

  /* Spacing */
  --padding-small: 10px;
  --padding-medium: 20px;
  --padding-large: 40px;

  /* max width */
  --max-width: 1200px;
}
@import url("https://fonts.googleapis.com/css2?family=Amiri&display=swap");

/* Utility */
/* Reset some basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* elements utility  */
html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background-color);
  line-height: 1.4;
}

button {
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  object-fit: cover;
  object-position: 65% 35%;
}

h1 {
  color: var(--color-primary);
  margin-bottom: 1rem !important;
}
/* class utility */
.container {
  max-width: var(--max-width);
  margin: auto;
}

.title-with-image {
  display: flex;
  justify-content: center;
  text-align: center;
  max-width: 520px;
  margin: auto;
}
.title-with-image h4 {
  padding: 0 !important;
}
.title-with-image img {
  max-width: 110px;
  border-radius: 30px;
  max-height: 40px;
  align-self: center;
  margin: 0 0.5rem;
}
.small-image {
  max-height: 25px;
  aspect-ratio: 1;
}
.meddle-image {
  max-height: 50px;
  aspect-ratio: 1;
}
.btn {
  cursor: pointer;
  padding: 0.5rem;
}
.btn:hover {
  opacity: 0.8;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg-light);
}
.btn-secondary {
  background: #f3b807;
  color: var(--color-primary);
}
.btn-primary {
  background: #f3b807;
  color: var(--color-primary);
}
.txt-secondary {
  color: var(--color-secondary);
}
.txt-primary {
  color: var(--color-primary);
}
.btn-light {
  background: var(--color-bg-light);
  color: var(--color-dark);
}
.btn-dark {
  background: var(--color-bg-dark);
  color: var(--color-bg-light);
}
.h-leading {
  font-size: 2.5rem;
  text-align: center;
  color: var(--secondary-text-color);
  opacity: 0.8;
}
.card {
  padding: 20px;
  border-radius: 8px;
  border: var(--color-bg-dark) solid 1px;
}
.py-1 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-3 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-2 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.px-3 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.hidden {
  display: none !important;
}

.shiny-text {
  font-size: clamp(3rem, 5vw, 4.5rem) !important; /* Responsive font size */
  font-weight: bold;
  text-align: right;

  /* Refined Gold Gradient with Animation */
  background: linear-gradient(90deg, #b8860b, #d4af37, #ffcf40, #b8860b);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Subtle Shimmer Animation */
  animation: shimmer 3s infinite linear;

  /* Hover Effect */
  transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.shiny-text:hover {
  transform: scale(1.05);
}

/* Shimmer Animation Keyframes */
@keyframes shimmer {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 100%;
  }
}

/* General styles */

/* Hero section */
#hero-section {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 80px;
  border-bottom: #ddd solid 1px;
  z-index: 1;
}
#hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  opacity: 0.9;
}

#hero-section .navbar {
  position: relative;
  width: 100%;
  z-index: 3;
}

#hero-section .navbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#hero-section .navbar .container .logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#hero-section .navbar .container .menu-icons {
  display: none;
}
#hero-section .navbar .container .menu-icons:hover {
  cursor: pointer;
}

#hero-section .navbar .container .menu-icons img {
  max-width: 30px;
}

#hero-section .navbar .container .logo-container .logo-image {
  max-width: 70px;
}
#hero-section .navbar .container .logo-container .logo-image-text {
  max-width: 150px;
}

#hero-section .navbar .container .logo-container:hover {
  cursor: pointer;
}

#hero-section .navbar .container .nav.desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#hero-section .navbar .container .nav.desktop li a {
  padding: 1rem;
  color: var(--color-primary);
  margin-left: 3px;
}

#hero-section .navbar .container .nav.desktop li .current,
#hero-section .navbar .container .nav.desktop li a:hover {
  border-bottom: var(--color-tertiary) solid 1px;
}

/* home page */
#home {
  border-bottom: #083c7349 solid 1px;
  padding-bottom: 7rem;
  overflow: hidden;
}

#home .showcase-container {
  display: flex;
  padding-top: 160px;
  align-items: center;
}

#home .showcase-container img {
  border-radius: 5%;
  border: #ddd solid 1px;
  margin: 0 1rem;
}

#home .showcase-container .content-container {
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1rem;
}

#home .showcase-container .content-container h1 {
  font-size: 4rem;
  padding-right: 2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

#home .showcase-container .content-container p {
  font-size: 15px;
  margin-bottom: 1rem;
}

#home .showcase-container .content-container .btn {
  border-radius: 2rem;
  padding: 10px 35px;
}
/* home page animation */
#home .left-to-right {
  flex: 1;
  opacity: 0;
  /* transform: translateX(-100%); */
  animation: slideInLeft 1s ease-in-out forwards;
}
#home .right-to-left {
  width: 55%;
  height: 500px;
  opacity: 0;
  /* transform: translateX(100%); */
  animation: slideInRight 1s ease-in-out forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* gallery section */
/* General Gallery Styling */
#gallery {
  padding: 3rem 0;
}
.gallery-title {
  text-align: center;
  margin: auto;
  padding: 3rem 0;
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 94%;
  margin: auto;
  overflow: hidden; /* Hide overflowing slides */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Slider */
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth slide transition */
}

/* Slide */
.slide {
  min-width: 100%; /* Each slide takes up 100% of the container */
  text-align: center;
  max-height: 70vh;
}

.slide img {
  width: 100%;
  height: 90%;
  display: block;
}
.slide h5 {
  font-size: 20px;
  margin: 1rem;
  text-align: center;
  color: var(--color-secondary);
}

/* Navigation Buttons */
button.prev,
button.next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-secondary);
  color: rgba(188, 187, 187, 0.427);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
  aspect-ratio: 1/1;
  opacity: 0.5;
}

button.prev img,
button.next img {
  width: 20px;
  aspect-ratio: 1/1;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button.prev:hover,
button.next:hover {
  opacity: 1;
}

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

.modal-content {
  max-width: 80%;
  max-height: 80%;
  display: block;
  margin: auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  color: black;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  outline: none;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: white;
}

.modal-prev {
  left: 5%;
}

.modal-next {
  right: 5%;
}

/* About Section */
#about {
  background-color: #fdfdfd;
  font-family: "Arial", sans-serif;
  overflow: hidden;
}

/* About Header */
#about .about-header h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* About Subheader */
#about .about-subheader h3 {
  font-size: 1.8rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 1rem;
}

/* Content Wrapper */
#about .about-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--color-dark);
  background: var(--color-white);
  padding: 2rem;
  column-count: 2;
  column-gap: 2rem;
  border-left: #000 solid 1px;
}

/* Drop Cap for First Letter */
#about .about-content-wrapper p::first-letter {
  font-size: 3rem;
  font-weight: bold;
  color: #083c73;
  margin-right: 0.5rem;
  float: left;
  line-height: 1;
}

/* Cards Section */
#about .cards-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

#about .about-card {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#about .about-card img {
  max-width: 80px;
  margin-bottom: 1rem;
}

#about .about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #333;
}

#about .about-card p {
  font-size: 1rem;
  color: #555;
}

/* Scrollable Content */
#about .about-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
  scrollbar-width: none;
  scrollbar-color: #ccc #f9f9f9;
}

#about .about-content::-webkit-scrollbar {
  width: 8px;
}

#about .about-content::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

#about .about-content::-webkit-scrollbar-track {
  background-color: #f9f9f9;
}

/* about animation */
/* Initial state of elements before animation */
#about .bottom-to-top {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When the element is visible */
#about .bottom-to-top.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* event-and-activities page */
.section-container {
  padding: 20px;
  /* background-color: var(--color-bg-alt); */
}

/* blog video */

#blog-video-section .video-container iframe {
  width: 100%;
  min-height: 300px;
  border-radius: 10px;
}

#events h1 {
  text-align: center;
  color: var(--color-primary);
  margin: 2rem 0;
}

#events .event {
  background: var(--color-white);
  border: 1px solid var(--color-bg-light);
  margin-bottom: 20px;
  padding: 15px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

#events .event.visible {
  transform: translateY(0);
  opacity: 1;
}

#events .event h2 {
  color: var(--color-secondary);
  margin-top: 0;
  margin-bottom: 10px;
  transition: color 0.3s;
  font-size: 1rem;
}

#events .event h2:hover {
  color: var(--color-primary-hover);
}

#events .event p {
  margin: 5px 0;
  color: var(--color-dark);
}

/* service */
#service {
  border-bottom: #083c7349 solid 1px;
}
#service .container .title-with-image {
  max-width: 100%;
}

#service .container p {
  margin: 1rem;
}
#service .container a {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}
#service .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#service .container .contents-container {
  width: 90%;
  margin: auto;
}
#service .container .contents-container .objectives-title {
  text-align: center;
}

#service .container p {
  margin: 2rem;
}
#service .container a {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 3rem;
}
#service .container .bottom-to-top {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 30px;
  margin: 0;
  margin-top: 1rem;
}
#service .container .content-container {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  padding: 2rem;
  border-bottom: #0c395890 1px solid;
  margin-bottom: 3rem;
}
#service .container .content-container p {
  padding-bottom: 0.4rem;
}

/* service animation */
/* Initial state of elements before animation */
#service .bottom-to-top {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When the element is visible */
#service .bottom-to-top.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* statistics */
#statistics {
  border-bottom: #083c7349 solid 1px;
  padding: 3rem 0;
}
#statistics .container {
  display: flex;
  padding-top: 90px;
}

#statistics .container .content-container {
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}
#statistics .container .content-container h1 {
  line-height: 2rem;
  margin: 3rem 0;
}
#statistics
  .container
  .content-container
  .statistics-number-container
  .statistics-card {
  padding: 1rem;
  margin-right: 3rem;
  text-align: center;
}

#statistics
  .container
  .content-container
  .statistics-number-container
  .statistics-card
  div
  h1 {
  margin: 0;
  padding: 1rem;
}
#statistics .container .content-container .statistics-number-container {
  display: flex;
}

#statistics .container img {
  width: 40%;
  border-radius: 20%;
  margin: 0 1rem;
  opacity: 0.6;
  padding-bottom: 4rem;
}
/* statistics animation */
/* Global animation styles */
#statistics .animate-title {
  opacity: 0;
  transform: translateY(150px);
  animation: title-slide-up 1s ease-in-out forwards;
}

#statistics .animate-card-left {
  opacity: 0;
  /* transform: translateX(-200px); */
  animation: card-slide-left 1s ease-in-out forwards;
}

#statistics .animate-card-right {
  opacity: 0;
  /* transform: translateX(200px); */
  animation: card-slide-right 1s ease-in-out forwards;
}

#statistics .animate-image {
  opacity: 0;
  transform: translateY(300px);
  animation: image-slide-up 1.2s ease-in-out forwards;
}

@keyframes title-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-slide-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes card-slide-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes image-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonials section */
#testimonials {
  position: relative;
  height: 105vh;
  text-align: center;
  padding: 3rem 0;
  z-index: -1;
  overflow: hidden;
}
#testimonials p {
  padding: 1rem;
}
#testimonials h5 {
  padding: 0 1rem;
}
#testimonials .testimonials {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Four-column layout */
  gap: 20px;
  grid-template-rows: auto auto; /* Dynamic rows */
  grid-auto-flow: dense; /* Allow overlapping/grid placement */
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#testimonials .testimonials .testimonials {
  width: 100%;
  height: 600px; /* Set height to manage card placement */
  margin: 0 auto;
}

#testimonials .testimonials .card {
  position: absolute; /* Position each card explicitly */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
}
#testimonials .testimonials .card:nth-child(1) {
  top: 300px;
  left: 21%;
  background-color: #ccffcc;
}

#testimonials .testimonials .card:nth-child(2) {
  top: 270px;
  left: 41%;
  background-color: #f2f2f2;
}

#testimonials .testimonials .card:nth-child(3) {
  top: 290px;
  left: 61%;
  background-color: #ccf5ff;
}

#testimonials .testimonials .card:nth-child(4) {
  top: 670px;
  left: 30%;
  background-color: #ffccf5;
}

#testimonials .testimonials .card:nth-child(5) {
  top: 670px;
  left: 50%;
  background-color: #ffdab3;
}
#testimonials .testimonials .card:nth-child(6) {
  top: 770px;
  left: 70%;
}

#testimonials .testimonials .profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

#testimonials .testimonials p {
  font-size: 14px;
  color: #555;
  /* margin-bottom: 10px; */
  padding: 0;
}

#testimonials .testimonials h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 5px 0;
}

#testimonials .testimonials h4 {
  font-size: 14px;
  color: #777;
  font-weight: normal;
}
/* testimonials animation */
/* Default state (before animation starts) */
.animate-title,
.animate-card-left,
.animate-card-right {
  opacity: 0;
  transform: translateY(50px);
}

.animate-card-left {
  /* transform: translateX(-100px);  */
}

.animate-card-right {
  /* transform: translateX(100px); */
}

/* Active animation (when in view) */
.animate-title.in-view {
  animation: slide-up 1s ease-in-out forwards;
}

.animate-card-left.in-view {
  animation: slide-in-left 1s ease-in-out forwards;
}

.animate-card-right.in-view {
  animation: slide-in-right 1s ease-in-out forwards;
}

@keyframes slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* asked-question */
#faq-section {
  overflow: hidden;
}
.faq-section {
  padding: 20px;
  border-bottom: #083c7349 solid 1px;
  padding: 3rem 0;
}
.faq-section .container {
  display: flex;
  padding: 3rem 0;
  justify-content: center;
}
/* Scrollable Content */
#faq-section .faq-left-side p {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
  scrollbar-width: none;
  scrollbar-color: #ccc #f9f9f9;
  border-left: #000 solid 1px;
  padding: 2rem;
}
#faq-section .faq-left-side p span {
  display: flex;
  justify-content: left;
  text-align: left;
}
#faq-section .arebic-content {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  font-family: "Scheherazade New", serif;
}
#faq-section .arebic-content div {
  padding: 2rem;
  text-align: right;
  max-width: 500px;
}
#faq-section .arebic-content div h3 {
  margin: 2rem 0;
}
.faq-section .container .faq-left-side {
  max-width: 90%;
  padding-right: 5rem;
}
.faq-section .container .faq-list {
  max-width: 45%;
}

.faq-section .faq-left-side h2 {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  color: #555;
}

.faq-left-side h1 {
  font-size: 28px;
  margin: 10px 0;
  text-align: center;
}
.faq-left-side h4 {
  text-align: center;
}

.faq-left-side p {
  font-size: 16px;
  color: #666;
}

.faq-list {
  margin-top: 20px;
}

.faq-item {
  width: 80%;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 18px;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #333;
}

.faq-answer {
  padding: 10px 0;
  font-size: 16px;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}
.faq-answer-hidden {
  display: none;
}
.toggle-btn {
  transition: transform 0.3s ease-in-out;
}

.toggle-btn.rotate {
  transform: rotate(180deg);
}

/* faq animation */
/* Initially hidden state */
.faq-hidden {
  opacity: 0;
  /* transform: translateX(-150px); */
  transition: all 1s ease;
}

/* Animation for left-to-right */
.faq-animate-left-to-right {
  /* transform: translateX(-150px); */
}

/* Animation for right-to-left */
.faq-animate-right-to-left {
  /* transform: translateX(150px); */
}

/* Visible state */
.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Rotate the toggle button for extra effect */
.rotate {
  transform: rotate(180deg);
}

/* donate section */
#donate-section {
  text-align: center;
  border-bottom: 1px solid #081d55a4;
  padding: 4rem 0;
}
#donate-section .container h1 {
  max-width: 70%;
  margin: auto;
}
#donate-section .container a {
  color: var(--color-dark);
}
#donate-section .container p {
  font-size: 16px;
  max-width: 60%;
  padding-bottom: 2rem;
  margin: auto;
  text-align: center;
}
#donate-section .container .donate {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

#donate-section .container .donate ul img {
  max-width: 90px;
}
#donate-section .container .donate ul .hijra-bank-logo {
  max-width: 60px;
}

/* donate section animation */
/* Initial state of elements before animation */
#donate-section .bottom-to-top {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When the element is visible */
#donate-section .bottom-to-top.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* blog page */
.blog-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#blog-section h5 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 10px;
}

#blog-section h1 {
  margin: 1rem;
}

#blog-section p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 40px;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
  margin-top: 20px;
  overflow: visible;
}

.blog-container > * {
  flex: 1 1 calc(25% - 20px); /* Each item takes up 25% of the container minus the gap */
  max-width: calc(25% - 20px); /* Ensures a max width for the items */
  box-sizing: border-box;
}

.blog-container:has(.blog-video-card) > * {
  min-width: 600px;
}

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.trending {
  background-color: #bde0fe;
  color: #0a77c5;
}
.event-trending {
  background-color: var(--color-secondary);
  color: var(--color-dark);
}

.productivity {
  background-color: #f7d1d9;
  color: #d63c6b;
}

.talk {
  background-color: #ddf7d3;
  color: #46a04f;
}

.blog-time {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.blog-link {
  text-decoration: none;
  font-size: 14px;
  color: #0a77c5;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.view-all-button {
  color: #333;
  background: #fff;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #333;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px;
}

.view-all-button:hover {
  background-color: #333;
  color: #fff;
}

/* blog animation */
/* General Styles */
.blog-section {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

/* Fade-In Effect for the blog section */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Card Animations */
.blog-card {
  opacity: 0;
  /* transform: translateX(100%);  */
  transition: all 1s ease-in-out;
}

/* Left to Right Animation (Card 1) */
.blog-card:nth-child(1) {
  animation: slideFromLeft 1s forwards;
  animation-delay: 0.2s;
}

/* Right to Left Animation (Card 2) */
.blog-card:nth-child(2) {
  animation: slideFromRight 1s forwards;
  animation-delay: 0.6s;
}

/* Left to Right Animation */
@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Bottom to Top Animation */
@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Right to Left Animation */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Add class "visible" to trigger animations */
.blog-section.visible {
  opacity: 1;
}

.blog-card.visible {
  opacity: 1;
  transform: translateX(0); /* Reset card position for animation */
}
/* latest-benefits */
#latest-benefits {
  padding: 20px;
  background-color: var(--color-bg-light);
  color: #333;
}

#latest-benefits h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 15px;
  border-left: 4px solid #3498db;
  padding-left: 10px;
}

#latest-benefits ul {
  list-style-type: disc;
  padding-left: 40px;
  margin: 0;
}

#latest-benefits ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

#latest-benefits ul li strong {
  color: #34495e;
}

.long-term-benefits ul {
  list-style-type: circle;
}

.call-to-action {
  margin-top: 20px;
  padding: 15px;
  background-color: #eafaf1;
  border-left: 4px solid #27ae60;
  font-size: 1.1em;
}

.call-to-action p {
  margin: 10px 0;
  color: #2d7a45;
  font-weight: bold;
  text-align: center;
}

/* General Animation */
.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
#footer .footer-container .address-container {
  padding: 1rem;
}
#footer .footer-container .address-container div {
  display: flex;
  align-items: center;
}
#footer .footer-container .address-container div a {
  color: #fff;
}
#footer .footer-container .address-container div a:hover {
  color: #d6d3d3;
}
#footer .footer-container .socail-medai-container {
  padding: 1rem;
}
.footer-container .socail-medai-container div {
  display: flex;
  align-items: center;
}
#footer .footer-container .socail-medai-container div a {
  color: #fff;
  margin-left: 1rem;
}

.footer-telegram p {
  margin: 10px 0;
}
.footer-telegram a {
  display: block;
  max-width: 99%;
  text-align: center;
  border-radius: 5px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background-color: #f0f0f0;
}

.footer-links {
  display: flex;
  gap: 30px;
  padding: 1rem 0;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
/* footer animation */
/* Initial state of elements before animation */
#footer .bottom-to-top {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When the element is visible */
#footer .bottom-to-top.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Initial hidden state */
.hidden-animation {
  opacity: 0;
  transform: translateY(60px); /* Start from a lower position */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Class to reset the animation by removing the effect */

/* Visible state */
.animate {
  opacity: 1;
  transform: translateY(0);
}

/*  --------------- Responsive Design 1200px ---------------------  */
@media (max-width: 1200px) {
  /* testimonials */
  #testimonials {
    position: static; /* Remove relative positioning */
    height: auto; /* Let height adjust dynamically */
  }
  #testimonials .testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #testimonials .testimonials .card {
    position: static;
  }
}
/*  --------------- Responsive Design 900px ---------------------  */
@media (max-width: 900px) {
  .container {
    width: 90%;
    margin: auto;
  }
  /* hero */
  #hero-section .navbar .container {
    width: 90%;
    margin: auto;
  }
  /* nav */
  #hero-section .navbar .container .nav.desktop {
    display: none;
  }

  #hero-section .navbar .container .menu-icons {
    display: flex;
  }

  #hero-section .navbar .container .menu-icons:hover {
    opacity: 0.5;
  }

  #hero-section .navbar .container .nav.mobile ul {
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    padding: 3rem;
    z-index: 1;
  }
  #hero-section .navbar .container .nav.mobile::before {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-white);
    opacity: 0.95;
    z-index: 0;
  }

  #hero-section .navbar .container .nav.mobile .close-icon-container {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
  }
  #hero-section .navbar .container .nav.mobile .close-icon-item {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
  }

  #hero-section .navbar .container .nav.mobile .close-icon-container:hover {
    opacity: 0.5;
    cursor: pointer;
  }

  #hero-section .navbar .container .nav.mobile ul {
    display: flex;
    align-items: start;
    justify-content: end;
  }

  #hero-section .navbar .container .nav.mobile ul .ul-nav-items {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
  }
  #hero-section .navbar .container .nav.mobile ul .ul-nav-items li {
    margin: 5px 0;
    padding: 5px;
  }

  #hero-section .navbar .container .nav.mobile ul .ul-nav-items .nav-items a {
    font-size: large;
    font-weight: bold;
    color: var(--color-dark);
  }

  #hero-section .navbar .container .nav.mobile img {
    max-width: 30px;
  }
  /* showcase */
  #home .showcase-container .content-container h1 {
    font-size: 3rem;
    padding-right: 2rem;
    line-height: 1.1;
  }

  /* service  */
  #service .container .title-with-image {
    max-width: 100%;
  }

  #service .title-with-image img {
    border-radius: 50px;
    justify-self: center;
  }
  /* events and activities  */
  .blog-container > * {
    flex: 1 1 calc(33% - 20px); /* Each item takes up 25% of the container minus the gap */
    max-width: calc(33% - 20px); /* Ensures a max width for the items */
    box-sizing: border-box;
  }
  /* statistics */

  #statistics .container {
    display: block;
    padding-top: 10px;
    text-align: center;
  }
  #statistics .container img {
    width: 80%;
  }

  #statistics .container .content-container {
    height: 90%;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  #statistics
    .container
    .content-container
    .statistics-number-container
    .statistics-card {
    display: flex;
    justify-content: space-around;
    margin-right: 0;
    padding: 0;
  }
  #statistics
    .container
    .content-container
    .statistics-number-container
    .statistics-card
    div {
    padding: 1rem;
  }

  /* asked question */
  .faq-section .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .faq-section .container .faq-left-side {
    max-width: 90%;
    padding-right: 0;
  }
  .faq-section .container .faq-list {
    max-width: 90%;
    text-align: left;
  }
}

/*  --------------- Responsive Design 768px ---------------------  */
@media (max-width: 768px) {
  .container {
    width: 95%;
    margin: auto;
  }
  .title-with-image {
    max-width: 400px;
  }

  .title-with-image img {
    max-width: 90px;
  }
  #latest-benefits {
    padding: 10px;
  }

  #latest-benefits h2 {
    font-size: 1.5em;
  }

  #latest-benefits ul {
    padding-left: 20px;
  }

  #latest-benefits ul li {
    font-size: 1em;
  }

  .call-to-action {
    font-size: 1em;
  }
  /* hero section */
  #hero-section {
    height: 110px;
  }
  #hero-section .navbar .container .logo-container {
    margin-bottom: 1rem;
  }

  #hero-section .navbar .container .nav.desktop {
    justify-content: center;
    width: 100%;
  }
  #hero-section .navbar .container .nav.desktop li a {
    padding: 0.7rem;
  }
  /* home */
  #home {
    border: none;
    padding-bottom: 2rem;
    text-align: center;
  }
  #home .container {
    flex-wrap: wrap;
  }
  #home .showcase-container {
    flex-direction: column;
  }

  #home .container .showcase-container .content-container {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
  }
  #home .container .showcase-container .content-container h1 {
    font-size: 2rem;
    margin: 10px 0;
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
  }
  #home .container .showcase-container .content-container p {
    margin-bottom: 0;
    padding-right: 0;
  }
  #home .container .showcase-container .content-container .btn {
    margin: 2rem 0;
  }
  #home .container img {
    width: 100%;
  }
  #about .about-content p {
    column-count: 1; /* Revert to single column for small screens */
  }
  /* about page */

  #about .about-subheader h3 {
    font-size: 1rem;
  }
  /* service */

  #service .title-with-image img {
    max-width: 60px;
    border-radius: 50px;
    justify-self: center;
  }
  /* documentary */
  .blog-container:has(.blog-video-card) > * {
    min-width: 470px;
  }
  /* events and activities */
  .blog-container {
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  .blog-container > * {
    flex: 1;
    max-width: 100%;
    align-self: stretch;
  }

  /* statistics */
  #statistics .container .showcase-container .content-container h1 {
    margin: 1rem 0;
  }
  #statistics
    .container
    .showcase-container
    .content-container
    .statistics-number-container
    .statistics-card
    div
    h1 {
    font-size: 1.5rem;
  }
  #statistics
    .container
    .showcase-container
    .content-container
    .statistics-number-container
    .statistics-card
    div
    p {
    font-size: 1rem;
  }
  /* gallery */
  #gallery .slide {
    min-width: 100%; /* Each slide takes up 100% of the container */
    text-align: center;
    max-height: 50vh;
  }

  .slide img {
    height: 85%;
  }

  #gallery #image-modal button {
    display: none;
  }

  /* join section */
  #join-section .container h1 {
    font-size: 2.5rem;
  }

  /* footer */
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
/* ---------------- Responsive Design -------------------------- */
@media (max-width: 500px) {
  /* utility */
  .container {
    width: 98%;
    margin: auto;
  }
  .title-with-image {
    max-width: 300px;
  }

  .title-with-image img {
    max-width: 70px;
  }
  /* showcase */

  /* about-page */

  /* service */
  #service h5 {
    font-size: 0.7rem;
  }
  #service .title-with-image {
    text-align: center;
  }

  #service .title-with-image img {
    max-width: 40px;
  }
  /* documentary */
  .blog-container:has(.blog-video-card) > * {
    min-width: 350px;
  }

  /* events and activities */

  /* statistics */
  #statistics
    .container
    .content-container
    .statistics-number-container
    .statistics-card
    div {
    padding: 0;
  }
  #statistics
    .container
    .content-container
    .statistics-number-container
    .statistics-card
    div
    h1 {
    font-size: 1rem;
  }
  #statistics
    .container
    .content-container
    .statistics-number-container
    .statistics-card
    div
    p {
    font-size: 0.8rem;
  }
  /* gallery */
  #gallery .slide {
    min-width: 100%; /* Each slide takes up 100% of the container */
    text-align: center;
    max-height: 37vh;
  }
  .slide img {
    height: 80%;
  }
  /* blog */
  .blog-section {
    padding: 40px 0;
  }
  .blog-section .blog-card {
    width: 95%;
    margin: auto;
  }
  /* testimonials */

  #testimonials .testimonials .card {
    width: 100%;
  }
  #testimonials h1 {
    font-size: 22px;
  }

  /* join section */
  #join-section .container h1 {
    font-size: 1.5rem;
  }
  #join-section .container p {
    max-width: 90%;
  }
}
