@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway: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");
@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@200;300;400;500;600;700;800&display=swap");

/*
********
    Main
********
*/

:root {
  --clr-light: #fff;
  --clr-dark: #000;
  --clr-blue: #13add8;
  --clr-blue-fade: #eef5f7;
  --clr-blue-dark: #029cc7;
  --clr-blue-light: #19beeb;
  --clr-pink: #ff006c;
  --clr-pink-fade: #f9ecf1;
  --clr-pink-dark: #cc0055;
  --clr-pink-light: #e60060;
}

::selection {
  background-color: var(--clr-blue-dark);
  color: var(--clr-light);
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 1rem;
  line-height: 1.625rem;
  letter-spacing: 0.2px;
  font-family: "Raleway", sans-serif;
  color: #333;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: "EB Garamond", serif; */
  font-family: "Dosis", sans-serif;
  font-weight: 600;
}

dl,
ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #249abb;
  transition: 250ms ease;
  font-family: "Raleway", sans-serif;
}

a:hover {
  color: #ff006c;
}

img {
  max-width: 100%;
  display: block;
}

.py-60 {
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}

@media (max-width: 767px) {
  .py-60 {
    padding-top: calc(3.75rem / 2);
    padding-bottom: calc(3.75rem / 2);
  }
}

.color-primary{
  color: var(--clr-pink);
}

/*Header*/

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 100px;
}

.logo .mobile img {
  width: 64px;
}

.logo h1 {
  line-height: 34px;
  font-family: "EB Garamond", serif;
  font-size: 28px;
}

.logo h1 span {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  font-family: var(--bs-body-font-family);
  color: var(--bs-gray-600);
}

/* Button */

.btn {
  transition: 300ms ease-out;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-alt {
  background: var(--clr-pink-light);
  color: #ffffff;
  border-color: var(--clr-pink-light);
}

.btn-alt:hover {
  color: var(--clr-pink-dark);
  background-color: var(--clr-light);
  /* background-color: transparent; */
  /* border-color: var(--clr-pink-light); */
  border-color: transparent;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.btn-outline {
  color: #000;
  background: none;
  border-color: #000000;
}

.btn:focus {
  box-shadow: none;
}

button:focus {
  box-shadow: none;
}

.past-events-page .btn-main {
  margin-top: 10px;
}

.btn-main {
  color: #fff;
  background-color: #13add8;
  border-color: #13add8;
  display: inline-block;
}

.btn-main:hover {
  color: #13add8;
  /* background-color: var(--clr-light); */
  background-color: transparent;
  /* border-color: #13add8; */
  border-color: transparent;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

#loading-page {
  background: #ffffff;
  text-align: center;
  z-index: 9999;
  position: fixed;
  height: 100vh;
  width: 100%;
  max-width: 100%;
}

#loading-page img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
}

.msg-box-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 70%);
  top: 0;
  left: 0;
  z-index: 11111;
}

.msg-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.msg-box p {
  font-size: 1.375rem;
  line-height: 32px;
  margin: 0;
}

.msg-close {
  position: absolute;
  right: -20px;
  top: -30px;
  font-size: 2rem;
  background: none;
  color: #fff;
  padding: 0;
  line-height: 35px;
  text-align: center;
}

.msg-close:hover {
  color: #fff;
}

/*menu*/

nav.navbar {
  background: var(--clr-blue);
}

.navbar .nav-item {
  border-right: 1px solid rgb(0 0 0 / 12%);
}

.navbar .nav-link {
  font-size: 1rem;
  color: var(--clr-light);
  transition: 300ms ease;
  padding: 0.4rem 0.8rem !important;
}

.navbar .nav-link:hover {
  background: var(--clr-pink-light);
}

.navbar .dropdown-menu {
  border: none;
  background: var(--clr-blue-dark);
  padding: 0;
  z-index: 1111;
  position: relative;
  left: 0;
  margin-top: 0;
  border-radius: 0;
}

.navbar .dropdown-toggle.active {
    font-weight: 600;
  color: #f5f5f5;
  background: var(--clr-pink-light);
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: var(--clr-pink-dark);
}

.navbar .dropdown-menu::before {
  content: "";
  position: absolute;
  left: 40px;
  top: -20px;
  border-style: solid;
  border-width: 10px;
  border-color: rgb(255 0 0 / 0%) rgb(0 0 0 / 0%) #e60060 rgb(255 0 0 / 0%);
  z-index: -1;
}

