/* ====== Global Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== Base Style ====== */
body {
  font-family: "Inter", sans-serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding-top: 100px;   /* space for sticky navbar */
  padding-bottom: 120px; /* space for footer */
}

/* ====== Navbar ====== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  padding: 0 40px;
  background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 10;
}

.left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.left img {
  height: 65px;
  width: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00b4d8;
}

.left .text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: #00b4d8;
  color: #fff;
}

/* ====== Hero Section ====== */
.hero {
  min-height: calc(100vh - 85px); /* account for nav height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: #00b4d8;
  line-height: 1.2;
  margin-bottom: 40px;
}

.hero p {
  max-width: 900px;
  font-size: 1.1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ====== Scroll Sections ====== */
.scroll-section {
  padding: 80px 15vw;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-section.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-section p {
  font-size: 1.5rem;
  line-height: 2;
  max-width: 700px;
  color: #ccc;
  margin: 0;
}

.scroll-section:nth-child(even) {
  justify-content: flex-end;
  text-align: right;
}

.scroll-section:nth-child(odd) {
  justify-content: flex-start;
  text-align: left;
}

/* ====== Fade + Slide Animation ====== */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ====== Contact Page Styles ====== */
.contact-container {
  max-width: 700px;
  margin: 80px auto;
  padding: 0 20px;
}

.contact-container h2 {
  font-size: 2.5rem;
  color: #00b4d8;
  margin-bottom: 40px;
  text-align: center;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-container label {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-container input,
.contact-container textarea {
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  background-color: #111;
  color: #f5f5f5;
  width: 100%;
}

.contact-container textarea { resize: vertical; }

.contact-container button {
  padding: 12px;
  font-size: 1.1rem;
  background-color: #00b4d8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-container button:hover { background-color: #0095b6; }

.contact-container input:focus,
.contact-container textarea:focus { outline: 2px solid #00b4d8; }

/* ====== Footer ====== */
footer {
  text-align: center;
  padding: 30px;
  background-color: #111;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

/* ====== Mobile Responsiveness ====== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 20px;
  }

  .left { gap: 10px; margin-bottom: 10px; }

  .left .text { font-size: 1rem; }

  .right ul {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .right ul li a { padding: 8px 8px; font-size: 0.95rem; }

  .hero { min-height: calc(100vh - 120px); padding: 20px 15px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .scroll-section { padding: 60px 10px; }
}

@media (max-width: 480px) {
  .contact-container h2 { font-size: 2rem; margin-bottom: 30px; }
  .contact-container label { font-size: 1rem; }
  .contact-container input,
  .contact-container textarea { font-size: 0.95rem; padding: 10px; }
  .contact-container button { font-size: 1rem; padding: 10px; }
}