/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #020c1b;
  color: white;
  overflow-x: hidden;
}

/* SCROLL OFFSET FIX */
section {
  scroll-margin-top: 100px;
}

/* BACKGROUND */
#space {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 255, 0.15);
  filter: blur(150px);
  top: 20%;
  left: 60%;
  z-index: -1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  position: fixed;
  width: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  z-index: 1000;
}

/* 🔥 PREMIUM LOGO */
.logo {
  font-size: 1.9rem;
  font-weight: 800;
  position: relative;
  letter-spacing: 1px;
  color: white;
}

/* Gradient animated overlay */
/* .logo::after {
  content: "Angel Corp";
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(90deg, #00d4ff, #00ffa6, #00d4ff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowMove 4s linear infinite;
} */
 .logo {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;

  background: linear-gradient(90deg, #00d4ff, #00ffa6, #00d4ff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glowMove 4s linear infinite;
}


@keyframes glowMove {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}

.navbar a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.navbar a:hover {
  color: #00d4ff;
}

.navbar a.active {
  color: #00d4ff;
  border-bottom: 2px solid #00d4ff;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* 🔥 STRONG HERO TEXT */
.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Glow effect */
.hero span {
  color: #00d4ff;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

/* Floating animation */
.hero-content {
  animation: floatUp 3s ease-in-out infinite alternate;
}

@keyframes floatUp {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

.hero p {
  margin: 15px 0;
  color: #ccc;
}

/* 🔥 BUTTON UPGRADE */
.btn {
  margin-top: 25px;
  padding: 12px 30px;
  background: linear-gradient(90deg, #00d4ff, #00ffa6);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  color: black;
  font-weight: 600;
}

.btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* COMPANY IMAGE SECTION */
.company-image-section {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  background: #020c1b;
}

.company-image-section img {
  width: 75%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
  transition: 0.4s;
}

.company-image-section img:hover {
  transform: scale(1.02);
}

/* SECTIONS */
.section {
  padding: 100px 60px;
  text-align: center;
}

.dark {
  background: #061a33;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  padding: 25px 35px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
  border: 1px solid transparent;
  min-width: 180px;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px) scale(1.05);
  border: 1px solid #00d4ff;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

/* ACTIVE CARD */
.card.active-service {
  border: 1px solid #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
  transform: scale(1.08);
}

/* SERVICE DETAILS */
#service-content {
  margin-top: 50px;
}

.service-detail {
  display: block;
  background: #0f172a;
  padding: 30px;
  border-radius: 12px;
  max-width: 700px;
  margin: 30px auto;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  animation: fadeIn 0.5s ease-in-out;
}

.service-img {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
}

.service-detail h3 {
  margin-bottom: 15px;
  color: #00d4ff;
}

.service-detail p {
  color: #ccc;
  line-height: 1.6;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: #111827;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.team-card img {
  width: 100px;
  border-radius: 50%;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-box {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* FORM */
form input, textarea {
  display: block;
  width: 300px;
  margin: 10px auto;
  padding: 10px;
  border-radius: 5px;
  border: none;
}

form button {
  padding: 10px 25px;
  border: none;
  background: linear-gradient(90deg, #00d4ff, #00ffa6);
  border-radius: 20px;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: black;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .cards {
    flex-direction: column;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE FIX */
/* ========================= */

/* ========================= */
/* 📱 CLEAN MOBILE FIX */
/* ========================= */

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    padding: 12px 15px;
    align-items: center;
  }

  .logo {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .navbar div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;   /* allow wrapping (clean look) */
  }

  .navbar a {
    margin: 6px 8px;
    font-size: 0.9rem;
  }

  /* HERO */
  .hero {
    padding: 120px 20px 60px;
    height: auto;
    text-align: center;   /* 🔥 center everything */
  }

  .hero h1 {
    font-size: 2.2rem;   /* 🔥 balanced */
    line-height: 1.3;
  }

  .hero span {
    font-size: 2.2rem;
  }

  /* 🔥 IMPORTANT: REMOVE nowrap */
  .hero p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 10px;
    white-space: normal;   /* ✅ allow proper wrapping */
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  /* IMAGE */
  .company-image-section img {
    width: 95%;
    margin-top: 20px;
  }

  /* SECTIONS */
  .section {
    padding: 60px 20px;
  }

  /* TEXT ALIGN FIX */
  .section,
  .service-detail,
  .team-card,
  .contact-box {
    text-align: center;
  }

  /* GRIDS */
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* CARDS */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}