/* GLOBAL */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #0f172a;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================= */
/*       NAVIGATION BAR      */
/* ========================= */
.navbar {
  width: 100%;
  padding: 0.8rem 2rem;
  background: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  box-sizing: border-box;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

/* FIX: active link */
.nav-links a.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: white;
}

/* LOGO CENTERED IN NAVBAR */
.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FIX: left-right alignment */
.left-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.right-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* MOBILE NAV SPACING FIX */
@media (max-width: 900px) {
  .nav-links {
    gap: 1rem;
  }
}


/* ========================= */
/*    IMAGE + TEXT BLOCKS    */
/* ========================= */

.image-text-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.image-text-section.reverse {
  flex-direction: row-reverse;
}

.img-side img {
  width: 480px;
  max-width: 100%;
  border-radius: 16px;
}

.text-side {
  max-width: 500px;
}

.text-side h2 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.text-side p {
  line-height: 1.6;
  font-size: 1.05rem;
  color: #475569;
}

/* ========================= */
/*        SEPARATORS         */
/* ========================= */

.separator {
  width: 100%;
  height: 1px;
  background: #cbd5e1;
  margin: 2rem auto;
  max-width: 1200px;
}

/* ========================= */
/*   SOCIAL + CONTACT BLOCK  */
/* ========================= */

.footer-sections {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4rem 2rem;
  background: #e2e8f0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-half {
  width: 50%;
  padding: 1rem;
}

.footer-half h2 {
  margin-bottom: 1rem;
}


.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.icon {
  display: inline-block;
  margin: 0;             /* remove weird side margin */
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  background-color: #1e293b;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  min-width: 140px;      /* consistent width */
  text-align: center;
}


.icon:hover {
  background-color: #334155;
}

/* ========================= */
/*          FOOTER           */
/* ========================= */

footer {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}


/* ABOUT PAGE */
.about-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.about-text {
  max-width: 600px;
}

.about-text h1 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  color: #0f172a;
}

.about-text p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1rem;
}

.signature {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #334155;
}

.about-img img {
  width: 460px;
  max-width: 100%;
  border-radius: 16px;
}


/* CONTACT PAGE */
.contact-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.contact-text {
  max-width: 600px;
}

.contact-text h1 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  color: #0f172a;
}

.contact-text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #0f172a;
}

.contact-text p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1rem;
}

/* SOCIAL LIST – icons + text */
.social-list {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

.social-list li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 500;
}

.social-list a:hover {
  opacity: 0.8;
}

.social-list img {
  width: 26px;
  height: 26px;
}

.contact-img img {
  width: 460px;
  max-width: 100%;
  border-radius: 16px;
}


/* SERVICES PAGE */
.service-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.service-section.reverse {
  flex-direction: row-reverse;
}

.service-text {
  max-width: 600px;
}

.service-text h1 {
  margin-bottom: 1.2rem;
  font-size: 2rem;
  color: #0f172a;
}

.service-text p {
  line-height: 1.7;
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1rem;
}

.service-img img {
  width: 460px;
  max-width: 100%;
  border-radius: 16px;
}


/* TEAM PAGE */
.team-section {
  display: flex;
  align-items: center;
  padding: 60px 40px;
  gap: 40px;
}

.team-text {
  flex: 1;
}

.team-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.team-img img {
  width: 80%;
  max-width: 380px;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .team-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .team-img img {
    width: 100%;
  }
}


/* CAREERS PAGE */
.careers-container {
  max-width: 1000px;
  margin: auto;
  padding: 60px 40px;
  text-align: left;
}

.careers-center-image {
  text-align: center;
  margin: 40px 0;
}

.careers-center-image img {
  width: 70%;
  max-width: 450px;
  border-radius: 10px;
}

.careers-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .careers-center-image img {
    width: 100%;
  }
}


/* NEWS PAGE */
.news-coming {
  text-align: center;
  padding: 80px 40px;
  max-width: 900px;
  margin: auto;
}

.news-coming h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.news-coming p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.coming-box {
  display: inline-block;
  padding: 20px 50px;
  background: #1473e6;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
}

.services-line-spacing {
  line-height: 1.9;
}

.cyber-line-spacing {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.howwe-line-spacing {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.team-paragraph {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-extra-image {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.extra-img-wrapper img {
  max-width: 80%;
  border-radius: 12px;
}


/* ========================================================= */
/*          🚀 MOBILE RESPONSIVE FIX (THE IMPORTANT PART)     */
/* ========================================================= */
@media (max-width: 768px) {

  /* NAVBAR STACKS */
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .nav-logo img {
    height: 40px;
  }

  .left-nav,
  .right-nav {
    justify-content: center;
  }

  /* IMAGE + TEXT SECTIONS */
  .image-text-section {
    flex-direction: column !important;
    text-align: center;
    gap: 2rem;
  }

  .text-side {
    max-width: 100%;
    padding: 0 1rem;
  }

  /* FOOTER BLOCK */
  .footer-sections {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-half {
    width: 100%;
    padding: 0;
  }

  /* ABOUT PAGE */
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  /* CONTACT PAGE */
  .contact-section {
    flex-direction: column;
    text-align: center;
  }

  /* SERVICES PAGE */
  .service-section {
    flex-direction: column;
    text-align: center;
  }

  /* TEAM PAGE */
  .team-section {
    flex-direction: column;
    text-align: center;
  }

}
