/*
|--------------------------------------------------------------------------|
|     MERITO CHARITABLE TRUST - Modern Custom Styles                       |
|--------------------------------------------------------------------------|
*/

/* ===== CSS Variables ===== */
:root {
  --primary: #28a745;
  --primary-dark: #1e7e34;
  --primary-light: #5cb85c;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ===== Smooth Scrolling & Scroll Fix ===== */
html {
  scroll-behavior: smooth !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  height: auto !important;
  min-height: 100% !important;
}

body {
  font-family: 'Cabin', sans-serif;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  height: auto !important;
  min-height: 100vh;
  position: relative;
}

/* Force scroll on all devices */
html, body {
  scroll-behavior: smooth !important;
  -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Hide scrollbar in Chrome/Safari/Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Fix for hero section not blocking scroll */
.hero,
.single-slide,
.hero-slider {
  pointer-events: auto;
}

/* Ensure no element blocks scrolling */
#preloader {
  pointer-events: none;
  /* Fallback: auto-hide preloader after 3 seconds if JS fails */
  animation: hidePreloader 0s 3s forwards;
}

@keyframes hidePreloader {
  to {
    visibility: hidden;
    opacity: 0;
    display: none;
  }
}

#preloader.loaded {
  display: none !important;
}

/* Remove custom scrollbar styling - hidden for cleaner look */

.section {
  padding: 100px 0;
}

/* ===== Green Theme Colors ===== */
.t-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50px;
  padding: 14px 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  transition: var(--transition);
}

.t-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.t-btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.t-btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Input Focus */
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Links */
a:hover, a:focus, a:active {
  color: var(--primary);
}

/* Preloader */
.spinner > div {
  background-color: var(--primary);
}

/* Scroll Up */
.scrollup {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

/* Navigation */
.primary-nav-list .active > a,
.primary-nav-list .menu-item > a:hover {
  color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  position: relative;
}

.hero .single-slide {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--primary);
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.8;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 40px;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.hero-btn-group .t-btn {
  margin: 10px;
  min-width: 200px;
}

.hero-btn-group .hero-btn-1 {
  background: var(--white);
  color: var(--primary);
}

.hero-btn-group .hero-btn-1:hover {
  background: var(--primary);
  color: var(--white);
}

.hero-btn-group .hero-btn-2 {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.hero-btn-group .hero-btn-2:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ===== SECTION TITLES ===== */
.section-title-left {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 20px;
}

.section-title-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.section-title-center {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title-center.white {
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== WHO WE ARE SECTION ===== */
.who-we-are {
  background: var(--white);
}

.lead-text {
  font-size: 20px;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-features {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  background: var(--light);
  padding: 12px 20px;
  border-radius: 50px;
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--primary);
  color: var(--white);
}

.feature-item:hover i {
  color: var(--white);
}

.feature-item i {
  color: var(--primary);
  font-size: 20px;
  margin-right: 10px;
}

.about-img-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}


/* ===== WORK AREAS SECTION - Equal Height Cards ===== */
.work-areas {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
}

.work-areas .row {
  display: flex;
  flex-wrap: wrap;
}

.work-areas .row > [class*="col-"] {
  display: flex;
}

.work-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-10px);
  background: rgba(40, 167, 69, 0.15);
  border-color: var(--primary);
}

.work-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
  flex-shrink: 0;
}

.work-card:hover .work-icon {
  transform: scale(1.1);
}

.work-icon i {
  font-size: 36px;
  color: var(--white);
}

.work-card h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.work-card p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
  flex-grow: 1;
}

/* ===== SUPPORT MATTERS SECTION ===== */
.support-matters {
  background: var(--light);
}

.support-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.support-list li {
  display: flex;
  align-items: center;
  padding: 15px 0;
  font-size: 17px;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-light);
}

