/* Color and font settings */
:root {
  --navy: #13294b;
  --white: #ffffff;
  --orange: #ff552e;
  --brown: #98684e;
}

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

body,
html {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  color: var(--brown);
  overflow-x: hidden; 
  scroll-behavior: smooth;
  
}

/* === FULL BACKGROUND === */
body {
  background: url("../assets/ai\ background-4.png");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(240, 229, 222, 0.3);
  z-index: -1;
}

header {
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

.title {
  font-size: 2rem;
  color: var(--orange);
  margin: 0 2rem;
  text-align: center;
  white-space: nowrap;
  font-weight: bold;
}

main {
  text-align: left;
  padding: 2rem 2rem 2rem 5rem;
  width: 50%;
  min-height: 120vh; /* Reduced from 120vh for better scrolling */
}

main h2 {
  font-size: 5rem;
  color: var(--navy);
  font-style: italic;
  position: relative;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

main p {
  font-size: 1.8rem;
  margin-top: 2rem;
  color: var(--brown);
  line-height: 1.6;
}

button {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: var(--orange);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #cc441f;
}

.wave-divider {
  width: 100%;
  line-height: 0;
  margin-top: -22rem;
  margin-bottom: -5px;
}

.wave-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(
    90deg,
    var(--navy) 0%,
    var(--brown) 50%,
    var(--orange) 100%
  );
  clip-path: polygon(
        0 20%, 20% 0%, 40% 30%, 60% 0%, 80% 20%, 100% 0%, 
        100% 80%, 80% 100%, 60% 70%, 40% 100%, 20% 80%, 0% 100%
  );
}



.features {
  background-color: #f0ece9;

  color: var(--brown);
}

.feature {
  max-width: 800px;
  padding-top: 2rem;
  margin: 0 auto;
  text-align: center;
}

.feature h3 {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.feature p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.more-content {
  padding: 4rem 2rem;
  background-color: rgba(255, 255, 255, 0.9);
}

.content-section {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.content-section h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.content-section p {
  font-size: 1.1rem;
  color: var(--brown);
  line-height: 1.6;
  text-align: justify;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 2rem 0;
  width: 90%;
  max-width: 1000px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--orange);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  color: var(--brown);
  width: 50%;
  padding: 1rem 0rem;
}

.timeline-dot {
  position: absolute;
  top: 1rem;
  width: 16px;
  height: 16px;
  background-color: var(--orange);
  border: 2px solid white;
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  color: var(--brown);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.left .timeline-dot {
  right: -8px;
}

.timeline-item.left .timeline-content {
  margin-right: 1rem;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-item.right .timeline-content {
  margin-left: 1rem;
}

.timeline-item h3 {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.timeline-section {
  padding: 2rem;
  background-color: #f0ece9;
  margin-bottom: 2rem;
}

footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 1rem;
  text-align: center;
  margin-top: auto;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .title {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  main {
    width: 90%;
    padding: 2rem;
  }

  main h2 {
    font-size: 2rem;
  }

  main p {
    font-size: 1.8rem;
  }

  header {
    padding: 2rem;
  }
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 2rem;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-dot {
    left: 0;
  }

  .timeline-content {
    margin-left: 2rem !important;
    margin-right: 0 !important;
  }
}
