/* ==========================================================================
   DESIGN SYSTEM - PANTI ASUHAN LKAK HJ. SARWATI PDHI
   Theme: Modern Emerald Islamic Green, Warm Gold Accents, Clean Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #063826;
  --primary-deep: #0b5d3f;
  --primary: #0f766e;
  --primary-emerald: #10b981;
  --primary-light: #d1fae5;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f8faf9;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, #052e16 0%, #064e3b 50%, #047857 100%);
  --grad-emerald: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
  --grad-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --grad-card-hover: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, rgba(255, 255, 255, 1) 100%);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(6, 78, 59, 0.08), 0 8px 10px -6px rgba(6, 78, 59, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(6, 78, 59, 0.15);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.3);

  /* Utilities */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary-deep);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* Topbar */
.topbar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary-emerald);
}

/* Navbar & Click Dropdown Menu */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
  transition: var(--transition);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-emerald);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-sm);
}

.brand-icon svg {
  width: 28px;
  height: 28px;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-deep);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-emerald);
  border-radius: 2px;
}

/* Dropdown Container */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-dropdown.show .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu dengan Animasi Slide Down */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(-12px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
  z-index: 1100;
  pointer-events: none;
}

.nav-dropdown.show .dropdown-menu {
  opacity: 1;
  max-height: 300px;
  transform: translateY(0);
  padding: 0.5rem 0;
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover, .dropdown-item.active {
  background: var(--primary-light);
  color: var(--primary-deep);
  padding-left: 1.5rem;
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary-emerald);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-emerald);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: white;
}

.btn-gold {
  background: var(--grad-gold);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
  color: white;
}

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

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

.btn-white {
  background: white;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: white;
  padding: 5rem 0 7rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--primary-emerald);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card-preview {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-emerald);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Feature Cards / Grid */
.section {
  padding: 5rem 0;
}

.bg-white-section {
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-emerald);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Santri Grid Card */
.santri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
}

.santri-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.santri-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-emerald);
}

.santri-avatar-wrapper {
  height: 180px;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.santri-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.santri-name {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.santri-school {
  font-size: 0.85rem;
  color: var(--primary-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* About Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.about-list-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Program Section */
.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-deep);
  color: white;
  border-color: var(--primary-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 56, 38, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

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

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.news-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-title a:hover {
  color: var(--primary-emerald);
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Donation Cards */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.bank-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.bank-info h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.bank-rekening {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 0.05em;
  margin: 0.2rem 0;
}

.bank-an {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.copy-btn {
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-deep);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary-emerald);
  color: white;
}

/* Forms */
.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Contact Info Box */
.contact-info-card {
  background: var(--primary-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  flex-shrink: 0;
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary-emerald);
  margin-top: 0.5rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--primary-emerald);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Alert Boxes */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .donation-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
}

@media (max-width: 576px) {
  .topbar-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .form-card, .contact-info-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   NEW PROFESSIONAL COMPONENTS - QRIS MODAL & FAQ ACCORDION
   ========================================================================== */

.btn-qris-top {
  background: var(--grad-gold);
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-qris-top:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

/* QRIS Modal Overlay */
.qris-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 40, 28, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qris-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.qris-modal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.qris-modal-overlay.show .qris-modal-card {
  transform: translateY(0);
}

.qris-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-light);
  border: none;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qris-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* FAQ Accordion Styling */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-emerald);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: max-height 0.4s ease, padding 0.3s ease;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

