/* ============================================================
   GLOBAL
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=REM:ital,wght@0,100..900;1,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Syne:wght@400..800&display=swap');

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

html, body {
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #212529;
  overflow-x: hidden;
}


/* ============================================================
   HEADER
   ============================================================ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: linear-gradient(90deg, #390442, #013466, #010621);
  background-size: 300% 300%;
  animation: gradientScroll 10s ease infinite;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
}

@keyframes gradientScroll {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Logo + title group */
.main-header .left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sv-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.main-header .left h1 {
  font-size: 1.6rem;
  line-height: 1.2;
}

.main-header .left p {
  font-size: 0.9rem;
  color: #f1f1f1;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  margin-left: 20px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #a9d4ff;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

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

/* Animated X when open */
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  background: linear-gradient(90deg, #390442, #013466, #010621);
  background-size: 300% 300%;
  animation: gradientScroll 10s ease infinite;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: #fff;
  padding: 40px 20px 40px 40px;
  overflow: hidden;   /* hero itself clips the rotated columns */
  transition: opacity 0.1s ease;
}

.hero-text {
  position: relative;
  z-index: 2;          /* always above the scroll columns */
  padding: 0 1rem;
  color: #fff;
  max-width: 42%;      /* comfortably fits in the left portion */
}

.sv-title {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  margin-bottom: 8px;
}

.sv-tagline {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #eee;
  line-height: 1.4;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
  margin-bottom: 12px;
}

.sv-subtitle {
  font-family: 'Space Mono', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* ---------- Hero scrolling image strip ----------
   Same approach as the original design:
   · .hero has overflow:hidden — that IS the clip boundary
   · .hero-scroll-wrapper is absolutely positioned to the right,
     rotated ~30°, tall & wide enough to fill from top to bottom
   · The hero text sits at z-index:2 so it's always on top
   ------------------------------------------------------------ */

/* The hero already has overflow:hidden — it clips everything */
.hero-clip {
  /* Just a thin passthrough wrapper so HTML stays clean */
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Rotated column stage — anchored to right side of hero */
.hero-scroll-wrapper {
  position: absolute;
  top: -40%;          /* extend above so rotation fills the top edge */
  right: -25%;         /* hug the right edge */
  left: auto;
  width: 60%;         /* narrower so it stays on the right half */
  height: 240%;       /* tall enough for the rotation to cover bottom too */
  transform: rotate(30deg);
  transform-origin: top right;
}

/* Flex row of the three scroll columns */
.hero-scroll-images {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 10px;
}

.scroll-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation-duration: 30s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.scroll-column img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
}

.scroll-up   { animation-name: scrollUp; }
.scroll-down { animation-name: scrollDown; }

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}


/* ============================================================
   OUR SERVICES
   ============================================================ */
.services-section {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  background: transparent;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: auto;
}

.services-grid a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-box {
  background: #fff;
  padding: 20px 16px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 1px 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  background-color: #e3fbfd;
}

.service-box img {
  max-width: 110px;
  height: auto;
  margin-bottom: 10px;
}

.service-box h4 {
  font-size: 1.3rem;
  color: #420202;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.service-box h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}


/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
  background-color: #1f1f1f;
  color: #f1f1f1;
  padding: 40px 20px 20px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 260px;
  min-width: 240px;
}

.footer-column h3,
.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: #a9d4ff;
}

.footer-address {
  position: relative;
}

.world-map {
  width: 120%;
  opacity: 0.15;
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.footer-address p {
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 20px;
  gap: 8px;
}

.newsletter-form img {
  width: 24px;
  height: auto;
}

.newsletter-form input[type="email"] {
  padding: 8px 10px;
  flex: 1;
  min-width: 140px;
  border: 1px solid #555;
  background: transparent;
  color: #fff;
  outline: none;
  border-radius: 2px;
}

.newsletter-form input[type="email"]::placeholder {
  color: #aaa;
}

.newsletter-form button {
  padding: 8px 16px;
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  font-weight: bold;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background-color: #218838;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.social-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.social-icons p {
  font-size: 0.8rem;
  color: #ddd;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #ccc;
}

.footer-bottom a {
  color: #aaa;
  text-decoration: underline;
  transition: color 0.2s;
}

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


/* ============================================================
   ANIMATIONS (fade-in on scroll)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay] {
  transition-delay: var(--delay, 0ms);
}


/* ============================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero-scroll-wrapper {
    width: 58%;
    right: -8%;
  }

  .hero-text {
    max-width: 48%;
  }

  .sv-title   { font-size: 2.4rem; }
  .sv-tagline { font-size: 1.6rem; }
  .sv-subtitle { font-size: 1.1rem; }

  .services-grid { gap: 24px; }
}


/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---- Header ---- */
  .main-header {
    padding: 10px 16px;
    flex-wrap: nowrap;
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .main-header .left h1 {
    font-size: 1.2rem;
  }

  .main-header .left p {
    font-size: 0.75rem;
  }

  .sv-logo {
    height: 32px;
  }

  /* Show hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Drop-down nav on mobile */
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #390442 0%, #013466 60%, #010621 100%);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    z-index: 998;
  }

  .nav-menu.open {
    max-height: 300px;
    padding: 10px 0;
  }

  .nav-menu a {
    margin: 0;
    padding: 12px 24px;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  /* ---- Hero — hide scrolling image columns ---- */
  .hero-clip {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 60vw;
    padding: 40px 20px 50px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .sv-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }

  .sv-tagline {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .sv-subtitle {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* ---- Services ---- */
  .services-section {
    padding: 40px 14px;
  }

  .section-heading {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 480px;
  }

  .service-box {
    padding: 20px 14px;
    border-radius: 10px;
  }

  .service-box img {
    max-width: 90px;
  }

  .service-box h4 {
    font-size: 1.1rem;
  }

  .service-box h3 {
    font-size: 0.9rem;
  }

  .service-box p {
    font-size: 0.85rem;
  }

  /* ---- Footer ---- */
  .main-footer {
    padding: 32px 16px 16px;
  }

  .footer-container {
    flex-direction: column;
    gap: 28px;
  }

  .footer-column {
    min-width: unset;
    width: 100%;
  }

  .world-map {
    display: none; /* avoid overlapping on small screens */
  }

  .newsletter-form {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
    flex: 1 1 160px;
  }
}


/* ============================================================
   RESPONSIVE — SMALL PHONES  (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  .sv-title   { font-size: 1.8rem; }
  .sv-tagline { font-size: 1.1rem; }
  .sv-subtitle { font-size: 0.9rem; }

  .main-header .left h1 { font-size: 1rem; }
  .main-header .left p  { font-size: 0.68rem; }

  .service-box h4 { font-size: 1rem; }
}
