:root {
  --primary: #071b3d;
  --secondary: #0f2d5b;
  --accent: #ff7a00;
  --accent-soft: rgba(255, 122, 0, 0.16);
  --text: #f4f7fb;
  --text-dark: #12233c;
  --muted: #9fb0c8;
  --surface: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  --radius: 22px;
  --container: min(1120px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #06132a 0%, #0a1d3c 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: white;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9a2b);
  color: white;
  box-shadow: 0 14px 34px rgba(255, 122, 0, 0.24);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(7, 27, 61, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.08em;
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  min-height: 100vh;
  position: relative;
}

.hero-slider,
.swiper-slide {
  min-height: 100vh;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.slide-one {
  background-image: linear-gradient(90deg, rgba(7, 27, 61, 0.84) 0%, rgba(7, 27, 61, 0.38) 100%), url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1800&q=80');
}

.slide-two {
  background-image: linear-gradient(90deg, rgba(7, 27, 61, 0.84) 0%, rgba(7, 27, 61, 0.38) 100%), url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1800&q=80');
}

.slide-three {
  background-image: linear-gradient(90deg, rgba(7, 27, 61, 0.84) 0%, rgba(7, 27, 61, 0.38) 100%), url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=1800&q=80');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 61, 0.24) 0%, rgba(7, 27, 61, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6rem;
}

.hero-content .eyebrow {
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-card,
.service-card,
.counter-card,
.gallery-item,
.client-logo,
.why-card,
.testimonial-card,
.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.about-card {
  padding: 2rem;
}

.about-card p {
  margin-bottom: 1rem;
  color: #e6edf8;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.about-list i {
  color: var(--accent);
  margin-right: 0.5rem;
}

.about-highlights .pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffcb8b;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.service-grid,
.why-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card {
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.35);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.18), rgba(255, 122, 0, 0.05));
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.highlights {
  padding-top: 0;
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.counter-card {
  padding: 2rem 1.3rem;
  text-align: center;
}

.counter-card h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 27, 61, 0.95) 100%);
  color: white;
}

.gallery-overlay h3 {
  margin-bottom: 0.3rem;
}

/* Thumbnails for multi-image gallery items */
.gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 6;
}
.gallery-thumb {
  width: 44px;
  height: 44px;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  border-color: rgba(255,122,0,0.45);
}
.gallery-thumb.active {
  outline: 2px solid var(--accent);
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 760px) {
  .gallery-thumbs { right: 0.5rem; top: 0.5rem; gap: 0.35rem; }
  .gallery-thumb { width: 36px; height: 36px; }
}

.gallery-overlay p {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.client-slider {
  overflow: hidden;
  padding: 1rem 0 0.4rem;
}

.client-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollClients 24s linear infinite;
}

.client-logo {
  min-width: 160px;
  text-align: center;
  padding: 1rem 1.1rem;
  color: white;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.why-card {
  padding: 1.4rem;
}

.why-card i {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.testimonial-card {
  padding: 1.6rem;
}

.testimonial-card p {
  color: #e7f0ff;
  margin-bottom: 1rem;
}

.testimonial-person {
  display: flex;
  flex-direction: column;
}

.testimonial-person span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-card {
  padding: 1.8rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.contact-list i {
  color: var(--accent);
  width: 20px;
  margin-right: 0.6rem;
}

.business-hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #aeb8c8;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.map-card {
  margin-top: 1.4rem;
  padding: 1.2rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 122, 0, 0.08));
  border-radius: 18px;
  color: white;
}

.map-placeholder i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer {
  padding: 4rem 0 0;
  background: rgba(3, 12, 28, 0.95);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h3 {
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: min(100%, 900px);
  max-height: 75vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lightbox-close {
  top: 1.3rem;
  right: 1.3rem;
}

.lightbox-prev {
  left: 1.3rem;
}

.lightbox-next {
  right: 1.3rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 27, 61, 0.72);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: white;
  font-size: 0.95rem;
}

.back-to-top {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 12px 25px rgba(255, 122, 0, 0.25);
}

.back-to-top.active {
  display: grid;
}

@keyframes scrollClients {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .gallery-grid,
  .counters,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(7, 27, 61, 0.96);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-actions,
  .form-row,
  .about-grid,
  .contact-grid,
  .service-grid,
  .why-grid,
  .testimonial-grid,
  .gallery-grid,
  .counters,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }

  .lightbox {
    padding: 1rem;
  }
}
