/*
Theme Name: Markline
Theme URI: 
Author: Kantipur Infotech
Author URI: https://kantipurinfotech.com/
Description: Markline Consultancy
Tags: Markline
Version: 1.0
Note: The CSS files are loaded from assets/css/ folder.
*/

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global */
body {
  background-color: white;
  overflow-x: hidden;
}

/* scrollbar hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* Dropdown panels */
.dropdown-panel {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Fonts and hero section typography */
.hero-section-font {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
}
.hero-content {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
}

.heading {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  color: #e41e26;
  font-size: 2.05rem;
  /* text-transform: uppercase; */
  word-spacing: 2px;
  margin-bottom: 12px;
}
@media (max-width: 640px) {
  .heading {
    font-size: 1.5rem;
    margin-bottom: 10px;
    word-spacing: 1px;
    line-height: 1.25;
  }
}

.sub-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #1e549f;
  word-spacing: 1.5px;
  /* text-transform: uppercase; */
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-panel {
  max-height: 500px;
}

/* Marquee Animations  */
@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  animation: marquee 18s linear infinite;
}

.animate-marquee-2 {
  display: flex;
  animation: marquee 5s linear infinite;
}

/*  Why Students Trust Us (Mobile)  */
@media (max-width: 767px) {
  #trust-scroll::-webkit-scrollbar {
    display: none;
  }
  #trust-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Study Destination Center Image */
.mask-gradient {
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-repeat: no-repeat;
  mask-size: cover;
}

/*  Study Destination Mosaic Animation  */

/* Upward scroll */
@keyframes marqueeUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.mosaic-track-up {
  display: flex;
  flex-direction: column;
  animation: marqueeUp 15s linear infinite;
  will-change: transform;
}

/* Downward scroll */
@keyframes marqueeDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0%);
  }
}

.mosaic-track-down {
  display: flex;
  flex-direction: column;
  animation: marqueeDown 10s linear infinite;
  will-change: transform;
}

/*  Accessibility for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .mosaic-track-up,
  .mosaic-track-down,
  .animate-marquee,
  .animate-marquee-2,
  .animate-scroll {
    animation: none !important;
  }
}

/* Hero Section Animation  */

/* initial hidden state */
.enter-init {
  opacity: 0;
}

/* left: from bottom → up */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* right: from top → down */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.in-up {
  animation: fadeUp 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform, opacity;
}
.in-down {
  animation: fadeDown 900ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform, opacity;
}

/* Disable animation for accessibility */
@media (prefers-reduced-motion: reduce) {
  .enter-init,
  .in-up,
  .in-down {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hero Logo Marquee */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  display: flex;
  animation: scroll-logos 50s linear infinite;
  width: max-content;
}

.animate-scroll img {
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}

.animate-scroll img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Disable snapping for marquee carousel  */
#videoStrip.no-snap {
  scroll-snap-type: none !important;
}

/* for who says dreams dont fly part */
.hero-content div.overflow-y-auto {
  scroll-behavior: smooth;
}

.hero-content div.overflow-y-auto::-webkit-scrollbar {
  width: 3px;
}
.hero-content div.overflow-y-auto::-webkit-scrollbar-thumb {
  background-color: #c7d2fe;
  border-radius: 6px;
}
.hero-content div.overflow-y-auto::-webkit-scrollbar-track {
  background: #f9fafc;
}


/*
  contact us send btn css

#fluentform_1 .ff_submit_btn_wrapper button,
#fluentform_3 .ff_submit_btn_wrapper button {
  background: #E11D2D;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 10px;
  width: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
}


#fluentform_1 .ff_submit_btn_wrapper button:hover,
#fluentform_3 .ff_submit_btn_wrapper button:hover {
  background: #C81828;
}

*/


