/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f1ec;
  color: #0c1445;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

/* GRADIENT ANIMATION */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* NAVIGATION */
nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2000;
}

.nav-links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  z-index: 1500;
  overflow-y: hidden;
}

.nav-links a {
  text-decoration: none;
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}

nav a:hover {
  opacity: 0.6;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  position: relative;
  z-index: 2500;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(-45deg, #FEF8EE, #0E1247, #C3e2f6, #F4A133, #1C278A);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  font-weight: 700;
  font-size: 22px;
}

.circle {
  width: 180px;
  height: 180px;
  margin: 40px auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-text {
  font-size: 14px;
  margin-bottom: 30px;
}

/* BUTTON */
.contact-btn {
  position: relative;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0c1445;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -2px 6px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 60%);
  opacity: 0.4;
  transform: rotate(25deg);
}

.contact-btn:hover {
  transform: translateY(-4px);
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  transform: translateY(-4px);
}

.arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* INTRO */
.intro {
  padding: 100px 20px;
}

.welcome {
  color: #F4A133;
  font-size: clamp(1rem, 3vw, 2rem);
  margin-bottom: 10px;
  font-weight: 560;
}

.intro h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
}

/* MISSION */
.mission {
  padding: 80px 20px;
  background: linear-gradient(180deg, #ffffff00, #cfd8e6);
}

.mission h2 {
  font-size: clamp(2.5rem, 3.5vw, 4.5rem);
  margin-bottom: 10px;
}

h4.subtitle {
  font-weight: 900;
  margin-bottom: 20px;
  font-size: clamp(1rem, 4vw, 1.9rem);
}

p.description {
  font-size: clamp(0.875rem, 1.1vw, 1.4rem);
  line-height: 1.6;
  font-weight: 200;
}

/* FEATURES */
.features {
  display: flex;
  gap: 60px;
  padding: 60px 40px;
  align-items: flex-start;
}

.features-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features-icons i {
  font-size: 60px;
  color: #0c1445;
  margin-bottom: 20px;
}

.feature {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  position: relative;
  padding-bottom: 20px;
}

.feature::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #0c1445;
  margin-top: 20px;
  opacity: 0.4;
}

/* PROJECTS */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 60px 40px;
}

/* CARD */
.card {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: #e9e5de;
}

/* IMAGE */
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 15px;
  background: #ddd;
}

.card h3 {
  margin-bottom: 15px;
}

/* ===== ROUND BUTTON ===== */
.card-btn {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 55px;
  height: 55px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f4a133;
  color: white;
  text-decoration: none;

  transition: all 0.25s ease;
}

.card-btn:hover {
  transform: translateY(-4px) scale(1.05);

}

/* FOOTER */
.footer {
  background: linear-gradient(180deg, #3d6fb6, #8ec6e8);
  color: white;
  padding: 80px 40px 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 50px;
}

/* Logo */
.footer-logo {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Newsletter */
.footer-newsletter {
  text-align: center;
}

.footer-newsletter h4 {
  margin-bottom: 15px;
  font-weight: 500;
}

.newsletter-input {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.newsletter-input input {
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  width: 250px;
}

.newsletter-input button {
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  background: white;
  color: #3d6fb6;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter-input button:hover {
  background: #e6f3fb;
}

/* Bottom Row */
.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.footer-email {
  text-align: right;
  font-weight: 500;
}

/* Copyright */
.footer-copy {
  font-size: 12px;
  opacity: 0.8;
}

/* RESPONSIVE MEDIA QUERY */
@media (max-width: 768px) {

  /* NAV */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(200, 226, 246, 0.2);
    -webkit-backdrop-filter:blur(12px) ;
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
    overflow: hidden;

  }

  /* HERO */
  .hero-text {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .circle {
    width: 120px;
    height: 120px;
  }

  /* FEATURES STACK */
  .features {
    flex-direction: column;
    gap: 2rem;
    padding: 40px 20px;
  }

  /* PROJECTS */
  .projects {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 2rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card-img {
    height: auto;
    aspect-ratio: 16/9;
  }

  .scroll-indicator {
    width: 40px;
    height: 40px;
  }

  .arrow {
    width: 8px;
    height: 8px;
    border-width: 2px;
  }


  .footer-newsletter {
    display: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .footer-email {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}