/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background-color: #f4f6f8;
  color: #1f2937;
  line-height: 1.6;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 70px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .logo img {
  height: 40px;
}

.navbar nav a {
  margin-left: 26px;
  text-decoration: none;
  font-weight: 500;
  color: #1f2937;
  position: relative;
}

.navbar nav a.active,
.navbar nav a:hover {
  color: #2563eb;
}

.navbar nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #2563eb;
}

/* ================= SIDEBAR ================= */
.menu-btn {
  display: none;
}

.sidebar {
  position: fixed;
  left: -260px;
  top: 0;
  width: 260px;
  height: 100%;
  background: #020617;
  padding-top: 60px;
  transition: 0.3s ease;
  z-index: 2000;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  padding: 14px 22px;
  color: #e5e7eb;
  text-decoration: none;
}

.sidebar a:hover {
  background: #1e293b;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  cursor: pointer;
  color: #ffffff;
}

/* ================= HERO ================= */
.hero {
  min-height: 90vh;
  background: linear-gradient(
    rgba(2,6,23,0.75),
    rgba(2,6,23,0.75)
  ),
  url("../assets/home-bg.png") center/cover no-repeat;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 14px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

.hero button {
  margin-top: 24px;
  padding: 12px 26px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
}

.hero button:hover {
  background: #1d4ed8;
}

/* ================= DOMAINS ================= */
.domains {
  padding: 80px 70px;
  text-align: center;
  background-color: #f8f9fa;
}

.domains h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.domains-subtitle {
  max-width: 720px;
  margin: 0 auto 50px;
  color: #475569;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.domain-card {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-6px);
}

.domain-card i {
  font-size: 32px;
  color: #2563eb;
  margin-bottom: 14px;
}

.domain-card h3 {
  margin-bottom: 10px;
}

/* Projects Calculation*/

.project-stats {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f9fa;
}

.project-stats h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.project-stats p {
  margin-bottom: 40px;
  color: #555;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 250px;
}

.stat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2a5298; /* NovHawk color */
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.progress-bar {
  background: #eee;
  border-radius: 8px;
  height: 12px;
  overflow: hidden;
}

.progress {
  height: 12px;
  border-radius: 8px;
}

.progress.total {
  background-color: #5bc0de; 
}
.progress.completed {
  background-color: #2a5298;
}

.progress.in-progress {
  background-color: #f0ad4e;
}

.progress.not-started {
  background-color: #d9534f;
}



/* ================= CONTACT / FOOTER ================= */
.contact-dark {
  background: linear-gradient(135deg, #020617, #020b2d);
  color: #e5e7eb;
  padding: 80px 70px 40px;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.contact-dark h2,
.contact-dark h3 {
  color: #ffffff;
  margin-bottom: 14px;
}

/* TEXT */
.contact-dark p {
  color: #cbd5f5;
  font-size: 15px;
  line-height: 1.7;
}

/* 🔥 FIXED COMPANY LINKS */
.contact-dark a,
.contact-dark a:link,
.contact-dark a:visited {
  display: block;
  margin-bottom: 8px;
  color: #c7d2fe !important;
  text-decoration: none !important;
  font-size: 15px;
}

.contact-dark a:hover {
  color: #6366f1 !important;
  text-decoration: underline !important;
}

/* Container for social icons */
.social-icons {
  display: flex;       /* Makes children horizontal */
  gap: 12px;           /* Space between icons */
  align-items: center; /* Vertically center if needed */
}

/* Individual icons */
.social-icons a {
  font-size: 18px;
  color: #c7d2fe;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #6366f1;
}


/* BOTTOM BAR */
.contact-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #94a3b8;
}

/* ================= SCROLL ANIMATION ================= */
.domains,
.domain-card,
.project-stats,
.stat-card,
.contact-dark {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.stat-card:nth-child(1) { transition-delay: 0.1s; }
.stat-card:nth-child(2) { transition-delay: 0.3s; }
.stat-card:nth-child(3) { transition-delay: 0.5s; }
.stat-card:nth-child(4) { transition-delay: 0.7s; }


.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }

  .menu-btn {
    display: block;
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 2100;
    font-size: 22px;
    cursor: pointer;
  }

  .contact-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
