/* ============================================================
   GLOBAL DESIGN SYSTEM —Islamic Business Website
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties (Light Theme Default) ── */
:root {
  /* Brand */
  --primary: #7A1C2E;
  --primary-dark: #5A1220;
  --primary-light: #9B2438;
  --secondary: #A33A4A;
  --accent: #D46A6A;
  --accent-light: #F0A8A8;

  /* Backgrounds */
  --bg: #F7F5F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDF8F8;
  --bg-muted: #F0EEEE;
  --bg-nav: rgba(247, 245, 245, 0.95);

  /* Text */
  --text-primary: #222222;
  --text-secondary: #444444;
  --text-muted: #888888;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border: #E0DCDC;
  --border-focus: #7A1C2E;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(122, 28, 46, 0.08);
  --shadow-md: 0 4px 16px rgba(122, 28, 46, 0.12);
  --shadow-lg: 0 8px 32px rgba(122, 28, 46, 0.16);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);

  /* Spacing */
  --section-py: 100px;
  --container-max: 1200px;
  --gap: 32px;

  /* Radius */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Font */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* ── Dark Theme ── */
html[data-theme="dark"] {
  --bg: #121212;
  --bg-card: #1E1E1E;
  --bg-card-hover: #252525;
  --bg-muted: #181818;
  --bg-nav: rgba(18, 18, 18, 0.97);
  --text-primary: #EDEDED;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --border: #2E2E2E;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ── Maroon Theme ── */
html[data-theme="maroon"] {
  --bg: #2A0A10;
  --bg-card: #3A1420;
  --bg-card-hover: #441828;
  --bg-muted: #220810;
  --bg-nav: rgba(42, 10, 16, 0.97);
  --text-primary: #F5E8EA;
  --text-secondary: #E4C8CC;
  --text-muted: #9E7880;
  --border: #5C2030;
  --accent: #F09090;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ── Neutral Theme ── */
html[data-theme="neutral"] {
  --primary: #3D3D3D;
  --primary-dark: #222222;
  --primary-light: #555555;
  --secondary: #5A5A5A;
  --accent: #909090;
  --bg: #F5F5F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F8F8;
  --bg-muted: #EEEEEE;
  --bg-nav: rgba(245, 245, 245, 0.95);
  --text-primary: #222222;
  --text-secondary: #555555;
  --border: #DDDDDD;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
}

img {
  max-width: 4.2rem;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  padding-top: 90px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.bg-muted-section {
  background: var(--bg-muted);
  position: relative;
  overflow: hidden;
}


/* ── Global graph grid — one overlay, no overlap ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(122, 28, 46, 0.12), rgba(212, 106, 106, 0.12));
  color: var(--primary);
  border: 1px solid rgba(122, 28, 46, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

html[data-theme="dark"] .section-tag,
html[data-theme="maroon"] .section-tag {
  background: rgba(122, 28, 46, 0.25);
  border-color: rgba(212, 106, 106, 0.3);
  color: var(--accent);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(122, 28, 46, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122, 28, 46, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

html[data-theme="dark"] .btn-outline,
html[data-theme="maroon"] .btn-outline {
  color: var(--accent);
  border-color: var(--accent);
}

html[data-theme="dark"] .btn-outline:hover,
html[data-theme="maroon"] .btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-ghost {
  background: var(--bg-muted);
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: transparent;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(122, 28, 46, 0.25);
}

/* Image Overlay Card Variants */
.card--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 0;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  transition: all var(--transition);
}

.card--image:hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.card--image:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(122, 28, 46, 0.3);
}

.card--overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px 28px;
  color: #FFFFFF;
}

.card--overlay h3,
.card--overlay h4 {
  color: #FFFFFF;
  margin-bottom: 12px;
  font-size: 1.3rem;
  transition: all var(--transition);
}

.card--overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0;
  transition: all var(--transition);
}

