/* Shared styling for the Highways International static website */
:root { color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; color: #102A43; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { box-shadow: 0 3px 18px rgba(16,42,67,.035); }
.brand-mark { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; background: #102A43; color: #F0A202; font-weight: 800; font-size: 1.55rem; transform: skew(-7deg); border-radius: .35rem; }
.brand-mark span { transform: skew(7deg); }
.brand-mark-footer { background: #F0A202; color: #102A43; }
.brand-logo-img { height: 2.75rem; width: auto; max-width: 140px; object-fit: contain; display: block; transition: transform .2s ease; }
.brand-logo-img:hover { transform: scale(1.03); }
.brand-logo-footer { height: 2.4rem; width: auto; max-width: 130px; object-fit: contain; display: block; }
.brand-logo-card { display: inline-flex; align-items: center; justify-content: center; background: #ffffff; padding: 0.35rem 0.6rem; border-radius: 0.55rem; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { position: relative; padding: .45rem 0; font-size: .9rem; font-weight: 600; color: #425466; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: #1D5D91; }
.nav-link.active::after { content: ""; position: absolute; bottom: -.55rem; left: 0; right: 0; height: 2px; background: #F0A202; }
.btn-primary, .btn-amber, .btn-outline-light { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3rem; padding: .85rem 1.25rem; border-radius: .45rem; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn-primary { color: white; background: #102A43; }
.btn-primary:hover { background: #1D5D91; transform: translateY(-1px); }
.btn-amber { color: #102A43; background: #F0A202; }
.btn-amber:hover { background: #ffc13d; transform: translateY(-1px); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.6); color: white; background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: white; color: #102A43; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .45rem .85rem; border-radius: .45rem; font-size: .85rem; font-weight: 700; color: #102A43; background: #f1f5f9; border: 1px solid #cbd5e1; text-decoration: none; transition: all .2s ease; }
.nav-phone:hover { background: #102A43; color: white; border-color: #102A43; }
.nav-phone svg { width: .95rem; height: .95rem; color: #F0A202; }
.hero-section { background: #102A43; }
.hero-image { z-index: -2; object-position: center 55%; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(8,27,45,.94) 0%, rgba(8,27,45,.83) 47%, rgba(8,27,45,.48) 100%); }
.hero-bottom-rule { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg,#F0A202 0 24%,#1D5D91 24% 100%); }
.hero-note { align-self: end; margin-bottom: 2rem; padding: 2rem; border: 1px solid rgba(255,255,255,.2); border-radius: .9rem; background: rgba(16,42,67,.55); backdrop-filter: blur(12px); }
.section-space { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #1D5D91; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 1.6rem; height: 2px; background: #F0A202; }
.section-title { margin-top: .8rem; color: #102A43; font-size: clamp(2rem,4vw,3.15rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
.image-frame { height: 420px; overflow: hidden; border-radius: .75rem; background: #dbe5eb; }
.image-frame img { transition: transform .6s ease; }
.image-frame:hover img { transform: scale(1.035); }
.experience-card { position: absolute; right: -.5rem; bottom: 1.5rem; max-width: 205px; padding: 1.35rem; border-radius: .65rem; background: #102A43; box-shadow: 0 16px 35px rgba(16,42,67,.2); }
.text-link { align-items: center; gap: .65rem; color: #1D5D91; font-weight: 700; font-size: .92rem; }
.text-link span, .service-card a span { transition: transform .2s ease; }
.text-link:hover span, .service-card a:hover span { transform: translateX(4px); }
.service-card { position: relative; padding: 1.75rem; border: 1px solid #e2e8ee; border-radius: .7rem; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #c6d8e7; box-shadow: 0 16px 40px rgba(16,42,67,.08); }
.service-icon { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; margin-bottom: 1.25rem; border-radius: .65rem; background: #eaf2f8; color: #1D5D91; }
.service-icon svg { width: 1.7rem; height: 1.7rem; }
.service-card h3 { color: #102A43; font-size: 1.1rem; line-height: 1.45; font-weight: 750; }
.service-card p { margin-top: .65rem; min-height: 3.4rem; color: #607181; font-size: .9rem; line-height: 1.75; }
.service-card a { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.15rem; color: #1D5D91; font-size: .88rem; font-weight: 700; }
.service-card-digital { display: flex; flex-direction: column; gap: 1.8rem; overflow: hidden; border-color: #102A43; background: #102A43; color: white; }
.service-card-digital h3 { color: white; font-size: 1.6rem; }
.service-card-digital p { max-width: 650px; min-height: 0; color: #c9d5df; }
.service-card-digital a { color: #F0A202; }
.digital-art { position: relative; display: grid; min-height: 150px; place-items: center; overflow: hidden; border-radius: .55rem; background: linear-gradient(135deg,#173f60,#102a43); color: #F0A202; }
.digital-art svg { position: relative; z-index: 2; width: 4.3rem; height: 4.3rem; }
.digital-node { position: absolute; width: 12px; height: 12px; border: 2px solid #F0A202; border-radius: 50%; background: #102A43; }
.node-one { left: 22%; top: 28%; }.node-two { right: 20%; top: 24%; }.node-three { right: 27%; bottom: 20%; }
.digital-line { position: absolute; height: 1px; background: rgba(240,162,2,.5); transform-origin: left; }
.line-one { left: 24%; top: 34%; width: 54%; transform: rotate(-5deg); }.line-two { left: 24%; top: 34%; width: 54%; transform: rotate(25deg); }
.digital-label { color: #F0A202; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.value-item { border-top: 1px solid #dce5eb; padding-top: 1.25rem; }
.value-number { color: #1D5D91; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.value-item h3 { margin-top: .7rem; color: #102A43; font-size: 1.15rem; font-weight: 750; }
.value-item p { margin-top: .5rem; color: #607181; font-size: .92rem; line-height: 1.8; }
.mission-section { background: #102A43; }
.mission-pattern { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(30deg, transparent 49%, #fff 50%, transparent 51%), linear-gradient(150deg, transparent 49%, #fff 50%, transparent 51%); background-size: 70px 120px; mask-image: linear-gradient(90deg,transparent,black 45%,black); }
.eyebrow-light { color: #F0A202; }
.office-card { padding: 1.75rem; border: 1px solid #e2e8ee; border-radius: .7rem; background: white; }
.office-pin { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .55rem; background: #eaf2f8; color: #1D5D91; font-size: 1.7rem; }
.office-type { margin-top: 1.3rem; color: #1D5D91; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.office-card h3 { margin-top: .3rem; color: #102A43; font-size: 1.5rem; font-weight: 800; }
.office-card p:not(.office-type) { margin-top: .7rem; min-height: 3.5rem; color: #607181; font-size: .9rem; line-height: 1.7; }
.office-card a { display: inline-block; margin-top: 1rem; color: #1D5D91; font-weight: 700; }
.cta-wrap { background: #173f60; }
.site-footer { background: #0b2033; }
.footer-heading { margin-bottom: 1.1rem; color: white; font-size: .9rem; font-weight: 750; }
.footer-links { display: grid; gap: .7rem; color: #cbd5df; font-size: .9rem; }
.footer-links a:hover, .footer-contact:hover { color: #F0A202; }
.footer-contact { display: block; margin-top: .6rem; color: #d7e1e8; font-size: .9rem; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1024px) { .service-card-digital { flex-direction: row; align-items: center; padding: 1.5rem; } .digital-art { width: 32%; min-height: 190px; flex-shrink: 0; } .digital-copy { padding: .5rem 1.2rem .5rem .25rem; } }
@media (max-width: 767px) {
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: .65rem 1.25rem 1.25rem; border-bottom: 1px solid #e2e8ee; background: white; box-shadow: 0 18px 28px rgba(16,42,67,.09); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .nav-link { padding: .85rem .25rem; }
  .nav-link.active::after { bottom: .45rem; right: auto; width: 1.6rem; }
  .nav-phone { margin-top: .65rem; justify-content: center; padding: .65rem 1rem; }
  .nav-cta { margin-top: .65rem; }
  .section-space { padding-top: 4rem; padding-bottom: 4rem; }
  .image-frame { height: 330px; }
  .experience-card { right: -.15rem; bottom: 1rem; max-width: 175px; }
  .hero-section .hero-image { object-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg,rgba(8,27,45,.92),rgba(8,27,45,.68)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* About page */
.page-hero { background: #102A43; }
.page-hero > img { object-position: center 52%; }
.approach-card { padding: 1.6rem; border: 1px solid #e1e8ee; border-radius: .7rem; background: white; }
.approach-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .6rem; background: #eaf2f8; color: #1D5D91; }
.approach-icon svg { width: 1.6rem; height: 1.6rem; }
.approach-card h3 { margin-top: 1.2rem; color: #102A43; font-size: 1.05rem; font-weight: 800; }
.approach-card p { margin-top: .55rem; color: #607181; font-size: .9rem; line-height: 1.75; }
.team-image-wrap { position: relative; min-height: 420px; overflow: hidden; border-radius: .75rem; background: #dbe5eb; }
.team-image-wrap::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(8,27,45,.9)); }
.team-image-caption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 2rem; }
.network-strip { background: #173f60; }
@media (max-width: 767px) { .team-image-wrap { min-height: 340px; } .team-image-caption { padding: 1.35rem; } }

/* Form & interactive components */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  color: #102A43;
  background-color: #f8fafc;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  outline: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #1D5D91;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 93, 145, 0.15);
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #102A43;
  margin-bottom: 0.45rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #eaf2f8;
  color: #1D5D91;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Animated WhatsApp Components */
@keyframes whatsapp-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes whatsapp-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

@keyframes whatsapp-wave {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-10deg); }
  60% { transform: rotate(12deg); }
  80% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

.whatsapp-anim-icon {
  display: inline-block;
  animation: whatsapp-wave 2.2s infinite ease-in-out;
  transform-origin: 70% 70%;
}

.whatsapp-pulse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #25D366;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 0.65rem;
  text-decoration: none;
  animation: whatsapp-pulse-ring 2.4s infinite;
  transition: all 0.25s ease;
}

.whatsapp-pulse-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  animation: whatsapp-pulse-ring 2.4s infinite;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background-color: #20ba5a;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn .icon-wrap {
  animation: whatsapp-bounce 2s infinite ease-in-out;
  display: inline-flex;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }
}
