/* Root Variables */
:root {
  --color-primary: #008080;
  --color-primary-light: #e8fdfd;
  --color-primary-soft: #f0fbfa;
  --color-secondary-light: #f9f7f3;
  --color-accent: #fef6e4;
  --color-alt-bg: #eef4f3;
  --color-text: #222;
  --color-text-light: #444;
  --color-bg: #ffffff;
  --color-card-bg: #fff;
  --color-border: #ddd;
  --color-footer-bg: #f8f8f8;
  --color-cta-bg: #208a8a;
  --color-cta-text: #ffffff;
  --color-link-hover: #f1f1f1;
}

* {
  margin: 0%;
  padding: 0%;
}

/* General Reset */
body,
h1,
h2,
h3,
p,
a {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  font-size: 20px;
}

body {
  background-color: var(--color-bg);
  line-height: 1.7;
}

.center-page {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.back-btn {
  text-decoration: none;
  background-color: var(--color-primary);
  color: #fff;
  padding: 5px 10px 10px 10px;
  border-radius: 5px;
}

.back-btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Sections */
section {
  margin: 0%;
  padding: 4rem 0;
}

h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

p {
  font-size: 20px;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.link {
  color: #4ddbdb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
  outline: none;
}





/* Why Section */
.why-section {
  background: var(--color-primary-soft);
}


/* Features Section */
.features-section {
  background: var(--color-bg);
}

/* How It Works Section */
.how-it-works-section {
  background: var(--color-bg);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 2rem;
}

.feature {
  background: var(--color-card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--color-cta-bg);
  color: var(--color-cta-text);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2,
.cta-section p {
  color: #fff;
}

.cta-button {
  background: var(--color-card-bg);
  color: var(--color-primary);
  padding: 0.9rem 2.2rem;
  border: none;
  font-size: 1.2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-top: 1rem;
  display: inline-block;
}

.cta-button:hover {
  background: var(--color-link-hover);
}

/* Quote Section */
.quote {
  background: var(--color-primary-soft);
  text-align: center;

}

.quote .quote-text {
  color: var(--color-primary);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 25px;
  line-height: 30px;
}

.quote .quote-text span {
  color: var(--color-text-light);
  font-size: 20px;
  font-family: "Segoe UI", sans-serif;
}


/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}












/* ---------- Welcome section: tech background & layout ---------- */
.welcome-section {
  position: relative;
  padding: 100px 0;
  /* subtle base background */
  background-color: var(--color-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('../images/workspace.svg');
  margin-top: 0%;
}

.welcome-section::after {
  position: absolute;
  content: '';
  background-color: #005e5ee1;
  width: 100%;
  height: 100%;
  top: 0%;
  z-index: -1;
}

.welcome-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--color-primary-soft);
  cursor: default;
}

.welcome-section p {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-primary-soft);
  cursor: default;
}

.welcome-section .container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 1.6rem;
  align-items: center;
}

.welcome-media {
  width: 150px;
  height: 150px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation-name: welcome;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
  animation-fill-mode: both;
  position: relative;
}

.anim {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.anim::after {
  border: dashed 2px #008080;
  content: '';
  width: 250px;
  height: 250px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation-name: outer;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: both;
  position: absolute;
}

.anim::before {
  border: dashed 2px #008080;
  content: '';
  width: 300px;
  height: 300px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation-name: outer;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-direction: reverse;
  animation-fill-mode: both;
  position: absolute;
}



@keyframes outer {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(50deg);
  }

  40% {
    transform: rotate(100deg);
  }

  60% {
    transform: rotate(180deg);
  }

  80% {
    transform: rotate(220deg);
  }

  100% {
    transform: rotate(360deg);
  }

}

@keyframes welcome {
  0% {
    background-image: url('../images/anime-1.svg');
    transform: rotate(0deg);
  }

  20% {
    background-image: url('../images/anime-3.svg');
    transform: rotate(-120deg);

  }

  40% {
    background-image: url('../images/anime-4.svg');
    transform: rotate(-500deg);
  }

  60% {
    background-image: url('../images/anime-5.svg');
    transform: rotate(-180deg);

  }

  80% {
    background-image: url('../images/anime-6.svg');
    transform: rotate(-360deg);
  }

  100% {
    background-image: url('../images/anime-7.svg');
    transform: rotate(-180deg);
  }

}

.welcome-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin-top: 30px;
}

.welcome-texts h2 {
  font-size: 3rem;
}

.already-user {
  display: inline-block;
  border-radius: 15px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: ease 0.5s;
  font-size: 1ren;
  box-shadow: 1px 1px 5px var(--color-text-light);
  padding: 10px 20px;
}


.already-user {
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
}

/* Small screens: stack and center images */
@media (max-width:980px) {
  .welcome-section .container {
    grid-template-columns: 1fr;
  }

  .anim {
    margin-inline: auto;
  }

}


/* small screens: stack and scale */
@media (max-width: 880px) {
  .welcome-texts h1 {
    font-size: 2rem;
  }

  .welcome-texts p {
    font-size: 1.2rem;
  }

  .welcome-media {
    width: 100px;
    height: 100px;
  }

  .anim {
    width: 300px;
    height: 300px;
  }


  .anim::after {
    width: 150px;
    height: 150px;

  }

  .anim::before {
    width: 200px;
    height: 200px;
  }
}

/* optional: reduce decorative intensity for very small devices */
@media (max-width: 420px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }


  .welcome-section::after {

    width: 100%;
    height: 100%;

  }

  .already-user {
    display: none;
  }
}


/* Mission section (image on right, responsive) */
.mission-section {
  padding: 3.6rem 0;
  /* background: linear-gradient(180deg, rgba(32, 163, 163, 0.212), transparent); */
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.6rem;
  align-items: center;
}

.mission-text h2 {
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.mission-media img {
  width: 100%;
  height: auto;
  display: block;

  object-fit: cover;
}


/* Why section (image on left, responsive) */
.why-section {
  padding: 3.2rem 0;
  background: var(--color-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.6rem;
  align-items: center;
}

.why-media img {
  width: 100%;
  height: auto;
  display: block;

  object-fit: cover;
}

.why-text h2 {
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}


/* Small screens: stack and center images */
@media (max-width:980px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-media,
  .mission-media {
    order: -1;
  }
}


/* Accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}