/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 70px 40px 20px 40px;
}

/* ===== FORMS SECTION BOX ===== */
.forms-section-box {
  margin-bottom: 2px;
}

/* ===== FORMS INNER GRID — fixed 2 rows x 4 cols ===== */
.top-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
}

/* ===== TOP BUTTONS ===== */
.top-btn {
  height: 40px;                /* FIXED HEIGHT */
  padding: 10px;
  border-radius: 15px;
  display: flex;               /* IMPORTANT */
  align-items: center;         /* vertical center */
  justify-content: center;     /* horizontal center */
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.top-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.top-btn:active {
  transform: translateY(1px);
}

/* BUTTON COLORS */
.btn-red    { background: #d92b2b; }
.btn-orange { background: #e07820; }
.btn-pink   { background: #cc40aa; }
.btn-navy   { background: #1a3a8c; }
.btn-olive  { background: #7a8c1a; }
.btn-blue   { background: #2080e0; }
.btn-brown  { background: #8c3010; }
.btn-green  { background: #1a8040; }

/* ===== SECTIONS GRID ===== */
.sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

/* ===== CARD ===== */
.section-box {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.section-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

/* ===== CARD HEADER ===== */
.card-header {
  background: #0c476c;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}


/* ===== LIST ===== */
.list-item {
  display: flex;
  align-items: center;
  padding: 0;  
  border-bottom: 1px solid #f0f4f8;
  transition: background 0.15s, padding-left 0.15s;
  min-width: 0;
  overflow: hidden;
}

.list-item a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 16px;
  text-decoration:underline;
  color: #0000CD;
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  transition: background 0.15s, padding-left 0.15s;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item:hover {
  background: #eef4ff;
  border-left: none;  /* Remove the border-left on hover */
}

.list-item:hover a {
  padding-left: 22px;
  color: #551A8B;
  text-decoration: underline;
}


/* ===== VIEW MORE ===== */
.view-more-container {
  padding: 14px;
  text-align: center;
}

.view-more-btn {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: #fff;
  border: none;
}

.view-more-results { background: linear-gradient(135deg, #e94057, #f27121); }
.view-more-admit   { background: linear-gradient(135deg, #1e5799, #2b8c5e); }
.view-more-jobs    { background: linear-gradient(135deg, #8e2de2, #4a00e0); }
.view-more-forms   { background: linear-gradient(135deg, #8e2de2, #4a00e0); }

.view-more-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ===== FOOTER NOTE ===== */
.footer-note {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #5f7f9c;
  border-top: 1px solid #dce5ec;
  padding-top: 20px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ===== INTRO TEXT ===== */
.intro-text {
  text-align: center;
  font-size: 13.5px;
  color: #222;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* ===== STAR HEADING ===== */
.star-heading {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 0 6px;
  color: #111;
}

.star-heading .stars { color: #228B22; letter-spacing: 2px; }
.star-heading .link  { color: #CC0000; text-decoration: underline; cursor: pointer; }

/* ===== PAGES TABLE ===== */
.pages-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  margin-bottom: 16px;
}

.pages-table td {
  border: 1px solid #ccc;
  padding: 8px 14px;
  text-align: center;
  font-size: 13.5px;
}

.pages-table td a {
  color: #0000CD;
  text-decoration: none;
  font-weight: bold;
}

.pages-table td a:hover { text-decoration: underline; }

/* ===== CONTENT BOX ===== */
.content-box {
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  padding: 12px 16px;
  font-size: 13.5px;
  text-align: center;
  line-height: 1.8;
  color: #222;
}

.content-box strong { color: #B22222; }

/* ===== CONTENT HEADER ===== */
.content-header {
  background: #083d5d;
  padding: 10px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  margin-top: 16px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .main-content {
    padding: 70px 12px 12px 12px;
  }

  .top-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-btn {
    font-size: 12px;
    padding: 18px 8px;
  }

  .list-item {
    font-size: 13px;
  }

  .card-header {
    font-size: 1rem;
  }
}



    /* STATE JOBS SECTION */
    .state-section-box {
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      margin-bottom: 18px;
    }

    .state-section-header {
      background: linear-gradient(90deg, #083d5d 0%, #083d5d 100%);
      color: #fff;
      font-family: 'Baloo 2', sans-serif;
      font-weight: 700;
      font-size: 1.1rem;
      padding: 14px 18px;
      letter-spacing: 0.6px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-transform: uppercase;
      gap: 10px;
    }

    .state-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
      padding: 10px;
    }

    .state-card {
      display: flex;
      flex-direction: column;
      gap: 3px;
      background: #f8fafc;
      border: 1px solid #b4cae7d6;
      border-radius: 14px;
      padding: 7px 8px;
      text-decoration: none;
      color: #1a1a1a;
      transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
      min-width: 0;
    }

    .state-card:hover {
      background: #eef4ff;
      border-color: #6c86b3;
      box-shadow: 0 8px 8px rgba(6, 64, 99, 0.1);
      transform: translateY(-1px);
    }

    .state-top {
      display: flex;
      align-items: center;
      gap: 5px;
      min-width: 0;
    }

    .state-icon {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      margin-top: 4px;

      display: flex;
      align-items: center;
      justify-content: center;
    }

    .state-icon svg {
      width: 63px;
      height: 63px;
      fill: #1d4ed8;
      text-align: center;
    }

    .state-name {
      font-family: 'Noto Sans', sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      color: #1e293b;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      min-width: 0;
      
    }

    .state-count {
      font-size: 0.78rem;
      color: #2f3742;
      padding-left: 32px;
      
      
    }



   /* state hide  */
.hidden-state {
  display: none;
}

.view-more-card {
  cursor: pointer;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #577df0, #083d5d);
  color: white;

  transition: all 0.3s ease;
}

.view-more-card:hover {
  transform: translateY(-4px) scale(1.02);

  background: linear-gradient(135deg, #93a7e4, #3ba6e9);

  box-shadow:
    0 10px 25px rgba(63, 60, 239, 0.35),
    0 4px 10px rgba(71, 27, 245, 0.25);
}

.view-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  transition: 0.3s ease;
}

.view-more-card:hover .view-more-inner {
  transform: scale(1.05);
}

.plus-icon {
  font-size: 15px;
  font-weight: bold;

  transition: transform 0.3s ease;
}

.view-more-card:hover .plus-icon {
  transform: rotate(90deg) scale(1.2);
}

/* ===== CLEAN COMPACT MOBILE STATE SECTION ===== */

@media (max-width: 768px) {

  .state-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
  }

  .state-card {
    border-radius: 12px;
    padding: 5px 4px;
    min-height: 50px;

    justify-content: center;
    align-items: center;

    gap: 2px;
  }

  .state-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    gap: 1px;
  }

  .state-icon {
    width: 14px;
    height: 14px;
  }

  .state-icon svg {
    width: 14px;
    height: 14px;
  }

  .state-name {
    font-size: 0.72rem !important;
    line-height: 1.05;

    white-space: normal;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    text-align: center;
  }

  .state-count {
    padding-left: 0;
    text-align: center;
   font-size: 0.72rem !important;
    margin-top: 1px;
  }
  .view-more-card{
    text-align: center;
  }

  .view-more-inner {
    gap: 1px;
  }

  .plus-icon {
    display: none;
  }
}


/* ===== EXTRA SMALL MOBILE ===== */

@media (max-width: 480px) {

  .state-grid {
    gap: 5px;
    padding: 5px;
  }

  .state-card {
    min-height: 48px;
    padding: 4px 3px;
  }

  .state-name {
    font-size: 0.53rem;
    
  }

  .state-count {
    font-size: 0.43rem;
  }
}

/* faq css */

.faq-section {
  max-width:1250px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  font-family: 'Noto Sans', sans-serif;
}

.faq-badge {
  display: inline-block;
  background: #083d5d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  border: none;
  letter-spacing: 0.5px;
}

.faq-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1a2a4a;
  margin: 0 0 6px;
}

.faq-section h2 span {
  color: #f97316;
}

.faq-section .faq-sub {
  font-size: 14px;
  color: #5a6a85;
  margin: 0 0 1.5rem;
}

.faq-item {
  border: 1px solid #d0d9e8;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
  border-color: #1a2a4a;
  box-shadow: 0 2px 10px rgba(26, 42, 74, 0.10);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
}

.faq-item.open .faq-q {
  background: #083d5d;
}

.faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: #083d5d;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-item.open .faq-q-text {
  color: #ffffff;
}

.faq-icon {
  font-size: 20px;
  color: #083d5d;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
  line-height: 1;
  transform: rotate(180deg);
}

.faq-item.open .faq-icon {
  transform: rotate(0deg);
  color: #083d5d;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 18px;
  background: #eef2f7;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 18px 16px;
}

.faq-a p {
  margin: 0;
  font-size: 14px;
  color: #083d5d;
  line-height: 1.8;
  border-left: 3px solid #5a6a85;
  padding-left: 14px;
  background: #ffffff;
  border-radius: 0 6px 6px 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 12px;
  margin-top: 12px;
}