@import url('../assets/vendor/google-fonts.css');

@tailwind base;
@tailwind components;
@tailwind utilities;

[v-cloak] { display: none !important; }

:root {
  --primary: #0D5C3D;
  --primary-dark: #073D28;
  --secondary: #C9A227;
  --secondary-light: #E5C76B;
  --background: #FFFEF8;
  --background-alt: #F5F5E8;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --gradient-start: #0F4C3A;
  --gradient-end: #1A7A5E;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', 'Noto Sans Bengali', sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Amiri', 'Noto Sans', serif;
}

.arabic-text {
  font-family: 'Amiri', serif;
  direction: rtl;
}

/* Emerald Theme Colors */
.bg-emerald { background-color: var(--primary); }
.bg-emerald-dark { background-color: var(--primary-dark); }
.bg-emerald-gradient { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }
.bg-gold { background-color: var(--secondary); }

.text-emerald { color: var(--primary); }
.text-emerald-dark { color: var(--primary-dark); }
.text-gold { color: var(--secondary); }
.text-cream { color: var(--background); }

.border-emerald { border-color: var(--primary); }
.border-gold { border-color: var(--secondary); }

/* Hero Section - Mosque Gate Design */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 50%, #2A8F6B 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

/* Mosque Gate SVG */
.mosque-gate {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: auto;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-title {
  font-family: 'Amiri', serif;
  font-size: 3rem;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-light);
  margin-bottom: 1rem;
}

.hero-description {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.6;
}

/* Cards from original website style */
.content-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.content-card-header {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  border-radius: 8px 8px 0 0;
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
}

/* Navigation */
.navbar {
  background: var(--primary);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.navbar-links a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 200;
  transition: left 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    justify-content: space-around;
  }

  .navbar-links {
    display: none;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.75rem;
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.25rem;
}

/* Audio Player - Bottom Bar */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.audio-player.active {
  transform: translateY(0);
}

.audio-player.collapsed {
  transform: translateY(calc(100% - 50px));
}

.audio-player-track {
  flex: 1;
  min-width: 0;
}

.audio-player-title {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-player-progress {
  flex: 2;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.audio-player-progress-bar {
  height: 100%;
  background: var(--secondary);
  border-radius: 2px;
  width: 0%;
}

.audio-player-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.audio-player-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
}

.audio-player-btn:hover {
  background: rgba(255,255,255,0.1);
}

.audio-player-playlist {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
}

.playlist-item {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.2s;
}

.playlist-item:hover {
  background: rgba(255,255,255,0.1);
}

.playlist-item.active {
  background: var(--secondary);
  color: var(--text-dark);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  cursor: pointer;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

/* Audio List Items */
.audio-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.audio-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.audio-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.audio-item-info {
  flex: 1;
  min-width: 0;
}

.audio-item-title {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-item-meta {
  font-size: 0.875rem;
  color: #666;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.video-info {
  padding: 1rem;
}

.video-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Events */
.event-card {
  background: white;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.event-description {
  color: #666;
  font-size: 0.875rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--background-alt);
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-excerpt {
  color: #666;
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Q&A Section */
.qa-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qa-question {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.qa-answer {
  color: var(--text-dark);
  line-height: 1.6;
}

.qa-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #666;
}

/* Tarika Lineage */
.lineage-list {
  list-style: none;
  padding: 0;
}

.lineage-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lineage-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
  flex-shrink: 0;
}

.lineage-info {
  flex: 1;
}

.lineage-name {
  font-weight: 600;
  color: var(--text-dark);
}

.lineage-title {
  font-size: 0.875rem;
  color: #666;
}

/* Path Content Styles */
.path-content {
  line-height: 2;
}

.path-content h2 {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

.path-content p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-secondary:hover {
  background: var(--secondary-light);
}

/* Section Titles */
.section-title {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 0.5rem auto 0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 2rem;
  text-align: center;
}

.footer a {
  color: var(--secondary);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .content-grid, .video-grid {
    padding: 1rem;
  }

  .navbar {
    padding: 0.75rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--background-alt);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tab Styles */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--background-alt);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s;
}

.tab:hover {
  color: var(--primary);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #999;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 2rem;
}

.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

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

.pagination-item.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===== Step 1.1: Mega Dropdown Base Container ===== */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 600px;
  max-width: 90vw;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border-radius: 12px;
  z-index: 1000;
  display: none;
}

.mega-dropdown.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; margin-top: -8px; }
  to { opacity: 1; margin-top: 0; }
}

/* ===== Step 1.2: Mega Dropdown Grid Layout ===== */
.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-dropdown-category {
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.mega-dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-dropdown-links li a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: block;
  transition: all 0.2s;
}

.mega-dropdown-links li a:hover {
  background: var(--background-alt);
  color: var(--primary);
  padding-left: 1rem;
}

/* ===== Step 1.3: Mega Dropdown Nav Trigger ===== */
.nav-item {
  display: inline-block;
}

.mega-menu-trigger {
  position: static;
}

.arrow {
  font-size: 0.7rem;
  margin-left: 0.25rem;
  transition: transform 0.3s;
}

.mega-menu-trigger.active .arrow {
  transform: rotate(180deg);
}

.navbar-links a.active-page {
  color: var(--secondary);
}

/* ===== Step 1.4: Lightbox Overlay ===== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

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

.animate-fadeIn {
  animation: fadeIn 0.25s ease;
}

.lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 900px;
  height: 85vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lightbox-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  .lightbox-content {
    width: 95vw;
    height: 60vh;
  }
}

/* ===== Step 1.5: Stat Cards ===== */
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Amiri', serif;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* ===== Step 1.6: Testimonial/Quote Cards ===== */
.testimonial-card {
  background: var(--background-alt);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--secondary);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: 'Amiri', serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

/* ===== Step 1.7: Feature Icon Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
}

/* ===== Step 1.8: Section Decorations ===== */
.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 1rem auto;
  border-radius: 2px;
}

