/* ============================================================
   AL-FALAH WOODS SUPPLIERS — STYLE SHEET
   Material (Light) · Midnight (Dark) · Raleway Typography
   Colors: #ffffff 65% | #000000 10% | #cea55e 12.5% | #47f3ff 12.5%
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand palette */
  --gold: #cea55e;
  --gold-light: #e0c17d;
  --gold-dark: #a88340;
  --cyan: #47f3ff;
  --cyan-light: #7ef7ff;
  --cyan-dark: #00c8d4;
  --white: #ffffff;
  --black: #000000;

  /* Material Light theme (default) */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --glow-gold: 0 0 20px rgba(206,165,94,0.35);
  --glow-cyan: 0 0 20px rgba(71,243,255,0.25);
  --overlay: rgba(255,255,255,0.6);
  --hero-overlay: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 100%);
  --star-color: var(--gold);
  --star-color-2: var(--cyan);
  --input-bg: #f5f5f5;
  --footer-bg: #1a1a1a;
  --footer-text: #cccccc;
}

/* Midnight Dark theme */
[data-theme="dark"] {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #151c2c;
  --bg-nav: rgba(10, 14, 23, 0.92);
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border-color: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.6);
  --glow-gold: 0 0 25px rgba(206,165,94,0.4);
  --glow-cyan: 0 0 25px rgba(71,243,255,0.3);
  --overlay: rgba(10,14,23,0.6);
  --hero-overlay: linear-gradient(135deg, rgba(10,14,23,0.88) 0%, rgba(10,14,23,0.55) 100%);
  --star-color: var(--cyan);
  --star-color-2: var(--gold);
  --input-bg: #1e2738;
  --footer-bg: #060a10;
  --footer-text: #888888;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
  cursor: none;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transition: transform 0.1s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--gold);
  background: rgba(206,165,94,0.08);
}

/* ---------- Shooting Stars Background ---------- */
.shooting-stars {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shooting-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--star-color);
  border-radius: 50%;
  box-shadow: 0 0 6px 2px var(--star-color);
  opacity: 0;
  animation: shootingStar var(--duration, 3s) var(--delay, 0s) infinite;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 60px;
  height: 1.5px;
  background: linear-gradient(to left, var(--star-color), transparent);
  transform: translateY(-50%);
}

.shooting-star:nth-child(even) {
  background: var(--star-color-2);
  box-shadow: 0 0 6px 2px var(--star-color-2);
}
.shooting-star:nth-child(even)::after {
  background: linear-gradient(to left, var(--star-color-2), transparent);
}

@keyframes shootingStar {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-35deg);
  }
  5% { opacity: 1; }
  70% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(-120vw, 60vh) rotate(-35deg);
  }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--cyan));
  border-radius: 4px;
}

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.5s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.3s ease, background 0.3s ease;
  letter-spacing: 0.02em;
}

/* Active Indicator hover effect for nav */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.4s ease;
  flex-shrink: 0;
}

.theme-toggle::before {
  content: '☀️';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  transition: opacity 0.3s ease;
}

.theme-toggle::after {
  content: '🌙';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem;
  transition: opacity 0.3s ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.4s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: var(--cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    font-size: 1rem;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/wood1.jpg') center/cover no-repeat;
  filter: brightness(0.7);
  transition: filter 0.5s ease;
}

[data-theme="dark"] .hero-bg {
  filter: brightness(0.35);
}

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

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

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(206,165,94,0.15);
  border: 1px solid rgba(206,165,94,0.3);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .hero-badge {
  color: var(--gold-light);
  background: rgba(206,165,94,0.12);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
/* Slide Fill hover effect */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(206,165,94,0.35);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateX(-100%);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(206,165,94,0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary::before {
  background: var(--gold);
  transform: translateX(-100%);
}

.btn-secondary:hover::before {
  transform: translateX(0);
}

.btn-secondary:hover {
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Zoom & Scale hover for images */
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-image-wrap:hover img {
  transform: scale(1.08);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
  pointer-events: none;
}

.about-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
  background: var(--bg-primary);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Glow Borders hover for cards */
.stat-item:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ============================================================
   SERVICES / PRODUCTS SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

/* Glow Borders hover for cards */
.service-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-6px);
}

.service-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

/* Zoom & Scale hover for images */
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-body {
  padding: 24px;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(206,165,94,0.15), rgba(71,243,255,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Text Glow hover */
.service-card:hover .service-card-title {
  text-shadow: 0 0 20px rgba(206,165,94,0.4);
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  background: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Glow Borders hover */
.gallery-item:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

/* Zoom & Scale hover */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65));
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: opacity 0.4s ease;
}

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

.gallery-item-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(206,165,94,0.12), rgba(71,243,255,0.08));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card:hover h4 {
  text-shadow: 0 0 18px rgba(206,165,94,0.35);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-primary);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(206,165,94,0.15), rgba(71,243,255,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(206,165,94,0.3);
}

.map-container {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 360px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-container { min-height: 300px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--footer-text);
}

.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

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

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

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
  font-size: 1.7rem;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ============================================================
   NEST PORTFOLIOS CREDIT FLOAT
   ============================================================ */
.nest-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(206,165,94,0.5), 0 0 30px rgba(206,165,94,0.2);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
  overflow: hidden;
  animation: nestPulseGlow 2.5s ease-in-out infinite;
}

@keyframes nestPulseGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(206,165,94,0.5), 0 0 30px rgba(206,165,94,0.2); }
  50%      { box-shadow: 0 4px 30px rgba(206,165,94,0.7), 0 0 50px rgba(206,165,94,0.35); }
}

.nest-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: nestShimmer 2.5s infinite;
}

@keyframes nestShimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

.nest-float:hover {
  box-shadow: 0 6px 35px rgba(206,165,94,0.8), 0 0 60px rgba(206,165,94,0.4);
  transform: translateY(-4px) scale(1.04);
  animation: none;
}

.nest-float-icon {
  font-size: 1.1rem;
  color: #fff;
  animation: nestSpin 4s linear infinite;
}

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

.nest-float-text {
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .nest-float {
    padding: 9px 16px;
    font-size: 0.72rem;
    bottom: 20px;
    left: 16px;
  }
}

/* ============================================================
   SCROLL REVEAL / ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 9998;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
  color: var(--gold);
}

/* ============================================================
   OWNER SECTION
   ============================================================ */
.owner-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.owner-card:hover {
  border-color: var(--gold);
  box-shadow: var(--glow-gold);
}

.owner-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.4rem;
  color: #fff;
  font-weight: 800;
}

.owner-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.owner-card .owner-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.owner-card p.owner-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   TEXT GLOW UTILITY
   ============================================================ */
.text-glow:hover {
  text-shadow: 0 0 20px rgba(206,165,94,0.4), 0 0 40px rgba(71,243,255,0.15);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .hero-content { padding: 30px 16px; }
  .section-header { margin-bottom: 40px; }
  .owner-card { padding: 30px 20px; }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}
