/* Nookalamma Talli Temple - Premium Spiritual/Renovation Theme */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Telugu:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;0,800;1,500&display=swap');

:root {
  /* Color Palette */
  --primary-maroon: #5C0612;
  --primary-maroon-light: #7E1020;
  --primary-maroon-hover: #40040C;
  --saffron: #E76F51;
  --saffron-light: #F4A261;
  --gold: #D4AF37;
  --gold-dark: #AA7C11;
  --gold-light: #FAF2D3;
  --warm-ivory: #FDFBF7;
  --cream: #FAF6F0;
  --charcoal: #1A1A1A;
  --charcoal-light: #2A2A2A;
  
  /* Fonts */
  --font-serif-title: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif-sub: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-telugu: 'Noto Sans Telugu', system-ui, sans-serif;

  /* Shadows & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(92, 6, 18, 0.05);
  --shadow-md: 0 8px 24px rgba(92, 6, 18, 0.08);
  --shadow-lg: 0 16px 48px rgba(92, 6, 18, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-out;
}

/* Global Reset & Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--warm-ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Telugu Typography Injection */
[lang="te"], .telugu-font, body.lang-te {
  font-family: var(--font-telugu), var(--font-sans);
}

/* Language Toggling CSS System */
body.lang-en .lang-te {
  display: none !important;
}
body.lang-te .lang-en {
  display: none !important;
}

/* Accessible Focus States */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Subtle Ornament Scrollbars */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-maroon-light);
  border: 2px solid var(--cream);
  border-radius: var(--radius-md);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-maroon);
}

/* Typography Custom Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-title);
  color: var(--primary-maroon);
  font-weight: 700;
}

.sub-heading {
  font-family: var(--font-serif-sub);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-dark);
}

.text-muted-custom {
  color: var(--text-muted);
  opacity: 0.85;
}

/* Premium Ornaments and Lines */
.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 2.5rem;
}
.title-ornament::before, .title-ornament::after {
  content: "";
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--gold-dark));
}
.title-ornament::after {
  background: linear-gradient(to left, transparent, var(--gold-dark));
}
.title-ornament-icon {
  color: var(--gold-dark);
  font-size: 1.25rem;
  margin: 0 1rem;
  display: inline-block;
  transform: rotate(45deg);
  border: 1px solid var(--gold-dark);
  width: 12px;
  height: 12px;
  background: var(--warm-ivory);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary-maroon);
  color: var(--warm-ivory);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--gold);
}
.announcement-bar a {
  color: var(--gold);
  text-decoration: underline;
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}
.announcement-bar a:hover {
  color: var(--warm-ivory);
}

/* Premium Navigation Bar */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.sticky-nav.scrolled {
  padding: 0.4rem 0;
  background-color: rgba(253, 251, 247, 0.98);
  border-bottom: 2px solid var(--gold);
}
.nav-logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo-img {
  width: 40px;
  height: 40px;
  transition: var(--transition-smooth);
}
.sticky-nav.scrolled .nav-logo-img {
  width: 36px;
  height: 36px;
}
.nav-brand-text {
  font-family: var(--font-serif-title);
  color: var(--primary-maroon);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0;
  line-height: 1.2;
}
.nav-brand-sub {
  font-size: 0.7rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  font-weight: 600;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal) !important;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-maroon);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}
.nav-link:hover {
  color: var(--primary-maroon) !important;
}

/* Language Toggler Style */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(92, 6, 18, 0.2);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.lang-switcher:hover {
  background-color: var(--cream);
  border-color: var(--primary-maroon);
}
.lang-btn {
  color: var(--charcoal);
  opacity: 0.5;
  transition: var(--transition-fast);
}
.lang-btn.active {
  color: var(--primary-maroon);
  opacity: 1;
}

/* Premium Buttons */
.btn-premium-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary-maroon) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.75rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-premium-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.btn-premium-gold:active {
  transform: translateY(0);
}

