/* color */
:root {
  --font-color: #242b27;

  --bg-primary: #006628;
  --bg-primary-95: #006629a8;
  --bg-primary-50: #00662950;
  --bg-secondary: #ffff;
  --bg-secondary-95: #ffffff0f;
  --bg-teriary: #c8e6c9;

  --title-primary: #006628;
  --title-secondary: #ccd3e6;

  /* for the video card */
  --alt-title-primary: #fff;
  --alt-title-secondary: #fff;

  /* for admission btn */
  --bt-primary: #fff;
  --bt-font: #fff;
  --bt-secondary: #fff;

  /* for navigation */
  --nav-bg: #006628;
  --nav-font: #c8e6c9;
  --nav-font-active: #fff;
  --nav-btn-bg: #fff;
  --nav-btn-font: #006628;

  /* for footer */
  --ft-bg: #006628;
  --ft-font: #c8e6c9;
  --ft-font-active: #fff;
  --ft-btn-bg: #fff;
  --ft-btn-font: #fff;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
p {
  margin: 0;
}

#root,
#__next {
  isolation: isolate;
}

ul {
  list-style-type: none;
}
li {
  cursor: pointer;
}

/* Font */
.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

body {
  font-family: "Roboto", sans-serif !important;
}

.small-btn {
  padding: 8px 32px;
  font-size: 16px;
  font-weight: bold;
  background-color: #ffffff;
  border: 1px solid #006628;
  color: #006628;
  margin-top: 24px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.navbar {
  background-color: var(--bg-primary);
}
.navbar-nav .nav-link {
  color: var(--nav-font);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--nav-font-active) !important;
}

.bg-primary {
  background-color: var(--bg-primary) !important;
  background: var(--bg-primary) !important;
}

.text-primary {
  color: #006628 !important;
}

.text-title {
  color: var(--font-color);
}

.text-paragraph {
  padding-bottom: 4rem;
  color: var(--font-color);
}

.bg-light {
  background-color: #f7f7f7;
}
.nav-link {
  color: #ffffff;
}

.hero-page {
  height: 80vh;
  width: 100%;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
  background-color: #222222;
  z-index: 10;
}

.hero-image {
  object-fit: cover;
  height: inherit;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-page__title {
  font-size: 62px;
  font-weight: 900;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.4;
}
.hero-page__paragraph {
  color: #faf9f7;
  font-size: 20px;
  line-height: 1.7;
  margin-top: 8px;
}
.hero-page_button {
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  background-color: var(--bg-primary);
  color: var(--alt-title-primary);
  margin-top: 24px;
  border: none;
  border-radius: 8px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  transition: cubic-bezier(0.4, 0, 0.48, 0.91), scale 0.3s ease, transform 0.3s ease;

}
.hero-page_button:hover {
  transform: scale(1.05) !important;
  transition: cubic-bezier(0.4, 0, 0.48, 0.91), scale 0.3s ease, transform 0.3s ease;
}
.hero-page__row {
  padding: 96px 0;
}
.title-section {
  color: var(--title-primary);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 0;
  display: inline-block;
  position: relative;
}

.title-section-2 {
  background-color: var(--bg-primary);
  color: var(--alt-title-primary);
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 62px 16px 62px;
  display: inline-block;
}
.title-section::after {
  content: "";
  width: 70%;
  height: 4px;
  background-color: var(--title-secondary);
  position: absolute;
  left: 0;
  bottom: 0;
}

.page-title h1 {
  color: var(--title-primary);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 0;
  display: inline-block;
  position: relative;
}

.page-title h1::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--title-secondary);
  position: absolute;
  left: 0;
  bottom: 0;
}

.title-page {
  color: var(--bg-secondary);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 0;
  display: inline-block;
  position: relative;
}

.title-page::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--bg-secondary);
  position: absolute;
  left: 0;
  bottom: 0;
}

.title-page-alt {
  color: var(--bg-primary-95);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 0;
  display: inline-block;
  position: relative;
}

.title-page-alt::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--bg-primary-95);
  position: absolute;
  left: 0;
  bottom: 0;
}

.card-img-top {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.card-body {
  text-align: justify;
  text-justify: inter-word;
  padding-inline: 2rem !important;
}

.latest-news {
  background-color: var(--bg-primary-95);
}

.latest-news-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  min-height: 18rem;
}
.latest-news-info a {
  background-color: var(--bg-primary) !important;
}
.latest-news-info a:hover {
  transform: scale(1.05);
  background-color: var(--bg-primary) !important;
}

.news-card-image {
  height: 13rem !important;
  object-fit: cover;
}
.fa-solid {
  color: var(--bg-primary);
}

/* About Us  */
.about-us__title {
  line-height: 1.5;
}

.about-us__paragraph {
  line-height: 1.8;
  font-size: 18px;
  margin-top: 24px;
  margin-inline: 0;
}

