:root {
  --primary-text-color: #141414;
  --secondary-text-color: #6a6a6a;
  --primary-bg-color: #0062cc;
  --secondary-bg-color: #252525;
  --button-bg-color: #5e1335;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}
body {
  overflow-x: hidden;
  box-sizing: border-box;
}
img {
  max-width: 100%;
}

a {
  text-decoration: none;
}
header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  .nav-link {
    color: #141414 !important;
    &:hover {
    	color: var(--button-bg-color) !important;
  	}
  }
}
.details_text_wrapper h2 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: "Source Sans 3", sans-serif;
  color: var(--primary-text-color);
}

.details_text_wrapper p {
  color: var(--secondary-text-color);
  font-size: 1rem;
  font-weight: 400;
  font-family: "Source Sans 3", sans-serif;
}

#bgimg_holder {
  width: 100%;
  height: 100%;
  background: linear-gradient(#00000065, #00000065),
    linear-gradient(#00000065, #00000065), url("../images/about.jpg");
  background-size: cover;
  background-position: right;
  position: relative;
}

.btn_wrapper {
  width: 98%;
}

.btn_wrapper button.btn {
  border-radius: 5px !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 40px;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn_wrapper button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn_wrapper #submit_btn {
  background-color: var(--primary-bg-color) !important;
}

.btn_wrapper #next_btn {
  background-color: var(--primary-bg-color) !important;
}

.btn_wrapper #back_btn {
  background-color: var(--secondary-bg-color) !important;
}

#form_wrapper {
  position: relative;
  overflow: hidden;
  height: auto;
}

#first_part,
#second_part,
#third_part {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
  display: none;
  padding: 0px 15px;
}

#first_part.active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
  display: block;
}

/* Animation classes */
.slide-out-left {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
}

.slide-in-center {
  transform: translateX(0) !important;
  opacity: 1 !important;
  z-index: 2 !important;
  display: block !important;
}

.slide-out-right {
  transform: translateX(100%) !important;
  opacity: 0 !important;
}

.hidden-part {
  display: none !important;
}

#loading_spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: none;
}

#loading_spinner.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
}

.progressbar_wrapper .progress {
  background-color: #e9ecef;
}

.progressbar_wrapper .progress-bar {
  background-color: var(--primary-bg-color);
}
#submit_btn .spinner-border {
  width: 15px;
  height: 15px;
}

/* css for home page */

.logo_img img {
  width: 300px;
  height: 70px;
}
.carousel-item img {
  width: 100%;
  height: 750px;
  object-fit: cover;
}
.carousel-caption {
  bottom: 45% !important;
}
#hero_section {
  height: 90vh;
  overflow: hidden;
}

.hero_video {
  object-fit: cover;
  height: 100%;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.nav-link {
  color: white !important;
  font-size: 18px;
  &:hover {
    color: var(--button-bg-color) !important;
  }
}
a.btn.btn_join {
  color: white;
  background: var(--button-bg-color);
  padding: 10px 40px;
}
section {
  padding: 50px 0;
}
.heading_wrapper {
  text-align: center;
  margin: 0;
  span {
    color: white;
    background: var(--button-bg-color);
    padding: 3px 15px;
  }
}
.img_wrapper {
  overflow: hidden;
  border-radius: 8px;
}

.img_wrapper img {
  width: 100%;
  height: 250px;
  display: block;
}

.overlay_cat_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img_wrapper:hover .overlay_cat_img {
  opacity: 1;
}

.overlay_cat_img a {
  color: #fff;
}

.dept_wra h2 {
  text-align: center;
  margin-top: 15px;
  font-size: 1.3rem;
}
.feature_list::before {
  content: "";
  font-family: FontAwesome;
  position: absolute;
  top: 0px;
  left: 0px;
  font-size: 20px;
  background-clip: text;
  color: #5e1335;
}
p.feature_list {
  position: relative;
  padding-left: 25px;
}
section#about {
  background: #f9faff;
}
.count_number_wrapper {
  h1,
  i {
    color: #5e1335;
  }
}
#counter_section {
  padding: 80px 0px;
  color: white !important;
  background: linear-gradient(#00000085, #00000085),
    linear-gradient(#00000085, #00000085), url("../images/bg_count.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.img_wrapper_alumni {
  position: relative;
  border-radius: 15px !important;
  overflow: hidden;
  .layer_content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(
      to top,
      rgb(164 30 98 / 90%),
      rgba(255, 0, 128, 0.4),
      transparent
    );
    color: white;
    height: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding: 20px 0px;
  }
}
.img_wrapper_alumni img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.accordion-button:focus {
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: #5e1335 !important;
  color: white !important;
}
footer {
  background-color: #5e1335;
  color: white;
  padding: 10px 0px;
  text-align: center;
}

@media only screen and (max-width: 991px) {
  div#navbarSupportedContent {
    border-top: 1px solid rgb(217, 217, 217);
  }
  .count_number_wrapper.text-center {
    margin-bottom: 40px;
  }

  .count_number_wrapper.text-center h1 {
    font-size: 50px;
  }
  .img_wrapper_alumni {
    margin-bottom: 40px;
  }
}
@media only screen and (max-width: 768px) {
  .lead {
    font-size: 16px;
    font-weight: 300;
  }
  a.btn.btn_join.mt-5 {
    margin-top: 20px !important;
  }
  .logo_img img {
    width: 250px;
    height: 60px;
  }
}