.btn-premium-maroon {
  background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--primary-maroon-light) 100%);
  color: var(--warm-ivory) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 15px rgba(92, 6, 18, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.75rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-premium-maroon:hover {
  background: linear-gradient(135deg, var(--primary-maroon-light) 0%, var(--primary-maroon) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 6, 18, 0.4);
}
.btn-premium-maroon:active {
  transform: translateY(0);
}

/* Cinematic Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background: url('../images/temple-hero.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--warm-ivory);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.7) 0%, rgba(92, 6, 18, 0.45) 50%, rgba(26, 26, 26, 0.85) 100%);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 1.5rem;
}
.hero-title {
  font-family: var(--font-serif-title);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}
body.lang-te .hero-title {
  font-size: 3rem;
  line-height: 1.4;
}
.hero-subtitle {
  font-family: var(--font-serif-sub);
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}
.hero-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}
.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animated Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  cursor: pointer;
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: var(--transition-fast);
}
.scroll-indicator:hover {
  opacity: 1;
}

/* Card highlight Strip */
.trust-strip {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}
.trust-card {
  background-color: var(--warm-ivory);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  height: 100%;
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.trust-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(92, 6, 18, 0.05);
  border: 1px dashed var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary-maroon);
  font-size: 1.75rem;
  transition: var(--transition-smooth);
}
.trust-card:hover .trust-icon-box {
  background-color: var(--primary-maroon);
  color: var(--gold);
}
.trust-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.trust-card p {
  font-size: 0.925rem;
  color: var(--charcoal-light);
  margin: 0;
}

/* General Section Styling */
.section-padding {
  padding: 5rem 0;
}
.bg-cream {
  background-color: var(--cream);
}
.bg-charcoal-footer {
  background-color: var(--charcoal);
  color: var(--warm-ivory);
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.25rem;
}
body.lang-te .section-title {
  font-size: 2.2rem;
  line-height: 1.4;
}

/* About Section */
.image-border-decoration {
  position: relative;
  display: inline-block;
}
.image-border-decoration img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--warm-ivory);
  position: relative;
  z-index: 2;
}
.image-border-decoration::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: 1;
  pointer-events: none;
}

/* Renovation Section */
.renovation-card {
  background-color: var(--warm-ivory);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}
.renovation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img-zoom-box {
  overflow: hidden;
  position: relative;
}
.renovation-card img {
  transition: var(--transition-smooth);
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.renovation-card:hover img {
  transform: scale(1.05);
}
.renovation-card-body {
  padding: 1.5rem;
}
.renovation-card-body h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.renovation-card-body p {
  font-size: 0.925rem;
  color: var(--charcoal-light);
  margin-bottom: 0;
}

/* Architecture Highlight Section */
.architecture-highlight-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--primary-maroon-hover) 100%);
  color: var(--warm-ivory);
  overflow: hidden;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.architecture-highlight-section h2, .architecture-highlight-section h3 {
  color: var(--gold);
}
.arch-feature-list {
  list-style: none;
  padding: 0;
}
.arch-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.arch-feature-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-top: 0.15rem;
}
.arch-feature-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.arch-feature-text p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* Premium Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-bottom: 1.5rem;
  background-color: var(--cream);
  height: 280px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(92, 6, 18, 0.8) 0%, rgba(26, 26, 26, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  z-index: 2;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  color: var(--gold);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}
.gallery-overlay p {
  color: var(--warm-ivory);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Custom Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  animation: zoomIn 0.3s ease-out;
}
.lightbox-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}
.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 800px;
  text-align: center;
  color: var(--gold-light);
  padding: 1rem 0;
  font-family: var(--font-serif-title);
  font-size: 1.25rem;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: var(--warm-ivory);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2100;
}
.lightbox-close:hover, .lightbox-close:focus {
  color: var(--gold);
  text-decoration: none;
}

