:root {
  --orange: #F16E22;
  --orange-dark: #d85e18;
  --navy: #151B31;
  --navy-light: #1e2642;
  --grey-bg: #F7F7F7;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --radius: 5px;
  --shadow: 0 10px 40px rgba(21, 27, 49, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 90px 0;
}

.bg-grey {
  background: var(--grey-bg);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.text-orange {
  color: var(--orange);
}

.section-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--navy);
}

.bg-navy .section-title {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-light);
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 10px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar span strong {
  color: var(--orange);
}

.top-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-social a {
  color: var(--white);
  opacity: 0.85;
}

.top-social a:hover {
  color: var(--orange);
  opacity: 1;
}

.top-bar .btn-sm {
  padding: 8px 18px;
  font-size: 0.8rem;
}

/* Header */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 27, 49, 0.88) 0%, rgba(21, 27, 49, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 60px 0;
}

.hero-text {
  max-width: 620px;
  color: var(--white);
}

.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero-text p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  background: var(--orange);
  border-color: var(--orange);
}

/* Search bar */
.search-float {
  margin-top: -50px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
}

.search-box {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.field select,
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--orange);
}

.field .error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

.field.invalid .error-msg {
  display: block;
}

.field.invalid select,
.field.invalid input {
  border-color: #dc2626;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-list {
  margin-top: 24px;
}

.about-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.about-list .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(241, 110, 34, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: rgba(241, 110, 34, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.read-more {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Accordion + video */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-head::after {
  content: "+";
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 400;
}

.accordion-item.open .accordion-head::after {
  content: "−";
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-body {
  max-height: 280px;
}

.accordion-body p {
  padding-bottom: 18px;
  color: var(--text-muted);
  margin: 0;
}

.video-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(241, 110, 34, 0.45);
}

/* Stats */
.stats-bar {
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Why us overlap */
.why-wrap {
  position: relative;
  padding: 100px 0;
}

.why-box {
  background: var(--white);
  padding: 50px 45px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.why-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}

.why-features li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.why-features .check {
  color: var(--orange);
  font-weight: 700;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 27, 49, 0.9), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
}

.project-overlay h3 {
  margin: 0;
  font-size: 1.15rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border-radius: 8px;
  padding: 36px 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  border-top: 4px solid transparent;
}

.price-card.featured {
  border-top-color: var(--orange);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}

.price-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.price-card .amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--orange);
  margin: 16px 0;
}

.price-card .amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-features {
  text-align: left;
  margin: 24px 0 28px;
}

.price-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  background: var(--navy-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-info {
  padding: 20px 16px;
}

.team-info h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.team-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--orange);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.team-social a:hover {
  background: var(--orange);
}

/* Testimonials */
.testimonial-slider {
  max-width: 780px;
  margin: 40px auto 0;
  text-align: center;
}

.testimonial-item {
  display: none;
  padding: 40px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-item.active {
  display: block;
}

.testimonial-item .quote {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-item .author {
  font-weight: 700;
  color: var(--navy);
}

.stars {
  color: var(--orange);
  margin-bottom: 16px;
}

/* Page header */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 27, 49, 0.82);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: var(--orange);
}

/* Forms */
.form-section {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: #dc2626;
}

.form-group .error-msg {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 4px;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 2px 0 0;
  accent-color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group.invalid label {
  color: #dc2626;
}

.form-success {
  display: none;
  padding: 24px;
  background: rgba(241, 110, 34, 0.1);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  margin-top: 20px;
}

.form-success.show {
  display: block;
}

/* Legal content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-main {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-main .logo-footer {
  height: 40px;
  margin-bottom: 16px;
}

.footer-main h4 {
  color: var(--white);
  margin: 0 0 20px;
  font-size: 1.1rem;
}

.footer-main p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.newsletter-bar {
  background: var(--navy-light);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.newsletter-inner h4 {
  margin: 0;
  color: var(--white);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--orange);
}

.text-center {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-intro p {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .why-img {
    position: relative;
    width: 100%;
    transform: none;
    margin-top: 30px;
  }

  .why-box {
    max-width: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 16px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .stats-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: none;
    width: 100%;
  }
}