body {
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000000;
}

.primary-btn {
  background-color: #002DE0;
  color: #ffffff;
  border-radius: 4px;
}

.primary-btn:hover {
  background-color: #0e3cf1;
  color: #ffffff;
  border-radius: 4px;
}

.expanding-flex-container {
  height: calc(100vh - 309px);
  display: flex;
  flex-direction: row;
  width: 100%;
}

.flex-panel {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  cursor: pointer;
}

.flex-panel:hover,
.flex-panel.active {
  flex: 3;
}

.flex-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  z-index: 1;
}

.panel-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.panel-logo {
  width: 140px;
  transition: transform 0.5s ease;
  display: block;
}

.hover-content {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.5s ease;
}

/* Slide Up Effect */
.flex-panel:hover .panel-logo,
.flex-panel.active .panel-logo {
  transform: translateY(-5px);
}

.flex-panel:hover .hover-content,
.flex-panel.active .hover-content {
  opacity: 1;
  max-height: 200px;
}

.hero-content {
  padding: 0 3rem;
}

.main-head {
  font-weight: 600;
  font-size: 48px;
}

.sub-head {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0px;
}
a{
  text-decoration: none;
}

.span-color {
  color: #002DE0;
}

.parag {
  font-size: 1rem;
  margin: 0px;
}

.main-logo{
  padding: 2rem 3rem 0rem 3rem;
}

/* --- RESPONSIVE BREAKPOINT --- */
@media (max-width: 767.98px) {
  .expanding-flex-container {
    flex-direction: column;
    height: auto;
  }

  .flex-panel {
    width: 100%;
    height: 500px;
    flex: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  /* Force content to be visible always on mobile */
  .hover-content {
    opacity: 1 !important;
    max-height: 500px !important;
    display: block !important;
  }

  .panel-logo {
    transform: none !important;
    margin-bottom: 10px;
  }

  .panel-content {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 0 1.5rem;
  }

  .main-head {
    font-size: 1.9rem;
  }

  .sub-head {
    font-size: 1.2rem;
  }
  .main-logo{
  padding: 1.5rem 1.5rem;
}
}