/* ============================================================
   Custom CSS — M/S Nayeem Enterprise
   Official Logo Colors: Red (#C8102E) + Silver (#8C9BAA) + Dark Charcoal
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Logo-extracted Red palette */
  --primary:        #C8102E;
  --primary-light:  #E8253E;
  --primary-dark:   #9B0D23;
  --primary-glow:   rgba(200, 16, 46, 0.25);

  /* Silver / Steel from logo building silhouettes */
  --silver:         #8C9BAA;
  --silver-light:   #B0BEC5;
  --silver-dark:    #607080;

  /* Dark backgrounds */
  --dark:           #0E0E12;
  --dark-surface:   #16161E;
  --dark-card:      #1E1E28;

  /* Gold accent (premium export feel) */
  --gold:           #D4A017;
  --gold-light:     #F0BA20;

  /* Text */
  --white:          #F5F5F5;
  --text-muted:     rgba(255,255,255,0.55);
  --glass-bg:       rgba(255,255,255,0.04);
  --glass-border:   rgba(255,255,255,0.08);

  /* Legacy compat aliases */
  --accent:         #C8102E;
  --accent-light:   #E8253E;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--dark);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection { background: var(--primary-light); color: #fff; }

/* ---------- Typography ---------- */
.font-display { font-family: 'Playfair Display', serif; }
.font-mono    { font-family: 'Rajdhani', sans-serif; }

/* ---------- Navbar ---------- */
.navbar {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar.scrolled {
  background: rgba(14, 14, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 16, 46, 0.2);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.navbar.scrolled::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light) 20%, var(--gold) 50%, var(--primary-light) 80%, transparent);
  opacity: 0.7;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(200, 16, 46, 0.18);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary-light); }

.dropdown-menu {
  background: rgba(20, 20, 27, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}
.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(200,16,46,0.16), transparent);
  border-left-color: var(--primary-light);
  color: #fff;
  padding-left: 1.1rem;
}

.mobile-menu {
  background: rgba(14, 14, 18, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(200,16,46,0.15);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(200, 16, 46,0.2);
  color: var(--primary-light);
}

/* Hamburger icon */
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.hamburger-icon span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger-icon.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Buttons ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(200, 16, 46,0.3);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 16, 46,0.45);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(192,57,43,0.35);
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.5);
}

.btn-outline {
  position: relative;
  border: 1.5px solid rgba(232,37,62,0.5);
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232,37,62,0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243,156,18,0.45);
}

/* ---------- Glass Cards ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-dark {
  background: rgba(30, 30, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 16, 46, 0.15);
}

.glass-card {
  background: linear-gradient(165deg, rgba(30,30,40,0.6), rgba(24,24,32,0.5));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(232, 37, 62, 0.1);
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
  background: linear-gradient(165deg, rgba(30,30,40,0.9), rgba(24,24,32,0.8));
  border-color: rgba(232, 37, 62, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(232, 37, 62,0.12);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ---------- Section Styles ---------- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(200,16,46,0.16), rgba(212,160,23,0.08));
  border: 1px solid rgba(232, 37, 62, 0.25);
  color: var(--primary-light);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 4px 14px rgba(200,16,46,0.12);
}
.section-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: white;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), transparent);
  border-radius: 9999px;
  margin: 0 auto;
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 14px;
  height: 3px;
  background: white;
  border-radius: 9999px;
  opacity: 0.6;
}

.section-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-light);
  opacity: 0.75;
}

/* ---------- Product Cards ---------- */
.product-card {
  background: linear-gradient(165deg, var(--dark-card), #191922);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  display: block;
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 37, 62,0.3);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(232, 37, 62,0.12);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 14, 18,0.9) 0%, transparent 60%);
}

.product-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.product-card-body { padding: 1.25rem; }

/* ---------- Service Cards ---------- */
.service-card {
  padding: 2.25rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(165deg, rgba(30,30,40,0.5), rgba(24,24,32,0.3));
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: linear-gradient(165deg, rgba(30,30,40,0.85), rgba(24,24,32,0.65));
  border-color: rgba(232, 37, 62,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(200, 16, 46,0.3), rgba(232, 37, 62,0.1));
  border: 1px solid rgba(232, 37, 62,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* ---------- Stats Counter ---------- */
.stats-bar {
  background: linear-gradient(135deg, var(--dark-surface), var(--dark-card));
  border-top: 1px solid rgba(200, 16, 46,0.2);
  border-bottom: 1px solid rgba(200, 16, 46,0.2);
  padding: 3.25rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light) 25%, var(--gold) 50%, var(--primary-light) 75%, transparent);
  opacity: 0.6;
}

.counter-item {
  text-align: center;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s ease;
}
.counter-item:hover { transform: translateY(-3px); }
.counter-item:last-child { border-right: none; }

