/* ═══════════════════════════════════════════════════
   Atlas Protection - Main Stylesheet
   ═══════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --navy:       #0a1f44;
  --blue:       #1a73e8;
  --blue-dark:  #1557b0;
  --amber:      #f4a01c;
  --amber-dark: #d4880f;
  --white:      #ffffff;
  --light:      #f5f7fa;
  --grey:       #6b7280;
  --dark:       #1f2937;
  --border:     #e5e7eb;
  --shadow:     0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg:  0 8px 40px rgba(10,31,68,0.15);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: all 0.3s ease;
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;
}

/* ─── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.3; }

/* ─── Container ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background: var(--light); }

/* ─── Section Header ────────────────────────────── */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-header p { color: var(--grey); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-affiliate {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
  animation: pulse 2.5s infinite;
}
.btn-affiliate:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,160,28,0.40);
  animation: none;
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(244,160,28,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(244,160,28,0); }
}

/* ─── Header & Nav ──────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: var(--transition);
}
.header.sticky {
  box-shadow: 0 2px 20px rgba(10,31,68,0.25);
  background: rgba(10,31,68,0.98);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 20px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.logo:hover { color: var(--amber); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover, .nav-link.active {
  color: var(--amber);
  background: rgba(255,255,255,0.08);
}
.nav-cta { margin-left: 10px; padding: 10px 22px; font-size: 0.9rem; }

/* ─── Dropdown ──────────────────────────────────── */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  overflow: hidden;
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: var(--light);
  color: var(--blue);
  padding-left: 26px;
}

