/* =========================================================================
   HEAVY PULL PUSH CABLES - Excel Controlinkage Inspired Design
   ========================================================================= */

/* Typography & Reset Specifics */
body {
  margin: 0;
  padding: 0;
  font-family: 'Sora', sans-serif;
  overflow-x: hidden;
}

/* HERO SECTION */
.h-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.h-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/pull_push/Banner-org.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: bgZoom 10s ease-out forwards;
}

.h-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 45, 94, 0.2);
  z-index: 1;
}

.h-hero-box {
  position: relative;
  z-index: 2;
  background-color: rgba(11, 45, 94, 0.85);
  /* Dawnsun Navy with opacity */
  padding: 5rem 4rem;
  width: 50%;
  max-width: 650px;
  color: #fff;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.h-hero-box h1 {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
}

.h-btn {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

.h-btn:hover {
  color: var(--orange, #C9A84C);
}

/* WORLD MAP SECTION */
.h-world-map {
  background-color: #fff;
  padding: 0rem 2rem 5rem;
  display: flex;
  justify-content: center;
}

.h-map-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.h-map-content {
  flex: 0 0 40%;
}

.h-map-title {
  color: var(--navy, #0B2D5E);
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.h-map-desc {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
}

.h-map-image {
  flex: 0 0 55%;
  display: flex;
  justify-content: center;
}

.h-map-image img {
  width: 100%;
  height: auto;
}

/* ABOUT SECTION */
.h-about {
  background-color: #F7F8FC;
  padding: 8rem 2rem;
  display: flex;
  justify-content: center;
}

.h-about-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.h-about-content {
  flex: 1;
}

.h-about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.h-about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.h-about-image img:hover {
  transform: translateY(-10px);
}

.h-about-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 500px;
  width: 100%;
}

.h-since-box {
  position: absolute;
  bottom: 10%;
  left: -15%;
  background-color: var(--navy, #0B2D5E);
  color: #fff;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.h-since-text {
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.h-since-year {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  line-height: 1;
}

.h-about-tag {
  color: var(--navy, #0B2D5E);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.h-about-tag::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--navy, #0B2D5E);
}

.h-about-title {
  font-family: 'Merriweather', serif;
  color: var(--navy, #0B2D5E);
  font-size: 4.5rem;
  font-weight: 900;
  margin: 0 0 2rem 0;
  line-height: 1.1;
}

.h-about-desc {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 3rem;
}

.h-btn-text {
  color: var(--navy, #0B2D5E);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.h-btn-text:hover {
  color: var(--orange, #C9A84C);
}

/* APPLICATIONS GRID */
.h-apps {
  width: 100%;
}

.h-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.h-app-card {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 4rem;
  text-decoration: none;
}

.h-app-blue {
  background-color: var(--navy, #0B2D5E);
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.h-app-blue .h-app-title {
  font-family: 'Merriweather', serif;
  font-size: 3.5rem;
  color: #fff;
  margin: 0 0 1rem 0;
  font-weight: 800;
}

.h-app-blue .h-app-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.h-app-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.h-app-card:hover .h-app-bg {
  transform: scale(1.08);
}

.h-app-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 45, 94, 0.9) 0%, rgba(11, 45, 94, 0) 60%);
  pointer-events: none;
}

.h-app-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 45, 94, 0.6);
  /* Dawnsun Navy tint */
  opacity: 0;
  transition: opacity 0.5s ease;
}

.h-app-card:hover .h-app-overlay::after {
  opacity: 1;
}

.h-app-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.h-app-content .h-app-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -1px;
}

.h-btn-outline {
  border: 1px solid #fff;
  color: #fff;
  padding: 0.8rem 1.8rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-decoration: none;
  background: transparent;
  display: inline-block;
}

.h-app-card:hover .h-btn-outline {
  background: var(--orange, #C9A84C);
  border-color: var(--orange, #C9A84C);
  color: #fff;
}

/* Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.05);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(var(--start-x, -50px));
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media(max-width: 1024px) {
  .h-hero-box {
    width: 70%;
  }

  .h-about-title {
    font-size: 3.5rem;
  }
}

@media(max-width: 768px) {
  .h-apps-grid {
    grid-template-columns: 1fr;
  }

  .h-hero-box {
    width: 90%;
    padding: 3rem 2rem;
  }

  .h-hero-box h1 {
    font-size: 2.5rem;
  }

  .h-about {
    padding: 5rem 2rem;
  }

  .h-about-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .h-about-title {
    font-size: 2.8rem;
  }

  .h-since-box {
    padding: 1rem 1.25rem;
    left: -2%;
    bottom: 5%;
  }

  .h-since-year {
    font-size: 1.5rem;
  }

  .h-app-card {
    padding: 3rem 2rem;
  }

  .h-app-blue {
    padding: 4rem 2rem;
  }
}

/* EXPORTS SECTION */
.h-exports {
  background-color: #fff;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}

.h-exports-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.h-exports-left {
  flex: 1;
}

.h-map-img {
  width: 100%;
  height: auto;
  max-width: 650px;
  display: block;
}

.h-exports-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.h-exports-tag {
  width: 40px;
  height: 2px;
  background-color: var(--navy, #0B2D5E);
  margin-bottom: 1.5rem;
}

.h-exports-title {
  color: var(--navy, #0B2D5E);
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  font-family: 'Merriweather', serif;
}

.h-exports-desc {
  font-size: 1rem;
  color: #777;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.h-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.h-stat-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.h-stat-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--navy, #0B2D5E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-stat-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  /* Ensure placeholder icons (if black) turn white */
  filter: invert(1) brightness(200%);
}

.h-stat-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.2;
}

.h-stat-text strong {
  font-size: 2.2rem;
  color: var(--navy, #0B2D5E);
  font-weight: 800;
  display: block;
  margin-bottom: 0.2rem;
}

@media(max-width: 1024px) {
  .h-exports-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .h-exports-tag {
    margin: 0 auto 1.5rem auto;
  }

  .h-stats-row {
    justify-content: center;
    gap: 2.5rem;
  }
}

@media(max-width: 768px) {
  .h-map-container {
    flex-direction: column;
    gap: 2rem;
  }

  .h-map-content,
  .h-map-image {
    flex: 1 1 100%;
  }

  .h-map-title {
    font-size: 2rem;
  }
}