:root {
  --color-primary-1: #02b4f0;
  --color-primary-2: #012557;
  --color-primary-3: #3c82cf;
  --color-text-color: #082530;
  --color-gray-1: #576164;
  --color-gray-2: #a9b1b3;
  --color-gray-3: #dee2e3;
  --color-white: #ffffff;
}

/* Custom Bootstrap Overrides */
.btn-primary {
  background-color: var(--color-primary-1);
  border-color: var(--color-primary-1);
}

.btn-primary:hover {
  background-color: var(--color-primary-2);
  border-color: var(--color-primary-2);
}

.text-primary {
  color: var(--color-primary-1) !important;
}

.bg-primary {
  background-color: var(--color-primary-1) !important;
}

.donate-button {
  width: 150px;
}

.navbar {
  background-color: var(--color-primary-3);
}

.text-white {
  color: white;
}

.nav-link:hover {
  color: var(--color-white);
}

.border-col {
  display: flex;
  gap: 10px;
}

ul.border-col > li {
  border: 2px solid var(--color-gray-1);
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 8px;
}

ul.border-col > li:hover {
  border: 2px solid var(--color-primary-1);
  background-color: #02b4f0;
}

.logo-w {
  width: 55px;
  height: auto;
}

.flags {
  width: 40px;
}

.hover-shadow-white:hover {
  box-shadow: 3px 4px 6.3px -1px #fefefe !important;
}

