@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #0056a2;
  --secondary-color: #fec713;
  --body-color: #252525;
  --white-color: #fff;
  --light-background-color: #f7f7f7;
  --dark-light-bg-color: #dbeafe;
  --dark-bg-color: #074a85;
  --border-color: #dbeafe;
  --box-bg-color: #f7f7f724;

  /* fonts */
  --poppins-thin: "Poppins", sans-serif;
  --poppins-extralight: "Poppins", sans-serif;
  --poppins-light: "Poppins", sans-serif;
  --poppins-regular: "Poppins", sans-serif;
  --poppins-medium: "Poppins", sans-serif;
  --poppins-semibold: "Poppins", sans-serif;
  --poppins-bold: "Poppins", sans-serif;
  --poppins-extrabold: "Poppins", sans-serif;
  --poppins-black: "Poppins", sans-serif;
  --global-transition: all 0.4s ease-in-out;
}

body {
  font-family: var(--poppins-regular);
  color: var(--body-color);
}

a {
  text-decoration: none;
}

/* header */

header .logo {
  max-width: 140px;
}

header .logo-2 {
  max-width: 100px;
}

header .navbar-nav {
  padding-left: 60px;
}

header .navbar-nav {
  padding-left: 60px;
}

header .navbar-nav .nav-link {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 500;
}

.header-button .button {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  background-color: var(--dark-light-bg-color);
  padding: 10px 20px;
  border-radius: 10px;
  transition: var(--global-transition);
  font-size: 12px;
}

.header-button .button:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.header-button {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 140px;
}

.marquee {
  width: 100%;
  display: flex;
  gap: 30px;
}

.marquee .item {
  display: inline-block;
  white-space: nowrap;
  padding-right: 50px;
  position: relative;
  font-size: 16px;
  color: var(--white-color);
}

.marquee .item::after {
  content: "";
  right: 0%;
  height: 100%;
  width: 2px;
  background-color: var(--white-color);
  position: absolute;
}

.marquee-slider-wrapper {
  background-color: var(--primary-color);
  padding: 10px 0;
  overflow-x: hidden;
}

.marquee {
  display: flex;
  animation: marquee 40s linear infinite;
  /* Smooth scrolling */
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
    /* Start from left */
  }

  100% {
    transform: translateX(-100%);
    /* Move to the left */
  }
}

.horizontal-spacing {
  padding-left: 60px;
  padding-right: 60px;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  color: var(--primary-color);
  line-height: 60px;
  letter-spacing: 0em;
}

.hero-section img {
  border-radius: 10px;
}

.form-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  border-radius: 10px;
}

.dark-background {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.dark-background h2 {
  font-size: 48px;
  font-weight: 600;
  font-size: 60px;
}

.mat-advantage .item-wrapper {
  max-height: 200px;
  height: 200px;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--box-bg-color);
}

.mat-advantage .item-wrapper .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mat-advantage .swiper-button-next {
  color: var(--white-color);
}

.mat-advantage .swiper-button-prev {
  color: var(--white-color);
}

.mat-advantage .swiper-button-prev::after {
  content: "" !important;
}

.mat-advantage .swiper-button-next::after {
  content: "" !important;
}

.mat-turning {
  background-color: var(--light-background-color);
}

.mat-turning h2 {
  font-size: 48px;
  color: var(--primary-color);
  font-size: 60px;
  font-weight: 600;
}

.mat-turning .bg-wrapper {
  height: 100vh;
  border-radius: 10px;
  padding: 10px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mat-turning .item-wrapper {
  background-color: var(--light-background-color);
  border-color: var(--dark-light-bg-color);
}

.mat-turning .item-wrapper h3 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 24px;
}

.mat-turning .swiper-container i {
  color: var(--primary-color);
}

.main-btn {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 8px 28px;
  display: inline-block;
  color: inherit;
  font-size: 14px;
  transition: var(--global-transition);
}

.main-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.mat-exam-structure h2 {
  font-size: 48px;
  color: var(--primary-color);
  font-size: 60px;
  font-weight: 600;
}

.mat-exam-structure .dark-background {
  padding: 40px;
  border-radius: 15px;
}

.mat-exam-structure thead th {
  color: var(--primary-color) !important;
}

.mat-exam-structure th {
  background-color: var(--white-color);
  color: var(--primary-color);
}

.mat-exam-structure table tr.table-header th:first-child {
  border-top-left-radius: 20px;
  /* Left top corner */
}

.mat-exam-structure table tr.table-header th:last-child {
  border-top-right-radius: 20px;
  /* Right top corner */
}

.mat-exam-structure table tr.table-header th {
  font-weight: 600;
}

.mat-exam-structure table tbody tr:nth-child(odd) td {
  background-color: transparent;
  color: var(--white-color);
}

.mat-exam-structure table tbody tr:nth-child(even) td {
  background-color: var(--box-bg-color) !important;
  color: var(--white-color);
  border-bottom: 0;
}