.counter-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ---------- Why Choose Us ---------- */
.why-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, rgba(30,30,40,0.5), rgba(24,24,32,0.3));
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.why-card:hover {
  background: linear-gradient(165deg, rgba(30,30,40,0.8), rgba(24,24,32,0.6));
  border-color: rgba(232, 37, 62,0.25);
  box-shadow: 0 18px 45px rgba(200,16,46,0.1);
  transform: translateY(-4px);
}

/* ---------- Timeline ---------- */
.timeline-item { position: relative; padding-left: 3.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: -1rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: 'Rajdhani', sans-serif;
  box-shadow: 0 0 0 4px rgba(200, 16, 46,0.15), 0 8px 20px rgba(200,16,46,0.35);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: linear-gradient(165deg, rgba(30,30,40,0.6), rgba(24,24,32,0.4));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  padding: 2.25rem;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card:hover {
  border-color: rgba(232, 37, 62,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.star-rating { color: var(--gold); font-size: 0.875rem; letter-spacing: 0.1em; }

/* ---------- Blog Cards ---------- */

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,14,18,0.92) 0%, rgba(14,14,18,0.3) 55%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------- Filter Tabs ---------- */
.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-tab:hover { background: rgba(200, 16, 46,0.16); color: white; border-color: rgba(232, 37, 62,0.3); transform: translateY(-1px); }
.filter-tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; border-color: transparent; box-shadow: 0 6px 18px rgba(200,16,46,0.35); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.375rem;
}
.form-input {
  width: 100%;
  padding: 0.8125rem 1.1rem;
  background: rgba(255,255,255,0.035);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  color: white;
  font-size: 0.9375rem;
  transition: all 0.25s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
  background: rgba(200, 16, 46,0.08);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(232, 37, 62,0.1);
}
.form-input.error { border-color: var(--accent-light); }

select.form-input option { background: var(--dark-card); color: white; }

/* ---------- Page Header Banner ---------- */
.page-header {
  padding: 8rem 0 4.5rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 -2px 0 0 rgba(232,37,62,0.35);
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 16, 46,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer { position: relative; }
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light) 30%, var(--gold) 50%, var(--primary-light) 70%, transparent);
  opacity: 0.5;
}
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
  font-family: 'Rajdhani', sans-serif;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: all 0.25s ease;
}
.footer-link:hover { color: var(--primary-light); transform: translateX(3px); }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s;
}
.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.social-icon.social-wa:hover { background: #25D366; border-color: #25D366; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.cert-badge:hover {
  border-color: rgba(232,37,62,0.3);
  background: rgba(200,16,46,0.08);
  color: rgba(255,255,255,0.8);
}

.market-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  background: rgba(200, 16, 46,0.15);
  border: 1px solid rgba(232, 37, 62,0.15);
  color: rgba(255,255,255,0.7);
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
}

/* ---------- Back to Top ---------- */
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Scroll Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 6s ease-in-out infinite 2s; }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-red {
  background: linear-gradient(135deg, var(--accent-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Accent bar for headings ---------- */
.accent-bar {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 9999px;
}

/* ---------- Process Step ---------- */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border: 2px solid rgba(232, 37, 62,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 22px rgba(200,16,46,0.3);
}

/* ---------- Page loader ---------- */
#pageLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.5s, visibility 0.5s;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(232, 37, 62,0.15);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact page ---------- */
.contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: rgba(200, 16, 46,0.15);
  border: 1px solid rgba(232, 37, 62,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ---------- Map embed ---------- */
.map-container {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.map-container iframe { display: block; width: 100%; height: 400px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.page-btn:hover { background: rgba(200, 16, 46,0.3); border-color: rgba(232, 37, 62,0.3); color: white; }
.page-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  color: white;
  font-weight: 700;
}

/* ---------- Admin ---------- */
.admin-sidebar {
  background: var(--dark-surface);
  border-right: 1px solid rgba(255,255,255,0.05);
  min-height: 100vh;
  width: 260px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 0.25rem;
}
.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(200, 16, 46,0.2);
  color: var(--primary-light);
}
.admin-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.5rem;
}

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(2rem, 7vw, 3.5rem); }
  .counter-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 1rem 0; }
  .counter-item:last-child { border-bottom: none; }
}

/* ---------- Misc utilities ---------- */
.text-muted { color: rgba(255,255,255,0.55); }
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 2rem 0; }
.badge-red {
  display: inline-block;
  background: rgba(192,57,43,0.2);
  border: 1px solid rgba(231,76,60,0.3);
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Newsletter strip ---------- */
.newsletter-strip { position: relative; }

/* ---------- AOS override for dark bg ---------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---------- Product detail specs table ---------- */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.specs-table td { padding: 0.75rem 0; font-size: 0.9rem; }
.specs-table td:first-child { color: rgba(255,255,255,0.5); width: 40%; font-weight: 500; }
.specs-table td:last-child { color: white; }

/* ============================================================
   HOME PAGE — HERO SECTION
============================================================ */

/* Hero Swiper slide backgrounds */
.hero-slide { position: relative; overflow: hidden; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
  filter: brightness(0.35) saturate(0.7);
}
.swiper-slide-active .hero-slide-bg { transform: scale(1.0); }

.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,14,18,0.9) 0%,
    rgba(14,14,18,0.7) 50%,
    rgba(14,14,18,0.4) 100%
  );
}