.card--overlay .badge {
  align-self: flex-start;
  margin-bottom: 16px;
  background: rgba(122, 28, 46, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card--overlay .link-arrow {
  color: rgba(255, 255, 255, 0.95);
  margin-top: 14px;
  font-weight: 600;
  transition: all var(--transition);
}

.card--overlay .link-arrow:hover {
  color: #FFFFFF;
  transform: translateX(6px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  transition: color var(--transition);
}

.navbar-brand:hover {
  color: var(--secondary);
}

html[data-theme="dark"] .navbar-brand,
html[data-theme="maroon"] .navbar-brand {
  color: var(--text-primary);
}

.brand-icon {
  width: 38px;
  height: 38px;
  /* background: linear-gradient(135deg, var(--primary), var(--accent)); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: rgba(122, 28, 46, 0.08);
}

html[data-theme="dark"] .navbar-links a:hover,
html[data-theme="dark"] .navbar-links a.active,
html[data-theme="maroon"] .navbar-links a:hover,
html[data-theme="maroon"] .navbar-links a.active {
  color: var(--accent);
  background: rgba(212, 106, 106, 0.12);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-actions .btn-sm {
  margin-left: 4px;
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.theme-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  outline: none;
}

.theme-btn:hover {
  background: var(--primary-light);
  color: #fff;
  opacity: 1;
}

.theme-btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(122, 28, 46, 0.2);
}

html[data-theme="dark"] .theme-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

html[data-theme="dark"] .theme-btn.active {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 2px rgba(212, 106, 106, 0.3);
}

html[data-theme="maroon"] .theme-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(212, 106, 106, 0.3);
}

html[data-theme="neutral"] .theme-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(61, 61, 61, 0.2);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  margin-bottom: 8px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.mobile-menu .theme-switcher {
  margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 60px 0 0;
}

html[data-theme="dark"] .footer {
  background: #0A0A0A;
}

html[data-theme="maroon"] .footer {
  background: #1A0508;
}

html[data-theme="neutral"] .footer {
  background: #222222;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.footer p {
  color: #FFFFFF;
  font-size: 0.9rem;
  line-height: 1.75;
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  color: #FFFFFF;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   WHATSAPP STICKY BUTTON
   ============================================================ */
.wa-btn {
  position: fixed;
  bottom: 130px;
  right: 28px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
  animation: wa-pulse 2.5s infinite;
}

.wa-btn:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.7), 0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* Sticky Contact Bar */
.sticky-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 899;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.sticky-contact-bar.visible {
  transform: translateY(0);
}

.sticky-contact-bar p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.sticky-contact-bar .btn {
  padding: 7px 18px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.sticky-contact-bar .btn:hover {
  background: #fff;
  color: var(--primary);
}

.sticky-bar-close {
  margin-left: auto;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  padding: 4px;
  border-radius: 50%;
  transition: color var(--transition);
}

.sticky-bar-close:hover {
  color: #fff;
}

/* ============================================================
   ANIMATIONS (Scroll reveal)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}

[data-reveal-delay="5"] {
  transition-delay: 0.5s;
}

/* ============================================================
   BADGE, TAG, STAR RATING
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: var(--primary);
  color: #fff;
}

.badge-accent {
  background: var(--accent);
  color: #fff;
}

.badge-muted {
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.stars {
  color: #F5A623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ============================================================
   ICON BOX
   ============================================================ */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(122, 28, 46, 0.1), rgba(212, 106, 106, 0.1));
  border: 1px solid rgba(122, 28, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.card:hover .icon-box,
.icon-box:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff !important;
  transform: scale(1.05);
}

html[data-theme="dark"] .icon-box,
html[data-theme="maroon"] .icon-box {
  background: rgba(212, 106, 106, 0.1);
  border-color: rgba(212, 106, 106, 0.2);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 28, 46, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 180px;
  right: 28px;
  z-index: 890;
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  main {
    padding-top: 60px;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .navbar-links {
    display: none;
  }

  .navbar-actions {
    display: none;
  }

  .navbar-inner {
    height: 60px;
    padding: 0 16px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wa-btn {
    bottom: 180px;
    right: 18px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .back-to-top {
    bottom: 240px;
  }

  .section-header {
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.875rem;
  }
}

/* ── Currency Selection Modal ── */
.currency-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.currency-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.currency-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
  box-shadow: var(--shadow-lg);
}

.currency-modal-overlay.active .currency-modal {
  transform: translateY(0);
}

.currency-modal h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.currency-modal p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1rem;
}

.currency-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.currency-option {
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.currency-option:hover {
  border-color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.currency-option i {
  font-size: 1.5rem;
  color: var(--primary);
}

.currency-option span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.currency-option .country {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Custom Image Icons & Interactions */
.custom-img-icon,
.interactive-3d-icon {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  transition: transform var(--transition), filter var(--transition), box-shadow var(--transition);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.interactive-3d-icon {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

/* Floating animation for specific decorative icons */
.section-tag .custom-img-icon,
.section-tag .interactive-3d-icon,
.hero-badge .custom-img-icon,
.icon-box .custom-img-icon,
.icon-box .interactive-3d-icon {
  animation: float-icon 4s ease-in-out infinite;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-5px) rotate(4deg);
  }
}

/* Hover effects for interactive parent elements */
.btn:hover .custom-img-icon,
.btn:hover .interactive-3d-icon,
.card:hover .custom-img-icon,
.card:hover .interactive-3d-icon,
.nav-link:hover .custom-img-icon {
  transform: scale(1.25) rotate(-8deg) perspective(1000px) rotateY(10deg);
  filter: drop-shadow(0 8px 15px rgba(122, 28, 46, 0.35));
}

/* Section Backgrounds */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/premium_bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: hero-bg-shift 20s linear infinite;
}

@keyframes hero-bg-shift {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.cta-section {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(122, 28, 46, 0.88), rgba(90, 18, 32, 0.94)), url('../assets/images/premium_bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 106, 106, 0.2), transparent 70%);
  pointer-events: none;
}

/* Feature Images & Interactions */
.premium-feature-img {
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-slow);
  filter: saturate(1.1) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-feature-img:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(122, 28, 46, 0.25);
}

/* Section Glass Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  opacity: 0.3;
}

/* Specific sizing overrides */
.faq-icon .custom-img-icon {
  width: 1.5em;
  height: 1.5em;
}

.icon-box .custom-img-icon,
.icon-box .interactive-3d-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Checkmark specific interaction (stars) */
.pf-check .custom-img-icon {
  width: 14px;
  height: 14px;
  animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Badge specific stars */
.badge .custom-img-icon {
  width: 1rem;
  height: 1rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUpBanner 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-content {
  max-width: var(--container-max);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.cookie-text i {
  font-size: 1.5rem;
  color: var(--primary);
}

.cookie-text p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-secondary);
}

.cookie-btns {
  display: flex;
  gap: 12px;
}

@keyframes slideUpBanner {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 20px;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-btns {
    width: 100%;
  }
  .cookie-btns .btn {
    flex: 1;
    justify-content: center;
  }
}