/* ===========================
   KDWill Security Styles
   =========================== */

/* CSS variables for brand colors and typography */
:root {
  --color-navy: #0a2540;
  --color-charcoal: #1c1c1c;
  --color-green: #2ecc71;
  --color-light: #f8f9fa;
  --color-dark: #111;
  --color-white: #fff;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Global resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background: var(--color-white);
}

/* =======================
   Header and Navigation
   ======================= */

   /* Hide skip link until keyboard focus */
.skip-link {
  position: absolute;
  top: -40px;          /* keep it off screen */
  left: 0;
  background: #0a2540; /* matches your brand navy */
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.3s ease;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 10px;           /* bring it into view */
}
.site-header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Proof visuals images */
.proof-img {
  max-width: 300px;   /* adjust size as needed */
  height: auto;       /* keeps proportions */
  display: block;
  margin: 0 auto;     /* centers the image */
  border-radius: 8px; /* optional: rounded corners */
}

/* Logo */
.logo img {
  max-height: 120px;   /* keeps it a nice header size */
  width: auto;
  height: auto;
  display: block;
}

/* Logo hover animation */
.logo img {
  transition: all 0.3s ease; /* smooth effect */
}

.logo img:hover {
  transform: translateY(-4px) scale(1.05); /* lift + grow slightly */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 
              0 0 10px rgba(42, 201, 64, 0.3); /* subtle green glow */
  border-radius: 6px; /* optional: soft rounded edges when glowing */
}

/* =========================
   Base layout + components
   ========================= */

/* Generic container + sections */
.container { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.section { padding: 3rem 0; }
.bg-light { background: var(--color-light); }
.bg-dark  { background: var(--color-navy); color: var(--color-white); }
.text-center { text-align: center; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}


/* Base card */
.card {
  background: #fff;
  border: 2px solid transparent; /* invisible border by default */
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease; /* smooth animation */
}

/* Hover effect for ALL cards */
.card:hover {
  border: 2px solid #0a2540; /* navy border */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-6px) scale(1.02);
}

/* Pro card ONLY — just badge, no border override */
.card.popular .badge {
  background: #0a2540;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 5px;
}
.price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0;
}

.badge {
  background: #0a2540;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 5px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
/* Homepage tick lists only */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.homepage .tick-list li {
  margin: 0.5rem 0;
  line-height: 1.6;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #0b2d4f 0%, #0a2540 60%);
  color: #fff;
  padding: 4rem 0 3rem;
}
.hero h1 { font-size: 2rem; line-height: 1.2; margin-bottom: .5rem; }
.hero p  { opacity: .9; margin-bottom: 1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: .5rem;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--color-green);
  color: #111;
}
.btn-primary:hover { filter: brightness(.95); }
.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-buttons .btn {
  margin-right: 10px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0a2540; /* navy border always visible */
  color: #0a2540;            /* navy text always visible */
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: 0.2s ease;
}
.btn-outline:hover {
  background: #0a2540; /* navy background */
  color: #fff;         /* white text */
}
/* Cards grid */
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .grid-three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-three { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: .75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.card h3 { margin: .5rem 0 .25rem; font-size: 1.1rem; }

/* Footer */
.site-footer { background: #0a2540; color: #fff; padding: 1rem 0; }
.footer-inner {
  width: min(1100px, 100% - 2rem);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.footer-inner .social-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-inner .social-link img { display: block; }

/* Mobile tweaks for hero */
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2rem; }
  .hero h1 { font-size: 1.6rem; }
}

.site-nav a {
  color: var(--color-white);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-green);
}

/* Hamburger button */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* hidden by default */
  flex-direction: column;
  gap: 6px; /* space between bars */
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
}

/* Morph animation for hamburger -> X */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0; /* middle bar disappears */
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Smooth animation */
.nav-toggle span {
  transition: all 0.3s ease;
}

/* Mobile menu hidden by default */
#mobile-menu {
  display: none;   /* ✅ hidden by default */
  flex-direction: column;  /* stack links vertically */
  background: var(--color-navy);
  position: absolute;
  top: 60px;  /* just under the header */
  right: 0;
  left: 0;
  padding: 1rem;
  text-align: center;
}

#mobile-menu.show {
  display: flex;   /* ✅ only show when toggled */
}

/* =======================
   Responsive Styles
   ======================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block; /* show hamburger on mobile */
  }

  #mobile-menu {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    display: none;
  }

  #mobile-menu.show {
    display: flex;
  }

  #mobile-menu a {
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }
}

/* Responsive logo size */
@media (max-width: 768px) {
  .header-inner {
  padding: 0 1rem;
}
  .logo img {
    max-height: 48px; /* slightly smaller on mobile */
  }
}

/* Contact form fixes */
.contact-section form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Contact form button styling */
.contact-section button {
  width: 100%;       /* full width on mobile */
  max-width: 400px;  /* prevent stretching too far */
  margin: 1rem auto; /* center the button */
  display: block;    /* ensures centering works */
}

.contact-section input,
.contact-section textarea {
  flex: 1 1 100%;   /* Default: full width */
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Make Name + Email sit side by side only on larger screens */
@media (min-width: 768px) {
  .contact-section .row {
    display: flex;
    gap: 1rem;
  }
  .contact-section .row input {
    flex: 1;
  }
}

/* Hide desktop nav on mobile */
.desktop-nav {
  display: none;
}

/* Show desktop nav only on wider screens */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  /* Hide the hamburger + mobile nav on desktop */
  .nav-toggle,
  #mobile-menu {
    display: none;
  }
}

