/* Homepage redesign — scoped to .hp-redesign */
.hp-redesign {
  font-family: var(--font-devanagari), var(--font-body);
  overflow-x: hidden;
}

/* ── Hero ── */
.hp-hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  color: var(--white);
}
.hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(61, 8, 8, 0.94) 0%, rgba(92, 16, 16, 0.82) 42%, rgba(61, 8, 8, 0.45) 100%),
    linear-gradient(0deg, rgba(61, 8, 8, 0.5) 0%, transparent 40%);
}
.hp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 24px 120px;
  width: 100%;
}
.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(245, 200, 66, 0.15);
  border: 1px solid rgba(245, 200, 66, 0.45);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ca-gold);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hp-hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ca-gold);
  box-shadow: 0 0 12px var(--ca-gold);
}
.hp-hero h1 {
  font-family: var(--font-devanagari), sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 16px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.hp-hero-motto {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  max-width: 560px;
}
.hp-hero-motto em {
  font-style: normal;
  color: var(--ca-gold);
}
.hp-hero-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 32px;
}
.hp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hp-hero-cta .ca-btn-solid {
  padding: 14px 28px;
  font-size: 0.95rem;
  box-shadow: 0 8px 28px rgba(232, 120, 24, 0.45);
}
.hp-hero-cta .hp-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.hp-hero-cta .hp-btn-outline:hover {
  background: var(--white);
  color: var(--ubi-blue-dark);
  border-color: var(--white);
}
.hp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
}
.hp-stat {
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: var(--transition);
}
.hp-stat:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.hp-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--ca-gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hp-stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Trust bar ── */
.hp-trust {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 24px 0;
}
.hp-trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(92, 16, 16, 0.15);
  border: 1px solid rgba(123, 24, 24, 0.08);
}
.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ubi-blue-dark);
}
.hp-trust-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(123, 24, 24, 0.08), rgba(232, 120, 24, 0.12));
  color: var(--ubi-red);
}

/* ── Sections ── */
.hp-section {
  padding: 88px 24px;
}
.hp-section--alt {
  background: linear-gradient(180deg, #FAF6F4 0%, #FFFFFF 100%);
}
.hp-section--dark {
  background: linear-gradient(135deg, var(--ubi-blue-dark) 0%, #3D0808 100%);
  color: var(--white);
}
.hp-wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.hp-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.hp-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.hp-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ubi-red);
  background: rgba(232, 120, 24, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hp-section--dark .hp-label {
  background: rgba(245, 200, 66, 0.15);
  color: var(--ca-gold);
}
.hp-head h2 {
  font-family: var(--font-devanagari), sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  color: var(--ubi-blue-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}
.hp-section--dark .hp-head h2 {
  color: var(--white);
}
.hp-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0;
}
.hp-section--dark .hp-head p {
  color: rgba(255, 255, 255, 0.75);
}
.hp-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hp-head-row .hp-head {
  text-align: left;
  margin: 0;
  flex: 1;
}

/* Intro split */
.hp-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hp-intro-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hp-intro-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hp-intro-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(61, 8, 8, 0.4) 100%);
}
.hp-intro-chip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 12px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ubi-blue-dark);
  box-shadow: var(--shadow-md);
}
.hp-intro-text p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 1.1em;
}
.hp-intro-text p:last-child {
  margin-bottom: 0;
}

/* Mission / Vision */
.hp-mv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.hp-mv-card {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 24, 24, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.hp-mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ubi-blue), var(--ubi-red));
}
.hp-mv-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--ubi-red), var(--ca-gold));
}
.hp-mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.hp-mv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123, 24, 24, 0.1), rgba(232, 120, 24, 0.15));
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.hp-mv-card h3 {
  font-size: 1.35rem;
  color: var(--ubi-blue-dark);
  margin-bottom: 12px;
}
.hp-mv-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

/* Objectives grid */
.hp-obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hp-obj-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(123, 24, 24, 0.08);
  transition: var(--transition);
}
.hp-obj-item:hover {
  border-color: var(--ubi-red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.hp-obj-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--ubi-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
}
.hp-obj-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-dark);
  padding-top: 6px;
}

/* Service cards */
.hp-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hp-svc {
  padding: 28px 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 24, 24, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.hp-svc:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 120, 24, 0.3);
}
.hp-svc-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.hp-svc h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ubi-blue-dark);
  line-height: 1.45;
  margin: 0;
}

