@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

body {
  font-family: "Nunito", sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
  margin: 0;
}

.partners_wrapper {
  padding: 50px;
  min-height: calc(100vh - 164px);
}

.partner_logo_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.partner_item img {
  width: auto;
  height: 80px;
  margin: auto;
  display: block;
}

.partner_item {
  padding: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
}

.partner_title {
  margin-top: 25px;
  padding: 10px;
  background-color: #efefef;
  border-radius: 15px;
  text-align: center;
}

.partner_title p {
  margin-bottom: 0 !important;
}

.dropdown-menu a:active {
  background: transparent !important;
}

.navbar-brand img {
  height: 70px;
  width: auto;
}

.partners_header {
  text-align: center;
  margin-bottom: 50px;
}

@media all and (min-width: 992px) {
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.nav-item.dropdown a.dropdown-item:hover {
  background-color: #008a45;
  color: #fff !important;
  border-radius: 5px !important;
}

.navbar a:hover {
  color: #008a45;
}

.dropdown-menu {
  padding: 10px !important;
}

.body_wrapper.president img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.header .navbar {
  transition: all 0.3s ease-in-out;
  /* background-color: #ededed !important; */
  padding: 10px 50px;
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* background-color: #ffffff !important; */
}

.navbar-nav {
  gap: 25px;
}

.header > * {
  flex: 1;
}

.main_menu {
  display: flex;
  padding: 0;
  gap: 25px;
  margin-bottom: 0;
}

.main_menu li {
  list-style: none;
}

.donate_button {
  text-align: right;
}

.main_menu_container {
  justify-content: center;
  display: flex;
}

.hero img {
  width: 100%;
  border-radius: 25px;
}

.hero,
.vision_mission_container {
  padding: 50px;
}

.hero_header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.hero_title {
  max-width: 500px;
  width: 100%;
}

.header h1 {
  color: #000;
  font-family: "Ghost Trial";
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px; /* 145.833% */
}

span.large_text {
  color: #5fb2a4;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px;
}

.body_content_wrapper {
  padding-top: 100px;
}

.vision_mission_container img {
  width: 100%;
}

.vision_mission_container {
  background-color: #2c5c3e;
  background-image: url(../images/mission_bg.png);
  background-size: 100% 100%;
  background-attachment: fixed;
}

.mission_text {
  padding-left: 50px;
}

.mission_text h2 {
  color: #fff;
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: 70px; /* 140% */
}

.mission_text p {
  color: #fff;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px; /* 150% */
}

.raising_wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: auto;
}

.raising_container {
  display: flex;
  padding: 100px 50px;
  background-image: url(../images/industry.png);
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
}

.raising_amount {
  background-color: #000;
  padding: 30px 50px;
  border-radius: 25px;
  text-align: center;
}