.support-list li i {
  color: var(--primary);
  font-size: 24px;
  margin-right: 15px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-item {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-item i {
  font-size: 45px;
  color: var(--primary);
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

/* ===== NEW GALLERY SECTION ===== */
.gallery-section {
  background: var(--white);
  padding: 100px 0;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-col {
  flex: 1;
  min-width: 0;
}

.gallery-col-large {
  flex: 2;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9) 0%, rgba(30, 126, 52, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-content {
  text-align: center;
  color: var(--white);
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-card:hover .gallery-card-content {
  transform: scale(1);
}

.gallery-card-content i {
  font-size: 50px;
  display: block;
}


/* ===== TRUST SECTION ===== */
.trust-section {
  background: var(--light);
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--primary);
}

.trust-card h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 15px;
}

.trust-card > p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 25px;
}

.trust-details {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 25px;
}

.trust-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-light);
}

.trust-item:last-child {
  border-bottom: none;
}

.trust-item .label {
  color: var(--gray);
  font-weight: 500;
}

.trust-item .value {
  color: var(--dark);
  font-weight: 700;
  font-family: monospace;
  font-size: 16px;
}

.tax-note {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.tax-note i {
  font-size: 20px;
  margin-top: 3px;
}

.trust-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.trust-badge i {
  font-size: 80px;
  margin-bottom: 20px;
}

.trust-badge h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.trust-badge p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin: 0;
}

/* ===== COMMITMENT SECTION - Fixed Icons ===== */
.commitment {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
}

.commitment-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.commitment-item {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.commitment-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition);
}

.commitment-item:hover .commitment-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

.commitment-icon i {
  font-size: 32px;
  color: var(--white);
}

.commitment-item h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.commitment-item p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 0;
}

/* ===== CERTIFICATE SECTION ===== */
.certificate-section {
  background: var(--white);
  padding: 100px 0;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.certificate-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(40, 167, 69, 0.3);
}

.certificate-thumb {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
  display: block;
}

.certificate-card:hover .certificate-thumb {
  transform: scale(1.05);
}

/* PDF Preview Card */
.certificate-pdf {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.pdf-preview {
  text-align: center;
  color: var(--white);
  padding: 40px;
}

.pdf-preview i {
  font-size: 120px;
  margin-bottom: 30px;
  display: block;
  opacity: 0.9;
}

.pdf-preview p {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9) 0%, rgba(30, 126, 52, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.certificate-content {
  text-align: center;
  color: var(--white);
  transform: scale(0.8);
  transition: var(--transition);
}

.certificate-card:hover .certificate-content {
  transform: scale(1);
}

.certificate-content i {
  font-size: 50px;
  display: block;
  margin-bottom: 15px;
}

.certificate-content p {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* ===== FULLSCREEN MODAL ===== */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 50px 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
}

.modal-pdf {
  margin: auto;
  display: none;
  width: 90%;
  height: 85vh;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#modalCaption {
  margin: 20px auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding: 15px 0;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: var(--white);
  font-size: 50px;
  font-weight: 300;
  transition: var(--transition);
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--primary);
  transform: scale(1.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons .t-btn {
  margin: 10px;
  background: var(--white);
  color: var(--primary);
}

.cta-buttons .t-btn:hover {
  background: var(--dark);
  color: var(--white);
}

.cta-buttons .t-btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.cta-buttons .t-btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}


/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--light);
}

.contact .section-header {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}

.contact .section-header h2 {
  font-size: 42px;
  font-weight: 900;
  color: var(--dark);
  padding: 0;
  margin-bottom: 15px;
}

.contact .section-header h2::before {
  display: none;
}

.contact .section-header p {
  color: var(--gray);
  font-size: 18px;
  max-width: 100%;
}

.contact-info {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  height: 100%;
  box-shadow: var(--shadow);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin-right: 20px;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item p {
  font-size: 18px;
  color: var(--dark);
  font-weight: 600;
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 16px;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}

.contact-form .submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--darker);
  padding: 80px 0 30px;
}

.site-footer .row {
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
}

.footer-info h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.footer-info h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.footer-info p,
.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-contact .social-btn {
  margin-top: 20px;
}

