/*******************************/
/********* General CSS *********/
/*******************************/
body {
  color: #777777;
  font-weight: 500;
  background: #f9faff;
  font-family: 'Quicksand', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
}

a {
  color: #ffc857;
  transition: 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #6c63ff;
  outline: none;
  text-decoration: none;
}

.btn.btn-custom {
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #777777;
  border-radius: 0;
  border: 2px solid #ffc857;
  box-shadow: inset 0 0 0 0 #fbbf24;
  transition: ease-out 0.3s;
  -webkit-transition: ease-out 0.3s;
  -moz-transition: ease-out 0.3s;
}

.btn.btn-custom:hover {
  color: #20212b;
  box-shadow: inset 0 0 0 30px #ffc857;
}

.btn:focus,
.form-control:focus {
  box-shadow: none;
}

.container-fluid {
  max-width: 1366px;
}

[class^='flaticon-']:before,
[class*=' flaticon-']:before,
[class^='flaticon-']:after,
[class*=' flaticon-']:after {
  font-size: inherit;
  margin-left: 0;
}

/**********************************/
/****** Loader & Back to Top ******/
/**********************************/
#loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  -webkit-transition:
    opacity 0.3s ease-out,
    visibility 0s linear 0.3s;
  -o-transition:
    opacity 0.3s ease-out,
    visibility 0s linear 0.3s;
  transition:
    opacity 0.3s ease-out,
    visibility 0s linear 0.3s;
  z-index: 999;
}

#loader.show {
  -webkit-transition:
    opacity 0.6s ease-out,
    visibility 0s linear 0s;
  -o-transition:
    opacity 0.6s ease-out,
    visibility 0s linear 0s;
  transition:
    opacity 0.6s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

#loader .loader {
  position: relative;
  width: 45px;
  height: 45px;
  border: 5px solid #dddddd;
  border-top: 5px solid #ffc857;
  border-radius: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.back-to-top {
  position: fixed;
  display: none;
  background: #ffc857;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 22px;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 9;
}

.back-to-top i {
  color: #4a4c70;
  padding-top: 10px;
}

.back-to-top:hover {
  background: #4a4c70;
}

.back-to-top:hover i {
  color: #ffc857;
}

/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
  position: absolute;
  height: 45px;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .top-bar-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-bar .text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  height: 45px;
  padding: 0 10px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .text:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .text i {
  font-size: 16px;
  color: #ffc857;
  margin-right: 5px;
}

.top-bar .text p {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.top-bar .social {
  display: flex;
  height: 45px;
  font-size: 0;
  justify-content: flex-end;
}

.top-bar .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 100%;
  font-size: 16px;
  color: #ffc857;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .social a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.top-bar .social a:hover {
  color: #ffffff;
  background: #ffc857;
}

@media (min-width: 992px) {
  .top-bar {
    padding: 0 60px;
  }
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
  position: relative;
  transition: 0.5s;
  z-index: 999;
}

.navbar.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.navbar .navbar-brand {
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  align-items: normal;
}

.navbar .navbar-brand img {
  width: 200px;
  height: auto;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  padding: 10px 15px 8px 15px;
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffc857;
  transition: none;
}

.navbar .dropdown-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #f8f9fa;
}

@media (min-width: 992px) {
  .navbar {
    position: absolute;
    width: 100%;
    top: 45px;
    padding: 20px 60px;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 9;
  }

  .navbar.nav-sticky {
    padding: 10px 60px;
    background: #f59e0b !important;
    border-bottom: none;
  }

  .page .navbar {
    background: #f59e0b !important;
  }

  .navbar a.nav-link {
    padding: 8px 15px;
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 15px;
    background: #20212b !important;
  }

  .navbar a.nav-link {
    padding: 5px;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
  }
}

/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
  margin: 0;
  position: relative;
  width: 100%;
  height: 100vh;
  background: #ffffff;
}

.carousel .container-fluid {
  padding: 0;
}

.carousel .carousel-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.carousel .carousel-img {
  width: 100%;
  height: 100vh; /* бүх дэлгэцийн өндөр */
  overflow: hidden;
}