.card a.btn {
  position: relative;
  z-index: 5; /* put buttons above everything */
}

/* Button hover + click animation */
.btn {
  transition: all 0.2s ease-in-out;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05); /* grows slightly */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: scale(0.95); /* presses in */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Button hover + click animation */
.btn {
  position: relative;
  transition: all 0.25s ease-in-out;
  transform: scale(1);
  border: 2px solid transparent; /* start with invisible border */
}

.btn:hover {
  transform: scale(1.05); /* grows slightly */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border-color: #00c853; /* glowing green border (change to your color) */
}

.btn:active {
  transform: scale(0.95); /* presses in */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border-color: #009624; /* darker green when pressed */
}
/* =========================
   Contact Page FIX
   ========================= */
.contact-section {
  padding: 3rem 0;
}

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr; /* stack on mobile */
  }
}

/* Make both form + options look like cards */
.contact-section .contact-form,
.contact-section .contact-options {
  background: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Inputs + textarea */
.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Form row (name + email side by side) */
.contact-section .row {
  display: flex;
  gap: 1rem;
}

.contact-section .row input {
  flex: 1;
}

/* Button */
.contact-section button {
  background: var(--color-green);
  color: #111;
  font-weight: bold;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.contact-section button:hover {
  background: #27ae60;
  transform: scale(1.02);
}

/* Right side contact list */
.contact-section .contact-options ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-section .contact-options li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-section .contact-options a {
  color: var(--color-navy);
  font-weight: 500;
  text-decoration: none;
}

.contact-section .contact-options a:hover {
  text-decoration: underline;
}

/* Trust line at bottom */
.contact-section .trust-line {
  margin-top: 3rem;
  font-size: 0.95rem;
  color: #333;
  font-style: italic;
  text-align: center;
}
body {
  background: #f4f4f4 !important;
}

/* ==============================
   Contact Page Premium Upgrades
   ============================== */

/* Light background section */
.contact-section {
  background: #f8f9fa; /* subtle light grey */
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* Card hover lift */
.contact-section .contact-form,
.contact-section .contact-options {
  transition: all 0.3s ease;
}

.contact-section .contact-form:hover,
.contact-section .contact-options:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Contact links styling */
.contact-options a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.contact-options a:hover {
  color: var(--color-green);
  transform: translateX(4px); /* subtle slide on hover */
}

/* Trust line refinement */
.trust-line {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #444;
  font-style: italic;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px dashed #ddd;
}

/* Contact icons */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-list a {
  display: flex;              /* make icon + text align in one row */
  align-items: center;        /* vertically center the icon with text */
  gap: 10px;                  /* spacing between icon and text */
  color: #333;                /* text color */
  text-decoration: none;      /* remove underline */
  font-weight: 500;
  width: 100%;                /* make whole row clickable */
  padding: 6px 0;             /* add clickable padding */
}

.contact-list a:hover {
  color: var(--color-navy);   /* subtle brand hover */
  text-decoration: underline; /* optional hover effect */
}

/* Navy circle icons */
.icon-circle {
  background: var(--color-navy);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;   /* icon size */
  flex-shrink: 0;
  margin-right: 12px;
  transition: all 0.25s ease; /* smooth animation */
}
.contact-list li {
  border: 2px solid transparent; /* invisible border by default */
  border-radius: 8px; /* match your pricing box rounding */
  transition: border 0.25s ease;
  padding: 6px; /* keeps spacing consistent when border appears */
}

.contact-list li:hover {
  border: 2px solid black; /* show black border */
  box-shadow: 0 0 8px rgba(0,0,0,0.1); /* subtle shadow */
}
/* Custom black focus/active border for contact icons */
.contact-list a:focus,
.contact-list a:active,
.contact-list li:focus-within {
  outline: none;               /* remove default blue browser outline */
  box-shadow: 0 0 0 2px black; /* custom black border */
  border-radius: 8px;          /* smooth rounded edges */
  transition: box-shadow 0.25s ease; /* smooth animation */
}

/* Contact section card boxes */
.contact-form,
.contact-options {
  border: 2px solid transparent;     /* invisible border by default */
  border-radius: 8px;                /* match pricing page rounding */
  background: #fff;                  /* keep background white */
  padding: 1.5rem;                   /* consistent spacing */
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

/* Hover state for full cards (match pricing page) */
.contact-form:hover,
.contact-options:hover {
  border: 2px solid black;           /* black border on hover */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* same subtle shadow */
}
/* =========================
   Pricing Card Fix
   ========================= */
.pricing-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes button down */
  height: 100%; /* equal height for all cards */
}

.pricing-grid .card .btn {
  margin-top: auto; /* stick button to bottom */
}
.guarantee-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.guarantee-subheading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.guarantee-text {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  color: #ddd;
}
/* Footer email link fix */
.site-footer .email-link {
  color: #fff !important;     /* force white */
  text-decoration: none !important; /* kill underline */
  font-weight: 400;
}

.site-footer .email-link:hover {
  color: #00c853 !important;  /* green on hover */
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;     /* centers content inside */
  margin: 0 auto;        /* centers horizontally */
}
/* Privacy Policy paragraph email link */
main .email-link {
  color: inherit;             /* same color as surrounding text */
  text-decoration: none;      /* removes underline */
  font-weight: normal;        /* keeps it consistent */
}

main .email-link:hover {
  color: #00c853;             /* optional subtle hover highlight */
}