.footer-contact .social-btn a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: var(--white);
  transition: var(--transition);
}

.footer-contact .social-btn a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin: 0;
}


/* ===== DONATE PAGE STYLES ===== */
.donate-hero {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.95) 0%, rgba(30, 126, 52, 0.95) 100%), url(../img/Herobanner1.png);
  background-size: cover;
  background-position: center;
  padding: 180px 0 100px;
  text-align: center;
}

.donate-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 25px;
}

.donate-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.why-donate {
  background: var(--white);
}

.donate-reason {
  background: var(--light);
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  height: 100%;
}

.donate-reason:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.donate-reason i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 20px;
}

.donate-reason h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.donate-reason p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.donate-assurance {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
  margin-top: 20px;
}

/* Donation Tiers */
.donation-tiers {
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
}

.tier-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
}

.tier-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.tier-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
}

.tier-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tier-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 15px;
}

.tier-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.tier-card p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.tier-card .t-btn {
  background: var(--white);
  color: var(--primary);
}

.tier-card.featured .t-btn {
  background: var(--dark);
  color: var(--white);
}

.custom-amount-note {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-top: 20px;
}

/* Tax Benefit */
.tax-benefit {
  background: var(--light);
}

.tax-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  box-shadow: var(--shadow);
}

.tax-card h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 15px;
}

.tax-details {
  background: var(--light);
  padding: 25px;
  border-radius: var(--radius);
  margin: 25px 0;
}

.tax-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-light);
}

.tax-item:last-child {
  border-bottom: none;
}

.tax-benefits-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.tax-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--dark);
  font-size: 16px;
}

.tax-benefits-list li i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 2px;
}

.certificate-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  color: var(--white);
}

.certificate-badge i {
  font-size: 70px;
  margin-bottom: 20px;
}

.certificate-badge h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.certificate-badge p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* Ways to Donate */
.ways-donate {
  background: var(--white);
}

.donate-method {
  background: var(--light);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  height: 100%;
}

.donate-method h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.donate-method h3 i {
  color: var(--primary);
  font-size: 30px;
}

.donate-method p {
  color: var(--gray);
  margin-bottom: 25px;
}