/* Donation Section Elements (Most Important) */
.donation-card-container {
  max-width: 650px;
  margin: 0 auto;
}
.donation-box {
  background-color: var(--warm-ivory);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.donation-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--gold), var(--primary-maroon), var(--gold));
}
.donation-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 576px) {
  .donation-presets {
    grid-template-columns: repeat(4, 1fr);
  }
}
.preset-option {
  border: 1px solid rgba(92, 6, 18, 0.2);
  background-color: var(--warm-ivory);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90px;
}
.preset-option:hover {
  border-color: var(--primary-maroon);
  background-color: var(--cream);
  transform: translateY(-2px);
}
.preset-option.active {
  border-color: var(--gold-dark);
  background-color: var(--primary-maroon);
}
.preset-amount {
  font-family: var(--font-serif-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-maroon);
  line-height: 1.2;
}
.preset-option.active .preset-amount {
  color: var(--gold);
}
.preset-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}
.preset-option.active .preset-label {
  color: var(--gold-light);
  opacity: 0.9;
}
.custom-amount-container {
  margin-bottom: 2rem;
}
.input-amount-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.currency-symbol {
  position: absolute;
  left: 1.25rem;
  font-family: var(--font-serif-title);
  font-size: 1.5rem;
  color: var(--primary-maroon);
  font-weight: 700;
  z-index: 10;
}
.input-amount {
  width: 100%;
  border: 1.5px solid rgba(92, 6, 18, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 1rem 2.5rem;
  font-size: 1.5rem;
  font-family: var(--font-serif-title);
  font-weight: 700;
  color: var(--primary-maroon);
  background-color: var(--warm-ivory);
  transition: var(--transition-smooth);
}
.input-amount:focus {
  outline: none;
  border-color: var(--primary-maroon);
  box-shadow: 0 0 0 3px rgba(92, 6, 18, 0.1);
  background-color: #fff;
}
.amount-note {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-top: 0.5rem;
  display: block;
}
.secure-payment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Call to Action Banner Section */
.cta-banner-section {
  position: relative;
  background: url('../images/temple-wide.jpg') no-repeat center center;
  background-size: cover;
  padding: 6rem 0;
  text-align: center;
  color: var(--warm-ivory);
}
.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, rgba(92, 6, 18, 0.7) 100%);
  z-index: 1;
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}
.cta-banner-title {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.cta-banner-text {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Contact Info Cards */
.contact-method-card {
  background-color: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.contact-method-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.contact-icon {
  font-size: 2rem;
  color: var(--primary-maroon);
  margin-bottom: 1rem;
}
.contact-method-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.contact-method-card a {
  color: var(--primary-maroon-light);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: var(--transition-fast);
}
.contact-method-card a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* WhatsApp Brand Styling */
.whatsapp-accent-link {
  color: #25D366 !important;
}
.whatsapp-accent-link:hover {
  color: #128C7E !important;
}

/* Floating Action Buttons */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* Floating Donation Button */
.floating-donate-btn {
  background: linear-gradient(135deg, #d44d5c 0%, var(--primary-maroon) 100%);
  color: var(--warm-ivory) !important;
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(92, 6, 18, 0.35);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  animation: pulseGlow 2.5s infinite;
}
.floating-donate-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(92, 6, 18, 0.5);
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #d44d5c 100%);
  color: var(--gold-light) !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  background-color: #25D366;
  color: white !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #20ba5a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Footer Section */
.footer-logo {
  max-width: 60px;
  height: auto;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 4px;
  background-color: rgba(253, 251, 247, 0.1);
}
.footer-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 0.5rem;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-link-list li {
  margin-bottom: 0.75rem;
}
.footer-link-list a {
  color: var(--warm-ivory);
  opacity: 0.75;
  text-decoration: none;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}
.footer-link-list a:hover {
  color: var(--gold);
  opacity: 1;
  padding-left: 4px;
}
.footer-disclaimer-text {
  font-size: 0.8rem;
  opacity: 0.6;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Legal Pages Styling (terms & privacy) */
.legal-container {
  max-width: 800px;
  background-color: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.legal-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.legal-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.4rem;
}
.legal-container p, .legal-container li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal-light);
}
.legal-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.legal-container li {
  margin-bottom: 0.5rem;
}

/* Keyframe Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(92, 6, 18, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(92, 6, 18, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(92, 6, 18, 0);
  }
}

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

/* Accessibility settings for reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .scroll-indicator, .floating-donate-btn {
    animation: none !important;
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .section-padding {
    padding: 3.5rem 0;
  }
  .trust-strip {
    margin-top: -2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  body.lang-te .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .hero-text {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .donation-box {
    padding: 2rem 1.25rem;
  }
  .preset-amount {
    font-size: 1.25rem;
  }
  .legal-container {
    padding: 2rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .floating-actions-container {
    bottom: 16px;
    right: 16px;
  }
  .floating-donate-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .floating-whatsapp-btn {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }
}
