* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Arial', sans-serif; /* Use a standard font */
}

.fixed-background {
    position: fixed;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gradient-bg {
    /* Indian government websites often use subtle blues and whites */
    background: #e1f5fe; /* Light blue background */
    /* Fallback if gradients are not supported */
    background: linear-gradient(to bottom, #e1f5fe, #ffffff);
}

.container {
    width: 90%; /* Responsive width */
    max-width: 1200px; /* Maximum width for larger screens */
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.nielitContainer {
    text-align: center;
    padding: 15px;
}

.nielitContainer h4 {
    color: #0d47a1; /* Dark blue for headings */
}

.nielitContainer h5 {
    color: #1565c0;
}

.tg {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.tg td,
.tg th {
    border: 1px solid #b0bec5; /* Light grey border */
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px;
    word-break: normal;
    text-align: left; /* Align text to the left */
    vertical-align: top;
}

.tg th {
    background-color: #eceff1; /* Lighter background for header */
    font-weight: bold;
}

.tg .tg-baqh {
    text-align: left; /* Ensure labels are left-aligned */
}

.tg .tg-0lax {
    text-align: left;
}

.tg .tg-head {
    text-align: center;
    font-weight: bold;
}

.ApplyButton {
    background-color: #4CAF50; /* Green apply button */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.ApplyButton:hover {
    background-color: #45a049;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    .tg td,
    .tg th {
        padding: 8px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .tg td,
    .tg th {
        padding: 6px;
        font-size: 10px;
    }
}

/* --- Card Styles from nielitform.css --- */
.card-base{
  position: relative;
  display: block;
  width: 280px;
  height: 280px;
  background: #000;
  overflow: hidden;
  background-size:cover;
  margin: 20px auto;
  border-radius: 10px;
  transform: scale(1);
  transition: all 0.1s ease-in-out;
  box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    background: #f5f7fa;
    border-radius: 6px;
    padding: 0.5em 0.2em;
    margin-bottom: 0.7em;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(30,40,100,0.04);
}

.card-face{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0px;
  background:rgba(27, 131, 196, 0.8);
  opacity: 1;
  border-radius: 5px;
  transition: all 0.1s ease-in-out;
  transition-delay: 0.1s;
  box-sizing: border-box;
  transform:translateY(104px);
  box-shadow: 1px 2px;
}

.auto-grid-wrapper {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
  gap: 10px;
  grid-auto-rows: 1fr;
}

.card-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.card {
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    min-width: 300px;
    max-width: 350px;
    min-height: 400px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: height 0.2s;
    position: relative;
    background: #fff;
}
.card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
    position: relative;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    background: #f5f7fa;
    border-radius: 6px;
    padding: 0.5em 0.2em;
    margin-bottom: 0.7em;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(30,40,100,0.04);
}
.btn-primary {
    background-color: #031b88;
    border-color: #031b88;
}
.btn-primary:hover {
    background-color: #001f5f;
    border-color: #001f5f;
}
.pdf-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.pdf-icon img {
    width: 35px;
    height: 35px;
    cursor: pointer;
}
.badge-start-date {
    background: #fff;
    color: #1976d2;
    border: 1px solid #1976d2;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.18em 0.7em;
    border-radius: 1.2em;
    margin-right: 0.3em;
    box-shadow: 0 1px 4px rgba(25,118,210,0.08);
    letter-spacing: 0.2px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.badge-start-date:hover {
    background: #1976d2;
    color: #fff;
}
.badge-course-fee {
    background: linear-gradient(90deg, #00c853 0%, #b2ff59 100%);
    color: #155724;
    border: 1px solid #00c853;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.18em 0.7em;
    border-radius: 1.2em;
    margin-left: 0.1em;
    box-shadow: 0 1px 4px rgba(0,200,83,0.08);
    letter-spacing: 0.2px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}
.badge-course-fee:hover {
    background: #00c853;
    color: #fff;
}
.course-fee-cross-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #00c853 60%, #b2ff59 100%);
    color: #155724;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.32em 1.2em 0.32em 0.7em;
    border-radius: 2em 0.5em 2em 0.5em;
    box-shadow: 0 2px 8px rgba(0,200,83,0.13);
    letter-spacing: 0.3px;
    z-index: 3;
    transform: rotate(-12deg);
    border: 1.5px solid #00c853;
    display: inline-block;
    pointer-events: none;
}
.course-fee-ribbon {
    position: absolute;
    top: 18px;
    left: -38px;
    width: 160px;
    padding: 4px 0;
    background: linear-gradient(90deg, #e53935 60%, #ff5252 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(229,57,53,0.13);
    letter-spacing: 0.3px;
    z-index: 5;
    border-radius: 2px;
    border: 1.5px solid #e53935;
    pointer-events: none;
}
.start-date-image-badge {
    position: absolute;
    left: 0;
    top: 170px;
    background: #ffff;
    color: rgba(0,0,0,0.7);
    font-size: 0.70rem;
    font-weight: 700;
    padding: 0.28em 1.1em 0.28em 0.9em;
    border-radius: 0 1.2em 1.2em 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    z-index: 6;
    letter-spacing: 0.2px;
    border-left: 3px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    pointer-events: none;
}
.card {
    position: relative;
}
.card-duration-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 2px;
    gap: 6px;
}
.card-duration-row img {
    width: 22px;
    height: 22px;
    margin-right: 4px;
    vertical-align: middle;
}
.card-duration-row span {
    font-weight: 600;
    color: #444;
    font-size: 1rem;
    letter-spacing: 0.1px;
}
.got-card-title {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #1a237e;
    /* background: #f5f7fa; */
    border-radius: 7px;
    padding: 0.45em 0.2em;
    margin: 0.7em 0 0.7em 0;
    letter-spacing: 0.7px;
    box-shadow: 0 1px 4px rgba(30,40,100,0.06);
    text-align: center;
    width: 100%;
    display: block;
    /* border-left: 4px solid #031b88;
    border-right: 4px solid #031b88; */
}
.got-card-highlight {
    color: #031b88;
}