.mat-exam-structure table tbody tr {
  border: 1px solid var(--white-color);
  border-radius: 10px;
}

.mat-exam-structure table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.mat-exam-structure table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.mat-exam-structure table tbody tr:last-child {
  border: 0;
}

.mat-exam-structure table tbody tr:last-child td:first-child {
  border-left: 1px solid var(--white-color);
  border-radius: 10px;
}

.mat-exam-structure table tbody tr:last-child td:last-child {
  border-right: 1px solid var(--white-color);
}

.mat-exam-structure table tbody tr:last-child td {
  border-bottom: 1px solid var(--white-color);
}

.mat-exam-structure .img-wrapper img {
  height: 540px;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

.mat-exam-structure .test-mode .img-wrapper img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}

.mat-exam-structure .test-mode .item {
  padding: 20px;
  height: 260px;
}

.mat-exam-structure .test-mode .item .title {
  font-size: 24px;
}

.mat-exam-structure .test-mode .item .highlight-text {
  font-size: 75px;
  margin-bottom: 0;
}

.mat-exam-structure .test-mode .item:not(.active) {
  background-color: var(--light-background-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.mat-exam-structure .test-mode .item:not(.active) .highlight-text {
  color: var(--primary-color);
}

.apply-for-mat {
  background-color: var(--light-background-color);
}

.apply-for-mat .img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.apply-for-mat .content-wrapper h2 {
  font-size: 48px;
  color: var(--primary-color);
  font-size: 60px;
  font-weight: 600;
}

.apply-for-mat .content-wrapper .price-wrapper {
  margin-top: 30px;
}

.apply-for-mat .content-wrapper .price-wrapper .item {
  width: 100%;
  border: 1px solid var(--border-color);
  padding: 25px;
  display: grid;
  grid-template-columns: 50% 50%;
  border-radius: 10px;
  align-items: end;
}

.apply-for-mat .content-wrapper .price-wrapper .item .highlight-text {
  color: var(--primary-color);
  font-size: 60px;
  font-weight: 600;
  line-height: 60px;
}

.apply-for-mat .content-wrapper .price-wrapper .item .col:not(.highlight-text) {
  font-size: 20px;
  font-weight: 600;
}

.apply-for-mat .content-wrapper .requiremet-list .items {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.apply-for-mat .content-wrapper .requiremet-list span {
  display: inline-block;
  background-color: var(--border-color);
  color: var(--primary-color);
  padding: 7px 15px;
  border-radius: 10px;
  font-size: 14px;
}

.apply-for-mat .content-wrapper .requiremet-list h3 {
  font-size: 22px;
}

.apply-for-mat .content-wrapper .requiremet-list {
  margin-top: 30px;
}

.apply-for-mat .content-wrapper .list-wrapper .list-item {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apply-for-mat img{
  border-radius: 10px;
}

/* footer css */

footer {
  background-color: var(--primary-color);
  color: var(--white-color);
}

footer table tr td {
  background-color: transparent !important;
  color: var(--white-color) !important;
}

footer table a {
  color: var(--white-color);
}

footer ul li {
  list-style: none;
}

footer ul li a {
  color: inherit;
  transition: var(--global-transition);
}

footer ul li a:hover {
  color: var(--secondary-color);

}

footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

footer img {
  max-width: 140px
}

footer .social-link ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

footer .social-link ul li a {
  padding: 10px 15px;
  background-color: var(--dark-bg-color);
  border-radius: 10px;
  transition: var(--global-transition);
}

footer .social-link ul li a:hover {
  color: var(--primary-color);
  background-color: var(--white-color);
}

footer h3 {
  font-size: 22px;
}

/* Responsive CSS */

/* mobile */

@media(max-width:768px) {
  .horizontal-spacing {
    padding-left: 10px;
    padding-right: 10px;
  }

  header .navbar-nav {
    padding-left: 0;
  }

  header .navbar-nav a {
    font-size: 16px;
  }

  .hero-section h1 {
    font-size: 33px;
    line-height: 40px;
  }

  .form-bg {
    height: 250px;
  }

  .dark-background h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .mat-turning h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .mat-turning .bg-wrapper {
    height: 50vh;
  }

  .mat-exam-structure h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .horizontal-spacing .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .mat-exam-structure .dark-background {
    padding: 20px;
  }

  .mat-exam-structure .img-wrapper img {
    height: 240px;
  }

  .mat-exam-structure .test-mode .item {
    height: 265px;
  }

  .mat-exam-structure .test-mode .item .highlight-text {
    font-size: 50px;
  }

  .apply-for-mat .content-wrapper h2 {
    font-size: 30px;
    line-height: 35px;
  }

  .apply-for-mat .content-wrapper .price-wrapper .item {
    grid-template-columns: 70% 30%
  }.apply-for-mat .content-wrapper .list-wrapper .list-item{
    height: 170px;
  }
}

