@import "tailwindcss";
@custom-variant hover (&:hover);
@custom-variant focus (&:focus);
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
html {
  scroll-behavior: smooth;
}

.syne {
  font-family: "Syne", sans-serif;
}
.outfit {
  font-family: "Outfit", sans-serif;
}
.inter {
  font-family: "Inter", sans-serif;
}
.montserrat {
  font-family: "Montserrat", sans-serif;
}

/* BACK TO TOP BTN */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1da7df;
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: #1f316e;
}

/* -----------OUR SERVICE & CONTACT SECTION BACKGROUND COLOUR  */
.bgcolour-sec-1 {
  background: #f7f7fd;
  width: 100%;
  padding: 100px 0;
}

.bgcolour-sec-2 {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f7f7fd 50%, white 50%);
}
/* ------------OUR PROJECTS -- CARDS   */

.card {
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease;

  will-change: transform, filter, opacity;
}

/* ------------FUTURE--CARDS -- ARROWS */
.arrow-btn {
  position: absolute;
  bottom: -26px;
  right: -10px;

  width: 70px;
  height: 70px;

  background: #e3e4e6;
  border: 10px solid #f3f4f6;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.4s ease;
}

.arrow-icon {
  width: 22px;
  height: 22px;
  color: #294293;
  transition: all 0.4s ease;
}

/*  when card is hovered */
.group:hover .group-hover-btn {
  transform: translate(-6px, -6px);
  background: #294293;
}

/* change arrow color */
.group:hover .group-hover-btn .arrow-icon {
  color: white;
}

/* -----------------MISSION & VISION SECTION- GRADIENT COLOUR  */
.mission-bg {
  background: linear-gradient(to bottom, #e1effc 0%, #ffffff 100%);
}

.vision-bg {
  background: linear-gradient(90deg, #2f4396 0%, #6a7fca 100%);
}

/* -----------------------------ANIMATION IN EACH SECTION  */
/* Initial state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* When visible */
.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------CONTACT US SECTION- ADJUSTMENT IN SCREEN 1024PX */
@media (min-width: 1024px) and (max-width: 1100px) {
  .contact-section img {
    display: none;
  }

  .contact-section {
    padding-left: 0;
    padding-right: 0;
  }
}
/* ------------------ADJUSTMNET IN COMMITMENTS PAGE  */
@media (min-width: 1024px) and (max-width: 1100px) {
  .contact-section-comm img {
    display: none;
  }

  .contact-section {
    padding-left: 0;
    padding-right: 0;
  }
}
/* ----for cards  */
@media (min-width: 1024px) and (max-width: 1100px) {
  /* Make cards auto height instead of fixed */
  .middle-screen-card > div {
    height: auto !important;
    min-height: 520px;
  }
}

/* Reduce text size slightly */
.middle-screen-card p {
  font-size: 14px !important;
  line-height: 1.6;
}

/* Prevent text overflow */
.middle-screen-card p {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------------------- 1024PX SCREEN ADJUSTMENT */
@media (min-width: 1024px) and (max-width: 1100px) {
  .middle-screen {
    padding-left: 25px;
    padding-right: 25px;
  }
}