.carousel .carousel-img::after {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.carousel .carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* зураг дэлгэцийг дүүргэнэ */
  object-position: center;
}

.carousel .carousel-text {
  position: absolute;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 999;
}

.carousel .carousel-text h1 {
  text-align: center;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.carousel .carousel-text p {
  color: #fff;
  text-align: center;
  font-size: 20px;
  margin-bottom: 25px;
}

.carousel .carousel-btn .btn.btn-custom {
  color: #ffffff;
}

.carousel .carousel-btn .btn.btn-custom:hover {
  color: #20212b;
}

.carousel .carousel-btn .btn:first-child {
  margin-right: 15px;
}

.carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdbe33;
  background: rgba(256, 256, 256, 0.2);
  font-size: 22px;
  transition: 0.3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: #fdbe33;
}

.carousel .owl-nav .owl-prev {
  margin-right: 2px;
}

.carousel .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}


@media (max-width: 991.98px) {
  .carousel .carousel-text h1 {
    font-size: 35px;
  }

  .carousel .carousel-text p {
    font-size: 16px;
  }

  .carousel .carousel-text .btn {
    padding: 12px 30px;
    font-size: 15px;
    letter-spacing: 0;
  }
}

@media (max-width: 767.98px) {
  .carousel .carousel-text h1 {
    font-size: 30px;
  }

  .carousel .carousel-text .btn {
    padding: 10px 25px;
    font-size: 15px;
    letter-spacing: 0;
  }
}

@media (max-width: 575.98px) {
  .carousel .carousel-text h1 {
    font-size: 25px;
  }

  .carousel .carousel-text .btn {
    padding: 8px 20px;
    font-size: 14px;
    letter-spacing: 0;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 5%; /* дэлгэцийн ирмэгээс бага зэрэг зай */
}
.hero .facts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55); /* зураг бараандуу байж текст тод харагдана */
}

/* Dark overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Text content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  width: 90%;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Paragraph text */
.hero-p {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 2.1rem;
  margin-bottom: 35px;
  line-height: 1.8; /* мөр хооронд илүү амьсгалтай */
  letter-spacing: 0.5px; /* үсэг хооронд бага зэрэг зай */
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}
.hero-h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* Optional: текстийг жижиг дэлгэц дээр уян хатан байлгах */
@media (max-width: 768px) {
  .hero-p {
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 0 10px;
  }
  .hero-content {
    max-width: 90%;
    padding: 40px 20px;
  }
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
  position: relative;
  margin-bottom: 45px;
  padding: 210px 0 90px 0;
  text-align: center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.about-header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/about-header.jpg');
}
.blog-header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/blog-header.jpg');
}
.contact-header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/contact-header.jpg');
}
.volunteer-header {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/volunteer-header.jpg');
}

.page-header h2 {
  position: relative;
  color: #fdbe33;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

.page-header h2::after {
  position: absolute;
  content: '';
  width: 100px;
  height: 2px;
  left: calc(50% - 50px);
  bottom: 0;
  background: #fdbe33;
}

.page-header a {
  position: relative;
  padding: 0 12px;
  font-size: 22px;
  color: #ffffff;
}

.page-header a:hover {
  color: #fdbe33;
}

.page-header a::after {
  position: absolute;
  content: '/';
  width: 8px;
  height: 8px;
  top: -2px;
  right: -7px;
  text-align: center;
  color: #ffffff;
}

.page-header a:last-child::after {
  display: none;
}

@media (max-width: 991.98px) {
  .page-header {
    padding: 60px 0;
  }

  .page-header h2 {
    font-size: 45px;
  }

  .page-header a {
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 45px 0;
  }

  .page-header h2 {
    font-size: 35px;
  }

  .page-header a {
    font-size: 18px;
  }
}

/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 45px auto;
}

.section-header p {
  margin-bottom: 5px;
  position: relative;
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  color: #fdbe33;
}

.section-header h2 {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .section-header h2 {
    font-size: 45px;
  }
}

