* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 108px));
  margin: 0 auto;
}

.gov-strip {
  background: #dedbd2;
  border-bottom: 1px solid #c6c3bb;
}

.gov-row {
  min-height: 32px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.gov-left {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.gov-left span {
  display: block;
  font-size: 10px;
  font-weight: 800;
}

.utility {
  display: flex;
  align-items: stretch;
  border-left: 1px solid #bdb8ad;
}

.utility button {
  width: 36px;
  border: 0;
  border-right: 1px solid #bdb8ad;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  cursor: default;
}

.masthead {
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
}

.masthead-row {
  min-height: 110px;
  display: grid;
  grid-template-columns: 230px 1fr 118px;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
}

.department-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.department-brand img {
  width: 60px;
  max-height: 78px;
  object-fit: contain;
}

.department-brand p {
  font-size: 13px;
  line-height: 1.15;
}

.department-brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
}

.page-title {
  text-align: center;
}

.page-title .hindi {
  font-size: 16px;
  margin-bottom: 3px;
}

.page-title h1 {
  font-size: clamp(20px, 2.35vw, 24px);
  line-height: 1.18;
  font-weight: 800;
}

.page-title p {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
}

.scert-logo {
  justify-self: end;
  text-align: center;
  font-size: 10px;
  color: #555;
}

.scert-logo img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  margin-left: auto;
}

.nav {
  background: #eeeae3;
  border-bottom: 1px solid #d6d1ca;
}

.nav-row {
  min-height: 38px;
  display: flex;
  align-items: stretch;
}

.nav-row a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  margin: 0 8px 0 0;
}

.nav-row .active {
  background: #ffb21a;
}

.news-bar {
  min-height: 48px;
  background: #08336f;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  padding: 38px 0 54px;
}

.section-heading {
  font-size: 26px;
  color: #08336f;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.faq-panel {
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border: 1px solid #08336f;
  color: #08336f;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.faq-toggle::before {
  content: "+";
  transform: translateY(-1px);
}

.faq-item[open] .faq-toggle::before {
  content: "-";
  transform: translateY(-2px);
}

.faq-answer {
  padding: 0 64px 20px 20px;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.quick-panel {
  display: grid;
  gap: 18px;
}

.quick-card,
.calendar-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(8, 51, 111, .08);
  padding: 18px;
}

.quick-card h2,
.calendar-card h2 {
  color: #08336f;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
}

.quick-card h2 {
  margin-bottom: 16px;
}

.admit-link {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #08336f;
  color: #fff;
  padding: 18px 22px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 4px 0 #052654;
  text-transform: uppercase;
}

/*.admit-link:before {
  content: "▣";
  color: #ffb21a;
  font-size: 18px;
}*/

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.calendar-head span {
  color: #9c3f38;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.calendar-list {
  border-right: 3px solid #08336f;
}

.calendar-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: stretch;
}

.calendar-item + .calendar-item p {
  border-top: 1px solid #e2e2e2;
}

.calendar-item time {
  min-height: 76px;
  background: #08336f;
  color: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  line-height: 1;
}

.calendar-item time strong {
  font-size: 27px;
}

.calendar-item time span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
}

.calendar-item p {
  display: flex;
  align-items: center;
  min-height: 76px;
  color: #061326;
  font-size: 14px;
  line-height: 1.35;
  padding: 12px 10px 12px 0;
}

.login-body {
  background: #f6f8fb;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  padding: 46px 0 58px;
  min-height: 60vh;
}

.login-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  background: #fff;
  border: 1px solid #c7e5f8;
  box-shadow: 0 22px 54px rgba(8, 51, 111, .16);
}

.info-pane {
  background: #08336f;
  color: #fff;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 430px;
}

.info-pane img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  margin-bottom: 22px;
}

.inner-page {
  width: min(1200px, 100%);
  margin: 0 auto;
/*  display: grid;*/
/*  grid-template-columns: .9fr 1.1fr;*/
/*  background: #fff;*/
/*  box-shadow: 0 22px 54px rgba(8, 51, 111, .16);*/
}
.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6 { margin-bottom:30px; }

.inner-page table { width:100%; }

.text-center {text-align: center !important;}

.pill {
  display: inline-flex;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.info-pane h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.info-pane p {
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
  line-height: 1.65;
}

.form-pane {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-pane .pill {
  background: #dff3ff;
  border-color: #c7e5f8;
  color: #08336f;
}

.form-pane h2 {
  color: #08336f;
  font-size: 31px;
  margin-bottom: 24px;
  font-weight: 800;
}

.portal-switch {
  display: inline-flex;
  background: #eef5fb;
  border: 1px solid #d8e7f2;
  margin-bottom: 28px;
  width: fit-content;
}

.portal-switch a {
  min-width: 116px;
  text-align: center;
  padding: 12px 16px;
  color: #08336f;
  font-weight: 800;
  font-size: 14px;
}

.portal-switch .active {
  background: #08336f;
  color: #fff;
}

form {
  display: grid;
  gap: 20px;
}

label {
  display: block;
  color: #315a85;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #08336f;
  font-weight: 800;
  font-size: 13px;
  pointer-events: none;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfdbe8;
  background: #f8fbfe;
  color: #061326;
  padding: 0 16px;
  font-size: 15px;
  outline: 2px solid transparent;
  transition: border-color 160ms ease, outline-color 160ms ease, background 160ms ease;
}

input:focus {
  background: #fff;
  border-color: #08336f;
  outline-color: rgba(8, 51, 111, .16);
}

input[type="date"] {
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: #08336f;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 0 #052654;
}

.footer-links {
  background: #08336f;
  color: #fff;
  padding: 28px 0 32px;
}

.footer-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}

.footer-links h2 {
  font-size: 21px;
  margin-bottom: 12px;
  font-weight: 800;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
  font-size: 15px;
}

.link-grid a::before {
  content: "•";
  margin-right: 9px;
}

.footer-bottom {
  background: #080808;
  color: #fff;
  text-align: center;
  padding: 8px 0 48px;
  font-size: 12px;
}

.footer-menu {
  background: #252525;
  margin: 0 0 26px;
  padding: 8px 0;
  font-size: 13px;
}

.footer-menu a {
  padding: 0 8px;
}

.footer-copy {
  font-size: 11px;
  line-height: 1.7;
}

.footer-copy a {
  color: #63b5ff;
}

.updated {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 800;
}

.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.footer-badges img {
  max-width: 132px;
  max-height: 38px;
  object-fit: contain;
}

.footer-badges .digital-india-logo {
  max-width: 152px;
  max-height: 44px;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .masthead-row,
  .news-row,
  .content,
  .footer-links-row,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .masthead-row {
    text-align: center;
  }

  .department-brand {
    justify-content: center;
  }

  .scert-logo {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .gov-row {
    flex-direction: column;
  }

  .utility {
    border-top: 1px solid #bdb8ad;
    border-left: 0;
  }

  .department-brand {
    flex-direction: column;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges {
    flex-direction: column;
  }

  .form-pane,
  .info-pane {
    padding: 30px;
  }

  .portal-switch {
    width: 100%;
  }

  .portal-switch a {
    flex: 1;
    min-width: 0;
  }
}