.bg-pattern-dots {
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

.glass-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* ===== Step 1.9: Hover & Animation Utilities ===== */
.hover-lift {
  transition: transform 0.3s, box-shadow 0.3s;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease both;
}

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

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ===== Step 1.10: Modern Font Updates ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.font-inter { font-family: 'Inter', sans-serif; }

/* ===== Step 1.11: Mobile Responsive Mega Dropdown ===== */
@media (max-width: 768px) {
  .mega-dropdown-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}

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

/* ===== Enhanced Mega Dropdown Nav ===== */
.mega-menu-trigger {
  position: static;
}

.nav-item {
  position: relative;
  display: inline-block;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--secondary);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active-page::after {
  transform: translateX(-50%) scaleX(1);
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: auto;
  min-width: 680px;
  max-width: 90vw;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border-radius: 16px;
  z-index: 1000;
  display: none;
  border: 1px solid rgba(13,92,61,0.08);
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.mega-dropdown.show {
  display: block;
  animation: megaFadeIn 0.25s ease;
}

@keyframes megaFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-dropdown-category {
  font-family: 'Amiri', serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.mega-dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mega-dropdown-links li a {
  color: #444;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  display: block;
  transition: all 0.2s;
  font-weight: 400;
}

.mega-dropdown-links li a:hover {
  background: linear-gradient(135deg, rgba(13,92,61,0.06), rgba(13,92,61,0.02));
  color: var(--primary);
  padding-left: 1.1rem;
  font-weight: 500;
}

.mega-dropdown-links li a i {
  margin-right: 0.5rem;
  opacity: 0.6;
}

.mega-dropdown-links li a:hover i {
  opacity: 1;
}

/* Enhanced Mobile Menu */
.mobile-nav-item {
  position: relative;
}

.mobile-nav-group {
  margin-bottom: 0.25rem;
}

.mobile-nav-group-header {
  color: var(--secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.5rem 1rem 0.25rem;
  opacity: 0.8;
}

.mobile-sub-link {
  padding-left: 3rem !important;
  font-size: 0.88rem !important;
}

/* Spiritual decorative elements */
.islamic-border {
  border-image: linear-gradient(to right, var(--secondary), var(--secondary-light), var(--secondary)) 1;
}

.glow-gold {
  text-shadow: 0 0 40px rgba(201,162,39,0.3), 0 0 80px rgba(201,162,39,0.1);
}

.glow-white {
  text-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.arabic-hero {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.4;
}

/* Hover card with Islamic pattern */
.islamic-card {
  position: relative;
  overflow: hidden;
}

.islamic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L24.5 15.5L40 20L24.5 24.5L20 40L15.5 24.5L0 20L15.5 15.5Z' fill='%23C9A227' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Section with frame border */
.section-frame {
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 20px;
  padding: 2rem;
  background: rgba(255,254,248,0.6);
  backdrop-filter: blur(10px);
}

/* ===== Extra Utility: Smooth Scroll ===== */
html { scroll-behavior: smooth; }

/* ===== Loading Skeleton ===== */
.skeleton {
  background: linear-gradient(90deg, var(--background-alt) 25%, #e8e8d8 50%, var(--background-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Focus Visible Accessibility ===== */
*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ===== REDESIGN 2026: Unified Header ===== */
.site-header {
  background: linear-gradient(to right, var(--primary-dark), var(--primary), #1A7A5E);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .header-inner {
    height: 70px;
    padding: 0 1.5rem;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-logo img {
  height: 36px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 40px;
  }
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header-logo-title {
  font-family: 'Amiri', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .header-logo-title {
    font-size: 1.25rem;
  }
}

.header-logo-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  margin-top: -2px;
}

@media (min-width: 768px) {
  .header-logo-subtitle {
    font-size: 12px;
  }
}

/* ===== REDESIGN 2026: Desktop Nav ===== */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--secondary);
  background: rgba(255,255,255,0.08);
}

.nav-link.active-page {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--secondary);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active-page::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===== REDESIGN 2026: Enhanced Mega Dropdown ===== */
.mega-menu-trigger {
  position: static;
  display: inline-block;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: auto;
  min-width: 720px;
  max-width: 90vw;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 0 0 1px rgba(13,92,61,0.06);
  border-radius: 16px;
  z-index: 1000;
  display: none;
  overflow: hidden;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  z-index: 1;
}

.mega-dropdown::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L24.5 15.5L40 20L24.5 24.5L20 40L15.5 24.5L0 20L15.5 15.5Z' fill='%230D5C3D' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.mega-dropdown.show {
  display: block;
  animation: megaSlideIn 0.25s ease forwards;
}

@keyframes megaSlideIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

.mega-dropdown-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .mega-dropdown-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem;
  }
}

@media (max-width: 540px) {
  .mega-dropdown {
    min-width: 95vw;
    left: 2.5vw;
    transform: translateY(8px);
  }
  .mega-dropdown::before {
    left: 20px;
    transform: none;
  }
  .mega-dropdown.show {
    animation-name: megaSlideInMobile;
  }
  @keyframes megaSlideInMobile {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(8px); }
  }
  .mega-dropdown-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }
}

.mega-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-dropdown-category {
  font-family: 'Amiri', serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  background: linear-gradient(to right, var(--secondary), var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mega-dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mega-dropdown-links li a {
  color: #444;
  text-decoration: none;
  padding: 0.4rem 0.625rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  display: block;
  transition: all 0.2s ease;
  font-weight: 400;
  position: relative;
}

.mega-dropdown-links li a:hover {
  background: linear-gradient(135deg, rgba(13,92,61,0.08), rgba(13,92,61,0.02));
  color: var(--primary);
  padding-left: 0.875rem;
  font-weight: 500;
}

.mega-dropdown-links li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  width: 3px;
  height: 60%;
  background: var(--secondary);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.mega-dropdown-links li a:hover::before {
  transform: translateY(-50%) scaleX(1);
}

.arrow {
  font-size: 0.65rem;
  margin-left: 0.125rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.mega-menu-trigger.active .arrow {
  transform: rotate(180deg);
}

/* ===== REDESIGN 2026: Mobile Menu Button ===== */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== REDESIGN 2026: Mobile Slide Menu ===== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--primary-dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: var(--primary-dark);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.mobile-menu-nav {
  position: relative;
  flex: 1;
  padding: 0.75rem 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.mobile-nav-link.active-page {
  color: var(--secondary);
  background: rgba(201,162,39,0.1);
  border-left: 3px solid var(--secondary);
  padding-left: calc(1rem - 3px);
}

.mobile-nav-link-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  opacity: 0.8;
}

.mobile-nav-section-header {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--secondary);
  opacity: 0.8;
  padding: 1rem 1rem 0.375rem;
  margin-top: 0.25rem;
}

.mobile-nav-sub-link {
  padding-left: 3rem !important;
  font-size: 0.9rem !important;
  opacity: 0.85;
}

.mobile-nav-sub-link:hover {
  opacity: 1;
}

.mobile-menu-footer {
  position: relative;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.mobile-menu-footer-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
}

/* ===== REDESIGN 2026: Audio Icon Button ===== */
.audio-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--secondary);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.audio-icon-btn:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

/* ===== REDESIGN 2026: Mobile Bottom Nav ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 767px) {
  .bottom-nav {
    display: block;
  }
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
  position: relative;
  flex: 1;
}

.bottom-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-item.active::before {
  transform: translateX(-50%) scaleX(1);
}

.bottom-nav-item:hover {
  color: var(--primary);
}

.bottom-nav-icon {
  width: 1.375rem;
  height: 1.375rem;
}

/* ===== REDESIGN 2026: More Sheet (Mobile) ===== */
.more-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.more-sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.more-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9997;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 70vh;
  overflow-y: auto;
}

.more-sheet.active {
  transform: translateY(0);
}

.more-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.more-sheet-title {
  font-family: 'Amiri', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.more-sheet-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.more-sheet-close:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.more-sheet-nav {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.more-sheet-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.more-sheet-link:hover {
  background: #f0fdf4;
  color: var(--primary);
}

.more-sheet-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ===== REDESIGN 2026: Unified Footer ===== */
.site-footer {
  background: linear-gradient(to bottom, var(--primary-dark), #052D1C);
  color: white;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--secondary), var(--secondary-light), var(--secondary));
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-brand-logo img {
  height: 32px;
  width: auto;
}

.footer-brand-name {
  font-family: 'Amiri', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.footer-col-title {
  font-family: 'Amiri', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-links li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link.youtube:hover {
  background: #FF0000;
}

.footer-social-link.facebook:hover {
  background: #1877F2;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

/* ===== REDESIGN 2026: Page Content Spacing ===== */
.page-main {
  padding-top: 60px;
}

@media (min-width: 768px) {
  .page-main {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .page-main {
    padding-bottom: 72px;
  }
}