/* *{
    border: solid red 1px;
} */

html {
    scroll-behavior: smooth !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    scrollbar-color: #000000 #ffffff !important;
    scrollbar-width: thin !important;
}

body{
    font-family: "Plus Jakarta Sans", sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}
.navbar {
    transition: border-bottom 0.3s ease-in-out;
}
.navbar.scrolled {
    border-bottom: 2px solid #fff;
}
  
.font-800{
    font-weight: 800 !important;
    font-style: normal !important;
}

.zer-bg-grey{
    background-color: #242424 !important;
}

.zer-border-radius{
    border-radius: 20px !important;
}

.zer-border-radius-top-left{
    border-top-left-radius: 20px !important;
}

.zer-border-radius-top-right{
    border-top-right-radius: 20px !important;
}

.zer-border-radius-left{
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.zer-border-radius-left-rounded{
    border-top-left-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
}

.fade-effect-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 20%;
    pointer-events: none; /* Ensure it doesn't block scrolling */
    background: linear-gradient(to left, rgba(0, 0, 0, 1), transparent);
}

.fade-effect-r {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 10%;
    pointer-events: none; /* Ensure it doesn't block scrolling */
    background: linear-gradient(to left, rgba(0, 0, 0, 1), transparent);
}

.fade-effect-l {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 10%;
    pointer-events: none; /* Ensure it doesn't block scrolling */
    background: linear-gradient(to right, rgba(0, 0, 0, 1), transparent);
}

.fade-layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none; /* Ensure it doesn't block scrolling */
    background: rgba(255, 255, 255, 0.300)
}

/* Hide the scrollbar but allow scrolling */
.hide-scrollbar {
    overflow-x: scroll; /* Allow scrolling */
    scrollbar-width: none; /* For Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

/* Initial state */
a {
    color: black;
    transition: color 0.3s ease-in-out; /* Apply a transition to the color change */
}

/* Hover effect with animation */
a:hover {
    color: #f9d75d !important;
}

.custom-width {
    max-width: 90%;
}

@media (min-width: 992px) {
    .custom-width {
    max-width: 55%;
    }
}

.custom-select {
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none;    /* For Firefox */
    appearance: none;         /* For modern browsers */
    background-image: none;   /* Remove background image if there’s one */
    font-size: 1rem !important;
}

.text-truncate-multiline-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-multiline-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-multiline-4 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-multiline-5 {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-multiline-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zer-text-desc{
    font-size:14px !important;
}


.collapse {
    transition: height 0.1s ease-in-out;
}

.collapse-programme{
    /* background-color: black; */
    color: white;
}

.collapse-programme:hover{
    background-color: white;
    color: black;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

/* Default state (collapsed) */
.toggle-icon:before {
    content: "\f067"; /* FontAwesome 'plus' icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Solid weight */
    font-style: normal;
}

/* When the collapsible element is shown, change the icon */
div[aria-expanded="true"] .toggle-icon:before {
    content: "\f068"; /* FontAwesome 'minus' icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}


/* Hover effect with animation */
.nav-link.active {
    color: #f9d75d !important;
}

.zer-hover-light{
    transition: background-color 0.3s ease, color 0.3s ease,transform 0.3s ease;
}

.zer-hover-light:hover{
    background-color: white !important;
    transform: scale(1.05);
    color: black !important;
}

.loader {
    width: 48px;
    height: 48px;
    border: 10px solid #f5f6ff;
    border-bottom-color: #000000;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @font-face {
    font-family: 'BodoniClassicBold';  /* Define a name for the font */
    src: url('../fonts/BodoniClassicText-CyrillicBold.ttf') format('truetype');  /* Path to the font file */
}

.logo-first-text{
    font-family: 'BodoniClassicBold', serif !important;  /* Apply the custom font */
    font-weight: 400 !important;
    font-style: normal !important;
}

.logo-second-text{
    font-family: "Courier Prime", monospace !important;
    font-weight: 400 !important;
    font-style: normal !important;
}
.text-14{
    font-size: 14px !important;
}

.text-16{
    font-size: 16px !important;
}

.text-20{
    font-size: 18px !important;
}

.text-22{
    font-size: 20px !important;
}

.zer-overflow-y-scroll {
    overflow-y: auto !important;
    scrollbar-color: #000000 #ffffff !important;
    scrollbar-width: thin !important;
}

/* <ul class="dropdown-menu w-100 mt-2 bg-black border border-white">
<li><a class="dropdown-item active" href="#">Fashion Studies</a></li>
<li><a class="dropdown-item" href="#">Fashion Studies</a></li>
<li><a class="dropdown-item" href="#">Fashion Studies</a></li>
<li><a class="dropdown-item" href="#">Fashion Studies</a></li>
</ul> */

.dropdown-menu .dropdown-item > a{
    color: white !important;
}

.heartbeat {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	        animation: heartbeat 1.5s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-11-5 23:39:58
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
 @-webkit-keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-transform-origin: center center;
              transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
              transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
              transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
              transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  @keyframes heartbeat {
    from {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-transform-origin: center center;
              transform-origin: center center;
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    10% {
      -webkit-transform: scale(0.91);
              transform: scale(0.91);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    17% {
      -webkit-transform: scale(0.98);
              transform: scale(0.98);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    33% {
      -webkit-transform: scale(0.87);
              transform: scale(0.87);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    45% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  

  .swing-in-top-fwd {
	-webkit-animation: swing-in-top-fwd 2.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-top-fwd 2.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-11-9 21:23:50
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation swing-in-top-fwd
 * ----------------------------------------
 */
 @-webkit-keyframes swing-in-top-fwd {
    0% {
      -webkit-transform: rotateX(-100deg);
              transform: rotateX(-100deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
      -webkit-transform: rotateX(0deg);
              transform: rotateX(0deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 1;
    }
  }
  @keyframes swing-in-top-fwd {
    0% {
      -webkit-transform: rotateX(-100deg);
              transform: rotateX(-100deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
        -webkit-transform: rotateX(0deg);
                transform: rotateX(0deg);
        -webkit-transform-origin: top;
                transform-origin: top;
    opacity: 1;
    }
}

.about-us-carousel{
    border: none;
}

.about-us-carousel:hover{
    border: solid #1b1b1b 4px !important;
    transition: border 0.1s ease-in
}

/* Default min-height for larger screens */
#modal-tutor-desc {
    font-size: 18px;
}

#modal-tutor-name{
    font-size: 45px;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #modal-tutor-desc {
        font-size: 16px;
    }
    #modal-tutor-name{
        font-size: 40px;
    }
}

/* Remove min-height on smaller screens (mobile phones) */
@media screen and (max-width: 767px) {
    #modal-tutor-desc {
        font-size: 16px;
    }
    #modal-tutor-name{
        font-size: 30px;
    }
}

.splide__slide.is-active.is-visible .fade-mask{
    filter: grayscale(0%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}
.splide__slide.is-active.is-visible .fade-mask > img{
    transform: scale(1.05);
}

.fade-mask {
    filter: grayscale(80%);
    transition: transform 0.3s ease, filter 0.1s ease;
}
.fade-mask > img{
    transition: transform 0.3s ease;
}

.fade-mask:hover {
    filter: grayscale(0%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}
.fade-mask>img:hover {
    transform: scale(1.05);
}
