/* ============================================================
   HMC PODIUM — HOME.CSS
   ============================================================ */

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0d1b3e;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__strip {
  position: absolute;
  border-radius: 80px;
}

.hero__strip--1 {
  width: 130%;
  height: 200px;
  background: linear-gradient(90deg, #66C6BA, #4db8ab);
  opacity: 0.16;
  top: 15%;
  left: -15%;
  transform: rotate(-7deg);
  animation: sf1 13s ease-in-out infinite;
}
.hero__strip--2 {
  width: 120%;
  height: 140px;
  background: linear-gradient(90deg, #8B5CF6, #6d28d9);
  opacity: 0.13;
  top: 38%;
  left: -10%;
  transform: rotate(-7deg);
  animation: sf2 16s ease-in-out infinite;
}
.hero__strip--3 {
  width: 110%;
  height: 100px;
  background: linear-gradient(90deg, #66C6BA, #8B5CF6);
  opacity: 0.09;
  top: 58%;
  left: -5%;
  transform: rotate(-7deg);
  animation: sf3 19s ease-in-out infinite;
}


.hero__strip--4 {
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F26DF9, transparent);
  opacity: 0.55;
  top: 25%;
  left: 5%;
  transform: rotate(-7deg);
  border-radius: 0;
  animation: sf4 11s ease-in-out infinite;
}
.hero__strip--5 {
  width: 70%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #F26DF9, transparent);
  opacity: 0.4;
  top: 50%;
  left: 15%;
  transform: rotate(-7deg);
  border-radius: 0;
  animation: sf5 14s ease-in-out infinite;
}
.hero__strip--6 {
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #F26DF9, transparent);
  opacity: 0.3;
  top: 72%;
  left: 10%;
  transform: rotate(-7deg);
  border-radius: 0;
  animation: sf6 17s ease-in-out infinite;
}

@keyframes sf1 { 0%,100%{transform:rotate(-7deg) translateY(0)} 50%{transform:rotate(-7deg) translateY(-16px)} }
@keyframes sf2 { 0%,100%{transform:rotate(-7deg) translateY(0)} 50%{transform:rotate(-7deg) translateY(12px)} }
@keyframes sf3 { 0%,100%{transform:rotate(-7deg) translateY(0)} 50%{transform:rotate(-7deg) translateY(-8px)} }
@keyframes sf4 { 0%,100%{transform:rotate(-7deg) translateY(0); opacity:0.55} 50%{transform:rotate(-7deg) translateY(-20px); opacity:0.8} }
@keyframes sf5 { 0%,100%{transform:rotate(-7deg) translateY(0); opacity:0.4} 50%{transform:rotate(-7deg) translateY(14px); opacity:0.65} }
@keyframes sf6 { 0%,100%{transform:rotate(-7deg) translateY(0); opacity:0.3} 50%{transform:rotate(-7deg) translateY(-10px); opacity:0.5} }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 120px 24px 60px;
  text-align: center;
}

.hero__title {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__title .highlight { color: #66C6BA; }

.hero__desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.home-about { background: #fff; }

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-about__img-wrap {
  position: relative;
  height: 400px;
}

.home-about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  z-index: 1;
}

.home-about__strip {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
}

.home-about__strip svg { width: 100%; height: 100%; }

.home-about__text h2 { color: var(--navy); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.home-about__text p  { color: var(--text-gray); font-size: 0.98rem; line-height: 1.85; margin-bottom: 28px; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.home-services { background: var(--bg-light); position: relative; overflow: hidden; }

.home-services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-services__bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


.home-services__bg .wave--1,
.home-services__bg .wave--2 {
  opacity: 0.09;
}

@media (prefers-reduced-motion: reduce) {
  .home-services__bg path animateTransform { display: none; }
}

.home-services .container { position: relative; z-index: 1; }

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  border: 1.5px solid var(--platinum);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card:hover h3 { color: #fff; }
.service-card:hover .service-card__icon-wrap::before { border-color: var(--teal); }
.service-card:hover .service-card__icon-wrap::after  { background: rgba(102,198,186,0.2); }

.service-card__icon-wrap {
  width: 48px; height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(102,198,186,0.35);
  transition: var(--transition);
}
.service-card__icon-wrap::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(102,198,186,0.08);
  transition: var(--transition);
}
.service-card__icon-wrap svg { position: relative; z-index: 1; }
.service-card__icon-wrap img {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card h3 {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  transition: var(--transition);
}

/* ══════════════════════════════════════════
   WHY HMC PODIUM
══════════════════════════════════════════ */
.home-why { background: #fff; }

.home-why__grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-why__visual {
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.home-why__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-why__points h2 { color: var(--navy); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 10px; }

.home-why__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  margin-top: 28px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(176, 188, 212, 0.35);
  transition: var(--transition);
}
.why-item--full { grid-column: 1 / -1; }

.why-item__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.why-item__icon--teal {
  color: #66C6BA;
  background: rgba(102, 198, 186, 0.1);
}
.why-item__icon--pink {
  color: #F26DF9;
  background: rgba(242, 109, 249, 0.1);
}
.why-item:hover .why-item__icon--teal { background: rgba(102, 198, 186, 0.2); transform: translateY(-2px); }
.why-item:hover .why-item__icon--pink { background: rgba(242, 109, 249, 0.2); transform: translateY(-2px); }

.why-item__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.why-item p {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  padding-top: 8px;
}

/* ══════════════════════════════════════════
   UPCOMING EVENTS
══════════════════════════════════════════ */
.home-events {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 0;
}

.home-events__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-events__content { position: relative; z-index: 1; }
.home-events__content h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 8px; }
.home-events__content .accent-line { margin: 8px auto 0; }

.home-events__desc {
  color: rgba(255,255,255,0.68);
  font-size: 0.98rem;
  max-width: 460px;
  margin: 16px auto 28px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   HMC GROUP
══════════════════════════════════════════ */
.home-hmc {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}

.home-hmc__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hmc__bg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


.home-hmc__bg .wave--1 {
  opacity: 0.09;
}

@media (prefers-reduced-motion: reduce) {
  .home-hmc__bg path animateTransform { display: none; }
}

.home-hmc .container { position: relative; z-index: 1; }

.home-hmc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-hmc__text h2 { color: var(--navy); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.home-hmc__text p  { color: var(--text-gray); font-size: 0.98rem; line-height: 1.85; margin-bottom: 20px; }


.home-hmc__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.home-hmc__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(102,198,186,0.1);
  color: #2f8f82;
  border: 1px solid rgba(102,198,186,0.3);
}
.home-hmc__badge:nth-child(even) {
  background: rgba(242,109,249,0.1);
  color: #b83fc2;
  border-color: rgba(242,109,249,0.3);
}

.home-hmc__diagram { display: flex; align-items: center; justify-content: center; }


.hmc-diagram--simple {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
}

.hmc-diagram__logo {
  position: relative;
  z-index: 1;
  width: 74%;
  max-width: 260px;
  height: auto;
  animation: hmc-float 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(18,41,95,0.18));
}

@keyframes hmc-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}

@media (prefers-reduced-motion: reduce) {
  .hmc-diagram__logo { animation: none; }
}

/* ══════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════ */
.home-partners { background: #fff; }

.home-partners__desc {
  color: var(--text-gray);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.home-partners__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-logo-box {
  flex: 1;
  height: 80px;
  background: var(--bg-light);
  border: 1.5px solid #d0d7e6;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  font-size: 0.75rem;
  font-weight: 600;
  color: #8899b0;
}

.home-partners__btn { text-align: center; margin-top: 28px; }


.partners-marquee {
  margin: 40px 0 8px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.partners-marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.partners-marquee__group img {
  height: 64px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track { animation: none; }
}

@media (max-width: 640px) {
  .partners-marquee__group img { height: 44px; max-width: 140px; }
  .partners-marquee__group { gap: 32px; padding-right: 32px; }
}

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.home-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.home-cta::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.06;
}
.home-cta__content { position: relative; z-index: 1; }
.home-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 12px; }
.home-cta p  { color: rgba(255,255,255,0.7); font-size: 0.98rem; max-width: 500px; margin: 0 auto 28px; line-height: 1.8; }




.btn-navy,
.btn-primary,
.btn-portal {
  position: relative;
  overflow: hidden;
  border: none;
  background-size: 180% 180%;
  background-position: 0% 50%;
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
}

.btn-primary,
.btn-portal {
  background: linear-gradient(135deg, #8fdccf 0%, var(--teal) 50%, #2f8f82 100%);
}

.btn-navy::before,
.btn-primary::before,
.btn-portal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

.btn-navy:hover,
.btn-primary:hover,
.btn-portal:hover {
  background-position: 100% 50%;
  box-shadow: 0 10px 24px rgba(102,198,186,0.35);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-navy::before,
  .btn-primary::before,
  .btn-portal::before { animation: none; display: none; }
}


.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .home-about__grid    { grid-template-columns: 1fr; gap: 40px; }
  .home-hmc__grid      { grid-template-columns: 1fr; gap: 40px; }
  .home-why__grid-wrap { grid-template-columns: 1fr; gap: 40px; }
  .home-services__grid { grid-template-columns: repeat(2, 1fr); }
  .home-why__visual    { height: 220px; order: 2; }
  .home-why__points    { order: 1; }
}
@media (max-width: 768px) {
  .hero__actions          { flex-direction: column; align-items: center; }
  .home-about__img-wrap   { height: 280px; }
  .home-partners__logos   { flex-wrap: wrap; }
  .partner-logo-box       { flex: 0 0 calc(33% - 10px); }
}
@media (max-width: 576px) {
  .home-services__grid { grid-template-columns: 1fr; }
  .home-why__list      { grid-template-columns: 1fr; }
  .partner-logo-box    { flex: 0 0 calc(50% - 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__strip { animation: none; }
}