/* ═══════════════════════════════════════
   BASE THEME — Ummah Lantern (White, Green, Yellow)
   Yasin Studio theme override at bottom (.yasin-theme)
   ═══════════════════════════════════════ */

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

:root {
  --brand-400: #4ade80;
  --brand-500: #22c55e;
  --brand-600: #16a34a;
  --brand-700: #15803d;
  --accent-400: #facc15;
  --accent-500: #eab308;
  --accent-600: #ca8a04;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-subtle: #f3f4f6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: rgba(34, 197, 94, 0.2); color: var(--text-900); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }

/* ─── Typography ─── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }

.gradient-text {
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 1rem; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--brand-500); color: #fff;
  font-weight: 600; border-radius: 0.5rem;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 24px rgba(34,197,94,0.25);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid var(--border); color: var(--text-700);
  font-weight: 600; border-radius: 0.5rem;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--brand-500); color: var(--brand-600); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

/* ─── Cards ─── */
.glass-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ─── Grid Helpers ─── */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 1rem; }
}

/* ─── Animations ─── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.6s ease-out forwards; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.lantern-navbar {
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.lantern-navbar.scrolled {
  background: rgba(255,255,255,0.98);
}
.lantern-navbar .btn-primary { font-size: 0.85rem; }
.lantern-navbar .btn-outline { font-size: 0.85rem; }
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1rem; height: 7rem;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo { display: flex; align-items: center; gap: 0.625rem; }
.navbar-logo-img {
  height: 6rem; width: auto; object-fit: contain;
  transition: transform 0.3s;
}
.navbar-logo:hover .navbar-logo-img { transform: scale(1.05); }
.footer-logo-img { height: 12rem; width: auto; object-fit: contain; }
.navbar-brand { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.navbar-brand span { color: var(--brand-500); }

.navbar-links { display: flex; align-items: center; gap: 2rem; }
.navbar-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-500);
  transition: color 0.3s; position: relative;
}
.navbar-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--brand-500);
  transition: width 0.3s;
}
.navbar-links a:hover { color: var(--text-900); }
.navbar-links a:hover::after { width: 100%; }

.navbar-cta { margin-left: 1rem; }

.hamburger { display: none; padding: 0.5rem; color: var(--text-700); }
.hamburger svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  display: none; position: fixed; top: 5rem; left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.5rem; animation: fadeIn 0.3s;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.75rem 0;
  font-size: 1.125rem; font-weight: 500; color: var(--text-500);
}
.mobile-menu a:hover { color: var(--text-900); }
.mobile-menu .btn-primary { width: 100%; justify-content: center; margin-top: 1rem; }

@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: block; }
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #f0fdf4, #fffbeb, #f0fdf4);
}
.hero-glow { position: absolute; inset: 0; opacity: 0.4; }
.hero-glow::before, .hero-glow::after {
  content: ''; position: absolute; width: 24rem; height: 24rem; border-radius: 50%;
  filter: blur(120px);
}
.hero-glow::before { top: 25%; left: 25%; background: rgba(34,197,94,0.15); }
.hero-glow::after { bottom: 25%; right: 25%; background: rgba(250,204,21,0.15); }

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center; padding: 0 1rem; max-width: 64rem; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  color: var(--brand-600); font-size: 0.875rem; font-weight: 500;
  margin-bottom: 2rem;
}
.hero-badge svg { width: 1rem; height: 1rem; }

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem;
  color: var(--text-900);
}
.hero p {
  font-size: 1.125rem; color: var(--text-500);
  max-width: 40rem; margin: 0 auto 2.5rem;
}
.hero-bullets {
  list-style: none; margin: 0 0 2rem; padding: 0;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 1rem; color: var(--text-700); padding: 0.4rem 0;
}
.hero-bullets li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-500); flex-shrink: 0;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-primary, .hero-buttons .btn-outline { font-size: 1.125rem; }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8rem;
  background: linear-gradient(to top, var(--bg-white), transparent);
}

/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.stats-section { position: relative; z-index: 20; padding: 3rem 1rem; }
.stats-grid {
  max-width: 72rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding: 2rem 3rem;
}
.stat-item { text-align: center; }
.stat-item svg { width: 2rem; height: 2rem; color: var(--brand-500); margin: 0 auto 0.75rem; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--text-900); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--text-500); font-weight: 500; }

@media (max-width: 768px) {
  .stats-section { padding: 1.5rem 0.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1rem 0.5rem; }
  .stat-number { font-size: 1.3rem; margin-bottom: 0.15rem; }
  .stat-label { font-size: 0.7rem; line-height: 1.3; }
  .stat-item svg { width: 1.5rem; height: 1.5rem; margin-bottom: 0.4rem; }
}

/* ═══════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  color: var(--brand-600); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; margin-top: 0.75rem; margin-bottom: 1rem;
  color: var(--text-900);
}
.section-desc { font-size: 1.125rem; color: var(--text-500); max-width: 40rem; margin: 0 auto; }

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */
.services-bg { background: var(--bg-light); }
.service-card { padding: 2rem; transition: all 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.service-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-500); margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--text-500); line-height: 1.6; }

/* ═══════════════════════════════════════
   PRICING
   ═══════════════════════════════════════ */
