/*
 * Alyana Global Website Styles
 *
 * A modern, responsive layout inspired by cryptocurrency landing pages. The
 * dark color palette with vibrant accents echoes the feel of bleeding‑edge
 * fintech. Hero section uses a starry, swirling background image located
 * in the assets folder. Feel free to tweak colours to match your brand.
 */

/* CSS Reset & base settings */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #020e1f;
  color: #e5ecf3;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  background: rgba(2, 14, 31, 0.7);
  backdrop-filter: blur(6px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00b0ff;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e5ecf3;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00b0ff;
}

.cta-button {
  background-color: #00b0ff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #020e1f;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #0090cc;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('assets/hero.png') no-repeat center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 14, 31, 0.65);
  /* dark overlay for legibility */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #c0d1e6;
}

.hero-cta {
  display: inline-block;
  background-color: #00b0ff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  color: #020e1f;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-cta:hover {
  background-color: #0090cc;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  color: #00b0ff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Sections */
section {
  padding: 5rem 2rem;
}

.services {
  background-color: #031b36;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00b0ff;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background-color: #051f3a;
  padding: 2rem;
  border-radius: 8px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.service-card i {
  font-size: 2rem;
  color: #00b0ff;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.service-card p {
  font-size: 0.9rem;
  color: #c0d1e6;
}

.about {
  background-color: #020e1f;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-content {
  max-width: 700px;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00b0ff;
}

.about p {
  font-size: 1rem;
  color: #c0d1e6;
  line-height: 1.8;
}

.contact {
  background-color: #031b36;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00b0ff;
}

.contact p {
  font-size: 1rem;
  color: #c0d1e6;
  margin-bottom: 2rem;
}

.contact-button {
  display: inline-block;
  background-color: #00b0ff;
  color: #020e1f;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #0090cc;
}

/* Footer */
footer {
  background-color: #020e1f;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.85rem;
  color: #647b9a;
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .navbar {
    justify-content: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .services-container {
    flex-direction: column;
    align-items: center;
  }
}