.raising_amount h3 {
  color: #fff;
  font-size: 42px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.raising_amount h4 {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 10px;
}

.yellow_bg {
  border-radius: 15px;
  background: #f4ff77;
}

.green_bg {
  border-radius: 15px;
  background: #94ec13;
}

.landing_text_container {
  padding: 50px;
  background: #ededed;
}

.landing_text_container img {
  width: 100%;
}

.top_donners {
  padding: 50px;
}

.top_donners h2,
.news_main_wrapper h2 {
  color: #000;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 70px; /* 145.833% */
  text-align: center;
}

.donner_wrapper {
  display: flex;
  gap: 15px;
}

.donner_image_wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

.donner_container {
  width: 25%;
}

.donner_container p {
  font-size: 14px;
}

.donner_wrapper {
  margin-top: 20px;
}

.fund_main {
  padding: 50px;
}

/* fund_raising_styles */

.fundraising-container {
  width: 100%;
  /* max-width: 600px; */
}

.fundraising-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fundraising-header {
  margin-bottom: 32px;
}

.fundraising-title {
  font-size: 48px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.fundraising-subtitle {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.currency-display {
  display: flex;
  /* flex-direction: column; */
  gap: 16px;
  margin-bottom: 32px;
}

.currency-item {
  padding: 24px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: default;
  position: relative;
  overflow: hidden;
  width: 50%;
}

.currency-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.currency-item:hover::before {
  left: 100%;
}

.currency-lkr {
  background: linear-gradient(135deg, #5fb2a4 0%, #4a9c90 100%);
  border-color: #5fb2a4;
}

.currency-usd {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border-color: #06b6d4;
}

.currency-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.currency-amount {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.fundraising-footer {
  font-size: 16px;
  color: #94a3b8;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.currency-display.landing .currency-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.currency-display.landing .currency-label {
  margin: 0;
  font-size: 32px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 24px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #06b6d4 100%);
  border-radius: 3px;
  width: 0%;
  animation: fillProgress 1.2s ease-out;
}

.governer_title p {
  margin-bottom: 5px !important;
}

.task_title {
  font-weight: bold !important;
}

@keyframes fillProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  animation: bounceIn 0.5s ease-out;
}

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.checkmark {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .fundraising-card {
    padding: 32px 24px;
  }

  .fundraising-title {
    font-size: 24px;
  }

  .currency-amount,
  .currency-display.landing .currency-label {
    font-size: 26px;
  }

  .currency-item {
    padding: 20px;
  }
}

.news_main_wrapper {
  background-color: #ededed;
  padding: 50px;
}
.sec_header {
  display: flex;
  justify-content: center;
}

/* end fund raising styles */

.news_container img {
  width: 100%;
  border-radius: 20px;
  max-width: 600px;
  height: 450px;
  object-fit: cover;
}

.news_container {
  display: flex;
  gap: 35px;
  padding: 10px;
  background: #fff;
  border-radius: 20px;
  align-items: center;
}
.news_head p {
  max-width: 800px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.news_head {
  margin-bottom: 20px;
}

.button_trapper a {
  background-color: #008a45;
  text-decoration: none;
  color: #fff;
  padding: 5px 20px;
  border-radius: 5px;
}

.footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
}

.footer span {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.flag-stripe {
  display: flex;
  width: 100%;
}

.flag-stripe .stripe-green {
  flex: 2;
  background-color: #00534e;
  height: 10px;
}

.flag-stripe .stripe-orange {
  flex: 2;
  background-color: #eb7400;
  height: 10px;
}

.flag-stripe .stripe-maroon {
  flex: 2;
  background-color: #8d153a;
  height: 10px;
}

.flag-stripe .stripe-maroon {
  flex: 3;
  background-color: #8d153a;
  height: 10px;
}

.flag-stripe .stripe-gold {
  flex: 1;
  background-color: #ffbe29;
  height: 10px;
}

.governers_header h1 {
  color: #000;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px; /* 140% */
}

.governers_header {
  padding-top: 50px;
}

.governers_header span {
  color: #5fb2a4 !important;
}

.governers_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  margin-top: 35px;
  margin-bottom: 50px;
}

.governers_wrapper img {
  width: 100%;
}

.governer_image {
  margin-bottom: 15px;
}

.governers_wrapper h4 {
  font-size: 16px;
  font-weight: bold;
}

.governers_wrapper p {
  font-size: 12px;
  line-height: 14px;
}

.landing_text_container img {
  border-radius: 25px;
}

.news_image_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.news_image_wrapper img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.news_main_container {
  padding-bottom: 50px;
}

.damage {
  display: flex;
  align-items: center;
  gap: 15px;
}

.damage_button {
  text-decoration: none;
  color: #2c5c3e;
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column-reverse;
  }
  .hero_header {
    flex-direction: column;
  }
  .donner_wrapper {
    flex-direction: column;
  }

  .donner_container {
    width: 100%;
  }

  .news_container {
    flex-direction: column;
  }

  .header .navbar {
    padding: 10px 15px !important;
  }
  .hero,
  .vision_mission_container,
  .landing_text_container,
  .fund_main,
  .top_donners,
  .news_main_wrapper {
    padding: 30px 15px;
  }

  .hero_title h1,
  span.large_text,
  .mission_text h2,
  .top_donners h2,
  .news_main_wrapper h2,
  .governers_header h1,
  .governers_header h1 {
    font-size: 32px !important;
    line-height: 36px !important;
  }
  .hero_title {
    padding-top: 25px;
  }
  .mission_text {
    padding-left: 0;
    padding-top: 25px;
  }

  .vision_text_wrapper p {
    font-size: 16px;
    line-height: 24px;
  }
  .landing_text_container .row {
    flex-direction: column-reverse;
  }
  .landing_text {
    padding-top: 25px;
  }
  .currency-display {
    flex-direction: column;
  }
  .currency-item {
    width: 100%;
  }
  .news_container img {
    height: 250px;
  }

  .news_image_wrapper img {
    height: 200px;
  }

  .news_container {
    padding-bottom: 30px;
  }
  .navbar-nav.mb-2 {
    margin-bottom: 20px !important;
  }
  .governers_wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .damage {
    flex-direction: column;
    align-items: baseline;
    padding-bottom: 20px;
    gap: 30px;
  }
  .vision_mission_container {
    background-size: cover;
  }
  .partner_logo_wrapper {
    display: flex;
    flex-direction: column;
  }
}

@media all and (max-width: 1616px) {
  .hero_header {
    flex-direction: column;
  }

  .hero_title {
    max-width: 100%;
  }
}