.pricing-card { padding: 2rem; display: flex; flex-direction: column; }
.pricing-header { margin-bottom: 1.5rem; }
.pricing-header h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 700; color: var(--brand-600); }
.pricing-unit { font-size: 0.875rem; color: var(--text-400); }
.pricing-desc { font-size: 0.875rem; color: var(--text-500); margin-bottom: 1.5rem; line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 1.5rem; }
.pricing-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-700); padding: 0.375rem 0;
}
.pricing-features svg { color: var(--brand-500); flex-shrink: 0; }

/* ═══════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════ */
.portfolio-item { cursor: pointer; }
.portfolio-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb img, .portfolio-thumb video { width: 100%; height: 100%; object-fit: cover; }
.gradient-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); }
.grad-1 { background: linear-gradient(135deg, #22c55e, #eab308); }
.grad-2 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.grad-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.grad-4 { background: linear-gradient(135deg, #06b6d4, #22c55e); }
.grad-5 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.grad-6 { background: linear-gradient(135deg, #14b8a6, #3b82f6); }
.portfolio-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-play { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; color: var(--text-900); }
.portfolio-info { padding: 1rem 0; }
.portfolio-info h3 { font-size: 1rem; font-weight: 600; }
.portfolio-info p { font-size: 0.8rem; color: var(--text-400); margin-top: 0.25rem; }

/* ═══════════════════════════════════════
   VIDEO MODAL
   ═══════════════════════════════════════ */
.video-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.85);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.video-modal.active { display: flex; }
.video-modal-content { position: relative; max-width: 56rem; width: 100%; }
.video-modal-content video { width: 100%; border-radius: 0.5rem; }
.video-modal-content p { color: #fff; text-align: center; margin-top: 1rem; font-weight: 500; }
.video-modal-close { position: absolute; top: -3rem; right: 0; color: #fff; }

/* ═══════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════ */
.testimonial-card { padding: 2.5rem; position: relative; text-align: center; }
.quote-icon { color: var(--brand-400); opacity: 0.3; margin: 0 auto 1rem; }
.testimonial-text { font-size: 1.25rem; font-style: italic; color: var(--text-700); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-stars { display: flex; gap: 2px; justify-content: center; color: var(--accent-500); margin-bottom: 1rem; }
.testimonial-name { font-weight: 600; color: var(--text-900); }
.testimonial-role { font-size: 0.875rem; color: var(--text-400); margin-top: 0.25rem; }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.nav-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--bg-subtle); display: flex; align-items: center; justify-content: center;
  color: var(--text-500); transition: all 0.3s;
}
.nav-btn:hover { background: var(--brand-500); color: #fff; }
.testimonial-dots { display: flex; gap: 0.5rem; }
.testimonial-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 9999px;
  background: var(--border); transition: all 0.3s;
}
.testimonial-dot.active { background: var(--brand-500); width: 1.5rem; }

@media (max-width: 768px) { .testimonial-card { padding: 1.5rem; } .testimonial-text { font-size: 1rem; } }

/* ═══════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════ */
.partners-grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.partner-item { display: flex; align-items: center; justify-content: center; }
.partner-item img { height: 6rem; width: auto; object-fit: contain; transition: transform 0.3s; }
.partner-item img:hover { transform: scale(1.08); }
.partners-bw .partner-item img { filter: grayscale(100%); opacity: 0.7; transition: filter 0.3s, opacity 0.3s, transform 0.3s; }
.partners-bw .partner-item img:hover { filter: grayscale(0); opacity: 1; }

@media (max-width: 768px) { .partner-item img { height: 4.5rem; } .partners-grid { gap: 2rem; } }

/* ═══════════════════════════════════════
   GALLERY BOXES & MODAL
   ═══════════════════════════════════════ */
.gallery-box {
  padding: 0; text-align: center; cursor: pointer;
  transition: all 0.3s; overflow: hidden; position: relative;
  min-height: 16rem; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.gallery-box:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.gallery-box-inner { position: relative; z-index: 2; padding: 3rem 2rem; }
.gallery-box-has-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.45); transition: background 0.3s;
}
.gallery-box-has-bg:hover::before { background: rgba(0,0,0,0.35); }
.gallery-box-has-bg .gallery-box-icon { color: #fff; }
.gallery-box-has-bg h3 { color: #fff; }
.gallery-box-has-bg p { color: rgba(255,255,255,0.8); }
.gallery-box-icon { color: var(--brand-500); margin-bottom: 1rem; }
.gallery-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.gallery-box p { font-size: 0.9rem; color: var(--text-400); margin: 0; }

.gallery-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.gallery-modal {
  width: 100%; max-width: 44rem; max-height: 85vh; overflow-y: auto;
  padding: 1.5rem; border-radius: 1rem;
}
.gallery-modal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem;
}
.gallery-modal-item {
  position: relative; aspect-ratio: 16/10; border-radius: 0.75rem;
  overflow: hidden; cursor: pointer; transition: transform 0.2s;
}
.gallery-modal-item:hover { transform: scale(1.03); }
.gallery-modal-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-modal-item-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.2s;
}
.gallery-modal-item:hover .gallery-modal-item-play { opacity: 1; }
.gallery-modal-item-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; font-size: 0.75rem; font-weight: 500; padding: 1.5rem 0.5rem 0.4rem;
}

@media (max-width: 640px) {
  .gallery-modal-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer { border-top: 1px solid var(--border); padding: 4rem 1rem; background: var(--bg-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-brand p { color: var(--text-500); line-height: 1.7; max-width: 28rem; margin-top: 1rem; }
.footer h4 { font-weight: 600; margin-bottom: 1rem; color: var(--text-900); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-500); transition: color 0.3s; display: flex; align-items: center; gap: 0.25rem; }
.footer-links a:hover { color: var(--brand-600); }
.footer-links a svg { width: 0.75rem; height: 0.75rem; }
.footer-contact a { font-size: 0.875rem; color: var(--text-500); display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.footer-contact a:hover { color: var(--brand-600); }
.footer-contact svg { width: 1rem; height: 1rem; }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.875rem; color: var(--text-400); }
.footer-bottom .tagline { font-size: 0.75rem; color: var(--text-400); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ═══════════════════════════════════════
   FORMS
   ═══════════════════════════════════════ */
.form-input {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: 0.5rem; background: var(--bg-white); color: var(--text-900);
  transition: all 0.3s;
}
.form-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.form-input::placeholder { color: var(--text-400); }
label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text-700); margin-bottom: 0.375rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-card { padding: 2rem; }
.page-content { min-height: 100vh; display: flex; flex-direction: column; padding-top: 7rem; }
.page-header { text-align: center; margin-bottom: 2.5rem; }
.page-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  color: var(--brand-600); font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.error-msg {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 0.5rem; color: #dc2626; font-size: 0.875rem; margin-bottom: 1rem;
}
.submit-btn { width: 100%; justify-content: center; font-size: 1rem; }
.hidden { display: none !important; }
.no-data { color: var(--text-400); text-align: center; padding: 2rem; font-size: 0.875rem; }
.loading-spinner { display: flex; justify-content: center; padding: 2rem; }
.spinner {
  width: 2rem; height: 2rem; border: 3px solid var(--border);
  border-top-color: var(--brand-500); border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Partners marquee (infinite scroll) */
.partners-marquee {
  overflow: hidden;
  width: 100%;
  filter: grayscale(100%) contrast(1.2);
  opacity: 0.8;
}
.partners-marquee-hero {
  filter: grayscale(100%) brightness(1.2) contrast(1.1);
  opacity: 0.95;
  background: transparent;
}
.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-16.6667%, 0, 0); }
}

/* Mobile responsive tweaks */
@media (max-width: 768px) {
  .partners-track img { height: 5rem !important; margin: 0 2rem !important; }
  .partners-marquee { animation-duration: 25s; }
  section[style*="padding:2.5rem 0 3rem"] { padding: 1.5rem 0 2rem !important; }
  .hero-modern { padding: 3rem 1rem 2rem !important; min-height: auto !important; }
  .hero-modern h1 { font-size: 2.2rem !important; line-height: 1.2 !important; }
  .hero-modern p { font-size: 1rem !important; }
  .hero-modern .animate-slide-up { width: 100%; margin-top: 1.5rem; }
  .hero-modern .animate-slide-up a { font-size: 1rem !important; padding: 1rem 2rem !important; }
  .hero-modern > div[style*="display:flex"] { flex-direction: column !important; gap: 1.5rem !important; }
  .lantern-hero-logo { order: -1; margin-top: 0 !important; display: flex; justify-content: center; }
  .lantern-hero-logo > div { padding: 1rem !important; }
  .lantern-hero-logo img { width: 8rem !important; }
  .section { padding: 2rem 1rem !important; }
  .section-title, h2.font-display { font-size: 1.75rem !important; }
  .section-desc { font-size: 0.9rem !important; }
  .service-card, .pricing-card, .glass-card { padding: 1.25rem !important; }
  .service-card h3, .pricing-card h3 { font-size: 1rem !important; }
  .service-card p, .pricing-card p { font-size: 0.85rem !important; }
  .pricing-amount { font-size: 1.75rem !important; }
  .who-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .process-grid { gap: 2rem !important; }
  .process-step h3 { font-size: 0.95rem !important; }
  .process-step p { font-size: 0.8rem !important; }
  .gallery-box { min-height: 12rem !important; padding: 1.25rem !important; }
  .gallery-box h3 { font-size: 1.1rem !important; }
  .gallery-box-icon svg { width: 2.5rem !important; height: 2.5rem !important; }
  .form-card { padding: 1.25rem !important; }
  .form-row { grid-template-columns: 1fr !important; flex-direction: column !important; gap: 0.75rem !important; margin-bottom: 0.75rem !important; }
  .form-group { margin-bottom: 0.75rem !important; }
  .form-input { padding: 0.65rem 0.85rem !important; font-size: 0.9rem !important; width: 100% !important; box-sizing: border-box !important; }
  .form-group label { font-size: 0.8rem !important; }
  p[style*="letter-spacing:3px"] { font-size: 0.7rem !important; letter-spacing: 2px !important; }
}

/* ═══════════════════════════════════════
   ADMIN
   ═══════════════════════════════════════ */
.admin-login {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: var(--bg-light);
}
.admin-login .glass-card { padding: 2rem; width: 100%; max-width: 28rem; }
.admin-login .login-header { text-align: center; margin-bottom: 2rem; }
.admin-login .login-header svg { width: 3rem; height: 3rem; color: var(--brand-500); margin: 0 auto 1rem; }
.admin-login .login-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: var(--text-900); }
.admin-login .login-header p { color: var(--text-500); font-size: 0.875rem; margin-top: 0.25rem; }
.admin-login .form-group { margin-bottom: 1rem; }
.admin-login .error-text { color: #dc2626; font-size: 0.875rem; margin-bottom: 1rem; }

.pw-toggle {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0.25rem;
  color: var(--text-400); display: flex; align-items: center;
}
.pw-toggle:hover { color: var(--text-600); }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 16rem; flex-shrink: 0;
  background: var(--bg-white); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 50;
}
.sidebar-logo {
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.sidebar-nav { flex: 1; padding: 1rem 0.75rem; overflow-y: auto; }
.sidebar-label {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-400);
  padding: 0.75rem 0.75rem 0.25rem; margin-top: 0.5rem;
}
.sidebar-label:first-child { margin-top: 0; }
.sidebar-link {
  display: flex; align-items: center; gap: 0.625rem; width: 100%;
  padding: 0.625rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--text-500);
  transition: all 0.2s; margin-bottom: 0.125rem; text-align: left;
}
.sidebar-link:hover { background: var(--bg-subtle); color: var(--text-900); }
.sidebar-link.active { background: rgba(34,197,94,0.1); color: var(--brand-600); }
.sidebar-link svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.sidebar-bottom {
  padding: 0.75rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.sidebar-bottom .dark-toggle {
  display: flex; align-items: center; gap: 0.625rem; width: 100%;
  padding: 0.625rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--text-500);
  transition: all 0.2s; height: auto; background: none;
}
.sidebar-bottom .dark-toggle:hover { background: var(--bg-subtle); color: var(--text-900); }
.sidebar-link-text { font-size: 0.875rem; }

.admin-content { flex: 1; margin-left: 16rem; padding: 2rem; max-width: calc(100% - 16rem); }

@media (max-width: 768px) {
  .admin-sidebar { width: 100%; position: relative; border-right: none; border-bottom: 1px solid var(--border); }
  .admin-layout { flex-direction: column; }
  .admin-content { margin-left: 0; max-width: 100%; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.5rem; }
  .sidebar-label { display: none; }
  .sidebar-link { flex: none; }
}

.admin-section-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }

/* Expandable sections */
.expand-section { overflow: hidden; }
.expand-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; cursor: pointer; user-select: none;
  transition: background 0.2s;
}
.expand-header:hover { background: var(--bg-subtle); }
.expand-header h4 { font-size: 1rem; font-weight: 700; margin: 0; }
.expand-arrow { font-size: 1rem; color: var(--text-400); transition: transform 0.3s; }
.expand-section.open .expand-arrow { transform: rotate(180deg); }
.expand-body {
  max-height: 0; overflow: hidden; padding: 0 1.25rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.expand-section.open .expand-body {
  max-height: 3000px; padding: 0 1.25rem 1.25rem;
}
.admin-form { padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-form p { color: var(--text-500); font-size: 0.875rem; margin-bottom: 1rem; }
.admin-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.item-info { font-weight: 600; font-size: 0.9rem; }
.item-info span { font-weight: 400; color: var(--text-400); }
.item-meta { font-size: 0.8rem; color: var(--text-500); margin-top: 0.25rem; }

.admin-modal-overlay {
  position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.admin-modal { padding: 2rem; max-width: 32rem; width: 100%; max-height: 90vh; overflow-y: auto; }

.project-card { margin-bottom: 1rem; overflow: hidden; }
.project-card-header { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.project-card-header h3 { font-size: 1rem; font-weight: 600; }
.project-email { font-size: 0.8rem; color: var(--text-400); }
.project-msg { font-size: 0.8rem; color: var(--text-500); margin-top: 0.25rem; font-style: italic; }
.project-token { font-size: 0.8rem; color: var(--text-400); margin-top: 0.25rem; }
.project-card-actions { display: flex; align-items: flex-start; gap: 0.5rem; flex-shrink: 0; }
.project-card-actions select {
  padding: 0.375rem 0.5rem; border: 1px solid var(--border);
  border-radius: 0.375rem; font-size: 0.75rem; background: var(--bg-white);
  color: var(--text-700);
}
.project-btns { display: flex; gap: 0.5rem; padding: 0 1.25rem 1.25rem; flex-wrap: wrap; }

.btn-danger {
  padding: 0.375rem; border-radius: 0.375rem; color: #dc2626;
  transition: all 0.2s;
}
.btn-danger:hover { background: #fef2f2; }
.btn-remove {
  padding: 0.25rem; border-radius: 0.25rem; color: var(--text-400);
  transition: all 0.2s;
}
.btn-remove:hover { color: #dc2626; background: #fef2f2; }

.icon-sun { display: block; }
.icon-moon { display: none; }

/* ═══════════════════════════════════════
   STATUS PAGE
   ═══════════════════════════════════════ */
.status-container { max-width: 40rem; margin: 0 auto; }
.status-card { padding: 2rem; }
.status-line { height: 4px; background: var(--border); border-radius: 2px; margin: 1.5rem 0; position: relative; }
.progress-track { height: 100%; background: var(--brand-500); border-radius: 2px; transition: width 0.5s; }
.status-step { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; }
.status-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.status-dot.active { background: var(--brand-500); }
.status-dot.current { background: var(--brand-500); box-shadow: 0 0 0 4px rgba(34,197,94,0.2); }
.content-tab { padding: 0.5rem 1rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--text-500); background: var(--bg-subtle); }
.content-tab.active { background: var(--brand-500); color: #fff; }

/* ═══════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════ */
body.dark { background: #0b1222; color: #f1f5f9; }
body.dark .glass-card { background: #111827; border-color: #1e293b; }
body.dark .form-input { background: #0f172a; border-color: #1e293b; color: #f1f5f9; }
body.dark .form-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }
body.dark .hero-bg { background: linear-gradient(135deg, #0b1222, #111827, #0b1222); }
body.dark .hero-glow::before { background: rgba(34,197,94,0.08); }
body.dark .hero-glow::after { background: rgba(250,204,21,0.06); }
body.dark .hero-fade { background: linear-gradient(to top, #0b1222, transparent); }
body.dark .hero h1 { color: #f1f5f9; }
body.dark .hero p { color: #94a3b8; }
body.dark .hero-badge { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.2); }
body.dark .navbar.scrolled { background: rgba(11,18,34,0.95); box-shadow: 0 1px 12px rgba(0,0,0,0.3); }
body.dark .mobile-menu { background: rgba(11,18,34,0.98); border-color: #1e293b; }
body.dark .mobile-menu a { color: #94a3b8; }
body.dark .section-title { color: #f1f5f9; }
body.dark .section-desc { color: #94a3b8; }
body.dark .section-label { color: var(--brand-400); }
body.dark .service-card { border-color: #1e293b; }
body.dark .service-card h3 { color: #f1f5f9; }
body.dark .service-card p { color: #94a3b8; }
body.dark .services-bg { background: #0f172a; }
body.dark .stat-number { color: #f1f5f9; }
body.dark .stat-label { color: #94a3b8; }
body.dark .pricing-header h3 { color: #f1f5f9; }
body.dark .pricing-desc { color: #94a3b8; }
body.dark .pricing-features li { color: #cbd5e1; }
body.dark .testimonial-text { color: #cbd5e1; }
body.dark .testimonial-name { color: #f1f5f9; }
body.dark .testimonial-role { color: #64748b; }
body.dark .footer { background: #0b1222; border-top-color: #1e293b; }
body.dark .footer h4 { color: #f1f5f9; }
body.dark .footer-brand p { color: #94a3b8; }
body.dark .footer-links a { color: #94a3b8; }
body.dark .footer-contact a { color: #94a3b8; }
body.dark .footer-bottom { border-color: #1e293b; }
body.dark .footer-bottom p { color: #64748b; }
body.dark .navbar-links a { color: #94a3b8; }
body.dark .status-line { background: #374151; }
body.dark .testimonial-nav .nav-btn { background: #1e293b; color: #9ca3af; }
body.dark .testimonial-nav .nav-btn:hover { background: #374151; color: #f9fafb; }
body.dark .testimonial-dot { background: #374151; }
body.dark .progress-track { background: #1e293b; }
body.dark .content-tab { background: #1e293b; }
body.dark .admin-sidebar { background: #111827; border-color: #1e293b; }
body.dark .sidebar-logo { border-color: #1e293b; }
body.dark .sidebar-bottom { border-color: #1e293b; }
body.dark .sidebar-link:hover { background: #1e293b; }
body.dark .sidebar-link.active { background: rgba(34,197,94,0.15); }
body.dark .project-card-actions select { background: #0f172a; border-color: #374151; color: #f9fafb; }
body.dark .hamburger { color: #d1d5db; }
body.dark .dark-toggle { background: #1e293b; color: #facc15; }
body.dark .dark-toggle:hover { background: #374151; }
body.dark .dark-toggle .icon-moon { display: block; }
body.dark .dark-toggle .icon-sun { display: none; }
body.dark .page-badge { color: var(--brand-400); }
body.dark .hero-badge { color: var(--brand-400); }

/* ═══════════════════════════════════════
   YASIN STUDIO THEME
   Logo colors: #0AB4C8 → #2DB858 → #7AC832, red #16a34a
   ═══════════════════════════════════════ */
body.yasin-theme {
  --brand-400: #7AC832;
  --brand-500: #2DB858;
  --brand-600: #1E9A45;
  --brand-700: #157A34;
  --accent-400: #f87171;
  --accent-500: #16a34a;
  --accent-600: #15803d;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-subtle: #f3f4f6;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-400: #9ca3af;
  --border: #d0e8d0;
  --border-light: #e2f0e2;
}

body.yasin-theme ::selection { background: rgba(22, 163, 74, 0.2); }

body.yasin-theme .gradient-text {
  background: linear-gradient(135deg, #16a34a, #15803d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.yasin-theme .hero-bg { background: linear-gradient(160deg, #f0fdf4, #ffffff, #f0fdf4); }
body.yasin-theme .hero-glow::before { background: rgba(10, 180, 200, 0.08); }
body.yasin-theme .hero-glow::after { background: rgba(122, 200, 50, 0.08); }
body.yasin-theme .hero-badge { background: rgba(22, 163, 74, 0.08); border-color: rgba(22, 163, 74, 0.18); color: #16a34a; }

/* Buttons — logo gradient */
body.yasin-theme .btn-primary { background: linear-gradient(to right, #0AB4C8, #2DB858, #7AC832); }
body.yasin-theme .btn-primary:hover { background: linear-gradient(to right, #099ab0, #259e4c, #6ab52b); box-shadow: 0 8px 24px rgba(10, 180, 200, 0.3); }
body.yasin-theme .btn-outline:hover { border-color: #2DB858; color: #2DB858; }

/* ─── Navbar — red ─── */
body.yasin-theme .navbar { background: #16a34a; }
body.yasin-theme .navbar.scrolled { background: rgba(22, 163, 74, 0.97); box-shadow: 0 2px 20px rgba(22, 163, 74, 0.25); }
body.yasin-theme .navbar-links a { color: rgba(255, 255, 255, 0.9); }
body.yasin-theme .navbar-links a:hover { color: #fff; }
body.yasin-theme .navbar-links a::after { background: #fff; }
body.yasin-theme .navbar-cta.btn-primary { background: linear-gradient(to right, #0AB4C8, #2DB858, #7AC832); color: #fff; }
body.yasin-theme .navbar-cta.btn-primary:hover { background: linear-gradient(to right, #099ab0, #259e4c, #6ab52b); box-shadow: 0 4px 16px rgba(10, 180, 200, 0.35); }
body.yasin-theme .hamburger { color: #fff; }
body.yasin-theme .mobile-menu { background: #16a34a; border-top-color: rgba(255, 255, 255, 0.2); }
body.yasin-theme .mobile-menu a { color: rgba(255, 255, 255, 0.9); }
body.yasin-theme .mobile-menu a:hover { color: #fff; }

/* ─── Footer — red ─── */
body.yasin-theme .footer { background: #16a34a; border-top: none; color: #fff; }
body.yasin-theme .footer h4 { color: #fff; }
body.yasin-theme .footer-brand p { color: rgba(255, 255, 255, 0.85); }
body.yasin-theme .footer-links a { color: rgba(255, 255, 255, 0.85); }
body.yasin-theme .footer-links a:hover { color: #fff; }
body.yasin-theme .footer-links a svg { stroke: rgba(255, 255, 255, 0.85); }
body.yasin-theme .footer-contact a { color: rgba(255, 255, 255, 0.85); }
body.yasin-theme .footer-contact a:hover { color: #fff; }
body.yasin-theme .footer-bottom { border-color: rgba(255, 255, 255, 0.25); }
body.yasin-theme .footer-bottom p { color: rgba(255, 255, 255, 0.75); }
body.yasin-theme .footer-bottom .tagline { color: rgba(255, 255, 255, 0.65); }

/* ─── Content ─── */
body.yasin-theme .service-icon { color: #16a34a; }
body.yasin-theme .service-card { background: #16a34a; border-color: #15803d; color: #fff; }
body.yasin-theme .service-card h3 { color: #fff; }
body.yasin-theme .service-card p { color: rgba(255,255,255,0.85); }
body.yasin-theme .service-icon { color: #fff !important; }
body.yasin-theme .service-card:hover { border-color: #7f1d1d; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(22,163,74,0.3); }
body.yasin-theme .section-label { color: #16a34a; }
body.yasin-theme .pricing-card { background: #16a34a; border-color: #15803d; color: #fff; }
body.yasin-theme .pricing-card h3 { color: #fff; }
body.yasin-theme .pricing-card p { color: rgba(255,255,255,0.85); }
body.yasin-theme .pricing-amount { color: #fff; }
body.yasin-theme .pricing-unit { color: rgba(255,255,255,0.7); }
body.yasin-theme .pricing-desc { color: rgba(255,255,255,0.8); }
body.yasin-theme .pricing-features li { color: rgba(255,255,255,0.9); }
body.yasin-theme .pricing-features svg { stroke: #fff; }
body.yasin-theme .pricing-card .btn-primary { background: #fff; color: #16a34a; }
body.yasin-theme .pricing-card .btn-primary:hover { background: #f3f4f6; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
body.yasin-theme .glass-card { background-color: rgba(255, 255, 255, 0.85); }
body.yasin-theme .service-card.glass-card { background: #16a34a; border-color: #15803d; color: #fff; }
body.yasin-theme .pricing-card.glass-card { background: #16a34a; border-color: #15803d; color: #fff; }
body.yasin-theme .gallery-box-has-bg.glass-card { background-color: transparent !important; }
.gallery-box-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
body.yasin-theme .services-bg { background: #f0fdf4; }
body.yasin-theme .hero-fade { background: linear-gradient(to top, var(--bg-white), transparent); }

/* ─── Navbar logo ─── */
body.yasin-theme .navbar-logo-img { height: 5rem; }
body.yasin-theme .navbar-inner { height: 5.5rem; }

.navbar-lantern-link {
  position: absolute; right: 1rem;
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.navbar-lantern-link:hover { color: #fff; }

/* ─── Hero split layout ─── */
.hero-split { display: flex; align-items: center; gap: 4rem; text-align: left; max-width: 1200px; padding: 0 2rem; }
.hero-logo-side { flex-shrink: 0; }
.hero-logo-img { width: 25.5rem; height: auto; object-fit: contain; border-radius: 1.5rem; }
.hero-text-side { flex: 1; }
.hero-split .hero-badge { justify-content: flex-start; }
.hero-split .hero-buttons { justify-content: flex-start; }
.hero-split p { margin-left: 0; }

@media (max-width: 900px) {
  .hero-split { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-logo-img { width: 18rem; }
  .hero-split .hero-badge { justify-content: center; }
  .hero-split .hero-buttons { justify-content: center; }
  body.yasin-theme .navbar-logo-img { height: 4rem; }
  body.yasin-theme .navbar-inner { height: 4rem; }
}

/* ─── Admin — red sidebar ─── */
body.yasin-theme .admin-login { background: #ffffff; }
body.yasin-theme .admin-login .glass-card { background: #fff; border-color: #d0e8d0; }
body.yasin-theme .admin-login .submit-btn { background: #16a34a; }
body.yasin-theme .admin-login .submit-btn:hover { background: #15803d; }

body.yasin-theme .admin-sidebar { background: #16a34a; border-right: none; }
body.yasin-theme .sidebar-section .sidebar-nav { flex: none; padding: 0.75rem; }
body.yasin-theme .sidebar-section-yasin { background: #16a34a; flex: 1; padding-top: 1rem; }
body.yasin-theme .sidebar-section-lantern { background: #16a34a; flex: 1; }
body.yasin-theme .sidebar-logo { border-bottom-color: rgba(255, 255, 255, 0.15); }
body.yasin-theme .sidebar-label { color: rgba(255, 255, 255, 0.55); }
body.yasin-theme .sidebar-link { color: rgba(255, 255, 255, 0.9); }
body.yasin-theme .sidebar-link:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
body.yasin-theme .sidebar-link.active { background: rgba(255, 255, 255, 0.2); color: #fff; }
body.yasin-theme .sidebar-bottom { border-top-color: rgba(255, 255, 255, 0.15); background: #16a34a; }
body.yasin-theme .sidebar-bottom .dark-toggle { color: rgba(255, 255, 255, 0.9); }
body.yasin-theme .sidebar-bottom .dark-toggle:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
body.yasin-theme #signoutBtn { color: rgba(255, 255, 255, 0.9); }
body.yasin-theme #signoutBtn:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

body.yasin-theme .stats-section .glass-card { background: #16a34a; border-color: #15803d; }
body.yasin-theme .stat-number { color: #fff; }
body.yasin-theme .stat-label { color: rgba(255,255,255,0.8); }

body.yasin-theme .admin-content { background: #ffffff; }
body.yasin-theme .admin-section-title { color: #111827; }
body.yasin-theme .admin-form.glass-card { background: #fff; border-color: #d0e8d0; }

body.yasin-theme ::-webkit-scrollbar-track { background: #f9fafb; }
body.yasin-theme ::-webkit-scrollbar-thumb { background: #7AC832; }
body.yasin-theme ::-webkit-scrollbar-thumb:hover { background: #2DB858; }

/* ═══════════════════════════════════════
   HERO MODERN (Cloudinary-style)
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-modern > div:nth-child(3) { flex-direction: column !important; text-align: center; gap: 2.5rem !important; }
  .hero-modern h1 { font-size: 2.5rem !important; }
  .hero-modern ul { align-items: center !important; }
  .hero-modern div:has(> a) { justify-content: center; }
  .hero-modern img[alt="Yasin Studios"],
  .hero-modern img[alt="Ummah Lantern"] { width: 14rem !important; }
}
@media (max-width: 600px) {
  .hero-modern { padding: 3rem 1.25rem 0 !important; }
  .hero-modern h1 { font-size: 2rem !important; }
}

/* ═══════════════════════════════════════
   YASIN THEME — Button Colors
   ═══════════════════════════════════════ */
body.yasin-theme .btn-primary { background: #16a34a; }
body.yasin-theme .btn-primary:hover { background: #15803d; box-shadow: 0 8px 24px rgba(22,163,74,0.25); }
body.yasin-theme .gradient-text { background: linear-gradient(135deg, #16a34a, #22c55e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
body.yasin-theme ::selection { background: rgba(197, 48, 48, 0.15); }

/* ═══════════════════════════════════════
   PARTNERS
   ═══════════════════════════════════════ */
.partners-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem;
  padding: 1rem 0;
}
.partner-item { flex-shrink: 0; }
.partner-item img { height: 5rem; width: auto; object-fit: contain; transition: filter 0.3s, opacity 0.3s; }
.partners-bw .partner-item img { filter: grayscale(100%); opacity: 0.7; }
.partners-bw .partner-item img:hover { filter: grayscale(0%); opacity: 1; }

/* ═══════════════════════════════════════
   GALLERY BOXES (Videos / Images cards)
   ═══════════════════════════════════════ */
.gallery-box {
  display: flex; align-items: center; justify-content: center;
  min-height: 16rem; padding: 2rem; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.gallery-box:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.gallery-box-has-bg .gallery-box-inner { position: relative; z-index: 2; }
.gallery-box-has-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.45); border-radius: inherit;
}
.gallery-box-has-bg .gallery-box-icon svg { stroke: #fff; }
.gallery-box-has-bg h3, .gallery-box-has-bg p { color: #fff; }
.gallery-box-inner { text-align: center; }
.gallery-box-icon { margin-bottom: 1rem; }
.gallery-box-icon svg { stroke: var(--brand-500); }
body.yasin-theme .gallery-box-icon svg { stroke: #16a34a; }
.gallery-box h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.gallery-box p { color: var(--text-400); font-size: 0.9rem; }

/* Gallery Modal Overlay */
.gallery-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.gallery-modal {
  max-width: 50rem; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 2rem; border-radius: 1rem;
  background: #fff;
}
.gallery-modal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.gallery-modal-item {
  position: relative; cursor: pointer; border-radius: 0.5rem; overflow: hidden;
  aspect-ratio: 16/9; background: #f3f4f6;
}
.gallery-modal-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-modal-item-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3); opacity: 0; transition: opacity 0.2s;
}
.gallery-modal-item:hover .gallery-modal-item-play { opacity: 1; }
.gallery-modal-item-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; font-size: 0.75rem; font-weight: 500;
}

/* Full-screen viewer */
.video-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.9); display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.video-modal-content { position: relative; max-width: 60rem; width: 100%; }
.video-modal-close {
  position: absolute; top: -2.5rem; right: 0;
  color: #fff; background: none; border: none; cursor: pointer;
}

/* ═══════════════════════════════════════
   HERO BULLETS (Lantern page)
   ═══════════════════════════════════════ */
.hero-bullets {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.95rem; color: var(--text-700);
}
.hero-bullets li::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  background: var(--brand-500); border-radius: 50%; flex-shrink: 0;
}
body.yasin-theme .hero-bullets li::before { background: #16a34a; }

/* ═══════════════════════════════════════
   WHO WE ARE (Lantern page)
   ═══════════════════════════════════════ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.who-text .section-label { display: block; margin-bottom: 0.5rem; }
.who-text h2 { margin-bottom: 1rem; }
.who-text p { color: var(--text-500); line-height: 1.8; margin-bottom: 1rem; }
.who-cards { display: flex; flex-direction: column; gap: 1rem; }
.who-card { display: flex; gap: 1rem; padding: 1.25rem; }
.who-card-icon {
  flex-shrink: 0; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdf4; color: var(--brand-600); border-radius: 0.75rem;
}
body.yasin-theme .who-card-icon { background: #f0fdf4; color: #16a34a; }
.who-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.who-card p { font-size: 0.875rem; color: var(--text-500); line-height: 1.6; }
@media (max-width: 768px) { .who-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   PROCESS SECTION (Lantern page)
   ═══════════════════════════════════════ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 60rem; margin: 0 auto;
}
.process-step { text-align: center; position: relative; }
.process-connector {
  position: absolute; top: 2rem; left: 55%; width: calc(100% - 10%);
  height: 2px; background: var(--border);
}
.process-step-icon { margin-bottom: 1rem; position: relative; }
.icon-box {
  width: 4.5rem; height: 4.5rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdf4; border-radius: 1rem; color: var(--brand-600);
  position: relative; z-index: 1;
}
body.yasin-theme .icon-box { background: #f0fdf4; color: #16a34a; }
.step-number {
  position: absolute; top: -0.5rem; right: calc(50% - 3rem);
  font-size: 0.75rem; font-weight: 700; color: var(--brand-500);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
body.yasin-theme .step-number { color: #16a34a; }
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--text-500); line-height: 1.6; }
@media (max-width: 768px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
}

/* ═══════════════════════════════════════
   LANTERN THEME — Gradient Text
   ═══════════════════════════════════════ */
.gradient-text-lantern {
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══════════════════════════════════════
   FORM STYLES (Booking / Submit forms)
   ═══════════════════════════════════════ */
.form-card { padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-700); margin-bottom: 0.375rem; }
.form-input {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--border); border-radius: 0.5rem;
  background: var(--bg-white); color: var(--text-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
body.yasin-theme .form-input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.2); }
body.yasin-theme .form-card { background: #16a34a !important; border-color: #15803d !important; color: #fff; }
body.yasin-theme .form-card label { color: rgba(255,255,255,0.9); }
body.yasin-theme .form-card .form-input { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; }
body.yasin-theme .form-card .form-input::placeholder { color: rgba(255,255,255,0.5); }
body.yasin-theme .form-card .btn-primary { background: #fff; color: #16a34a; }
body.yasin-theme .form-card .btn-primary:hover { background: #f3f4f6; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
body.yasin-theme .form-card select option { color: #111827; background: #fff; }
textarea.form-input { resize: vertical; min-height: 80px; }
.error-msg { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; background: #fef2f2; color: #dc2626; border-radius: 0.5rem; font-size: 0.875rem; margin-bottom: 1rem; }
.submit-btn { width: 100%; justify-content: center; }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }
