/* ═══════════════════════════════════════════════════
   RESET & TOKENS
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:       #1a3e72;
  --cyan:       #00aeef;
  --dark:       #12213d;
  --gray-light: #f5f7fa;
  --text:       #333;
  --text-light: #666;
  --white:      #fff;
  --border:     #dde2ea;
  --header-h:   0px; /* updated by JS */
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: 100px; }

/* ═══════════════════════════════════════════════════
   STICKY HEADER WRAPPER
   announcement-bar + logo-bar + nav all travel together
═══════════════════════════════════════════════════ */
#siteHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

/* ── Announcement bar ── */
.announcement-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 16px;
  flex-wrap: wrap;
  text-align: center;
}
.announcement-bar .socials { display: flex; gap: 6px; align-items: center; }
.announcement-bar .socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  transition: background .2s;
}
.announcement-bar .socials a:hover { background: var(--cyan); }
.announcement-bar .phone {
  font-weight: 700; font-size: 13px; color: var(--blue); white-space: nowrap;
}
.announcement-bar .phone span { color: var(--cyan); }

/* ── Logo bar ── */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}
.top-bar .logo svg { width: 170px; height: auto; display: block; }

/* ── Nav wrapper ── */
.nav-wrapper { background: var(--blue); position: relative; }

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 46px;
  cursor: pointer;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav {
  display: none;
  flex-direction: column;
  background: var(--blue);
  border-top: 1px solid rgba(255,255,255,0.1);
}
nav.open { display: flex; }
nav a {
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 13px 20px;
  text-transform: uppercase; letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .2s, color .2s;
}
nav a:hover { background: rgba(255,255,255,0.10); color: var(--cyan); }

/* ═══════════════════════════════════════════════════
   HERO CAROUSEL
═══════════════════════════════════════════════════ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hero-slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero-slide {
  min-width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 40px 24px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,65,0.90) 45%, rgba(10,25,65,0.50) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 580px;
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 800;
  color: #fff; line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-content p {
  color: rgba(255,255,255,0.90);
  font-size: 13px; line-height: 1.7;
  margin-bottom: 20px;
  max-width: 480px;
}
.hero-btn {
  display: inline-block;
  background: var(--cyan); color: #fff;
  padding: 11px 26px;
  font-size: 13px; font-weight: 700;
  border-radius: 4px; border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.hero-btn:hover { background: #0099d4; }
.hero-btn:active { transform: scale(0.97); }

/* Carousel arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  color: #fff; border: 2px solid rgba(255,255,255,0.3);
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow:hover, .carousel-arrow:active { background: var(--cyan); border-color: var(--cyan); }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

/* Dots */
.hero-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 10px; padding: 11px 0;
  background: rgba(18,33,61,0.95);
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.30);
  cursor: pointer; padding: 0;
  transition: background .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}
.hero-dots button.active { background: var(--cyan); transform: scale(1.4); }

