* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding-left: 1%;
  padding-right: 1%;
  margin-top: 2%;
  scroll-behavior: smooth;
  transition: all 0.5s ease-in-out;
  font-size: 1rem;
}

header {
  padding-left: 6%;
  padding-right: 6%;
}

.navbar-custom {
  background-color: #24357b;
  position: sticky;
  height: 4rem;
}

.nav-link:focus {
  color: white;
}

.nav-link {
  color: white;
  font-weight: 600;
}

.nav-link {
  color: white;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0%;
  height: 100%;
  background-color: white;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #1e2d74;
}

.nav-link:hover::before {
  width: 100%;
  padding: 0 1rem;
}

.navbar-brand img {
  max-height: 50px;
}
.nav-item {
  height: 38px;
}

.btn-hover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 20px 4px 6px;
  border-radius: 50px;
  background-color: #263985;
  color: white;
  border: 1px solid #263985;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hover .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: white;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-hover:hover {
  background-color: white;
  color: #263985;
}

.btn-hover:hover .circle {
  transform: scale(1.1);
  background-color: #263985;
}

.font1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 2.3rem;
  line-height: 114.99999999999999%;
  letter-spacing: 0%;
}

.font2 {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2;
}

.font3 {
  font-family: "Zain", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 25px;
  letter-spacing: 0;
}

.font4 {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 25px;
  letter-spacing: 0;
}

.font5 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.625rem;
  line-height: 100%;
  letter-spacing: 0;
}

.font6 {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 30px;
  letter-spacing: 0;
}

.font7 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
  line-height: 100%;
  letter-spacing: 0;
}

.font8 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.font9 {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 100%;
  letter-spacing: 0%;
}

.font10 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
  line-height: 100%;
  letter-spacing: 0;
  text-align: justify;
}

.font11 {
  font-family: "Zain", sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  line-height: 1;
}

.font12 {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0;
}

.font13 {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  line-height: 30px;
  letter-spacing: 0;
}

.font14 {
  font-family: "Zain", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: 0px;
}

.font15 {
  font-family: "Zain", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 25px;
  letter-spacing: 0;
  text-align: justify;
}

.know-hov {
  color: #fd0000;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: bold;
}

.know-hov:hover {
  color: #181717d2;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #263985;
  border-radius: 15px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.card:hover {
  background-color: rgb(50, 48, 48);
}

.card-body {
  flex-grow: 1;
}

.hov-b {
  color: white;
  text-decoration: none;
  margin-top: auto;
  text-align: left;
  transition: all 0.3s ease;
}

.hov-b:hover {
  text-decoration: underline;
}

.book-hov {
  background-color: #263985;
  color: whitesmoke;
  border-radius: 50px;
  height: 60px;
  width: 300px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.book-hov:hover {
  background-color: rgb(50, 48, 48);
  color: white;
}

@media (max-width: 576px) {
  .position-relative {
    width: 100% !important;
    height: auto !important;
  }
  .position-relative img {
    position: static !important;
    display: block;
    margin: 0 auto 1rem;
  }
  .text-end {
    text-align: left !important;
  }
}

.card1 {
  position: relative;
  overflow: hidden;
  background-color: #fef8f8;
  padding: 1rem;
  border-radius: 15px;
}

.card1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #d6d6eb;
  transform: scale(0);
  transform-origin: bottom left;
  transition: transform 0.6s ease;
  z-index: 0;
}

.card1:hover::before {
  transform: scale(1);
}

.card1 > * {
  position: relative;
  z-index: 1;
}

.hero-img {
  position: absolute;
}

.top-left {
  top: -18rem;
  right: 19rem;
}
.top-right {
  top: -13.5rem;
  left: 21.5rem;
}
.bottom-left {
  top: -2rem;
  right: 18.5rem;
}
.bottom-right {
  top: -2rem;
  left: 17rem;
}

.center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 120px;
  height: auto;
  z-index: 10;
}
@media (max-width: 1200px) {
  .top-left {
    top: -20rem;
    right: 15rem;
  }
  .top-right {
    top: -15rem;
    left: 19rem;
  }
  .bottom-left {
    top: -1rem;
    right: 15rem;
  }
  .bottom-right {
    top: -1rem;
    left: 13rem;
  }
  .center-icon {
    max-width: 100px;
  }
}

@media (max-width: 992px) {
  .top-left,
  .top-right,
  .bottom-left,
  .bottom-right {
    position: static;
    margin: 1rem auto;
    display: block;
    text-align: center;
  }
  .center-icon {
    display: block;
    margin: 1rem auto;
    max-width: 80px;
  }
}

@media (max-width: 768px) {
  .hero-img {
    position: static;
    margin: 1rem auto;
    text-align: center;
  }
  .top-left,
  .top-right,
  .bottom-left,
  .bottom-right {
    width: 100%;
    max-width: 300px;
  }
  .center-icon {
    position: static;
    transform: none;
    display: block;
    margin: 1rem auto;
  }
}
