/* ================= ABOUT PAGE ================= */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background: #020617;
  overflow-x: hidden;
}

/* ===== STARS ===== */
.stars {
  position: fixed;
  inset: 0;
  background: url('../../www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.35;
  animation: moveStars 120s linear infinite;
  z-index: -2;
}

@keyframes moveStars {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 10000px 5000px;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  color: #00C1FF;
  font-size: 20px;
  font-weight: bold;
}

/* ===== MENU ===== */
.menu {
  display: flex;
  align-items: center;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.menu a:hover,
.menu a.active {
  color: #00C1FF;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== HERO ===== */
.about-section {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/aboutpck.html') center/cover no-repeat;
  transform: scale(1.1);
  animation: zoomHero 10s ease forwards;
}

.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

@keyframes zoomHero {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

/* ===== OVERLAY ===== */
.overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.overlay h1 {
  font-size: 55px;
  margin-bottom: 10px;
  color: #00C1FF;
  letter-spacing: 3px;
}

.line {
  width: 120px;
  height: 3px;
  background: #00C1FF;
  margin: 20px auto;
}

.overlay p {
  font-size: 18px;
  line-height: 1.8;
  color: #ddd;
}

/* ===== BUTTON ===== */
.about-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  border: 1px solid #00C1FF;
  border-radius: 30px;
  color: #00C1FF;
  text-decoration: none;
  transition: 0.3s;
}

.about-btn:hover {
  background: #00C1FF;
  color: black;
  box-shadow: 0 0 15px #00C1FF;
}

/* ===== CONTENT ===== */
.about-content {
  padding: 80px 40px;
}

.about-content h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #00C1FF;
}

/* ===== GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ===== BOX ===== */
.about-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,193,255,0.2);
  padding: 30px 25px;
  border-radius: 18px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: 0.4s;
}

.about-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0,193,255,0.3);
}

.about-box i {
  font-size: 42px;
  color: #00C1FF;
  margin-bottom: 15px;
}

.about-box h3 {
  margin-bottom: 10px;
}

.about-box p {
  color: #ccc;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0a;
  padding: 60px 30px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}

.footer-box h3 {
  margin-bottom: 15px;
  color: #00C1FF;
}

.footer-box p,
.footer-box a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
}

.footer-box a:hover {
  color: #00C1FF;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f1f1f;
  margin-right: 10px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #00C1FF;
  color: black;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  color: #888;
}

.footer-logo {
  width: 140px;
  margin-bottom: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  /* ===== NAVBAR ===== */
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111;
    margin-top: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 12px;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .logo-text {
    font-size: 15px;
  }

  /* ===== HERO ===== */
  .overlay h1 {
    font-size: 30px;
  }

  .overlay p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* ===== CONTENT ===== */
  .about-content {
    padding: 50px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ===== FOOTER ===== */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

}