.navbar .dropdown-item {
  color: var(--clr-light);
  padding: 10px 20px;
  box-shadow: 0px 2px 9px -2px rgb(0 0 0 / 12%);
}

.navbar li:last-child .dropdown-item {
  box-shadow: none;
}

/* Mobile Menu */

@media only screen and (max-width: 992px) {
  /*
    Menu Hamburger
    */
  .navbar-toggler {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .menu-toggler {
    width: 3rem;
    height: 3rem;
    background-color: var(--clr-blue);
  }
  .menu-toggler-icon {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }
  .menu-toggler-icon span {
    display: block;
    position: absolute;
    height: 0.2rem;
    width: 100%;
    border-radius: 100vw;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
  .menu-toggler-icon span {
    background: #fff;
  }
  .menu-toggler-icon span:nth-child(1) {
    top: 0px;
  }
  .menu-toggler-icon span:nth-child(2) {
    top: 10px;
  }
  .menu-toggler-icon span:nth-child(3) {
    top: 20px;
  }
  .menu-toggler-icon.open span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .menu-toggler-icon.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }
  .menu-toggler-icon.open span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  /*
    Mobile Menu Display
    */
  .navbar .container {
    justify-content: center;
  }
  .navbar .collapse:not(.show) {
    display: block;
    /* visibility: hidden;
        transition: 300ms ease-in; */
  }
  .navbar .collapse.show {
    /* visibility: visible; */
  }
  .navbar .navbar-collapse {
    position: fixed;
    background: #333;
    padding: 2rem;
    width: 80vw;
    height: 100vh;
    z-index: 9999;
    top: 0;
    left: -80%;
    transition: 300ms ease-in;
  }
  .navbar .navbar-collapse.show {
    left: 0;
    transition: 300ms ease-out;
  }
  .navbar .nav-link:hover {
    background: none;
  }
  .navbar .dropdown-menu {
    background: none;
  }
  .navbar .dropdown-menu::before {
    display: none;
  }
}

/*carousel*/

@media (max-width: 768px) {
  .hero .carousel-item img {
    min-height: 250px;
    object-fit: cover;
  }
}

.carousel-caption {
  position: absolute;
  right: auto;
  bottom: auto;
  top: 50%;
  left: 50%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
}

.carousel-caption h2 {
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 36px;
}

.carousel-caption p {
  font-size: 1.125rem;
  line-height: 28px;
}

.carousel-caption h2 span {
  display: block;
  font-weight: normal;
}

.banner-links .btn {
  font-size: 1.125rem;
  line-height: 28px;
  padding: 10px 20px;
}

.banner-links .btn.btn-outline {
  background: #fff;
  border: 1px solid #fff;
}

.banner-links .btn:hover {
  background-color: #fff;
}

/*quick-links*/

.quick-links {
  background-color: #eeeeee;
  padding: 1em 0;
}

.quick-links a {
  padding: 20px 10px;
  border-right: 2px solid #000;
  color: var(--clr-dark);
  font-size: 1.125rem;
  font-weight: 600;
  overflow: hidden;
}

.quick-links a i {
  margin: 0 10px 0 0;
}

.quick-links a:last-child {
  border: none;
}

.quick-links .q-link {
  transition: ease 0.5s;
}

.quick-links a:hover .q-link {
  color: var(--clr-blue-dark);
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .quick-links a {
    border-width: 2px;
    border-color: #fff;
    font-weight: 500;
    padding: 10px 5px;
    font-size: 0.825rem;
  }
  .quick-links a:nth-child(even) {
    border: none;
  }
  .quick-links a:nth-child(-n + 2) {
    border-bottom: 2px solid #fff;
  }
}

/*home-about*/

.home-about {
  background-image: url(../img/about-vector.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 80%;
}

.home-about .row {
  /* background-image: url(../img/about.png); */
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}

.home-about h2 {
  color: var(--clr-pink-light);
}

.home-about p {
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*news-and-events*/

section.news-and-events {
  background: #eee;
}

.news-and-events a {
  display: block;
  transition: ease 0.3s;
}

.news-and-events a:hover {
  filter: saturate(0%);
}

.news-and-events img {
  border-radius: 12px;
}

.news-and-events .carousel-indicators {
  bottom: -3rem;
}

@media (max-width: 767px) {
  .news-and-events .carousel-indicators {
    bottom: -2rem;
  }
}

.news-and-events .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  /* border-radius: 30px; */
  padding: 0;
  border: none;
  background-color: var(--clr-blue-light);
}

/*home-msg*/

.home-president {
  color: var(--clr-blue-light);
}

.home-secretary {
  color: var(--clr-pink-light);
}

.home-msg h3 {
  font-size: 1.3rem;
  line-height: 2rem;
}

.ho .home-msg h4 {
  font-size: 1.25rem;
  line-height: 1.625rem;
}

.home-msg p {
  color: var(--clr-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-msg .btn {
  width: 40%;
}

@media only screen and (max-width: 600px) {
  .home-msg .btn {
    width: 100%;
  }
}

/*journal-resources*/

.journal-box {
  border-right: 3px solid #ebebeb;
}

.resources-box {
  background: #fff;
  padding: 30px;
}

.journal-box h2 {
  color: var(--clr-blue-light);
}

.resources-box h2 {
  color: var(--clr-blue-light);
}

/* .resources-box {
    text-align: center;
} */

.resource-links a {
  display: block;
  padding: 12px 20px;
  margin: 12px 0;
  border-radius: 50px;
  font-size: 1.125rem;
  color: var(--clr-light);
  box-shadow: 2px 4px 4px -4px rgb(0 0 0 / 50%);
  background: #13add8;
  background: -webkit-linear-gradient(to right, #13add8, #029cc7, #13add8);
  background: -moz-linear-gradient(to right, #13add8, #029cc7, #13add8);
  background: linear-gradient(to right, #13add8, #029cc7, #13add8);
  background-size: 200%;
  background-position: center left;
  transition: 300ms ease;
}

.resource-links a:hover {
  background-position: center right;
}

@media (max-width: 767px) {
  .journal-box,
  .resources-box {
    padding: 15px;
  }
  .resource-links a {
    font-size: 0.825rem;
    padding: 10px 16px;
  }
}

/*home-gallery*/

.home-gallery {
  background-image: url(../img/gallery.jpg);
  background-repeat: no-repeat;
  background-position: center right;
  color: var(--clr-pink-light);
}

.home-gallery img {
  border-radius: 12px;
}

.home-gallery .carousel-indicators {
  bottom: -3rem;
}

@media (max-width: 767px) {
  .home-gallery .carousel-indicators {
    bottom: -2rem;
  }
}

.home-gallery .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  /* border-radius: 30px; */
  padding: 0;
  border: none;
  background-color: var(--clr-pink-light);
}

/*form-section*/

.join-us-inner p {
  font-size: 1.125rem;
  text-align: center;
}

.membership-fee {
  text-align: center;
  font-size: 1.5rem;
  color: #4caf50;
  margin: 0 0 20px;
}

.form-section {
  margin: 0 auto;
  overflow: hidden;
  padding: 3em 3em 3em;
  background: #ffffff;
  box-shadow: 0px 4px 42px -14px rgb(205 210 216);
  border-radius: 30px;
  text-align: left;
  position: relative;
}

.form-section1 {
  margin: 0 auto;
  overflow: hidden;
  padding: 3em 3em 3em;
  background: #ffffff;
  box-shadow: 0px 4px 42px -14px rgb(205 210 216);
  border-radius: 30px;
  text-align: left;
  position: relative;
}

.form-section h2 {
  color: #4caf50;
  font-size: 1.75rem;
}

.form-section h3 {
  font-size: 1.5rem;
  line-height: 34px;
  margin: 0 0 15px;
  color: var(--clr-blue);
  border-bottom: 1px solid var(--clr-blue);
  padding: 0 0 5px;
  position: relative;
  z-index: 1;
}

.form-section h3::before {
  content: "";
  width: 33%;
  height: 4px;
  left: 0;
  bottom: -2px;
  position: absolute;
  z-index: -1;
  background-color: var(--clr-blue);
}

.form-section h3.text-center::before {
  left: 50%;
  transform: translateX(-50%);
}

.view-page .form-control,
.view-page .form-select {
  border-radius: 8px;
  padding: 10px;
  border: none;
  outline: none;
  background: #f5f5f5;
}

.form-section.viewpage .form-control,
.form-section.viewpage .form-select {
  background: #f5f5f5;
  border: none;
  outline: none;
}

.form-section li {
  margin: 0 0 1.5rem;
}

.profile-bar a {
  background: #f1f8ff;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 1rem;
}

.form-section label {
  margin: 0 0;
  font-size: 1rem;
}

.form-section label span {
  font-size: 16px;
}

.form-section label span.text-danger {
  font-size: 26px;
  line-height: 26px;
  vertical-align: bottom;
}

.showPass {
  border: none;
  outline: none;
}

.form-group {
  margin: 0 0 20px;
}

.upload-label input[type="file"] {
  opacity: 0;
  position: absolute;
  top: 0;
}

label.error {
  clear: both;
  color: #f00;
}

.not-allowed {
  cursor: not-allowed;
}

.alert-msg {
  padding: 10px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: bold;
  color: #fff;
  border-radius: 3px;
}

.form-section .report-problem {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  color: #f00;
}

.fellowship-form {
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0px 4px 18px -5px rgb(205 210 216);
  border-radius: 0;
  text-align: left;
  position: relative;
  padding: 0;
}

a.report-problem1 {
  font-size: 0.75rem;
  color: #f00;
  font-weight: bold;
}

.secimg {
  border: 1px solid #ced4da;
  border-radius: 8px;
}

.registration li span {
  color: #f00;
}

.login p {
  margin: 0;
  font-size: 0.875rem;
}

.payment .form-section li {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 26px;
}

.payment table {
  font-family: sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.payment table td {
  padding: 8px 0;
}

.payment table tr {
  border-bottom: 1px dashed #c2d7cd;
}

.payment table tr:last-child {
  border: none;
}

.cretotal {
  padding: 15px 20px;
  background: #f2fff9;
  border: 2px solid #198754;
  border-radius: 12px;
}

.cretotal h4 {
  font-size: 16px;
  font-style: italic;
  color: #ffffff;
  padding: 5px 10px;
  background: #198754;
  border-radius: 8px;
  font-weight: normal;
}

/*my-profile*/

.my-profile {
  text-align: center;
}

.my-home-links a {
  display: inline-block;
  background: #ffffff;
  border-radius: 30px;
  padding: 4px 15px;
  font-size: 0.875rem;
  color: #13add8;
  line-height: 22px;
  border: 1px solid #13add8;
}

.my-home-links a:hover {
  background: #13add8;
  color: #fff;
}

.my-home-links a i {
  margin: 0 5px 0 0;
}

.profile-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 100%;
  display: block;
  text-align: center;
  box-shadow: 0px 2px 0px 5px #e4e4e4;
}

.d-profile h4 {
  font-size: 1.125rem;
}

.d-profile span.badge {
  font-size: 0.75rem;
}

.login-menu li {
  margin: 0;
  padding: 0;
}

.login-menu li a {
  padding: 1em;
  border-bottom: 1px solid #f5f5f5;
  display: block;
  margin: 0;
  color: #505050;
  font-size: 1.125rem;
  transition: 0.3s ease all;
}

.login-menu li:last-child a {
  border: none;
}

.login-menu li a i {
  margin: 0 12px 0 0;
  color: var(--clr-blue);
  transition: 0.3s ease all;
}

.login-menu li a:hover {
  color: #fff;
  background-color: var(--clr-blue);
}

.login-menu li a:hover i {
  color: #fff;
}

/* Footer */

.footer ul {
  list-style: none;
}

footer .nav-item {
  list-style-type: disc;
  color: #ffffff;
}

footer .nav-link {
  color: #ffffff;
  display: inline-block;
  transition: 1s ease-out;
}

footer .nav-link:hover {
  color: #ff006c;
}

footer {
  background-color: #181818;
}

footer h5 {
  color: var(--clr-blue);
  font-size: 1.5rem;
}

footer .address p {
  font-weight: 600;
}

.copy-right {
  color: #ffffff;
  padding: 10px 0px;
}

.copy-right p {
  margin: 0px;
}

/* ANIMATIONS */
@keyframes blinker {
  0%,
  49% {
    border-bottom-color: rgb(255, 196, 0);
  }
  50%,
  100% {
    border-bottom-color: rgb(0, 47, 255);
  }
}

.blink {
  position: relative;
  /* isolation: isolate; */
}

.blink::before {
  position: absolute;
  content: "";
  border: 6px solid transparent;
  border-bottom-color: #000;
  left: 50%;
  bottom: 0;
  animation: blinker 750ms ease-out infinite forwards;
}

.blink:has(.active)::before {
  content: none;
  /* animation: unset; */
}