.about-us__button {
  position: absolute;
  bottom: 0;
  margin-top: 32px;
  padding: 8px 16px;
  border: none;
  background-color: transparent !important;
  border: 2px solid var(--bg-primary) !important;
  color: var(--bg-primary);
  font-weight: 600;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.about-us__button:hover {
  border: none;
  background-color: var(--bg-primary)!important;

  color: var(--alt-title-primary);

}

.about-us__image{
  height: 15rem;
  object-fit: cover;
  width: 85%;
  padding: 12px;
  background-color: #ffffff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* about-us section */

.text-title {
  color: var(--nav-bg) !important;
  font-weight: 600 !important;
}

.page-nav {
  width: 100%;
}

.page-nav-box {
  border-color: var(--bg-primary);
  width: 50%;
  overflow: hidden;
  background-color: var(--bg-secondary);
  filter: drop-shadow(1px 1px 3px var(--bg-primary-95));
}

.about-p {
  font-weight: bold;
  color: var(--bg-primary-95);
  white-space: nowrap;
}

.about-p:hover {
  font-weight: bold;
  color: var(--bg-primary);
  color: var(--bg-primary);
  font-size: medium;
}

.nav-link-page .about-p.active {
  font-weight: bold;
  color: var(--bg-primary);
  font-size: medium;
}

.inpage-nav {
  transition: transform 0.3s cubic-bezier(0.66, -0.4, 1, 1),
    top 0.5s cubic-bezier(0.66, -0.4, 1, 1);
}

.inpage-nav-position {
  position: fixed;
  z-index: 3;
  top: 1rem;
  width: 100%;
  transform: translateY(0);
  pointer-events: auto;
}

.about-content {
  transition: transform 0.3s cubic-bezier(0.66, -0.4, 1, 1),
    top 0.5s cubic-bezier(0.66, -0.4, 1, 1);
  margin-inline: 10rem;
}

/* Campuses */
.campuses__container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: cubic-bezier(0.4, 0, 0.48, 0.91), opacity 0.3s ease, transform 0.3s ease;
}
.campuses__container:hover .campuses__img{
  opacity: .05;
  transform: scale(1.5);
}
.campuses__container:hover .campuses__content {
  opacity: 1;
}

.campuses__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: var(--bg-secondary);
  z-index: 2;
}
.campuses__content {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: var(--bg-primary-95);
  color: var(--alt-title-primary) !important;
  text-align: center;
  font-size: 0.8rem;
  transition: cubic-bezier(0.4, 0, 0.48, 0.91), opacity 0.5s ease, transform 0.3s ease;
}

.campuses__content i, .campuses__content p {
  color: var(--alt-title-primary) !important;
 
}

.campuses__img {
  position: relative;
  z-index: 50;
  transition: cubic-bezier(0.4, 0, 0.48, 0.91), opacity 0.3s ease, transform 0.3s ease;
}

.campuses__bg-image {
  position: absolute;
  height: 100%;
  width: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.btn {
  transition: background-color 0.3s, color 0.3s;
}

.btn.bg-white {
  background-color: var(--nav-btn-bg);
  color: var(--nav-btn-font);
}

.btn.bg-white:hover {
  background-color: #006628;
  color: #ffffff;
}

.btn.bg-white:focus {
  outline: none;
}

.card {
  height: 100%;
}

.contact-header {
  color: var(--nav-btn-font) !important;
}
.top-header__social {
  width: 32px;
  height: 32px;
  color: var(--nav-font) !important;
  background-color: var(--nav-bg) !important;
  text-decoration: none;
}
.top-header__social:hover {
  text-decoration: none;
  transform: scale(1.1);
}

/* events */

.event-list {
  background-color: var(--title-secondary-95);
}
.event-part {
  color: var(--bg-primary-95);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 16px 0;
  display: inline-block;
  position: relative;
}

.event-part::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--bg-primary-95);
  position: absolute;
  left: 0;
  bottom: 0;
}

.dropdown {
  background-color: var(--bg-secondary);
  border-radius: 10px;
}

.dropdown .btn {
  color: var(--bg-primary);
}

.event-box {
  margin-inline: 10rem;
}
.event-card {
  margin-inline: 5rem;
}

.d-card {
  background-color: var(--bg-primary);
  color: var(--bg-secondary);
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  height: 100%;
}

.d-card .month,
.d-card .until {
  font-size: 11.34px;
}
.d-card .date {
  font-weight: 600;
  background-color: var(--bg-secondary-95);
  border-radius: 10px;
}

.e-details {
  background-color: var(--bg-secondary);
  margin-left: 2rem;
  height: 100%;
  border-radius: 10px;
  padding: 1.5rem;
  padding-left: 2rem;
  margin-left: -1rem;
  filter: drop-shadow(1px 1px 3px var(--bg-primary-95));
}

.e-details .fa-solid {
  color: var(--bg-primary);
}

.e-details .time,
.e-details .location {
  color: var(--bg-primary);
  font-weight: 500;
}

.e-details h3 {
  color: var(--bg-primary);
  font-weight: 600;
}

.e-details .student-label {
  background-color: var(--bg-primary-95);
  color: var(--bg-secondary);
  font-weight: 500;
  border-radius: 10px;
  padding: 2px 1rem;
  font-size: 11.34px;
}