.hero-slide-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  padding: 7rem 1.5rem 12rem;
  max-width: 1200px; margin: 0 auto;
}

.hero-slide-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: white;
  margin-bottom: 1.5rem;
}

.text-gradient-red {
  background: linear-gradient(135deg, #C8102E, #E8253E, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,16,46,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-glass {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(200,16,46,0.4);
  transform: translateY(-2px);
}

/* Hero Nav Buttons */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.3);
  color: white;
  transition: all 0.3s;
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after { font-size: 0.875rem; font-weight: 800; }
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: rgba(200,16,46,0.4);
  transform: scale(1.1);
}
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.4); }
.hero-swiper .swiper-pagination-bullet-active { background: #C8102E; width: 20px; border-radius: 4px; }

/* HERO STATS STRIP */
.hero-stats-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 0;
  background: rgba(14,14,18,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(200,16,46,0.15);
}
.hero-stats-strip::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-light) 30%, var(--gold) 50%, var(--primary-light) 70%, transparent);
  opacity: 0.6;
}

.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
  max-width: 220px;
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-item:hover { background: rgba(200,16,46,0.08); transform: translateY(-2px); }

.hero-stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #C8102E;
  line-height: 1;
  margin: 0.25rem 0;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* SCROLL INDICATOR */
.hero-scroll-hint {
  position: absolute;
  right: 2rem;
  bottom: 6rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: rgba(200,16,46,0.7);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.3; }
}

/* BADGE SLIDE-IN */
@keyframes slideInBadge {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}
.animate-slide-in-badge { animation: slideInBadge 0.7s ease forwards; }

/* ============================================================
   PRODUCTS SWIPER HOME
============================================================ */
.products-home-swiper .swiper-button-prev,
.products-home-swiper .swiper-button-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(200,16,46,0.12);
  border: 1px solid rgba(200,16,46,0.25);
  color: white;
  top: 35%;
}
.products-home-swiper .swiper-button-prev::after,
.products-home-swiper .swiper-button-next::after { font-size: 0.75rem; font-weight: 800; }
.products-home-swiper .swiper-button-prev:hover,
.products-home-swiper .swiper-button-next:hover { background: rgba(200,16,46,0.35); }
.products-home-swiper .swiper-pagination-bullet-active { background: #C8102E; }

/* ============================================================
   SERVICE / WHY CARDS
/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  box-shadow: 0 25px 80px rgba(200,16,46,0.2);
}
.cta-banner:hover {
  box-shadow: 0 30px 100px rgba(200,16,46,0.3);
  transform: translateY(-2px);
  transition: all 0.4s ease;
}

/* ============================================================
   BLOG CARDS
============================================================ */
.blog-card {
  background: linear-gradient(165deg, rgba(30,30,40,0.7), rgba(24,24,32,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 1;
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover {
  border-color: rgba(200,16,46,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0,0,0,0.4);
}
.blog-card-img {
  width: 100%; height: 200px;
  overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; flex:1; }
.blog-tag {
  display: inline-block;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.25);
  color: #E8253E;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   TESTIMONIALS SWIPER
============================================================ */
.testimonials-swiper { padding-bottom: 2.5rem !important; }
.testimonials-swiper .swiper-pagination-bullet-active { background: #C8102E; }

/* ============================================================
   LOADER LOGO
============================================================ */
.loader-logo {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.loader-logo img { animation: logoPulse 1.8s ease-in-out infinite; }
@keyframes logoPulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(0.95); }
}

/* ============================================================
   GLASS CARD UTILITY
============================================================ */
/* ============================================================
   RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 768px) {
  .hero-stats-strip { display: none; }
  .hero-scroll-hint { display: none; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   FLOATING ACTION BUTTONS SUITE
============================================================ */
.floating-suite-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-action-btn:hover {
  transform: scale(1.08) translateX(-4px);
}

.fab-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.fab-icon-main {
  width: 56px;
  height: 56px;
  border: none;
}

/* Expandable Tooltip on Hover */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(14, 14, 18, 0.92);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.floating-action-btn:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Pulsing Ring for Main WhatsApp */
.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: fabPulse 2s infinite;
  pointer-events: none;
}

@keyframes fabPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Mobile Tweaks */
@media (max-width: 640px) {
  .floating-suite-container { bottom: 1.25rem; right: 1.25rem; }
  .fab-icon { width: 42px; height: 42px; }
  .fab-icon-main { width: 50px; height: 50px; }
  .fab-tooltip { font-size: 0.7rem; padding: 0.25rem 0.625rem; }
}