.formSelect {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.formControl {
  width: 100px;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

::placeholder {
  color: white;
}

.h-bg {
  position: relative;
  background: url("./images/home/hbg.jpg?v=2") no-repeat center center;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 990px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
@media (max-width: 768px) {
  .h-bg {
    min-height: 60vh;
  }
}
.h-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity here */
  z-index: 1;
}

/* Ensure your content appears above the overlay */
.h-bg > * {
  position: relative;
  z-index: 2;
}


.button-hero {
  width: 150px;
  background-color: var(--color-white);
}

.button-hero:hover {
  width: 150px;
  background-color: var(--color-primary-1);
  color: var(--color-white);
}

.lg-mid-width {
  width: 300px !important;
}

.right-width {
  width: 500px;
}

.navbar {
  transition: all 0.5s ease-in-out;
}

.fixed-nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.responsive-text-title {
  font-size: 60px;
  font-weight: 600;
}

.responsive-text-para {
  font-size: 30px;
  font-weight: lighter;
}

.hero-section-inner {
  display: flex;
  gap: 20px !important;
}

.text-title {
  font-size: 50px;
  font-weight: 600;
}

.hero-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flood-hero-img {
  width: 100%;
  height: auto;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.scroll-content {
  display: flex;
  gap: 20px;
  animation: scroll 15s linear infinite;
  width: max-content;
}

.card-scroll {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #ffffff5c;
  padding: 8px;
  border-radius: 10px;
  min-width: 250px;
  text-align: center;
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.banner-wrapper {
  position: absolute;
  top: 980px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  z-index: 5;
}

.banner {
  width: 100%;
  height: auto;
}

/* main section start  */

.mbg-1 {
  background: url("./images/home/mbg1.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg1-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

div.mbg1-card > div {
  cursor: pointer;
}

.mbg-2 {
  background: url("./images/home/mbg2.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg2-innersection {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.mbg2-btn-position {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
}

.mbg-3 {
  background: url("./images/home/mbg3.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.mbg3-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.mbg-4 {
  background: url("./images/home/mbg4.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg4-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.mbg4-img {
  width: 300px;
}

.mbg4-bg {
  background: #ffffff00;
  height: 100%;
  border-radius: 22px;
}

.mbg4-bg:hover {
  background: linear-gradient(
    180deg,
    rgba(2, 180, 240, 0) -40.54%,
    #02b4f0 92.4%
  );
  cursor: pointer;
}

.mbg-5 {
  background: url("./images/home/mbg5.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg5-innersection {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}

.mbg5-video-player {
  width: 560px;
  height: 500px;
}
.mbg5-fs {
  font-size: 20px;
  line-height: 35px;
}

.mbg5-img {
  width: 100%;
}

.mbg-6 {
  background: url("./images/home/mbg4.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg-7 {
  background: url("./images/home/mbg7.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mbg7-innersection {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.mbg7-img {
  width: 500px;
}

.mbg7-bottom-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.bg-arrow {
  background-color: #ffffff68;
  border-radius: 100%;
  width: 50px;
}

.bg-arrow:hover {
  background-color: var(--color-primary-2);
  border-radius: 100%;
  cursor: pointer;
}

.mbg-8 {
  background: url("./images/home/mbg8.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* footer */
.mbg-9 {
  background: url("./images/home/mbg9.webp") no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.footer-para {
  font-size: 20px;
  font-weight: lighter;
  line-height: 40px;
}

.social-media {
  display: flex;
  gap: 10px;
}

.social-media-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 6px;
  background: #ffffff33;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease-in-out;
}

.social-media-icon > path {
  transition: fill 0.3s ease-in-out;
}

.social-media-icon:hover {
  background: white !important;
  cursor: pointer;
}

.social-media-icon:hover > path {
  fill: #02b4f0 !important;
  stroke: white;
}

@media (max-width: 991px) {
  /* md */
  .mid-width {
    width: 100% !important;
  }
  .right-width {
    width: 100%;
  }
  .info-section {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .h-bg {
    background-size: cover;
    height: 990px;
  }

  .responsive-text-title {
    font-size: 40px;
    font-weight: 600;
  }

  .responsive-text-para {
    font-size: 25px;
    font-weight: lighter;
  }

  .nav-link:hover {
    color: var(--color-primary-1);
  }

  ul.border-col > li {
    border: none;
    padding-left: 0px;
    padding-right: 0px;
    border-radius: 0px;
  }

  ul.border-col > li:hover {
    border: none;
    background-color: transparent;
  }

  .hero-section-inner {
    display: flex;
    flex-direction: row;
    gap: 20px !important;
  }

  .text-title {
    font-size: 35px;
    font-weight: 600;
  }

  .banner-wrapper {
    top: 1100px;
    max-width: 100%;
  }

  /* main section  */

  .mbg1-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .mbg2-innersection {
    flex-direction: column;
    gap: 10px;
  }

  .mbg2-innersection > div > h5 {
    font-size: 18px;
    font-weight: 600;
  }

  .refugee-camp-img {
    width: 60%;
  }

  .mbg3-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .mbg4-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .mbg4-img {
    width: 250px;
  }

  .mbg5-innersection {
    flex-direction: column;
  }

  .mbg5-video-player {
    width: 100%;
    height: 400px;
  }
  .mbg5-fs {
    font-size: 16px;
    line-height: 20px;
  }

  .mbg7-bottom-section {
    flex-direction: row;
    gap: 20px;
  }

  .mbg7-img {
    width: 100%;
  }

  .bg-arrow {
    background-color: #ffffff68;
    border-radius: 100%;
    width: 50px;
  }

  .bg-arrow:hover {
    background-color: var(--color-primary-2);
    border-radius: 100%;
    cursor: pointer;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-para {
    font-size: 20px;
    font-weight: lighter;
    line-height: 40px;
  }

  .social-media {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  /* sm */
  .h-bg {
    background-size: cover;
    height: 1000px;
  }

  .responsive-text-title {
    font-size: 30px;
    font-weight: 600;
  }

  .text-title {
    font-size: 25px;
    font-weight: 600;
  }

  .responsive-text-para {
    font-size: 16px;
    font-weight: lighter;
  }

  .flood-hero-img {
    height: 200px;
  }

  .hero-section-inner {
    display: flex;
    flex-direction: column;
    gap: 10px !important;
  }

  .banner-wrapper {
    top: 1150px;
    max-width: 100%;
  }

  /* main section  */

  .mbg1-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mbg-1 {
    height: 100vh;
  }

  .mbg-2 {
    height: 100vh;
  }

  .mbg2-innersection {
    flex-direction: column;
    gap: 10px;
  }

  .mbg2-innersection > div > h5 {
    font-size: 14px;
    font-weight: 600;
  }

  .refugee-camp-img {
    width: 60%;
  }

  .mbg3-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mbg4-img {
    width: 100%;
  }

  .mbg4-bg > svg {
    width: 40px;
    height: 40px;
  }
  .mbg4-bg > h4 {
    font-size: 20px;
  }

  .mbg4-bg > p {
    font-size: 10px;
  }

  .mbg4-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .mbg5-video-player {
    width: 100%;
    height: 200px;
  }
  .mbg5-fs {
    font-size: 14px;
  }

  .mbg5-img {
    width: 100%;
  }

  .mbg7-bottom-section {
    flex-direction: column;
    gap: 20px;
  }

  .mbg7-img {
    width: 100%;
  }

  .bg-arrow {
    background-color: #ffffff68;
    border-radius: 100%;
    width: 50px;
  }

  .bg-arrow:hover {
    background-color: var(--color-primary-3);
    border-radius: 100%;
    cursor: pointer;
  }

  .footer-para {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: white;
  }

  .social-media {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }
}