.view-btn{
  margin-top: 2rem;
  padding: 8px 16px;
  background-color: transparent !important;
  border: 2px solid var(--bg-primary) !important;
  color: var(--bg-primary) !important;
  font-weight: 600;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.view-btn:hover{
  background-color: var(--bg-primary) !important;
  color: var(--bg-secondary) !important;
}

/* careers  */

.card-job {
  background-color: var(--bg-secondary);
  border-radius: 10px;
}

.card-job .btn {
  font-size: small;
  border-radius: 5px;
  padding-block: 1px;
  background-color: var(--bg-primary-95);
  color: var(--bg-secondary);
  border: 0;
}

.card-job p {
  font-size: small;
  color: var(--font-color);
  font-size: 11.34px;
}

.card-job h3 {
  color: var(--font-color);
  font-size: 18.33px;
  font-weight: 600;
}

.job-offers h3 {
  color: var(--bg-secondary);
  font-weight: 600;
}

.job-offers .card-job h3 {
  color: var(--font-color);
  font-weight: 600;
}

.job-offers .container-fluid .row {
  width: 100%;
  margin-inline: 5rem;
}

.job-offers {
  background-color: var(--bg-primary-95);
  padding-bottom: 2rem;
}

.card-job a {
  font-size: small;
  color: var(--bg-primary-95);
  font-size: 11.34px;
  text-decoration: none;
}

.card-job a:hover {
  font-size: 11.34px;
  color: var(--bg-teriary);
}

/* filter */

.job-position {
  color: var(--bg-secondary);
  text-decoration: none;
}

.job-position:hover,
.job-position .active {
  color: var(--bg-primary);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 0.5em;
}

.careers-info {
  padding-inline: 10rem;
  padding-block: 1rem;
}

.careers-info .container p {
  color: var(--font-color);
}

.careers-info .container h3 {
  color: var(--font-color);
  font-weight: bold;
}

/* contacts */

#map-canvas {
  border: 10px solid var(--alt-title-secondary);
}

#main-video{
  height: 800px;
}

@media (max-width: 1200px) {
  .hero-page__title {
    font-size: 48px;
  }
}

@media (max-width: 992px) {
  .hero-page__title {
    font-size: 48px;
  }

  .hero-page__paragraph {
    font-size: 18px;
  }

  .about-content {
    transition: transform 0.3s cubic-bezier(0.66, -0.4, 1, 1),
      top 0.5s cubic-bezier(0.66, -0.4, 1, 1);
    margin-inline: 2rem !important;
  }

  .page-nav-box {
    width: 100%;
  }
  
  #main-video{
  height: 30rem;
  }

}

@media (max-width: 768px) {
  .hero-page__title {
    font-size: 36px;
  }

  .hero-page__paragraph {
    font-size: 16px;
  }
  .top-header__info {
    font-size: 14px;
  }
  .top-header__social {
    width: 28px;
    height: 28px;
  }
  .inpage-nav-position {
    top: 1rem;
    width: 90%;
  }
  .about-us__image{
    height: 12rem;
  }
}

/* css for footer */

#footer {
  overflow: hidden;
  background-color: var(--ft-bg) !important;
  color: var(--ft-font) !important;
}
#footer p {
  color: var(--ft-font) !important;
}

.logo-footer {
  max-width: 60% !important;
  height: auto !important;
}

.list-foot li {
  margin-bottom: 8px;
}

.list-foot a {
  color: var(--ft-font);
  text-decoration: none;
  transition: color 0.3s ease;
}
.list-foot a:hover {
  color: var(--ft-font-active);
  text-decoration: none;
  transition: color 0.3s ease;
}

.list-foot p {
  color: var(--ft-font);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}


.copyright {
  font-weight: lighter;
  color: var(--bg-secondary);
  font-size: 11.33px;
}

.job-wrapper {
  border: 0.5px solid #dfe6e9;
  border-radius: 4px;
  -webkit-box-shadow: 0px 1px 25px -17px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 25px -17px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 1px 25px -17px rgba(0, 0, 0, 0.75);
}

.job-wrapper .job-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.job-wrapper .job-header img {
  width: 100px;
  margin-top: -30px;
  margin-bottom: 10px;
}

.job-body {
  margin-top: -10px;
  padding: 0px 20px 35px 20px;
}

.job-body .job-title {
  background: var(--bg-primary) !important;
  color: var(--alt-title-primary) !important;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 3px;
  padding-top: 5px;
  border-radius: 4px;
}

.job-body .job-details p {
  font-weight: bold;
  font-size: 14px;
  color: #576574;
  margin-bottom: 3px;
}

.job-body .job-details div {
  font-size: 13px;
  color: #576574;
  text-align: justify;
}

.applyBTN {
  background-color: var(--bg-primary) !important;
  border: 2px solid var(--bg-primary) !important;
  color: var(--alt-title-primary) !important;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.applyBTN:hover {
  background: var(--bg-primary-95) !important;
  color: var(--alt-title-primary)!important;
}