/* ═══════════════════════════════════════════════════
   SOLUTION BANNER
═══════════════════════════════════════════════════ */
.solution-banner {
  background: #fff; text-align: center;
  padding: 34px 16px 28px;
  border-bottom: 1px solid var(--border);
}
.solution-banner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 800;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px; line-height: 1.4;
}
.solution-banner h2 span { color: var(--cyan); }
.solution-banner .call {
  font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 20px;
}
.solution-banner hr { width: 52px; border: 2.5px solid var(--cyan); margin: 0 auto 20px; }
.specialties-label {
  font-size: 11px; font-weight: 700; color: #555;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.specialties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 8px;
  max-width: 340px; margin: 0 auto;
}
.specialty {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.2px;
}
.specialty .icon-box {
  width: 50px; height: 50px;
  border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--gray-light);
  transition: background .2s;
}
.specialty:hover .icon-box { background: #e8f4fc; }

/* ═══════════════════════════════════════════════════
   CTA STRIP  — text centred on all screen sizes
═══════════════════════════════════════════════════ */
.cta-strip {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 16px;
  text-align: center;
}
.cta-strip p {
  color: #fff;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-style: italic;
}
.cta-strip .cta-btn {
  background: var(--cyan); color: #fff;
  border: none; padding: 12px 32px;
  font-size: 13px; font-weight: 700;
  border-radius: 4px; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  transition: background .2s;
}
.cta-strip .cta-btn:hover { background: #0099d4; }

/* ═══════════════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════════════ */
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 10px;
}
.section-title .underline { width: 46px; height: 3px; background: var(--cyan); margin: 0 auto; }

/* ═══════════════════════════════════════════════════
   RECENT PROJECTS
═══════════════════════════════════════════════════ */
.recent-projects { padding: 44px 16px; background: #fff; }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 26px;
}
.projects-grid img {
  width: 100%; height: 130px;
  object-fit: cover; border-radius: 4px;
  transition: transform .3s;
}
.projects-grid img:hover { transform: scale(1.03); }
.gallery-btn-wrap { text-align: center; }
.gallery-btn {
  border: 2px solid var(--blue); color: var(--blue);
  background: transparent;
  padding: 10px 40px; font-size: 12px;
  font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; border-radius: 3px; cursor: pointer;
  transition: all .2s;
}
.gallery-btn:hover { background: var(--blue); color: #fff; }

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════ */
.why-us { background: var(--gray-light); padding: 44px 16px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-card { text-align: center; }
.why-card .wicon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 22px; color: #fff;
}
.why-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--blue); margin-bottom: 8px; text-transform: uppercase;
}
.why-card p { font-size: 15px; color: #4F4F4F; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-outer { padding: 44px 16px; background: #fff; }
.contact-section { display: flex; flex-direction: column; gap: 32px; }
.contact-form-side h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--blue); text-transform: uppercase;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.form-row { display: flex; gap: 10px; }
.contact-form-side input,
.contact-form-side textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 3px;
  padding: 10px 12px; font-size: 13px;
  margin-bottom: 10px; font-family: inherit;
  color: var(--text); outline: none;
  -webkit-appearance: none; transition: border-color .2s;
}
.contact-form-side input:focus,
.contact-form-side textarea:focus { border-color: var(--cyan); }
.contact-form-side textarea { resize: vertical; min-height: 85px; }
.recaptcha-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-light); margin-bottom: 14px;
}
.recaptcha-row input[type=checkbox] { width: auto; margin: 0; }
.submit-btn {
  background: var(--blue); color: #fff; border: none;
  padding: 11px 28px; font-size: 13px; font-weight: 700;
  border-radius: 3px; cursor: pointer; width: 100%;
  transition: background .2s;
}
.submit-btn:hover { background: #122c55; }

.contact-info-side h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--blue); margin-bottom: 14px; line-height: 1.4;
}
.contact-info-side p { font-size: 16px; color: #4F4F4F; }
.contact-info-side ul { list-style: none; margin: 10px 0 18px; }
.contact-info-side ul li {
  font-size: 16px; color: #4F4F4F;
  padding: 3px 0 3px 18px; position: relative;
}
.contact-info-side ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.est-btn {
  display: block; width: 100%;
  border: 2px solid var(--cyan); color: var(--cyan);
  background: transparent; padding: 11px 20px;
  font-size: 12px; font-weight: 700; border-radius: 3px;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px;
  transition: all .2s; text-align: center;
}
.est-btn:hover { background: var(--cyan); color: #fff; }

/* ═══════════════════════════════════════════════════
   WHO ARE WE
═══════════════════════════════════════════════════ */
.who-are-we { background: var(--gray-light); padding: 44px 16px; }
.who-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.who-col { text-align: center; }
.who-col .wicon { font-size: 34px; margin-bottom: 8px; }
.who-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--blue); text-transform: uppercase; margin-bottom: 8px;
}
.who-col p { font-size: 16px; color: #4F4F4F; }

.who-bottom { display: flex; flex-direction: column; gap: 20px; }
.who-bottom img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; }
.who-bottom-text p { font-size: 16px; color: #4F4F4F; }
.who-bottom-text ul { list-style: none; margin: 8px 0 16px; }
.who-bottom-text ul li {
  font-size: 16px; color: #4F4F4F;
  padding: 2px 0 2px 18px; position: relative;
}
.who-bottom-text ul li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 38px 16px 16px; }
.footer-grid { display: flex; flex-direction: column; gap: 28px; margin-bottom: 24px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 8px;
}
.footer-col p { font-size: 11px; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.footer-col a { font-size: 11px; color: rgba(255,255,255,0.65); display: block; padding: 2px 0; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 8px; margin-top: 10px; }
.footer-social a {
  width: 30px; height: 30px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; background: rgba(255,255,255,0.12); color: #fff;
  transition: background .2s;
}
.footer-social a:hover { background: black; }
.footer-share { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.footer-share a {
  padding: 5px 10px; border-radius: 3px;
  font-size: 10px; font-weight: 700; color: #fff;
}
.share-fb { background: #3b5998; }
.share-tw { background: #136394; }
.share-gg { background: #dd4b39; }
.share-yt { background: #c4302b; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px; text-align: center;
  font-size: 10px; color: rgba(255,255,255,0.4); line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 30px; right: 22px;
  z-index: 99999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cyan); color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  font-size: 24px; font-weight: 700; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s, background .2s;
  box-shadow: 0 4px 18px rgba(0,174,239,0.45);
  -webkit-tap-highlight-color: transparent;
}
#backToTop.visible {
  opacity: 1; visibility: visible;
  pointer-events: auto; transform: translateY(0);
}
#backToTop:hover { background: var(--blue); box-shadow: 0 4px 18px rgba(26,62,114,0.5); }
#backToTop:active { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
  #backToTop { transition: opacity .3s, visibility .3s; }
}

/* ═══════════════════════════════════════════════════
   TABLET — 600px +
═══════════════════════════════════════════════════ */
@media (min-width: 600px) {
  /* nav */
  .nav-toggle { display: none; }
  nav {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    border-top: none;
  }
  nav a { padding: 14px 22px; border-bottom: none; font-size: 12px; }

  /* hero */
  .hero-slide { min-height: 360px; padding: 56px 48px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 14px; }
  .carousel-arrow { width: 38px; height: 38px; }
  .carousel-arrow.prev { left: 14px; }
  .carousel-arrow.next { right: 14px; }

  /* solution */
  .solution-banner h2 { font-size: 20px; }
  .specialties { grid-template-columns: repeat(7, 1fr); max-width: 580px; }

  /* cta — keep text centred, put on one row */
  .cta-strip { flex-direction: row; justify-content: center; gap: 24px; padding: 20px 40px; }
  .cta-strip p { text-align: left; }

  /* projects */
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid img { height: 160px; }

  /* why */
  .why-grid { grid-template-columns: repeat(4, 1fr); }

  /* contact */
  .contact-outer { padding: 50px 40px; }
  .contact-section { flex-direction: row; gap: 40px; align-items: flex-start; }
  .contact-form-side { flex: 0 0 300px; }
  .submit-btn { width: auto; }
  .est-btn { width: auto; display: inline-block; }

  /* who */
  .who-top { flex-direction: row; justify-content: center; gap: 30px; }
  .who-col { max-width: 200px; }
  .who-bottom { flex-direction: row; align-items: flex-start; }
  .who-bottom img { width: 360px; height: 290px; flex-shrink: 0; }

  /* footer */
  .footer-grid { flex-direction: row; gap: 40px; }
  .footer-col:first-child { flex: 2; }
  .footer-col { flex: 1; }
}

/* ═══════════════════════════════════════════════════
   DESKTOP — 960px +
═══════════════════════════════════════════════════ */
@media (min-width: 960px) {
  .announcement-bar .phone { font-size: 14px; }

  nav a { padding: 15px 30px; font-size: 13px; letter-spacing: 1px; }

  /* hero wider */
  .hero-slide { min-height: 480px; padding: 90px 80px; }
  .hero-content { max-width: 600px; }
  .hero-content h1 { font-size: 46px; }
  .hero-content p { font-size: 16px; max-width: 520px; }
  .carousel-arrow { width: 44px; height: 44px; font-size: 22px; }
  .carousel-arrow.prev { left: 20px; }
  .carousel-arrow.next { right: 20px; }

  /* solution */
  .solution-banner { padding: 50px 24px 40px; }
  .solution-banner h2 { font-size: 28px; }
  .solution-banner .call { font-size: 24px; }
  .specialties { max-width: 700px; gap: 16px 12px; }
  .specialty .icon-box { width: 58px; height: 58px; font-size: 26px; }
  .specialty { font-size: 11px; }

  /* cta */
  .cta-strip { padding: 22px 80px; gap: 32px; }
  .cta-strip p { font-size: 18px; }

  /* section titles */
  .section-title h2 { font-size: 30px; }

  /* projects */
  .recent-projects { padding: 64px 80px; }
  .projects-grid { max-width: 980px; margin-left: auto; margin-right: auto; gap: 14px; }
  .projects-grid img { height: 190px; }

  /* why */
  .why-us { padding: 64px 80px; }
  .why-grid { max-width: 1060px; margin: 0 auto; gap: 30px; }
  .why-card h4 { font-size: 20px; }
  .why-card p { font-size: 16px; }

  /* contact */
  .contact-outer { padding: 64px 80px; }
  .contact-section { max-width: 1100px; margin: 0 auto; gap: 60px; }
  .contact-form-side { flex: 0 0 360px; }
  .contact-info-side h3 { font-size: 18px; }

  /* who */
  .who-are-we { padding: 64px 80px; }
  .who-top { gap: 60px; }
  .who-col { max-width: 230px; }
  .who-bottom { max-width: 1060px; margin: 0 auto; gap: 48px; }
  .who-bottom img { width: 400px; height: 310px; }

  /* footer */
  footer { padding: 54px 80px 22px; }
}

/* ═══════════════════════════════════════════════════
   LARGE DESKTOP — 1280px +
═══════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .hero-slide { min-height: 520px; padding: 100px 120px; }
  .hero-content h1 { font-size: 52px; }
}
