/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #001A42;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 40px;
  background: #00285F;
}

.header-logo img {
  height: 70px;
  width: auto;
}

.header-nav a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.header-nav a:hover {
  opacity: 0.7;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 40px;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-content .tagline {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Feature image band */
.feature-image {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  line-height: 0;
}

.feature-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 2px;
}

/* Section system */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-light,
.section-white {
  max-width: none;
  padding: 100px 40px;
}

.section-light { background: #E8EDF7; }
.section-white { background: #fff; }

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Intro */
.intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;
}

.intro p {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.6;
  color: #44546a;
}

/* Services — alternating photo + text card */
.service-row {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}

.service-photo {
  flex: 1 1 58%;
  min-width: 0;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-text {
  flex: 0 0 48%;
  background: #fff;
  padding: 40px 55px;
  box-shadow: 0 15px 45px rgba(0, 26, 66, 0.10);
  position: relative;
  z-index: 2;
}

.service-text.overlap-right { margin-right: -7%; }
.service-text.overlap-left { margin-left: -7%; }

.service-text h3 {
  color: #EAB24D;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.service-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}

/* What We Develop */
.develop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.develop-img {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
}

.develop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.develop-card:hover .develop-img img {
  transform: scale(1.05);
}

.develop-card h3 {
  margin-top: 18px;
  color: #001A42;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

/* Past Projects Slideshow */
.section-projects {
  padding: 100px 0 120px;
  background: #E8EDF7;
}

.section-projects .section-title {
  padding: 0 40px;
}

.projects-slideshow {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}

.proj-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.proj-slide.active {
  opacity: 1;
}

.proj-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  background: rgba(0, 26, 66, 0.6);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.proj-arrow:hover {
  background: #EAB24D;
  color: #001A42;
}

.proj-prev { left: 20px; }
.proj-next { right: 20px; }

/* Contact Section */
.contact {
  position: relative;
  text-align: center;
  padding: 120px 40px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-logo {
  height: 76px;
  width: auto;
  margin: 36px auto 0;
}

.contact h2 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.contact-info {
  font-size: 16px;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 30px;
}

.contact-btn {
  display: inline-block;
  padding: 14px 40px;
  background: #EAB24D;
  border: 1px solid #EAB24D;
  color: #001A42;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.contact-btn:hover {
  background: transparent;
  color: #EAB24D;
}

/* Footer */
.footer {
  text-align: center;
  padding: 50px 40px;
  background: #00285F;
}

.footer-logo img {
  height: 40px;
  margin: 0 auto 20px;
}

.footer p {
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
}

.footer a {
  color: #888;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #00285F;
    padding: 20px;
    text-align: center;
  }

  .header-nav.open {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .develop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-row,
  .service-row:nth-child(even) {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .service-text.overlap-right,
  .service-text.overlap-left {
    margin: -30px 20px 0;
    padding: 35px 30px;
  }

  .projects-slideshow {
    width: 100%;
    height: 320px;
  }

  .service-card {
    aspect-ratio: 4 / 3;
  }

  .section,
  .section-light,
  .section-white {
    padding: 60px 20px;
  }

  .intro {
    padding: 60px 20px;
  }

  .contact {
    padding: 80px 20px;
    background-attachment: scroll;
  }

  .section-title {
    font-size: 30px;
  }
}