.bank-details {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.bank-details p {
  margin-bottom: 10px;
  color: var(--dark);
}

.bank-details p:last-child {
  margin-bottom: 0;
}

.donate-method .note {
  font-size: 14px;
  color: var(--primary);
  font-style: italic;
}

.contact-donate {
  background: var(--light);
}

.contact-methods {
  margin-top: 30px;
}

.contact-methods p {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-methods p i {
  color: var(--primary);
  font-size: 24px;
}

.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.final-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.final-cta .cta-tagline {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
}


/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 44px;
  }
  
  .section-title-left,
  .section-title-center,
  .cta-section h2 {
    font-size: 36px;
  }
  
  .gallery-col-large {
    flex: 1.5;
  }
  
  .certificate-image {
    width: 85%;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .section-title-left,
  .section-title-center {
    font-size: 32px;
  }
  
  .about-img-wrapper::before {
    display: none;
  }
  
  .about-image {
    height: 350px;
    margin-top: 40px;
  }
  
  .gallery-row {
    flex-wrap: wrap;
  }
  
  .gallery-col,
  .gallery-col-large {
    flex: 1 1 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  
  .gallery-card {
    height: 250px;
  }
  
  .trust-card {
    padding: 40px;
  }
  
  .trust-badge {
    margin-top: 40px;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
  
  .certificate-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .certificate-thumb {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .hero-subtitle {
    font-size: 15px;
    padding: 0 15px;
  }
  
  .hero-tagline {
    font-size: 14px;
  }
  
  .hero-btn-group .t-btn {
    min-width: 160px;
    padding: 12px 25px;
    font-size: 13px;
  }
  
  .section-title-left,
  .section-title-center,
  .cta-section h2 {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
    padding: 0 15px;
  }
  
  .lead-text {
    font-size: 17px;
  }
  
  .about-features {
    flex-direction: column;
  }
  
  .feature-item {
    justify-content: center;
  }
  
  .work-areas .row {
    display: block;
  }
  
  .work-card {
    margin-bottom: 20px;
  }
  
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .gallery-col,
  .gallery-col-large {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .gallery-card {
    height: 280px;
  }
  
  .trust-card {
    padding: 30px 20px;
  }
  
  .trust-card h2 {
    font-size: 24px;
  }
  
  .trust-badge {
    padding: 40px 20px;
  }
  
  .trust-badge i {
    font-size: 60px;
  }
  
  .commitment-item {
    padding: 30px 15px;
  }
  
  .commitment-icon {
    width: 70px;
    height: 70px;
  }
  
  .commitment-icon i {
    font-size: 28px;
  }
  
  .certificate-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .certificate-thumb {
    height: 350px;
  }
  
  .modal-content {
    max-width: 95%;
    max-height: 80vh;
  }
  
  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }
  
  #modalCaption {
    font-size: 16px;
    width: 90%;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-section p {
    font-size: 16px;
    padding: 0 15px;
  }
  
  .contact-info {
    padding: 30px 20px;
  }
  
  .info-item i {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .site-footer {
    padding: 60px 0 20px;
    text-align: center;
  }
  
  .footer-info h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-brand,
  .footer-info,
  .footer-contact {
    margin-bottom: 40px;
  }
  
  /* Donate Page */
  .donate-hero {
    padding: 140px 0 80px;
  }
  
  .donate-hero h1 {
    font-size: 32px;
  }
  
  .donate-hero p {
    font-size: 16px;
    padding: 0 15px;
  }
  
  .tier-amount {
    font-size: 36px;
  }
  
  .tax-card {
    padding: 30px 20px;
  }
  
  .tax-card h2 {
    font-size: 24px;
  }
  
  .donate-method {
    padding: 30px 20px;
  }
  
  .donate-method h3 {
    font-size: 20px;
  }
  
  .final-cta {
    margin-top: 30px;
    padding: 40px 25px;
  }
  
  .final-cta h3 {
    font-size: 22px;
  }
  
  .contact-methods p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  
  .hero-btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn-group .t-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .section-title-left,
  .section-title-center {
    font-size: 24px;
  }
  
  .work-card {
    padding: 30px 20px;
  }
  
  .work-icon {
    width: 70px;
    height: 70px;
  }
  
  .work-icon i {
    font-size: 28px;
  }
  
  .stat-item {
    padding: 25px 15px;
  }
  
  .stat-item i {
    font-size: 35px;
  }
  
  .gallery-card {
    height: 220px;
  }
  
  .certificate-thumb {
    height: 300px;
  }
  
  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .t-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selection color */
::selection {
  background: var(--primary);
  color: var(--white);
}

/* ===== BANK DETAILS POPUP MODAL ===== */
.bank-details-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.bank-details-modal.show {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.bank-modal-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.3s ease;
  position: relative;
  margin: auto;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bank-modal-content h2 {
  color: var(--dark);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.bank-details-container {
  display: grid;
  gap: 15px;
}

.bank-detail-item {
  background: var(--light);
  padding: 12px 15px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.bank-detail-item label {
  display: block;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.bank-detail-item p {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  font-family: 'Courier New', monospace;
}

.bank-note {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
  padding: 15px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin-top: 15px;
}

.bank-note p {
  color: var(--dark);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.bank-modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  color: var(--gray);
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.bank-modal-close:hover {
  color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .bank-modal-content {
    width: 95%;
    padding: 25px 20px;
  }

  .bank-modal-content h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .bank-detail-item {
    padding: 10px 12px;
  }

  .bank-detail-item label {
    font-size: 11px;
  }

  .bank-detail-item p {
    font-size: 14px;
  }

  .bank-note {
    padding: 12px;
  }

  .bank-note p {
    font-size: 12px;
  }
}
