@charset "UTF-8";
/* ==========================================
   Variables
   ========================================== */
/* ==========================================
   Header & Tabs Design
   ========================================== */
.who-can-apply-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.who-can-apply-tabs {
  display: inline-flex;
  background-color: #ffffff;
  border: 1px solid var(--pill-border);
  padding: 4px;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.06);
}

.who-can-apply-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  color: #555555;
  cursor: pointer;
  transition: all 0.3s ease;
}
.who-can-apply-tab-btn.active {
  background-color: #008be8;
  color: #ffffff;
}

/* Tab Pane Visibility Toggle */
.who-can-apply-content {
  display: none;
}
.who-can-apply-content.active {
  display: block;
}

/* ==========================================
   Grid & Card Layout
   ========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  /* WHEN ANY CARD IN THE GRID IS HOVERED (desktop only):
     Reset the first card back to closed state if it's not the one being hovered */
}
@media (min-width: 993px) {
  .card-grid:has(.card:hover) .card:first-child:not(:hover), .card-grid:has(.card.active) .card:first-child:not(.active) {
    background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
  }
  .card-grid:has(.card:hover) .card:first-child:not(:hover) .card-icon svg, .card-grid:has(.card.active) .card:first-child:not(.active) .card-icon svg {
    stroke: #008be8;
  }
  .card-grid:has(.card:hover) .card:first-child:not(:hover) .arrow-icon, .card-grid:has(.card.active) .card:first-child:not(.active) .arrow-icon {
    transform: rotate(0deg) !important;
  }
  .card-grid:has(.card:hover) .card:first-child:not(:hover) .card-body-wrapper, .card-grid:has(.card.active) .card:first-child:not(.active) .card-body-wrapper {
    grid-template-rows: 0fr;
  }
}

.card {
  background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
  border-radius: 20px;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  position: relative;
  cursor: pointer;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.card .card-top {
  padding-left: 8px;
}
.card .card-icon {
  width: 54px;
  height: 54px;
}
.card .card-icon svg {
  width: 100%;
  height: 100%;
  stroke: #008be8;
  fill: none;
  transition: stroke 0.35s ease;
}
.card {
  /* Inner White Cutout Card */
}
.card .inner-white-card-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}
.card .inner-white-card {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: 24px;
  border-top-right-radius: 0;
  position: relative;
}
.card .inner-white-card::before {
  content: "";
  position: absolute;
  top: -24px;
  right: 0;
  width: 60px;
  height: 26px;
  background: #ffffff;
  border-top-left-radius: 18px;
  border-top-right-radius: 24px;
}
.card .inner-white-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 60px;
  width: 20px;
  height: 20px;
  background: transparent;
  border-bottom-right-radius: 14px;
  box-shadow: 6px 6px 0 0 #ffffff;
}
.card {
  /* Orange Action Button */
}
.card .arrow-btn {
  position: absolute;
  top: -12px;
  right: 6px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ff5500;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.3);
}
.card {
  /* DEFAULT STATE: Arrow points right → */
}
.card .arrow-icon {
  font-size: 22px;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card {
  /* FIRST CARD DEFAULT (Open & Downward Arrow ↓ when idle) */
}
.card:first-child {
  background: #008be8;
}
.card:first-child .card-icon svg {
  stroke: #ffffff;
}
.card:first-child .card-body-wrapper {
  grid-template-rows: 1fr;
}
.card .card-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #222222;
  line-height: 1.25;
}
.card {
  /* Expandable Content Area */
}
.card .card-body-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card .card-body {
  overflow: hidden;
}
.card {
  /* HOVER OR ACTIVE STATE FOR ANY CARD */
}
.card:hover, .card.active {
  background: #008be8;
  box-shadow: 0 12px 28px rgba(0, 139, 232, 0.25);
}
.card:hover .card-icon svg, .card.active .card-icon svg {
  stroke: #ffffff;
}
.card:hover .arrow-icon, .card.active .arrow-icon {
  transform: rotate(90deg) !important;
  /* Rotates arrow downward */
}
.card:hover .card-body-wrapper, .card.active .card-body-wrapper {
  grid-template-rows: 1fr;
}

