
:root {
  --color-bg: #0b2540;
  --color-bg-alt: #e9e4d8;
  --color-surface: #ffffff;
  --color-primary: #2f5d50;
  --color-primary-soft: #3f7a68;
  --color-accent: #f4b63a;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #d1d5db;

  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.25);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.18);

  --container-width: 1120px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: #f3f4f6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 64, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  height: 56px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5e7eb;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.18s ease, transform 0.12s ease;
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.18);
  transform: translateY(-1px);
}

.nav-link-outline {
  border-color: rgba(148, 163, 184, 0.6);
}

/* MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Full-screen overlay menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 40;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
}

/* HERO */
.hero {
  background: radial-gradient(circle at top left, #1f2937 0, #0b2540 45%, #020617 100%);
  color: #f9fafb;
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 0.75rem;
}

.hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: #e5e7eb;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.hero-highlights span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.35);
}

.btn-primary:hover {
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.7);
}

/* HERO CARD */
.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937 0, #020617 70%);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
  max-width: 360px;
  width: 100%;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-card-tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.18);
  color: #a5f3fc;
  border: 1px solid rgba(34, 211, 238, 0.4);
}

.hero-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-card-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: flex-start;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.35rem;
}

.dot-green { background: #22c55e; }
.dot-blue { background: #38bdf8; }
.dot-gold { background: #facc15; }

.hero-card-label {
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-card-text {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* SECTIONS */
.section {
  padding: 3rem 0;
  background: #f9fafb;
}

.section-alt {
  padding: 3rem 0;
  background: var(--color-bg-alt);
}

.section-header h2,
.page-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
}

.section-intro {
  margin: 0;
  max-width: 40rem;
  color: var(--color-muted);
}

/* WHY CHOOSE US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.why-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.2rem 1.3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.service-list li::before {
  content: "• ";
  color: var(--color-primary);
}

/* CONTACT FORM */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  margin: 0 0 0.75rem;
}

.contact-form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.label-text {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(47, 93, 80, 0.35);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-status--success { color: #15803d; }
.form-status--error { color: #b91c1c; }

/* FOOTER */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #0b1120;
  color: #9ca3af;
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  margin: 0 0 0.15rem;
  font-weight: 600;
  color: #e5e7eb;
}

.footer-text {
  margin: 0;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image {
    justify-content: flex-start;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .logo-text {
    font-size: 1.1rem;
  }

  .hero {
    padding: 2.5rem 0 2.25rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .why-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Validation: subtle red border for invalid fields */
input:invalid,
textarea:invalid {
  border-color: #b91c1c;
}
/* -------------------------------------------------------
   TOAST NOTIFICATIONS (Dashboard-wide)
------------------------------------------------------- */
.toast {
  background: #222;
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-info {
  background: #2563eb;
}

.toast-success {
  background: #16a34a;
}

.toast-error {
  background: #dc2626;
}

.toast-hide {
  opacity: 0;
  transform: translateY(6px);
}
