/* Global styles for Axavera Inc. website */
/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: #00adef;
}

/* Navigation Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 1000;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
}

nav .logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #00adef;
  letter-spacing: 1px;
}

/* When using an image logo, constrain its height */
nav .logo img {
  height: 40px;
  width: auto;
  display: block;
}

nav .nav-links {
  display: flex;
  gap: 30px;
}

nav .nav-links a {
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  position: relative;
}

nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #00adef;
  transition: width 0.3s ease;
}

nav .nav-links a:hover::after {
  width: 100%;
}

nav .hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

nav .hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 160px 20px 80px;
  text-align: center;
  background-image: radial-gradient(circle at 20% 20%, #00adef, #7f00ff);
  position: relative;
  overflow: hidden;
}

.hero .content {
  max-width: 900px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.hero .cta {
  background: linear-gradient(135deg, #00adef 0%, #7f00ff 100%);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Section Base Styles */
section {
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: #00adef;
  text-align: center;
}

.section-subtitle {
  max-width: 700px;
  font-size: 1.1rem;
  margin-bottom: 60px;
  text-align: center;
  color: #c0c0c0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 100%;
}

.card {
  background-color: #151515;
  border-radius: 12px;
  padding: 40px 30px;
  max-width: 320px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.card i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #00adef;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.5;
}

/* Invoice2HS Highlight Section */
.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 60px 40px;
  max-width: 1000px;
  margin: auto;
}

.highlight h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #7f00ff;
}

.highlight p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #c0c0c0;
  max-width: 700px;
}

.highlight .cta-secondary {
  background: linear-gradient(135deg, #7f00ff 0%, #00adef 100%);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight .cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
  background-color: #0e0e0e;
  padding-bottom: 120px;
}

.contact .contact-container {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  background-color: #151515;
  color: #ffffff;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form button {
  align-self: center;
  background: linear-gradient(135deg, #00adef 0%, #7f00ff 100%);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background-color: #080808;
  color: #757575;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

footer a {
  color: #00adef;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0a0a0a;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  nav .nav-links.active {
    max-height: 300px;
  }

  nav .hamburger {
    display: flex;
  }

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

  .hero .cta {
    padding: 12px 30px;
  }

  section {
    padding: 80px 20px;
  }

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

  .card {
    max-width: 90%;
  }

  .highlight {
    padding: 50px 20px;
  }
}