.card {
  background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
  border-radius: 20px;
  padding: 24px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  position: relative;
  cursor: pointer;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.card .card-top {
  padding-left: 8px;
}
.card .card-icon {
  width: 54px;
  height: 54px;
}
.card .card-icon svg {
  width: 100%;
  height: 100%;
  stroke: #008be8;
  fill: none;
  transition: stroke 0.35s ease;
}
.card {
  /* Inner White Cutout Card */
}
.card .inner-white-card-wrapper {
  position: relative;
  width: 100%;
  margin-top: 40px;
}
.card .inner-white-card {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: 24px;
  border-top-right-radius: 0;
  position: relative;
}
.card .inner-white-card::before {
  content: "";
  position: absolute;
  top: -24px;
  right: 0;
  width: 53px;
  height: 26px;
  background: #ffffff;
  border-top-left-radius: 18px;
  border-top-right-radius: 24px;
}
.card .inner-white-card::after {
  content: "";
  position: absolute;
  top: -16px;
  right: 52px;
  width: 16px;
  height: 16px;
  border-bottom-right-radius: 14px;
}
.card {
  /* Orange Action Button */
}
.card .arrow-btn {
  position: absolute;
  top: -18px;
  right: 11px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff5500;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(255, 85, 0, 0.3);
}
.card {
  /* DEFAULT STATE: Arrow points right → */
}
.card .arrow-icon {
  font-size: 18px;
  width: 18px;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card {
  /* FIRST CARD DEFAULT (Always Active & Downward ↓) */
}
.card:first-child {
  background: #008be8;
}
.card:first-child .card-icon svg {
  stroke: #ffffff;
}
.card:first-child .arrow-icon {
  transform: rotate(90deg) !important;
  /* Always points down */
}
.card:first-child .card-body-wrapper {
  grid-template-rows: 1fr;
}
.card .card-title {
  font-size: 22px;
  font-weight: 500;
  color: #222222;
  margin-bottom: 0;
}
.card {
  /* Expandable Content Area */
}
.card .card-body-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card .card-body {
  overflow: hidden;
}
.card {
  /* OTHER CARDS HOVER / ACTIVE STATE (Rotates 90deg Downward ↓) */
}
.card:not(:first-child):hover, .card:not(:first-child).active {
  background: #008be8;
  box-shadow: 0 12px 28px rgba(0, 139, 232, 0.25);
}
.card:not(:first-child):hover .card-icon svg, .card:not(:first-child).active .card-icon svg {
  stroke: #ffffff;
}
.card:not(:first-child):hover .arrow-icon, .card:not(:first-child).active .arrow-icon {
  transform: rotate(90deg) !important;
  /* Rotates arrow downward on hover */
}
.card:not(:first-child):hover .card-body-wrapper, .card:not(:first-child).active .card-body-wrapper {
  grid-template-rows: 1fr;
}

/* Hide Nav Controls on Desktop */
.who-can-apply .slider-nav-container {
  display: none;
}

/* ==========================================
   1. Large Tablets & Below (<= 992px)
   ========================================== */
@media (max-width: 992px) {
  .who-can-apply-tabs-wrapper {
    margin-bottom: 0;
  }
  .slider-wrapper {
    padding: 10px 0 20px;
  }
  .card-grid {
    display: block;
  }
  .card-grid .slick-list {
    overflow: visible;
    margin: 0;
  }
  .card-grid .slick-track {
    display: flex !important;
    align-items: stretch;
  }
  .card-grid .slick-slide {
    margin: 0 10px 0 0;
  }
  .card-grid .slick-slide > div {
    height: 100%;
  }
  /* On mobile/tablet nothing is open by default — every card
     (including slide 0) starts closed and is controlled purely
     by .active, set via tap (JS) or Slick's afterChange sync. */
  .card {
    height: 380px;
    min-height: 380px;
    border-radius: 24px;
    padding: 24px 18px 18px;
    background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
    box-shadow: none;
    /* Reset first-child override: on mobile, first card starts CLOSED */
  }
  .card:first-child {
    background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
  }
  .card:first-child .card-icon svg {
    stroke: #008be8;
  }
  .card:first-child .arrow-icon {
    transform: rotate(0deg) !important;
  }
  .card:first-child .card-body-wrapper {
    grid-template-rows: 0fr;
  }
  .card {
    /* Disable hover on touch devices — only .active (via tap) controls state */
  }
  .card:hover:not(.active) {
    background: linear-gradient(180deg, #f0f7ff 0%, #dbeeff 100%);
    box-shadow: none;
  }
  .card:hover:not(.active) .card-icon svg {
    stroke: #008be8;
  }
  .card:hover:not(.active) .arrow-icon {
    transform: rotate(0deg) !important;
  }
  .card:hover:not(.active) .card-body-wrapper {
    grid-template-rows: 0fr;
  }
  .card .card-icon svg {
    stroke: #008be8;
  }
  .card .arrow-icon {
    transform: rotate(0deg);
  }
  .card .card-body-wrapper {
    grid-template-rows: 0fr;
  }
  .card.active {
    background: #008be8;
    box-shadow: 0 12px 28px rgba(0, 139, 232, 0.25);
  }
  .card.active .card-icon svg {
    stroke: #ffffff;
  }
  .card.active .arrow-icon {
    transform: rotate(90deg) !important;
  }
  .card.active .card-body-wrapper {
    grid-template-rows: 1fr;
  }
  .card.active .card-body {
    height: 170px;
    overflow-y: auto;
    padding-right: 6px;
    -webkit-overflow-scrolling: touch;
    /* Custom Scrollbar */
  }
  .card.active .card-body::-webkit-scrollbar {
    width: 4px;
  }
  .card.active .card-body::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
  }
  .card.active .card-body::-webkit-scrollbar-thumb {
    background: #008be8;
    border-radius: 4px;
  }
  .card.active .card-body {
    scrollbar-width: thin;
    scrollbar-color: #008be8 #e2e8f0;
  }
  .card .card-icon {
    width: 58px;
    height: 58px;
  }
  .card .inner-white-card-wrapper {
    margin-top: 32px;
  }
  .card .inner-white-card {
    border-radius: 20px;
  }
  .card .inner-white-card::before {
    top: -22px;
    right: 0;
    width: 58px;
    height: 23px;
    border-top-left-radius: 16px;
    border-top-right-radius: 20px;
  }
  .card .inner-white-card::after {
    top: -18px;
    right: 58px;
    width: 18px;
    height: 18px;
    border-bottom-right-radius: 16px;
  }
  /* Navigation & Progress Bar */
  .who-can-apply .slider-nav-container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid var(--pill-border);
    border-radius: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  }
  .who-can-apply .progress-bar-track {
    flex: 1;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }
  .who-can-apply .progress-bar-active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #008be8;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
}
/* ==========================================
   2. Mobile Landscape / Small Tablets (<= 767px)
   ========================================== */
@media (max-width: 767px) {
  .card {
    min-height: 380px;
    border-radius: 28px;
    padding: 28px 20px 20px;
  }
  .card .card-icon {
    width: 64px;
    height: 64px;
  }
  .card {
    /* Adjusted curve scaling for the 64px icon card size */
  }
  .card .inner-white-card-wrapper {
    margin-top: 36px;
  }
  .card .inner-white-card {
    border-radius: 24px;
  }
  .card .inner-white-card::before {
    top: -24px;
    right: 0;
    width: 64px;
    height: 25px;
    border-top-left-radius: 18px;
    border-top-right-radius: 24px;
  }
  .card .inner-white-card::after {
    top: -20px;
    right: 64px;
    width: 20px;
    height: 20px;
    border-bottom-right-radius: 18px;
  }
}
/* ==========================================
   3. Small Mobile Devices (<= 575.98px)
   ========================================== */
@media (max-width: 575.98px) {
  .card {
    height: 350px;
    min-height: 350px;
    padding: 20px 14px 14px;
  }
  .card .card-icon {
    width: 50px;
    height: 50px;
  }
  .card .inner-white-card-wrapper {
    margin-top: 28px;
  }
  .card .inner-white-card {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .card .inner-white-card .card-title {
    font-size: 20px;
    margin-bottom: 0;
  }
  .card .inner-white-card p {
    font-size: 14px;
  }
  .card .inner-white-card::before {
    top: -20px;
    right: 0;
    width: 52px;
    height: 36px;
    border-top-left-radius: 14px;
    border-top-right-radius: 18px;
  }
  .card .inner-white-card::after {
    top: -16px;
    right: 52px;
    width: 16px;
    height: 16px;
    border-bottom-right-radius: 14px;
  }
  .card.active .card-body {
    height: 150px;
  }
  .card .arrow-btn {
    width: 38px;
    height: 38px;
    top: -13px;
    right: 8px;
  }
  .card .arrow-btn .arrow-icon {
    font-size: 18px;
  }
}/*# sourceMappingURL=who-apply.css.map */