:root {
  --navy: #1e3a6e;
  --navy-dark: #0e1a2b;
  --navy-mid: #2b4c9b;
  --orange: #f58220;
  --slate: #8da2c0;
  --gray-text: #4a5568;
  --border-gray: #e2e8f0;
  --bg-light: #f4f6fa;
  --green: #10b981;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-text);
  background: #fff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}

.btn-block {
  width: 100%;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 16px;
  border: 1px solid var(--orange);
  border-radius: 20px;
  background: rgba(245, 130, 32, 0.08);
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 120px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-mark.small {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  white-space: nowrap;
}

.logo-text.small {
  font-size: 20px;
}

.logo-text span {
  font-weight: 400;
  color: var(--orange);
}

/* Nav links — inline on desktop, off-canvas panel on mobile */

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a {
  color: #fff;
  opacity: 0.85;
}

.nav-links a.active {
  color: var(--orange);
  opacity: 1;
}

.nav-close {
  display: none;
}

/* Hamburger button — hidden on desktop */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 780px;
  padding: 100px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 43, 0.75);
}

.hero-grid-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  width: 1200px;
  max-width: 92%;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 560px;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(245, 130, 32, 0.08);
}

.hero-badge img.dot {
  width: 8px;
  height: 8px;
}

.hero-badge p {
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  color: #fff;
}

.hero-title span {
  color: var(--orange);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Floating mockup card */

.floating-mockup {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 440px;
  max-width: 100%;
  padding: 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 130, 32, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px 0 rgba(245, 130, 32, 0.2);
}

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

.mockup-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--orange);
  display: block;
}

.mockup-header-left p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.mockup-live {
  font-size: 11px;
  color: var(--slate);
}

.mockup-stat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-stat-row p:first-child {
  font-size: 13px;
  color: var(--slate);
}

.mockup-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}

.mockup-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.mockup-bar-fill {
  width: 82%;
  height: 100%;
  background: var(--orange);
}

.mockup-mini-stats {
  display: flex;
  gap: 12px;
}

.mini-stat {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.mini-stat p:first-child {
  font-size: 11px;
  color: var(--slate);
  margin-bottom: 4px;
}

.mini-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.mini-stat-value.green { color: var(--green); }
.mini-stat-value.orange { color: var(--orange); }

/* ---------- Services ---------- */

.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 100px 120px;
  background: var(--bg-light);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  color: var(--navy);
}

.section-heading p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
}

.service-cards {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  box-shadow: 0 12px 12px rgba(15, 23, 42, 0.08);
}

.service-card.featured {
  border-color: var(--orange);
  padding: 36px;
  transform: translateY(-16px);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.service-icon img {
  width: 24px;
  height: 24px;
}

.service-icon.blue { background: rgba(59, 130, 246, 0.06); }
.service-icon.orange { background: rgba(245, 130, 32, 0.13); }
.service-icon.green { background: rgba(16, 185, 129, 0.06); }

.service-tag {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card.featured h3 {
  font-weight: 800;
  font-size: 24px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}

.service-card.featured p {
  font-size: 15px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.service-card.featured .service-link {
  font-size: 15px;
}

.service-link img {
  width: 14px;
  height: 14px;
}

/* Deployment lifecycle */

.how-we-work {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  width: 100%;
}

.how-we-work h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.lifecycle-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.lifecycle-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lifecycle-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 180px;
}

.lifecycle-step-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lifecycle-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.lifecycle-step-head p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.lifecycle-desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--slate);
}

.lifecycle-line {
  width: 40px;
  height: 1px;
}

/* ---------- About ---------- */

.about-section {
  display: flex;
  justify-content: center;
  padding: 100px 120px;
  background: #fff;
}

.about-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  max-width: 1200px;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 540px;
  max-width: 100%;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  color: var(--navy);
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
}

.about-mission-lead {
  color: var(--navy);
  font-size: 16px;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: rgba(245, 130, 32, 0.08);
}

.check-icon img {
  width: 12px;
  height: 12px;
}

.about-collage {
  position: relative;
  width: 520px;
  height: 440px;
  flex-shrink: 0;
}

.collage-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 440px;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
}

.collage-front {
  position: absolute;
  top: 120px;
  left: 120px;
  width: 360px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 16px 32px 0 rgba(30, 58, 110, 0.12);
}

.collage-badge {
  position: absolute;
  top: 240px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 16px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 12px rgba(245, 130, 32, 0.25);
}

.collage-badge-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
}

.collage-badge-label {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- Contact ---------- */

.contact-section {
  display: flex;
  justify-content: center;
  padding: 100px 120px;
  background: var(--navy);
}

.contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  max-width: 1200px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 500px;
  max-width: 100%;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.2;
  color: #fff;
  margin: 20px 0;
}

.contact-info > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--navy-mid);
}

.contact-icon img {
  width: 20px;
  height: 20px;
}

.contact-label {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 2px;
}

.contact-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-mid);
}

.social-icon img {
  width: 18px;
  height: 18px;
}

/* Contact form */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 540px;
  max-width: 100%;
  padding: 40px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 130, 32, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 16px 32px 0 rgba(245, 130, 32, 0.2);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
}

.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-field label {
  font-weight: 600;
  font-size: 13px;
  color: var(--slate);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0 16px;
  height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 130, 32, 0.3);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate);
}

.form-field select {
  appearance: none;
  background-image: url("assets/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

.form-field select option {
  background: var(--navy);
  color: #fff;
}

.form-field textarea {
  height: 100px;
  padding: 16px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy-dark);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  padding: 80px 20px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 800px;
  max-width: 100%;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate);
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
  .header { padding: 0 40px; }
  .services-section,
  .about-section,
  .contact-section { padding: 80px 40px; }
}

@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    width: min(320px, 80vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 32px 32px;
    background: var(--navy);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-grid-content {
    flex-direction: column;
    padding: 40px 0;
  }

  .hero-title { font-size: 44px; }

  .floating-mockup { width: 100%; }

  .service-cards { flex-direction: column; }
  .service-card.featured { transform: none; }

  .about-grid,
  .contact-grid {
    flex-direction: column;
  }

  .about-collage { width: 100%; }
  .contact-info,
  .contact-form { width: 100%; }

  .lifecycle-steps { justify-content: flex-start; }
  .lifecycle-step:last-child .lifecycle-step-content { width: auto; }
}

@media (max-width: 600px) {
  .header { padding: 0 20px; }
  .hero-title { font-size: 34px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .form-row { flex-direction: column; }
  .collage-front { left: 40px; width: 70%; height: 240px; }
  .collage-back { width: 100%; }
  .collage-badge { left: 10px; }
}

/* Toast styling */
.toastify.st-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.toastify.st-toast .toast-close {
  opacity: 0.8;
  padding: 0;
  font-size: 14px;
  flex-shrink: 0;
}

/* Mobile: full-width toast with even side margins */
@media (max-width: 600px) {
  .toastify.st-toast {
    left: 12px !important;
    right: 12px !important;
    width: auto;
    max-width: none;
    margin: 0;
    font-size: 14px;
    padding: 12px 14px;
  }
}