/* Benefits bento */
.hp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hp-ben {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 24, 24, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.hp-ben::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ubi-blue), var(--ubi-red));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.hp-ben:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.hp-ben:hover::after {
  transform: scaleX(1);
}
.hp-ben-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ubi-blue), var(--ubi-red));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.hp-ben h4 {
  font-size: 1.05rem;
  color: var(--ubi-blue-dark);
  margin-bottom: 8px;
}
.hp-ben p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Why join */
.hp-why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hp-why-card {
  padding: 24px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.hp-why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.hp-why-card span {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.hp-why-card p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

/* About block */
.hp-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hp-about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}
.hp-about-pills span {
  padding: 8px 16px;
  background: rgba(123, 24, 24, 0.06);
  border: 1px solid rgba(123, 24, 24, 0.1);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ubi-blue);
}
.hp-about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hp-about-gallery img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.hp-about-gallery img:first-child {
  grid-row: span 2;
  min-height: 280px;
  height: 100%;
}
.hp-about-gallery img:not(:first-child) {
  height: 140px;
}

/* News & events */
.hp-news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.hp-news-list {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 24, 24, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hp-news-item {
  display: flex;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(123, 24, 24, 0.06);
  transition: var(--transition);
}
.hp-news-item:last-child {
  border-bottom: none;
}
.hp-news-item:hover {
  background: #FAF6F4;
}
.hp-news-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  padding: 8px;
  background: linear-gradient(135deg, rgba(123, 24, 24, 0.08), rgba(232, 120, 24, 0.1));
  border-radius: var(--radius-sm);
}
.hp-news-date strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ubi-blue);
  line-height: 1;
  font-family: var(--font-heading);
}
.hp-news-date span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hp-news-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--ubi-blue-dark);
}
.hp-news-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 8px;
  line-height: 1.6;
}
.hp-news-item a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ubi-red);
}
.hp-events-card {
  background: linear-gradient(160deg, var(--ubi-blue-dark) 0%, #4A0D0D 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.hp-events-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gallery strip */
.hp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hp-gallery a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.hp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hp-gallery a:hover img {
  transform: scale(1.08);
}
.hp-gallery a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(61, 8, 8, 0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hp-gallery a:hover::after {
  opacity: 1;
}

/* CTA */
.hp-cta {
  margin: 0 24px 80px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, var(--ubi-blue-dark) 0%, var(--ubi-blue) 40%, var(--ubi-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 24px 64px rgba(92, 16, 16, 0.25);
  position: relative;
  overflow: hidden;
}
.hp-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.15) 0%, transparent 70%);
}
.hp-cta-text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 280px;
}
.hp-cta-text h2 {
  font-family: var(--font-devanagari), var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.hp-cta-text p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin: 0;
  font-size: 1rem;
}
.hp-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hp-cta .ca-btn-solid {
  background: var(--white);
  color: var(--ubi-blue-dark);
  box-shadow: none;
}
.hp-cta .ca-btn-solid:hover {
  background: var(--ca-gold);
  color: var(--ubi-blue-dark);
}
.hp-cta .hp-btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.hp-cta .hp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ubi-red);
  white-space: nowrap;
}
.hp-link:hover {
  color: var(--ubi-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .hp-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .hp-intro { grid-template-columns: 1fr; }
  .hp-intro-visual img { height: 320px; }
  .hp-services { grid-template-columns: repeat(2, 1fr); }
  .hp-benefits { grid-template-columns: repeat(2, 1fr); }
  .hp-why { grid-template-columns: repeat(2, 1fr); }
  .hp-news-grid { grid-template-columns: 1fr; }
  .hp-about { grid-template-columns: 1fr; }
  .hp-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hp-hero-inner { padding: 80px 20px 100px; }
  .hp-hero-stats { grid-template-columns: 1fr; max-width: none; }
  .hp-trust { margin-top: -32px; }
  .hp-trust-inner { grid-template-columns: 1fr; padding: 20px; }
  .hp-section { padding: 64px 20px; }
  .hp-mv { grid-template-columns: 1fr; }
  .hp-obj-grid { grid-template-columns: 1fr; }
  .hp-services { grid-template-columns: 1fr; }
  .hp-benefits { grid-template-columns: 1fr; }
  .hp-cta { padding: 40px 24px; flex-direction: column; text-align: center; }
  .hp-head-row { flex-direction: column; align-items: flex-start; }
}
