/* Hero Section Base */
.hero-content-section {
  padding: 200px 0px 70px;
  position: relative;
  z-index: 10;
  background: transparent;
}
.hero-content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  background: var(--hero-pattern) no-repeat top center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero-pattern-bg {
  width: 100%;
  height: 650px;
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
  pointer-events: none;
  object-fit: cover;
  object-position: top center;
}
.hero-max-container {
  max-width: 1240px;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
.hero-title-text {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.1;
  color: var(--navy);
}
.hero-content-section p {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-nacc-logo {
  height: 43px;
}
/* 3D Flip Card Component */
.hero-flip {
  position: relative;
  width: 100%;
  perspective: 1600px;
  background: transparent;
  border: 0;
  overflow: visible;
  cursor: pointer;
}
.hero-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.hero-flip-face {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 2px 10px rgba(11, 27, 73, .08);
  transition: box-shadow .45s ease;
}
.hero-flip-back {
  transform: rotateY(180deg);
}
.hero-flip-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
	object-position:top center;
}
@media (hover: hover) {
  .hero-flip.has-flip:hover .hero-flip-inner,
  .hero-flip.has-flip:focus-within .hero-flip-inner {
    transform: rotateY(180deg);
  }
  .hero-flip.has-flip:hover {
    z-index: 4;
  }
  .hero-flip.has-flip:hover .hero-flip-face {
    box-shadow: 0 22px 48px rgba(11, 27, 73, .22);
  }
}
.hero-flip.has-flip.is-flipped .hero-flip-inner {
  transform: rotateY(180deg);
}
.hero-flip.has-flip.is-flipped .hero-flip-face {
  box-shadow: 0 22px 48px rgba(11, 27, 73, .22);
}
/* Buttons */
.btn-navy-pill {
  background-color: var(--navy);
  color: #ffffff;
  font-family: var(--font-figtree);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 36px;
  border: none;
  border-radius: 72px;
  outline: 3px rgba(255, 255, 255, 0.3) solid;
  outline-offset: -3px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-navy-pill:hover {
  background-color: #170766;
  transform: translateY(-2px);
  color: #fff !important;
}
.btn-outline-pill {
  background-color: transparent;
  color: var(--navy);
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 700;
  padding: 16px 36px;
  border: none;
  border-radius: 72px;
  outline: 3px rgba(15, 4, 69, 0.3) solid;
  outline-offset: -3px;
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-outline-pill:hover {
  transform: translateY(-2px);
}
.btn-yellow-pill {
  width: 100%;
  background-color: var(--warning-yellow) !important;
  color: #000000 !important;
  font-weight: 700;
  border-radius: 48px;
  border: none;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-yellow-pill:hover {
  background-color: #ffd633 !important;
  transform: translateY(-1px);
}
/* Staggered Hero Cards Layout */
.staggered-cards-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
  flex-wrap: wrap;
}
.card-col-item {
  width: 227px;
  display: flex;
  flex-direction: column;
}
.col-align-top { margin-top: 0; gap: 20px; }
.col-align-mid { margin-top: 0; }
.col-align-low { margin-top: 0; }
.card-h-281 { width: 227px; height: 281px; }
.card-h-158 { width: 227px; height: 158px; }
.card-h-354 { width: 227px; height: 354px; }
.card-h-244 { width: 227px; height: 244px; }
/* Responsive Overrides - Hero Section */
@media (min-width: 768px) {
  .hero-heading-row { order: 1; }
  .hero-btn-group { order: 2; }
  .staggered-cards-wrapper { order: 3; }
}
@media (min-width: 992px) {
  .hero-max-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1400px) {
  .hero-max-container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 1399.98px) {
  .staggered-cards-wrapper {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .card-col-item {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
  }
  .card-h-281, .card-h-158, .card-h-354, .card-h-244 {
    width: 100% !important;
  }
}
@media (max-width: 767.98px) {
  .hero-pattern-bg { height: 780px; }
  .hero-content-section {
    padding-top: 140px !important;
    padding-bottom: 50px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
	.card-h-158{
		height:140px !important;
	}
  .hero-max-container {
    display: flex;
    flex-direction: column;
  }
  .hero-heading-row {
    order: 1;
    margin-bottom: 1.25rem !important;
  }
  .hero-title-text {
    font-size: 40px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem !important;
  }
  .staggered-cards-wrapper {
    order: 2;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
  }
  .hero-card-col-2 {
    order: 1 !important;
    width: 100% !important;
  }
  .hero-card-col-2 .card {
    width: 100% !important;
    height: 190px !important;
    border-radius: 20px !important;
  }
  .hero-card-col-1 {
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
  }
  .hero-card-col-1 .hero-subcard-img {
    width: 50% !important;
    height: 140px !important;
    border-radius: 20px !important;
  }
  .hero-card-col-1 .hero-subcard-naac {
    width: 50% !important;
    height: 140px !important;
    border-radius: 20px !important;
    background-color: #0F0445 !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-card-col-3, .hero-card-col-4, .hero-card-col-5 {
    display: none !important;
  }
  .hero-btn-group {
    order: 3;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  .btn-navy-pill, .btn-outline-pill {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
    text-align: center !important;
  }
}