/* ─── Hamburger ─────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 60%, var(--blue) 100%);
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* ─── Feature Cards ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { color: var(--grey); font-size: 0.9rem; }

/* ─── Plans ─────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.plan-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.plan-body { padding: 28px; }
.plan-body h3 { font-size: 1.3rem; margin-bottom: 16px; }
.plan-body ul { margin-bottom: 20px; }
.plan-body ul li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.plan-body ul li:last-child { border-bottom: none; }
.price { font-size: 1.1rem; margin-bottom: 20px; color: var(--grey); }
.price strong { color: var(--navy); font-size: 1.4rem; }

/* ─── How It Works ──────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-number {
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 16px;
  font-family: var(--font-head);
}
.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step-card p { color: var(--grey); font-size: 0.9rem; }

/* ─── Testimonials ──────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card p { color: var(--dark); font-style: italic; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author span { font-size: 0.88rem; color: var(--grey); }

/* ─── FAQ ───────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: var(--light); color: var(--blue); }
.faq-item.open .faq-question { color: var(--blue); background: var(--light); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-question i { transition: var(--transition); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 16px 24px 20px;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ─── CTA Banner ────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--amber) 0%, #e8890a 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 32px; }

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 16px; }
.footer-contact-info p {
  font-size: 0.88rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-info a { color: rgba(255,255,255,0.8); }
.footer-contact-info a:hover { color: var(--amber); }
.footer-contact-info i { color: var(--amber); width: 16px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--amber); transform: translateY(-3px); }
.footer-links h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-newsletter h4 { color: var(--white); margin-bottom: 12px; }
.footer-newsletter p { font-size: 0.88rem; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  padding: 11px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: var(--amber); background: rgba(255,255,255,0.12); }
.footer-social-extra { margin-top: 20px; }
.footer-social-extra h4 { color: var(--white); margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 20px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom p { margin-bottom: 6px; }
.affiliate-notice { color: rgba(255,255,255,0.55); }
.affiliate-notice a { color: var(--amber); }
.affiliate-notice a:hover { text-decoration: underline; }
.success-msg { color: var(--amber); font-weight: 600; font-size: 0.95rem; }

/* ─── Page Hero ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  padding: 130px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { margin-top: 16px; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: var(--amber); }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── Services Page ─────────────────────────────── */
.service-section { padding: 70px 0; }
.service-section:nth-child(even) { background: var(--light); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-grid.reverse { direction: rtl; }
.service-grid.reverse > * { direction: ltr; }
.service-content h2 { font-size: 2rem; margin-bottom: 16px; }
.service-content p { color: var(--grey); margin-bottom: 20px; }
.service-content ul { margin-bottom: 28px; }
.service-content ul li {
  padding: 8px 0;
  color: var(--dark);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-content ul li:last-child { border-bottom: none; }
.service-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

/* ─── Comparison Table ──────────────────────────── */
.comparison-section { padding: 70px 0; background: var(--light); }
.table-wrapper { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 1rem;
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.comparison-table tr:nth-child(even) { background: var(--light); }
.comparison-table tr:hover { background: #eef2ff; }
.comparison-table tr:last-child td { border-bottom: none; }

/* ─── Blog Page ─────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.blog-card-body { padding: 24px; }
.blog-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-head);
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { color: var(--grey); font-size: 0.88rem; margin-bottom: 16px; line-height: 1.6; }
.blog-meta { font-size: 0.8rem; color: var(--grey); margin-bottom: 16px; }
.blog-meta span { margin-right: 12px; }

/* ─── About Page ────────────────────────────────── */
.about-section { padding: 70px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content h2 { font-size: 2rem; margin-bottom: 16px; }
.about-content p { color: var(--grey); margin-bottom: 16px; line-height: 1.8; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--blue); font-family: var(--font-head); }
.stat-label { font-size: 0.85rem; color: var(--grey); margin-top: 6px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.trust-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}
.trust-icon { font-size: 2.5rem; margin-bottom: 14px; }
.trust-card h3 { font-size: 1rem; margin-bottom: 8px; }
.trust-card p { color: var(--grey); font-size: 0.88rem; }
.disclosure-box {
  background: #fff8ed;
  border: 1px solid var(--amber);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  margin-top: 40px;
}
.disclosure-box h3 { color: var(--navy); margin-bottom: 12px; }
.disclosure-box p { color: var(--grey); font-size: 0.92rem; line-height: 1.8; }

/* ─── Contact Page ──────────────────────────────── */
.contact-section { padding: 70px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-form-box h2 { font-size: 1.8rem; margin-bottom: 8px; }
.contact-form-box p { color: var(--grey); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { color: #dc2626; font-size: 0.82rem; margin-top: 5px; display: none; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { color: var(--navy); margin-bottom: 10px; }
.form-success p { color: var(--grey); }
.contact-info-box h2 { font-size: 1.8rem; margin-bottom: 8px; }
.contact-info-box p { color: var(--grey); margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--radius-sm);
}
.contact-info-item i { color: var(--blue); font-size: 1.2rem; margin-top: 3px; }
.contact-info-item h4 { color: var(--navy); margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-item a { color: var(--grey); font-size: 0.92rem; }
.contact-info-item a:hover { color: var(--blue); }
.contact-social h3 { font-size: 1rem; color: var(--navy); margin-bottom: 14px; }
.contact-social .social-links a {
  background: var(--light);
  color: var(--navy);
}
.contact-social .social-links a:hover { background: var(--blue); color: var(--white); }
.map-embed {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 220px; border: none; display: block; }

/* ─── Scroll Reveal ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ─── Back to Top ───────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--navy); transform: translateY(-3px); }

/* ─── Privacy / Terms Pages ─────────────────────── */
.legal-content { max-width: 860px; margin: 0 auto; padding: 70px 20px; }
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-content .last-updated { color: var(--grey); font-size: 0.88rem; margin-bottom: 36px; }
.legal-content h2 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--navy); }
.legal-content p, .legal-content li { color: var(--grey); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 55px 0; }
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-menu.open { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    display: none;
    border-radius: var(--radius-sm);
    margin-top: 4px;
  }
  .dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu li a { color: rgba(255,255,255,0.8); padding: 10px 20px; }
  .dropdown-menu li a:hover { background: rgba(255,255,255,0.08); color: var(--amber); }
  .nav-cta { display: none; }
  .hero { padding: 110px 0 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-grid, .service-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
  .blog-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table th, .comparison-table td { padding: 12px 14px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  #backToTop { bottom: 20px; right: 20px; }
}

/* ─── Logo Image ────────────────────────────────── */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition);
  border-radius: 0;
}
.logo-img:hover { opacity: 0.88; }

/* ─── Favicon ───────────────────────────────────── */

/* ─── White Header Override ─────────────────────── */
.header {
  background: var(--white) !important;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 16px rgba(10,31,68,0.08);
}
.header.sticky {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(10,31,68,0.12);
}
.nav-link {
  color: var(--navy) !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue) !important;
  background: rgba(26,115,232,0.07) !important;
}
.hamburger span {
  background: var(--navy) !important;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) invert(1);
}

/* ═══ WHITE HEADER ═══════════════════════════════ */
.header {
  background: #ffffff !important;
  border-bottom: 2px solid #e8edf4;
  box-shadow: 0 2px 16px rgba(10,31,68,0.07);
}
.header.sticky {
  background: #ffffff !important;
  box-shadow: 0 2px 24px rgba(10,31,68,0.12);
}
.nav-link {
  color: #0a1f44 !important;
  font-weight: 500;
}
.nav-link:hover {
  color: #1a73e8 !important;
  background: rgba(26,115,232,0.07) !important;
}
.hamburger span {
  background: #0a1f44 !important;
}
.dropdown-menu {
  background: #ffffff !important;
}
.dropdown-menu a {
  color: #0a1f44 !important;
}
.dropdown-menu a:hover {
  color: #1a73e8 !important;
  background: rgba(26,115,232,0.07) !important;
}

/* ═══ FOOTER LOGO ════════════════════════════════ */
.footer-logo-img {
  height: 54px !important;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 0 !important;
  filter: brightness(0) invert(1);
}

/* ═══ MAP EMBED ══════════════════════════════════ */
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* ═══════════════════════════════════════════════════
   ELEGANT ANIMATED HEADER - FULL REDESIGN
═══════════════════════════════════════════════════ */

/* Top Bar */
.header-topbar {
  background: #0a1f44;
  padding: 7px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  transition: all 0.4s ease;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-topbar span {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-topbar span i {
  color: #f59e0b;
}
.topbar-social {
  display: flex;
  gap: 14px;
}
.topbar-social a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.topbar-social a:hover {
  color: #f59e0b;
}

/* Main Header */
.header {
  background: #ffffff !important;
  border-bottom: 1px solid #e8edf4;
  box-shadow: 0 2px 20px rgba(10,31,68,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Sticky header hides topbar */
.header.sticky .header-topbar {
  display: none;
}
.header.sticky {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(10,31,68,0.13);
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

/* Logo */
.logo-img {
  height: 54px !important;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 0 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.logo:hover .logo-img {
  transform: scale(1.04);
  opacity: 0.9;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: #0a1f44 !important;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: #1a73e8;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-link:hover {
  color: #1a73e8 !important;
  background: rgba(26,115,232,0.07) !important;
}
.nav-link.active {
  color: #1a73e8 !important;
  font-weight: 600;
}

/* Dropdown Icon animation */
.dropdown-icon {
  font-size: 0.7rem;
  margin-left: 3px;
  transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #ffffff !important;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(10,31,68,0.14);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e8edf4;
  z-index: 100;
  list-style: none;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #0a1f44 !important;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.dropdown-menu li a i {
  color: #1a73e8;
  width: 16px;
}
.dropdown-menu li a:hover {
  background: rgba(26,115,232,0.08) !important;
  color: #1a73e8 !important;
  padding-left: 20px;
}

/* CTA Button */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 50px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(26,115,232,0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.4) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0a1f44 !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══ RESPONSIVE MOBILE NAV ══════════════════════ */
@media (max-width: 992px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: -4px 0 30px rgba(10,31,68,0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8faff !important;
    border-radius: 8px;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 4px 0;
    margin-top: 4px;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .topbar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-img { height: 44px !important; }
  .header-topbar { display: none; }
}
