@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;
}

.relief-header h1 {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  color: #64748b !important;
}

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

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

*:focus,
*:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.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%;
}

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

.hero_header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
}

.hero_header h1 {
  text-align: center;
}

.hero_title {
  width: 100%;
}

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

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

.hero_content p {
  text-align: center;
}

.body_content_wrapper {
  padding-top: 100px;
}

.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;
}

.donate_instructions {
  min-height: 500px;
  background: #5fb2a4;
  border-radius: 25px;
  padding: 50px;
  text-align: center;
}

.donate_instructions h2 {
  color: #fff;
}

.donate_instructions p {
  color: #ffffffeb;
}

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

.donation_item img {
  width: auto;
  height: 200px;
  margin-bottom: 20px;
}

.donation_item {
  padding: 25px;
  background-color: #fff;
  border-radius: 20px;
  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);
}

.donation_cotainer_item {
  padding: 15px;
  background-color: #fff;
  border-radius: 20px;
  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);
}

.donation_item h3 {
  font-size: 24px;
}

.donation_cotainer_item img {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.currency-item {
  padding: 20px 10px;
  border-radius: 0 0 15px 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: default;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.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, #1e88e5, #4db6ac);
  border: none;
}

.donation_div {
  background: linear-gradient(135deg, #2e7d32, #81c784);
  border: none;
}

.items_div {
  background: linear-gradient(135deg, #f57c00, #ffb74d);
  border: none;
}

.projects_div {
  background: linear-gradient(135deg, #6a1b9a, #3949ab);
  border: none;
}

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

.currency-amount.online {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.currency-amount.online img {
  height: 30px;
  width: auto;
  background-color: #fff;
  border-radius: 3px !important;
  padding: 5px;
  margin-bottom: 0 !important;
}

.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: 18px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.donation_wrapper a {
  text-decoration: none;
}

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

.donation_cotainer {
  padding: 50px;
}

.donation_title {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.sub_header {
  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;
}

/* bank details styles */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 20px !important;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #5fb2a4;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-badge {
  display: inline-block;
  background: linear-gradient(135deg, #5fb2a4 0%, #4a9c90 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

.field {
  margin-bottom: 16px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.field-value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f7fafc;
  border-radius: 8px;
  font-size: 14px;
  color: #2d3748;
  font-weight: 500;
  word-break: break-all;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

.field-value:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.copy-btn {
  background: #353537;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0;
}

.field-value:hover .copy-btn {
  opacity: 1;
}

.copy-btn:hover {
  background: #000000;
  transform: scale(1.05);
}

.copy-btn.copied {
  background: #48bb78;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #48bb78;
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 500;
  display: none;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.toast.show {
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.toast.hide {
  animation: slideOut 0.3s ease;
}

/* end bank details styles */

.bank_details_container {
  padding: 50px;
}

.bank_details_main_wrapper {
  background-color: #ededed;
  border-radius: 25px;
  padding: 50px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* qr styles */

.qr-section {
  /* max-width: 1200px; */
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.qr-code img {
  width: 100%;
}

.qr-container {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.qr-visual {
  flex: 0 0 auto;
  width: 300px;
  background: linear-gradient(135deg, #f5f7ff 0%, #f0f3ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-right: 1px solid #e5e7eb;
}

.qr-code {
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-code svg {
  width: 100%;
  height: 100%;
}

.qr-content {
  flex: 1;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qr-header {
  margin-bottom: 24px;
}

.qr-number {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.qr-title {
  font-size: 28px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 12px;
}

.qr-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
}

.qr-details {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.detail-value {
  font-size: 16px;
  color: #1f2937;
  font-weight: 600;
  font-family: "Courier New", monospace;
  word-break: break-all;
}

.qr-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  border: 1.5px solid #2563eb;
}

.btn-secondary:hover {
  background: #f0f6ff;
}

/* end qr styles */

.donation-form-container {
  padding: 50px;
}

.donation_image {
  border-radius: 25px;
}

/* form styles */

/* Custom Styles for Price Options (Radio Buttons as Chips) */
.price-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.form_wrapper h3 {
  font-weight: bold;
  font-size: 20px;
}

.price-options input[type="radio"] {
  display: none; /* Hide original radio */
}

.price-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: #fff;
  border: 2px solid #edf2f7;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.price-options input[type="radio"]:checked + label {
  background-color: #000;
  color: white;
  border-color: #000;
}

.price-options label:hover {
  /* border-color: #000; */
  background: linear-gradient(135deg, #5fb2a4 0%, #4a9c90 100%);
  color: #fff;
}

.logo_container h2 {
  font-size: 24px;
  color: #64748b;
}

.form_wrapper h6 {
  color: #64748b;
}

.form_container {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.form_wrapper {
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05);
  margin-top: 15px;
}

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

.title_bar {
  width: 5px;
  height: 60px;
  background-color: #5fb2a4;
  border-radius: 100px;
}

.custom-line {
  border: 0;
  height: 1px;
  background: #c7c3c3;
  margin: 20px 0;
}

.amount select {
  flex: 0.25 !important;
}

#submitBtn {
  background: linear-gradient(135deg, #5fb2a4 0%, #4a9c90 100%);
  height: 58px;
  border: none;
  font-size: 20px;
  font-weight: bold;
  opacity: 0.6;
  cursor: not-allowed;
}

.donate_form_header img {
  height: 35px;
}

.donate_form_header {
  display: flex;
  justify-content: space-between;
}

.footer_logo_image img {
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-top: 20px;
}

.land_donation_header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.land_donation_header h2 {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  max-width: 900px;
}

.land_donation_content p {
  margin-bottom: 10px !important;
}

.land_donation_content {
  margin-bottom: 35px;
}

.form_wrapper.land {
  margin-top: 0;
}

.manual .downloads a {
  display: block;
  padding: 10px 15px;
  text-align: center;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}

.sinhala {
  background-color: #800000;
}

.tamil {
  background-color: #ff9933;
}

.english {
  background-color: #002366;
}

/* item list styles */

:root {
  --primary-red: #5fb2a4;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.relief-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 50px;
}

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

.badge {
  background: #fee2e2;
  color: var(--primary-red);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.relief-header h1 {
  font-size: 2.5rem;
  margin: 15px 0;
  color: #0f172a;
}

.relief-header p {
  color: var(--text-muted);
  max-width: 900px;
  margin: 0 auto;
}

/* Grid Layout */
.relief-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.contact_chips_wrapper {
  display: flex;
}

.sub_titles {
  margin-top: 15px;
}

/* Card Styling */
.relief-card {
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
  border: 1px solid #e2e8f0;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.relief-card h2 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.relief-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.relief-card li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.contact_chips_wrapper > * {
  flex: 1; /* makes all children equal width */
}

.contact-chips span {
  display: block;
}
.contact_sub {
  margin-bottom: 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary {
  background: var(--primary-red);
  color: white;
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--text-dark);
}

/* Footer Section */
.relief-footer {
  text-align: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 30px;
  margin-top: 50px;
}

.contact-chips {
  /* display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  flex-direction: column; */
}

.address_container {
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

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

.relief-header a {
  text-decoration: none;
  color: #008a45;
  margin-top: 15px;
  display: block;
}

/* end item list styles */

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .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,
  .donation_cotainer,
  .bank_details_container,
  .bank_details_main_wrapper,
  .donation-form-container,
  .relief-container {
    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;
  }

  .donation_items_wrapper {
    gap: 15px;
    display: flex;
    flex-direction: column;
  }
  .donation_item img {
    height: 100px;
  }

  .donation_item h3 {
    font-size: 18px;
  }

  .donation_wrapper {
    display: flex;
    flex-direction: column;
  }
  .currency-item {
    padding: 15px;
  }
  .currency-amount {
    font-size: 16px;
  }
  .donation_cotainer_item {
    padding: 10px;
  }
  .donation_cotainer_item img {
    height: 120px;
  }
  .qr-content {
    display: none;
  }
  .qr-visual {
    width: 100%;
  }
  .card-title {
    font-size: 14px;
  }
  .footer_logo_image img {
    width: 100%;
    height: auto;
  }
  .donate_form_header img {
    height: 20px;
  }
  .form_wrapper {
    padding: 15px;
  }

  .logo_container h2 {
    font-size: 18px;
    color: #64748b !important;
    line-height: 22px;
  }
  .form_container {
    margin-top: 30px;
  }
  .h-100.donation_image {
    width: 100% !important;
    height: auto !important;
  }

  .relief-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    margin-bottom: 40px;
  }
  .contact_chips_wrapper {
    flex-direction: column;
  }
}