@media (max-width: 767.98px) {
  .section-header h2 {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .section-header h2 {
    font-size: 35px;
  }
}

/*******************************/
/********** About CSS **********/
/*******************************/
/* ================================
   ABOUT SECTION (OUR STORY)
================================ */

/* Top Section */
.top-section {
  display: flex;
  height: 60vh;
}

.image {
  width: 50%;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  width: 50%;
  background: #fceeee;
  padding: 40px;
}

.content h3 {
  margin-top: 15px;
  font-weight: bold;
}

.content p {
  color: #000;
  margin-bottom: 10px;
}

/* Why Us layout */
.why {
  display: flex;
  height: 60vh;
}

/* TEXT (LEFT) */
.why-content {
  width: 50%;
  padding: 50px;
  background: #fceeee;
}

.why-content h2 {
  color: #2bb3a3;
  font-size: 32px;
  margin-bottom: 20px;
}

.why-content p {
  max-width: 800px;
  line-height: 1.6;
  color: #000;
}

/* IMAGE (RIGHT) */
.why-image {
  width: 50%;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.third-section {
  display: flex;
  height: 80vh;
  background-color: #fceeee;
}

.third-section h2 {
  color: #2bb3a3;
  font-size: 32px;
  margin-bottom: 20px;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  /* бүх section-уудыг босоогоор болгоно */
  .top-section,
  .why {
    flex-direction: column;
    height: auto;
  }

  .why {
    flex-direction: column-reverse;
  }

  /* зураг, текст 100% болно */
  .image,
  .content,
  .why-content,
  .why-image {
    width: 100%;
  }

  /* зурагны өндөр тохируулах */
  .image img,
  .why-image img {
    height: 250px;
  }

  /* padding багасгана */
  .content,
  .why-content {
    padding: 25px;
  }

  /* гарчиг арай жижиг */
  .why-content h2 {
    font-size: 26px;
  }
  .third-section {
    display: flex;
    height: auto;
    background-color: #fceeee;
  }

  /* доторх layout (жишээ) */
  .third-section {
    display: flex;
    flex-direction: column;
  }
  .third-image {
    width: 100%;
  }

  .third-content {
    padding: 50px;
  }

  .third-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
/*******************************/
/********* Donate CSS **********/
/*******************************/
.donate {
  position: relative;
  width: 100%;
  margin: 45px 0;
  background: rgba(0, 0, 0, 0.5);
}

.donate .donate-content {
  padding: 45px 0 15px 0;
}

.container .donate {
  margin: 90px 0;
}

.container .donate .donate-content {
  padding: 45px 30px 15px 30px;
}

.donate .donate-content .section-header {
  margin-bottom: 30px;
}

.donate .donate-content .section-header h2 {
  color: #ffffff;
}

.donate .donate-text p {
  color: #ffffff;
  font-size: 18px;
}

.donate .donate-form {
  padding: 90px 30px;
  background: #fdbe33;
}

.donate .donate-form .control-group {
  margin-bottom: 15px;
}

.donate .donate-form .form-control {
  height: 60px;
  color: #ffffff;
  padding: 0 15px;
  border-radius: 0;
  border: 1px solid #ffffff;
  background: transparent;
}

.donate .donate-form .form-control::placeholder {
  color: #ffffff;
  opacity: 1;
}

.donate .donate-form .form-control:-ms-input-placeholder,
.donate .donate-form .form-control::-ms-input-placeholder {
  color: #ffffff;
}

.donate .donate-form .btn-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.donate .donate-form .btn.btn-custom {
  padding: 15px 0;
  width: 100%;
  height: 60px;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 0 #ffffff;
}

.donate .donate-form .btn.btn-custom:hover,
.donate .donate-form .btn.btn-custom.active {
  color: #fdbe33;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 30px #ffffff;
}

/*******************************/
/********** Causes CSS *********/
/*******************************/
.causes {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.causes .causes-carousel {
  width: calc(100% + 30px);
  margin-left: -15px;
  margin-right: -15px;
}

.causes .causes-item {
  margin: 0 15px;
  overflow: hidden;
  background: #f3f6ff;
}

.causes .causes-img {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  height: 300px;
}

.causes .causes-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: 0.3s;
}

.causes .causes-item:hover img {
  transform: scale(1.1);
}

.causes .causes-progress {
  width: 100%;
  margin-top: 32px;
  padding: 30px 30px 20px 30px;
}

.causes .progress {
  height: 10px;
  border-radius: 0;
  background: #fdbe33;
  overflow: visible;
}

.causes .progress .progress-bar {
  position: relative;
  width: 0px;
  background: #fdbe33;
  overflow: visible;
  transition: 2s;
}

.causes .progress-bar span {
  position: absolute;
  top: -32px;
  right: 0;
  height: 23px;
  display: inline-block;
  padding: 2px 6px;
  background: #fdbe33;
  color: #20212b;
}

.causes .progress-bar span::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  top: 23px;
  left: calc(50% - 6px);
  border: 6px solid;
  border-color: #fdbe33 transparent transparent transparent;
}

.causes .progress-text {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
}

.causes .progress-text p {
  margin: 0;
}

.causes .causes-text {
  padding: 0 30px;
}

.causes .causes-text h3 {
  font-size: 22px;
  font-weight: 700;
}

.causes .causes-text p {
  margin: 0;
  color: #222;
}

.custom-prev i,
.custom-next i {
  font-size: 45px;
  color: #fdbe33;
}

.causes .causes-btn {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.causes .causes-btn .btn {
  padding: 10px 0;
  width: 50%;
}

.causes .causes-btn .btn:last-child {
  color: #20212b;
  background: #fdbe33;
}

.causes .causes-btn .btn:last-child:hover {
  color: #ffffff;
}
/* Owl Carousel сум */
.owl-nav {
  position: absolute;
  top: 275px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* border: 2px solid red; */
}
.owl-nav .owl-next {
  font-size: 40px !important; /*  томруулна */
  color: #fdbe33 !important; /* өнгө */
  transform: translateX(0); /* голд нь үлдээнэ */
  background: rgba(32, 33, 43, 0.75);
  border-radius: 100%;
  width: 50px;
  height: 50px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.owl-nav .owl-prev {
  font-size: 40px !important; /*  томруулна */
  color: #fdbe33 !important; /* өнгө */
  transform: translateX(0); /* голд нь үлдээнэ */
  background: rgba(32, 33, 43, 0.75);
  border-radius: 100%;
  width: 50px;
  height: 50px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .owl-nav {
    top: 270px;
  }
}

/*******************************/
/********** Facts CSS **********/
/*******************************/
.facts {
  position: relative;
  width: 100%;
  min-height: 400px;
  margin: 45px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}
.facts .section-header {
  color: white;
  margin-top: 20px;
}

.facts .section-header h2 {
  color: white;
  font-size: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.facts .facts-item {
  display: flex;
  flex-direction: row;
  margin: 25px 0;
}

.facts .facts-item i {
  margin-top: 10px;
  font-size: 60px;
  line-height: 60px;
  color: #fdbe33;
}

.facts .facts-text {
  padding-left: 20px;
}

.facts .facts-text h3 {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
}

.facts .facts-text h3::after {
  position: absolute;
  top: 0px;
  color: #ffffff;
  font-size: 25px;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.facts .facts-text h3.facts-plus::after {
  content: '\f067';
  right: -25px;
}

.facts .facts-text h3.facts-dollar::after {
  content: '\f155';
  right: -18px;
}

.facts .facts-text p {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
  position: relative;
  padding: 40px 0;
  text-align: center;
}

.team-member {
  margin-bottom: 30px;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  font-weight: 600;
}

.team-member p {
  margin: 0;
  font-size: 16px;
  color: #000;
}

/*******************************/
/********** service CSS **********/
/*******************************/
.service {
  margin-block: 20px;
  background: #f8f9fa;
}

.section-header p {
  color: #f59e0b;
  font-weight: 600;
  margin: 0;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.service-item {
  background: #fff;
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.service-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text p {
  font-size: 15px;
  color: #1c1c1c;
  line-height: 1.6;
  flex-direction: column;
}

/*******************************/
/********** Event CSS **********/
/*******************************/
.impact-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 380px;
  background-size: cover;
  background-position: center;
  margin: 20px auto;
  border-radius: 6px;
  overflow: hidden;
}

.impact-overlay {
    position: absolute;
    inset: 0; /* 50px биш */
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.impact-overlay h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2bb18a;
}

.divider {
  width: 50px;
  height: 2px;
  background: #fff;
  margin-bottom: 20px;
}
.divider .btn.btn-custom {
  padding: 6px 18px;
  font-size: 14px;
}

.impact-overlay p {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.7;
}
.impact-overlay .btn.btn-custom {
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #111;

  border-radius: 999px; /* pill shape */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);

  align-self: center;
  border: none;
  text-decoration: none;
}
.impact-overlay .btn.btn-custom:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.event {
  display: flex;
  flex-direction: column; /* нэг баганаар байрлуулна */
  align-items: center; /* голд байрлуулна (хүсвэл) */
  gap: 30px; /* картуудын хооронд зай */
}

.event .event-item {
  margin-bottom: 30px;
  background: #f3f6ff;
}

.event .event-item img {
  width: 100%;
}

.event .event-content {
  padding: 30px;
  display: flex;
}

.event .event-meta {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event .event-meta p {
  position: relative;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.event .event-meta p:last-child {
  border-bottom: none;
}

.event .event-meta i {
  color: #4a4c70;
  width: 25px;
}

.event .event-text {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
  color: #000;
}

.event .event-text::before {
  position: absolute;
  content: '';
  width: 1px;
  height: calc(100% - 5px);
  top: 6px;
  left: 0;
  background: rgba(0, 0, 0, 0.15);
}

.event .event-text::after {
  position: absolute;
  content: '';
  width: 3px;
  height: 40px;
  top: calc(50% - 20px);
  left: -1px;
  background: #fdbe33;
}

.event .event-text h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.event .event-text p {
  flex-direction: column;
  margin: 0;
  color: #000;
}

.event .btn.btn-custom {
  margin-top: 20px;
  padding: 8px 30px;
}

.event-item {
  background: #f7f7ff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-item:hover {
  transform: translateY(-5px);
}
/* Make all cards equal height */
.event .row {
  display: flex;
  flex-wrap: wrap;
}

.event .col {
  display: flex;
}

.event-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #f7f7ff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-item:hover {
  transform: translateY(-5px);
}

.event-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

@media (max-width: 575.98px) {
  .event .event-content {
    flex-direction: column;
  }

  .event .event-meta {
    flex-direction: row;
  }

  .event .event-meta p {
    font-size: 14px;
    padding-right: 7px;
  }

  .event .event-meta p:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .event .event-meta i {
    width: 18px;
  }

  .event .event-text {
    margin: 0;
    padding: 0;
  }

  .event .event-text::before,
  .event .event-text::after {
    display: none;
  }
}
/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.blog-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f3f6ff;
  margin-bottom: 30px;
  flex-grow: 1;
}

.blog .blog-img {
  width: 100%;
  flex-shrink: 0;
}

.blog .blog-img img {
  width: 100%;
}

.blog .blog-text {
  padding: 30px 30px 15px 30px;
  flex-direction: column;
  flex-grow: 1;
}

.blog .blog-text h3 {
  font-size: 22px;
  font-weight: 700;
}

.blog .blog-text h3 a {
  color: #1c1c1c;
}

.blog .blog-text h3 a:hover {
  color: #fdbe33;
}

.blog .blog-text p {
  margin: 0;
  color: #3b2f2f;
  text-align: justify;
  text-justify: inter-word;
}

.blog .blog-meta {
  margin: 0 30px;
  padding-top: 15px;
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.blog .blog-meta p {
  margin: 0;
  color: #1c1c1c;
  padding: 0 30px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.read-more-state {
  display: none;
}

.read-more-target {
  max-height: 0;
  opacity: 0;
  font-size: 0;
  transition: 0.45s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
  opacity: 1;
  font-size: inherit;
}

.read-more-state ~ .read-more-trigger::before {
  content: 'Read more';
  color: #000;
  font-size: 15px;
}
.read-more-state:checked ~ .read-more-trigger::before {
  content: 'Read less';
  color: #000;
  font-size: 15px;
}

.read-more-trigger {
  margin-top: auto;
  padding: 0 25px;
  display: inline-block;
  cursor: pointer;
  font-size: 20px;
  line-height: 2;
  border-radius: 10px;
  background: linear-gradient(rgba(43, 182, 115, 0.6), rgba(45, 156, 219, 0.6));
  align-self: flex-start;
}

.blog .blog-meta p:first-child {
  padding-left: 0;
}

.blog .blog-meta p:last-child {
  padding-right: 0;
  border: none;
}

.blog .blog-meta i {
  color: #4a4c70;
  margin-right: 8px;
}
.brochures {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #1c1c1c;
}
.brochures i {
  position: relative;
  display: block;
  color: #fdbe33;
  font-size: 20px;
  line-height: 20px;
  margin-top: 5px;
  margin-right: 2px;
  margin-bottom: 10px;
}

.blog .pagination {
  margin-bottom: 15px;
}

.blog .pagination .page-link {
  color: #4a4c70;
  border-radius: 0;
  border-color: #4a4c70;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
  color: #fdbe33;
  background: #4a4c70;
}

.blog .pagination .disabled .page-link {
  color: #999999;
}

/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
  margin: 45px 0;
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.contact .contact-img {
  position: relative;
  width: 100%;
}

.contact .contact-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.contact .contact-form {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  margin-top: -220px;
  padding: 30px;
  background: #f3f6ff;
}

@media (max-width: 991.98px) {
  .contact .contact-form {
    max-width: 600px;
  }
}

@media (max-width: 767.98px) {
  .contact .contact-form {
    max-width: 400px;
  }
}

@media (max-width: 575.98px) {
  .contact .contact-form {
    max-width: 300px;
  }
}

.contact .contact-form input {
  padding: 15px;
  background: none;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form textarea {
  height: 150px;
  padding: 8px 15px;
  background: none;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form .btn.btn-custom {
  width: 100%;
}

.contact .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
  position: relative;
  margin-top: 0;
  padding-top: 40px;
  background: #20212b;
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
  position: relative;
  margin-bottom: 45px;
  color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 700;
  color: #fdbe33;
}

.footer .footer-link a {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  transition: 0.3s;
}

.footer .footer-link a::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .footer-link a:hover {
  color: #fdbe33;
  letter-spacing: 1px;
}

.footer .footer-contact p i {
  width: 25px;
}

.footer .footer-social {
  position: relative;
  margin-top: 20px;
}

.footer .footer-social a {
  width: 40px;
  height: 40px;
  padding: 6px 0;
}

.footer .footer-social a {
  margin-top: 5px;
}

.footer .footer-newsletter form {
  position: relative;
  width: 100%;
}

.footer .footer-newsletter input {
  margin-bottom: 15px;
  height: 60px;
  border: none;
  border-radius: 0;
}

.footer .footer-newsletter label {
  margin-top: 5px;
  color: #777777;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer .footer-newsletter .btn.btn-custom {
  width: 100%;
  padding: 15px 0;
}

.footer .copyright {
  padding: 0 30px;
}

.footer .copyright .row {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright p {
  margin: 0;
  color: #999999;
}

.footer .copyright .col-md-6:last-child p {
  text-align: right;
}

.footer .copyright p a {
  color: #ffffff;
}

.footer .copyright p a:hover {
  color: #fdbe33;
}

@media (max-width: 767.98px) {
  .footer .copyright p,
  .footer .copyright .col-md-6:last-child p {
    margin: 5px 0;
    text-align: center;
  }
}
