/* --- Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b0e11;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Navigation --- */
nav {
  background: rgba(11, 14, 17, 0.95);
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #00d2ff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #00d2ff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #00d2ff;
}

/* --- Hero Section --- */
header {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-logo {
  height: 120px;
  width: auto;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: inline-block;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #a0a0a0;
}

/* --- Services & General Sections --- */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #00d2ff;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #161b22;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #30363d;
  transition: border-color 0.3s ease;
}

.service-card:hover {
  border-color: #00d2ff;
}

.service-card h3 {
  margin-bottom: 15px;
  color: #00d2ff;
}

/* --- About & Contact --- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 15px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #ffffff;
  font-family: inherit;
}

/* --- Button --- */
.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #00d2ff;
  color: #0b0e11;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  transition:
    transform 0.2s ease,
    background-color 0.3s ease;
  border: none;
}

.btn:hover {
  background-color: #0099cc;
  transform: translateY(-3px);
  cursor: pointer;
}
/* --- Mobile Responsive Overrides --- */
@media (max-width: 768px) {
  /* 1. Fix the Hero Logo & Header */
  .hero-logo {
    height: 100px; /* Slightly smaller for mobile */
    margin-bottom: 15px;
  }

  .hero-content h1 {
    font-size: 2rem; /* Shrink the giant text so it doesn't wrap weirdly */
    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* 2. Stack the Services */
  .services-grid {
    grid-template-columns: 1fr; /* Force cards into one single column */
    gap: 20px;
  }

  .service-card {
    padding: 25px;
  }

  /* 3. Navigation Adjustments */
  nav {
    height: auto;
    padding: 15px 0;
  }

  .nav-container {
    flex-direction: column; /* Stack logo and menu links */
    gap: 10px;
  }

  nav ul li {
    margin: 0 10px;
  }

  /* 4. General Spacing */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
