/* ============================================
   Design System - Matching React App Colors
   ============================================ */

:root {
  /* Core Colors (HSL) */
  --background: hsl(30, 40%, 98%);
  --foreground: hsl(25, 15%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(25, 15%, 15%);
  --primary: hsl(25, 85%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(30, 20%, 40%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(30, 30%, 92%);
  --muted-foreground: hsl(30, 10%, 45%);
  --accent: hsl(15, 70%, 50%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(30, 25%, 88%);
  --ring: hsl(25, 85%, 55%);
  --radius: 0.75rem;
  --section-bg: hsl(30, 35%, 96%);
  
  /* Gradients */
  --hero-overlay: linear-gradient(135deg, hsla(25, 85%, 55%, 0.9), hsla(15, 70%, 50%, 0.7));
  --gradient-primary: linear-gradient(135deg, hsl(25, 85%, 55%), hsl(15, 70%, 50%));
}

/* ============================================
   Base Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
}

/* ============================================
   Utility Classes
   ============================================ */

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

.section-padding {
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 3rem;
  }
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: white; }
.text-center { text-align: center; }

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

.divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--accent);
  margin: 0 auto 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

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

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

.btn-white:hover {
  opacity: 0.9;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

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

.btn-full {
  width: 100%;
}

.btn-rounded {
  border-radius: 9999px;
}

/* ============================================
   Cards
   ============================================ */

.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 1.5rem;
}

.card-border-left {
  border-left: 4px solid var(--primary);
}

.card-border-accent {
  border-left: 4px solid var(--accent);
}

.card-border-secondary {
  border-left: 4px solid var(--secondary);
}

/* ============================================
   Forms
   ============================================ */

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: white;
}

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

.form-input-lg {
  padding: 1rem;
  height: 3rem;
}

textarea.form-input {
  resize: none;
  min-height: 120px;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border);
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: color 0.3s ease;
}

.navbar.scrolled .navbar-brand {
  color: var(--primary);
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

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

.navbar.scrolled .nav-link {
  color: var(--foreground);
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
  background: rgba(255, 149, 0, 0.1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: white;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.navbar.scrolled .menu-toggle {
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  animation: fadeIn 0.3s ease;
}

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

.mobile-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.mobile-menu .nav-link:hover {
  background: rgba(255, 149, 0, 0.1);
  color: var(--primary);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.navbar.scrolled .lang-toggle {
  background: var(--muted);
}

.lang-btn {
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .lang-btn {
  color: var(--muted-foreground);
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 6rem 1.5rem 4rem;
  animation: fadeIn 0.8s ease;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

.hero-tagline {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: white;
}

/* ============================================
   About Section
   ============================================ */

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.about-card-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--muted-foreground);
}

/* ============================================
   Initiatives Section
   ============================================ */

.initiatives-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .initiatives-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.initiative-card {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

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

.initiative-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
}

.initiative-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.initiative-card p {
  color: var(--muted-foreground);
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(255, 149, 0, 0.1);
}

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

.gallery-grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

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

.gallery-overlay h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.gallery-camera {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 149, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 56rem;
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s ease;
}

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

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: white;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1rem;
  background: var(--card);
}

.lightbox-caption h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  color: var(--muted-foreground);
}

/* ============================================
   YouTube Section
   ============================================ */

.youtube-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .youtube-card {
    padding: 3rem;
  }
}

.youtube-icon {
  width: 5rem;
  height: 5rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}

.youtube-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .youtube-card h3 {
    font-size: 1.875rem;
  }
}

.youtube-card p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Mandir Section
   ============================================ */

.mandir-section {
  position: relative;
  background: linear-gradient(to bottom, var(--background), var(--section-bg));
  overflow: hidden;
}

.mandir-decorative {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
}

.mandir-decorative .circle {
  position: absolute;
  border: 4px solid var(--primary);
  border-radius: 50%;
}

.mandir-decorative .circle-1 {
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
}

.mandir-decorative .circle-2 {
  bottom: 2.5rem;
  right: 2.5rem;
  width: 12rem;
  height: 12rem;
  border-color: var(--accent);
}

