* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

/* smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== GLOBAL ===== */

body {
  background: #050505; /* black body */
  color: #f5f5f5;
  line-height: 1.6;
  padding-top: 80px; /* space for fixed navbar */
}

a {
  text-decoration: none;
}

/* ===== NAVBAR (purple gradient) ===== */

nav {
  background: linear-gradient(90deg, #5b21b6, #7c3aed, #a855f7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px 15px 45px; /* a bit more left padding to push logo right */
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

/* logo image styling */
.logo img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* nav links (desktop baseline) */

.nav-links,
#nav-links {
  display: flex;
  align-items: center;
}

nav a {
  color: #f8f4ff;
  margin-left: 20px;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

nav a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* ===== BURGER BUTTON (base) ===== */

.menu-toggle {
  display: none;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

#menu-toggle span {
  width: 24px;
  height: 3px;
  background: #ffffff;
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ===== HERO (2-column) ===== */

.hero {
  padding: 100px 40px 60px 40px;
}

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

.hero-text {
  flex: 2;
}

.hero-text h1 {
  font-size: 2.7rem;
  color: #e5d4ff;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 650px;
  opacity: 0.9;
}

/* bullets under hero text */

.hero-bullets {
  list-style: none;
  margin-top: 18px;
  padding-left: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #c39bff;
}

/* hero buttons */

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.hero-btn.primary {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.4);
}

.hero-btn.secondary {
  border: 1px solid #a855f7;
  color: #e5d4ff;
  background: transparent;
}

.hero-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* right-hand hero panel */

.hero-panel {
  flex: 1.2;
  background: #111111;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  padding: 20px 22px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  font-size: 0.95rem;
}

.hero-panel h3 {
  margin-bottom: 8px;
  color: #e5d4ff;
}

.hero-panel p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-panel ul {
  list-style: none;
  padding-left: 0;
}

.hero-panel li {
  margin-bottom: 6px;
  opacity: 0.9;
}

/* ===== SECTIONS ===== */

.section {
  padding: 40px 40px 60px 40px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: #c39bff;
  margin-bottom: 16px;
}

.section p {
  margin-bottom: 12px;
  opacity: 0.9;
}

/* ===== CARDS ===== */

.card {
  background: #111111;
  border: 1px solid #2a2a2a;
  padding: 20px;
  margin: 20px 0;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card h3 {
  margin-bottom: 8px;
  color: #e5d4ff;
}

/* hover effect for cards */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
  border-color: #7c3aed;
}

/* ===== FEATURED SERVICE ===== */

.featured-service {
  border: 1px solid #c4b5fd;
  box-shadow: 0 0 22px rgba(196, 181, 253, 0.25);
  margin-top: 10px;
}

.featured-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
  opacity: 0.9;
  margin-bottom: 6px;
}

.featured-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e5d4ff;
}

/* ===== STATS GRID ===== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0 10px 0;
}

.stat-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-text {
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ===== LEGAL DOCUMENTATION GRID ===== */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 25px;
}

.legal-card {
  background: #111111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.legal-card h3 {
  font-size: 1.05rem;
  color: #e5d4ff;
  margin-bottom: 12px;
}

.legal-card ul {
  list-style: none;
  padding-left: 0;
}

.legal-card li {
  margin-bottom: 6px;
  opacity: 0.9;
  font-size: 0.92rem;
}

/* ===== CONTACT FORM ===== */

form {
  margin-top: 10px;
}

.form-group {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
  opacity: 0.9;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: #050505;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 8px 10px;
  color: #f5f5f5;
  font-size: 0.95rem;
}

input::placeholder,
textarea::placeholder {
  color: #777777;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button.btn-primary {
  background: #7c3aed;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

button.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

#form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== FOOTER (purple gradient) ===== */

footer {
  background: linear-gradient(90deg, #5b21b6, #7c3aed, #a855f7);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  margin-top: 60px;
  color: #f8f4ff;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.6);
}

/* ===== FOOTER ===== */

.footer {
  background: linear-gradient(90deg, #5b21b6, #7c3aed, #a855f7);
  padding: 40px 30px 0 30px;
  color: #f8f4ff;
  margin-top: 60px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.6);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* footer logo */
.footer-logo {
  height: 30px;
  margin-bottom: 12px;
}

/* columns */
.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #ffffff;
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-section a {
  display: block;
  margin-bottom: 6px;
  color: #f5eaff;
  transition: opacity 0.2s ease;
}

.footer-section a:hover {
  opacity: 0.7;
}

/* social icons */
.social-icons img {
  height: 22px;
  margin-right: 10px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 0.6;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.9;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* responsive footer */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1000px) {
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HERO / LAYOUT responsive tweaks */
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }

  nav {
    padding: 12px 16px;
  }

  .hero {
    padding: 100px 20px 40px 20px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-panel {
    width: 100%;
  }

  .section {
    padding: 30px 20px 50px 20px;
  }
}

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

/* ------------------------------
   MOBILE NAV (Modern Slide-In)
------------------------------ */

@media (max-width: 820px) {
  #menu-toggle {
    display: flex;
    z-index: 1001;
  }

  nav {
    position: fixed;
  }

  /* The menu panel */
  #nav-links {
    position: fixed;
    top: 0;
    right: -260px; /* hidden off-screen */
    width: 260px;
    height: 100vh;
    background: #0a0a0f; /* deep black-purple */
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: right 0.28s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.6);
    z-index: 1000;
  }

  #nav-links a {
    font-size: 1.1rem;
    color: #e5e5e5;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-left: 0;
  }

  /* Slide-in active */
  #nav-links.open {
    right: 0;
  }

  /* Background overlay when menu open */
  #nav-overlay {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    z-index: 900;
  }

  #nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Burger animation */
  #menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  #menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
