/* =====================================================
   Help Now — Premium Luxury Redesign
   Deep teal + dark navy palette with glassmorphism
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --teal: #1a8c8c;
  --teal-dark: #104044;
  --teal-deep: #0a2e30;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-primary: #e8f4f4;
  --text-muted: rgba(232, 244, 244, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--teal-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

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

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

/* ── Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 46, 48, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

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

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.3px;
}

.nav-links li a:hover {
  color: var(--white);
  background: var(--glass-bg);
}

/* Login button */
.btn-nav.outline {
  border: 1.5px solid rgba(201, 168, 76, 0.55);
  color: var(--gold-light) !important;
  padding: 8px 22px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  transition: all 0.3s ease !important;
}

.btn-nav.outline:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #1a1a1a !important;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--white);
}

/* ── Hero Section ──────────────────────────────────── */
.hero {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10, 46, 48, 0.72) 0%, rgba(16, 64, 68, 0.55) 100%),
    url('/Images/8276b1976566f4f7e57ade0033768ca2.jpg') no-repeat center center / cover;
  background-attachment: scroll;
  /* Changed from fixed for better mobile performance */
  position: relative;
  display: flex;
  align-items: stretch;
  /* Make children fill height */
  justify-content: center;
  padding-top: 70px;
  /* Reduced for mobile */
}

/* Subtle animated grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-overlay {
  background: var(--glass-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  max-width: 1100px;
  width: 92%;
  min-height: 480px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

/* Gold accent line at top of card */
.hero-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 64px;
  gap: 40px;
  min-height: 480px;
}

.hero-text {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.logo-hero {
  margin-bottom: 28px;
}

.logo-hero img {
  height: auto;
  width: 220px;
  filter: brightness(1.1);
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.18;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-text h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
  color: #1a1200;
  padding: 14px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(201, 168, 76, 0.5);
  filter: brightness(1.1);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  margin-bottom: -52px;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.35));
  animation: floatImg 5s ease-in-out infinite;
}

@keyframes floatImg {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ── Intro Section ─────────────────────────────────── */
.intro {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--teal-deep) 0%, #0d3537 100%);
  position: relative;
}

.intro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.intro h2 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 600;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(201, 168, 76, 0.35);
}

.icon-circle {
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: var(--gold-light);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ── Services Section ──────────────────────────────── */
.services {
  background: #091e20;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

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

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Gold underline accent */
.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 3rem;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  backdrop-filter: blur(10px);
  text-align: left;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 46, 48, 0.85) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.014);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  border-color: rgba(201, 168, 76, 0.4);
}

.image-wrapper {
  height: 240px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.15rem;
  margin: 18px 20px 8px;
  position: relative;
  z-index: 1;
}

.btn-service {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 20px 22px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(26, 140, 140, 0.3);
}

.btn-service:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
  color: #1a1200;
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.4);
}

/* ── Testimonials ──────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, #0d3537 0%, var(--teal-deep) 100%);
}

.section-title-alt {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.divider {
  height: 3px;
  width: 64px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto 50px;
  border-radius: 2px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 36px 30px;
  border-radius: 20px;
  text-align: left;
  position: relative;
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 5rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.75;
  position: relative;
}

.testimonial-card h4 {
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

/* ── Footer ────────────────────────────────────────── */
footer {
  background: #050f10;
  color: rgba(232, 244, 244, 0.4);
  padding: 32px 0;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid var(--glass-border);
}

/* ── PWA Install Banner ────────────────────────────── */
.install-banner {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 40, 42, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: 94%;
  max-width: 520px;
  padding: 22px 26px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border);
  z-index: 10000;
  animation: slideUp 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 120px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.install-content {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.install-main-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.install-icon img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(26, 140, 140, 0.3);
  border: 2px solid var(--glass-border);
}

.install-text {
  text-align: left;
}

.install-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 700;
}

.install-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.install-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-install {
  background: linear-gradient(135deg, var(--gold) 0%, #a07830 100%);
  color: #1a1200;
  border: none;
  padding: 12px 26px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(201, 168, 76, 0.4);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Inter', sans-serif;
}

.btn-install:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(201, 168, 76, 0.5);
  filter: brightness(1.1);
}

.btn-close-install {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-close-install:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.3);
  color: #f87171;
  transform: rotate(90deg);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    padding-top: 60px;
    align-items: stretch;
  }

  .hero-overlay {
    width: 100%;
    border-radius: 0;
    max-width: none;
    min-height: 100vh;
    border: none;
    display: flex;
    align-items: center;
    border-top: 1px solid var(--glass-border);
  }

  .hero-overlay::before {
    display: none;
    /* Hide gold line when full width */
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
    width: 100%;
    min-height: unset;
    gap: 30px;
  }

  .hero-text {
    padding-right: 0;
    order: 1;
  }

  .logo-hero {
    justify-content: center;
    display: flex;
    margin-bottom: 20px;
  }

  .logo-hero img {
    width: 160px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .hero-image {
    order: 2;
    margin-top: 20px;
  }

  .hero-image img {
    margin-bottom: -60px;
    max-height: 280px;
  }

  .btn-hero {
    margin-top: 0.5rem;
    padding: 12px 32px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-title-alt {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: rgba(10, 46, 48, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    width: 100%;
    padding: 12px 16px;
  }

  .install-banner {
    bottom: 20px;
    padding: 16px 20px;
  }

  .install-text strong {
    font-size: 1.05rem;
  }

  .btn-install {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}