.mandir-decorative .circle-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16rem;
  height: 16rem;
  border-width: 2px;
  border-color: var(--secondary);
}

.mandir-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.mandir-grid {
  display: grid;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .mandir-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mandir-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mandir-values {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .mandir-values {
    grid-template-columns: 1fr 1fr;
  }
}

.value-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
}

.value-card-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.value-card h4 {
  font-weight: 600;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Progress Tracker */
.progress-card {
  background: linear-gradient(to bottom right, rgba(255, 149, 0, 0.05), rgba(233, 88, 55, 0.05));
  border: 1px solid rgba(255, 149, 0, 0.2);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-top: auto;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.progress-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.progress-percent {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.progress-bar {
  width: 100%;
  height: 0.75rem;
  background: var(--muted);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

.progress-amounts {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.progress-collected .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.progress-collected .label,
.progress-target .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.progress-target {
  text-align: right;
}

.progress-target .amount {
  font-size: 1.125rem;
  font-weight: 600;
}

.progress-donors {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Donation Card */
.donation-card {
  background: linear-gradient(to bottom right, rgba(255, 149, 0, 0.05), rgba(233, 88, 55, 0.05));
  border: 2px solid rgba(255, 149, 0, 0.2);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.donation-icon {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.donation-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.qr-placeholder {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1.5rem 0;
}

.qr-box {
  width: 12.5rem;
  height: 12.5rem;
  margin: 0 auto;
  background: var(--muted);
  border: 2px dashed rgba(255, 149, 0, 0.3);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  padding: 1rem;
  position: relative;
}

.qr-cell {
  border-radius: 2px;
}

.qr-cell.filled {
  background: var(--foreground);
}

.qr-cell.empty {
  background: var(--background);
}

.qr-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  color: rgba(255, 149, 0, 0.2);
}

.qr-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-top: 1rem;
}

.donation-quote {
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.2);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}

/* Recent Donors */
.donors-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  margin-bottom: 3rem;
}

.donors-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.donors-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.donors-note {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.donors-list {
  max-height: 12.5rem;
  overflow-y: auto;
}

.donor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: background 0.3s ease;
}

.donor-item:hover {
  background: var(--muted);
}

.donor-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.donor-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.donor-name {
  font-weight: 500;
}

.donor-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.donor-amount .amount {
  font-weight: 700;
  color: var(--primary);
}

.donor-amount .label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Appeal Card */
.appeal-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 149, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius);
  max-width: 40rem;
}

.appeal-card p {
  font-size: 1.125rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
  position: relative;
  background: linear-gradient(to bottom, var(--section-bg), var(--background));
  overflow: hidden;
}

.contact-decorative {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.contact-decorative-1 {
  top: 0;
  left: 0;
  width: 18rem;
  height: 18rem;
  background: rgba(255, 149, 0, 0.05);
  transform: translate(-50%, -50%);
}

.contact-decorative-2 {
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: rgba(233, 88, 55, 0.05);
  transform: translate(50%, 50%);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 149, 0, 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
  }
}

/* Contact Form */
.contact-form-card {
  border: 2px solid rgba(255, 149, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  color: white;
}

.contact-form-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.contact-form-body {
  padding: 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

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

.info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon.primary {
  background: rgba(255, 149, 0, 0.1);
  color: var(--primary);
}

.info-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.info-icon.red {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.info-icon.accent {
  background: rgba(233, 88, 55, 0.1);
  color: var(--accent);
}

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

.info-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-title {
  font-weight: 700;
  font-size: 0.875rem;
}

.info-value {
  font-size: 0.875rem;
  font-weight: 500;
}

.info-value.primary { color: var(--primary); }
.info-value.green { color: #16a34a; }
.info-value.red { color: #dc2626; }
.info-value.accent { color: var(--accent); }

/* Address Card */
.address-card {
  background: var(--gradient-primary);
  border: none;
  flex: 1;
  min-height: 8.75rem;
}

.address-content {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  height: 100%;
}

.address-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.address-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.address-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.address-text .country {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Banner */
.cta-banner {
  margin-top: 4rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48cGF0aCBkPSJNMzYgMzRjMC0yIDItNCAyLTRzMiAyIDIgNC0yIDQtMiA0LTItMi0yLTR6bTAtMTBjMC0yIDItNCAyLTRzMiAyIDIgNC0yIDQtMiA0LTItMi0yLTR6Ii8+PC9nPjwvZz48L3N2Zz4=");
}

.cta-content {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .cta-content {
    padding: 3rem;
  }
}

.cta-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-content h3 {
    font-size: 1.875rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  position: relative;
  background: linear-gradient(to bottom right, var(--secondary), var(--secondary), rgba(85, 68, 51, 0.9));
  color: var(--secondary-foreground);
  overflow: hidden;
}

.footer-decorative {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}

.footer-decorative-1 {
  top: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 149, 0, 0.1);
  transform: translate(-50%, -50%);
}

.footer-decorative-2 {
  bottom: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(233, 88, 55, 0.1);
  transform: translate(50%, 50%);
}

.footer-content {
  position: relative;
  z-index: 10;
  padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    padding: 4rem 1.5rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.footer-brand h3:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

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

.footer-links .dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
}

.footer-connect h4 {
  font-size: 1.125rem;
  color: white;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

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

.social-link.phone:hover {
  background: var(--primary);
}

.social-link.whatsapp:hover {
  background: #16a34a;
}

.footer-phone {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

.footer-credits {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-credits {
    text-align: left;
  }
}

.footer-credits p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.dev-link {
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s ease;
}

.dev-link:hover {
  opacity: 0.8;
}

.dev-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(255, 149, 0, 0.2);
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  margin-left: 0.25rem;
  -webkit-text-fill-color: var(--primary);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.scroll-top {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(255, 149, 0, 0.3);
  transition: all 0.3s ease;
}

.scroll-top:hover {
  transform: scale(1.1);
  background: rgba(255, 149, 0, 0.8);
}

/* ============================================
   Sign In Page
   ============================================ */

.signin-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(255, 149, 0, 0.1), var(--background), rgba(233, 88, 55, 0.1));
  padding: 1rem;
  position: relative;
}

.signin-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZjk1MDAiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0YzAtMiAyLTQgMi00czIgMiAyIDQtMiA0LTIgNC0yLTItMi00em0wLTEwYzAtMiAyLTQgMi00czIgMiAyIDQtMiA0LTIgNC0yLTItMi00eiIvPjwvZz48L2c+PC9zdmc+");
}

.signin-lang-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.signin-container {
  width: 100%;
  max-width: 28rem;
  position: relative;
  z-index: 10;
}

.signin-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.signin-brand a {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: opacity 0.3s ease;
}

.signin-brand a:hover {
  opacity: 0.9;
}

.signin-card {
  border: 2px solid rgba(255, 149, 0, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.signin-header {
  background: var(--gradient-primary);
  padding: 1.5rem;
  text-align: center;
}

.signin-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.signin-header h1 {
  font-size: 1.5rem;
  color: white;
}

.signin-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

.signin-form {
  padding: 1.5rem 2rem;
}

.form-label-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-label-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--foreground);
}

.forgot-link {
  text-align: right;
  margin-bottom: 1.5rem;
}

.forgot-link a {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link a:hover {
  color: rgba(255, 149, 0, 0.8);
}

.back-link {
  text-align: center;
  margin-top: 1.5rem;
}

.back-link a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.back-link a:hover {
  color: var(--primary);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 28rem;
  width: 100%;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--muted-foreground);
}

.modal-footer {
  margin-top: 1.5rem;
  text-align: right;
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-delay-1 {
  animation: fadeIn 0.6s ease 0.1s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.6s ease 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay-3 {
  animation: fadeIn 0.6s ease 0.3s forwards;
  opacity: 0;
}

.animate-fade-in-delay-4 {
  animation: fadeIn 0.6s ease 0.4s forwards;
  opacity: 0;
}

/* ============================================
   Responsive Utilities
   ============================================ */

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

.hide-desktop {
  display: block;
}

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

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

::-webkit-scrollbar-track {
  background: var(--muted);
  border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 149, 0, 0.8);
}