@import "colors.css";
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

/* --------------------------------------------------------
    Base Layout
-------------------------------------------------------- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Archivo", sans-serif;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    135deg,
    var(--secondary-blue1-trans3) 0%,
    var(--secondary-blue3-trans2) 25%,
    var(--secondary-blue3-trans1) 50%,
    var(--primary-blue) 75%,
    var(--secondary-blue2) 100%
  );
}

h1 {
  color: var(--primary-blue);
  font-size: 5rem !important;
  line-height: 6rem !important;
  letter-spacing: -0.03rem !important;
}

h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

p{
  color: var(--primary-black);
  margin-bottom: 0;
}

main {
  flex: 1;
}

/*************************************************************************
    Header
*************************************************************************/
#landing-header {
  background-color: transparent !important;
  margin-top: 2vh;
}

/*************************************************************************
    Footer
*************************************************************************/
footer.footer {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  padding-top: 0.5rem;
  z-index: 1;
  background-color: transparent !important;
}

footer.footer li {
  color: white;
  text-decoration: none;
}

footer.footer a {
  color: var(--light-blue);
  text-decoration: underline;
}

footer.footer a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

/*************************************************************************
    Hero Section (Landing Page)
*************************************************************************/
.hero {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5vh;
  margin-left: 5vw;
  height: 100vh;
  overflow: hidden;
  gap: 3vw;
  box-sizing: border-box;
}

.hero-text {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-carousel-wrapper {
  flex: 0 0 60%;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 1.5rem;
}

/*************************************************************************
    Carousel
*************************************************************************/

.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----- Carousel Track ----- */
.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* ----- Individual Slides ----- */
.carousel-slide {
  flex: 0 0 60%;
  opacity: 0;
  filter: blur(2px);
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.carousel-slide.next {
  opacity: 0.3;
  filter: blur(3px);
  transform: scale(0.9);
  pointer-events: none;
  z-index: 1;
}


/* ----- Card inside each slide ----- */
.carousel-card {
  width: 100%;
  height: auto;
  padding: 2rem;
  border-radius: 16px;
  background: var(--light-gray);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.carousel-card img {
  width: 100%;
  height: 50%;
  border-radius: 12px;
  margin-top: 1rem;
}

/* ----- Carousel Controls and Dots ----- */
.carousel-controls {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2vh;
  padding: 0.4rem 1rem;
}

.prev, .next {
  width: 2.5vw;
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
}

.carousel-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-color);
  transition: background 0.3s ease;
  cursor: pointer;
}

.carousel-dots .active {
  background: var(--primary-green);
}