* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #eef6fb;
  color: #111;
}

.site-header {
  background: #08486d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 35px;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

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

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* HERO COMMON */

.hero,
.about-hero,
.contact-hero {
  background: linear-gradient(rgba(8,72,109,.82), rgba(8,72,109,.82)),
              url("/assets/images/about-nexus.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 110px 20px;
}

.hero h1,
.about-hero h1,
.contact-hero h1 {
  font-size: 46px;
  margin: 0 0 15px;
}

.hero p,
.about-hero p,
.contact-hero p {
  font-size: 19px;
  font-weight: 600;
}

/* HOME */

.login-cards {
  max-width: 900px;
  margin: -50px auto 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.card,
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.btn {
  display: inline-block;
  background: #08486d;
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
}

.services,
.about-container,
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}

.service-grid,
.strength-grid,
.value-grid {
  display: grid;
  gap: 25px;
}

.service-grid,
.strength-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ABOUT */

.about-intro,
.mission-box,
.core-values,
.contact-form-box {
  background: #fff;
  padding: 42px;
  border-radius: 16px;
  margin-bottom: 35px;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}

.about-intro h2,
.strength-section h2,
.core-values h2,
.contact-form-box h2 {
  color: #08486d;
  font-size: 34px;
  margin-top: 0;
}

.about-intro p,
.mission-box p,
.strength-card p {
  font-size: 18px;
  line-height: 1.8;
}

.mission-box,
.strength-card,
.value-item {
  background: #08486d;
  color: #fff;
}

.mission-box h3 {
  font-size: 30px;
  margin-top: 0;
}

.strength-card {
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.strength-icon {
  background: #fff;
  color: #08486d;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.value-item {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}

/* CONTACT */

.contact-section {
  background: #eef6fb;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.contact-info {
  background: #08486d;
  color: #fff;
  padding: 42px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.contact-logo img {
  width: 240px;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
}

.contact-info h2 {
  font-size: 28px;
  line-height: 1.5;
}

.contact-details p {
  font-size: 18px;
  line-height: 1.7;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.call-box {
  background: #08486d;
  color: #fff;
  display: inline-block;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 26px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 9px;
  font-size: 16px;
}

.contact-form button {
  background: #08486d;
  color: #fff;
  border: 0;
  padding: 16px 30px;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

/* FOOTER */

.site-footer {
  background: #08486d;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-weight: 700;
}

/* MOBILE */

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    height: 60px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 34px;
  }

  .login-cards,
  .service-grid,
  .strength-grid,
  .value-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* SERVICES PAGE */

.services-hero {
  background: linear-gradient(rgba(8,72,109,.85), rgba(8,72,109,.85)),
              url("/assets/images/hero-services.jpeg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 110px 20px;
}

.services-hero h1 {
  font-size: 46px;
  margin: 0 0 15px;
}

.services-hero p {
  font-size: 19px;
  font-weight: 600;
}

.services-page {
  background: #eef6fb;
  padding: 70px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-intro {
  background: #fff;
  padding: 42px;
  border-radius: 16px;
  margin-bottom: 35px;
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  text-align: center;
}

.service-intro h2 {
  color: #08486d;
  font-size: 34px;
  margin-top: 0;
}

.service-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}

.services-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-box {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  border-top: 6px solid #08486d;
}

.service-box h3 {
  color: #08486d;
  font-size: 26px;
  margin-top: 0;
}

.service-box p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

@media (max-width: 768px) {
  .services-grid-full {
    grid-template-columns: 1fr;
  }

  .services-hero h1 {
    font-size: 34px;
  }
}
/* Home  PAGE */
.hero {
  min-height: 520px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;

  padding: 120px 20px;
}

.hero-overlay {
  max-width: 900px;
}

.hero h1 {
  font-size: 58px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero p {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: #fff;
  color: #08486d;
  font-weight: 700;
}

.hero-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-btn-outline:hover {
  background: #fff;
  color: #08486d;
}

@media (max-width: 768px) {

  .hero {
    min-height: 420px;
    padding: 90px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

}

/* FOOTER */

.site-footer {
  background: #063954;
  color: #fff;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  height: 85px;
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;

  margin-bottom: 30px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
}

.footer-menu a:hover {
  color: #d4ecff;
}

.footer-contact {
  margin-bottom: 25px;
}

.footer-contact p {
  margin: 10px 0;
  font-size: 17px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 15px;
  opacity: 0.9;
}

@media (max-width: 768px) {

  .footer-menu {
    gap: 18px;
  }

  .footer-logo img {
    height: 65px;
  }

}

/* COMMON INNER PAGE HERO */

.page-hero {
  background: linear-gradient(rgba(8,72,109,.85), rgba(8,72,109,.85)),
              url("/assets/images/hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.page-hero h1 {
  font-size: 46px;
  margin: 0 0 15px;
}

.page-hero p {
  font-size: 20px;
  font-weight: 600;
}

/* IMAGE PROMO PAGES */

.image-page {
  background: #eef6fb;
  padding: 70px 20px;
}

.image-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.promo-card {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.promo-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.promo-card.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .promo-card.wide {
    grid-column: span 1;
  }

  .page-hero h1 {
    font-size: 34px;
  }
}

 /* UPDATED HOME PAGE */

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: #fff;
  color: #08486d;
  font-weight: 700;
}

.hero-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.section-title h2 {
  color: #08486d;
  font-size: 36px;
  margin-bottom: 10px;
}

.section-title p {
  color: #444;
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.home-services {
  padding-top: 80px;
}

.image-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.image-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.service-card-content {
  padding: 28px;
  text-align: center;
}

.service-card-content h3 {
  color: #08486d;
  font-size: 24px;
  margin-top: 0;
}

.service-card-content p {
  color: #444;
  line-height: 1.7;
  font-size: 16px;
}

.service-card-content .btn {
  margin-top: 10px;
}

.why-us {
  background: #fff;
  padding: 70px 20px;
}

.why-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.why-container h2 {
  color: #08486d;
  font-size: 36px;
  margin-bottom: 35px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.why-box {
  background: #eef6fb;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.why-box h3 {
  color: #08486d;
  font-size: 24px;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .image-card img {
    height: auto;
  }

  .section-title h2,
  .why-container h2 {
    font-size: 30px;
  }
}
/* HEADER LOGIN BUTTONS */

.nav-login {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: .3s ease;
}

.employee-link {
  background: #ffffff;
  color: #08486d !important;
}

.employee-link:hover {
  background: #dff3ff;
}

.client-link {
  background: #e31b23;
  color: #fff !important;
}

.client-link:hover {
  background: #c5141c;
}
/* IMAGE SERVICE BOXES */

.image-service {
  overflow: hidden;
  padding: 0;
}

.image-service img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 28px;
}

.service-content h3 {
  color: #08486d;
  font-size: 28px;
  margin-top: 0;
}

.service-content p {
  line-height: 1.8;
  color: #444;
  font-size: 16px;
}

.service-content .btn {
  margin-top: 12px;
}

/* HERO VIDEO SECTION */

.hero-video-section {

  background:
  linear-gradient(rgba(8,72,109,.90),
  rgba(8,72,109,.90));

  padding: 90px 40px;
  color: #fff;
}

.hero-content {

  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;

  align-items: center;
}

.hero-text h1 {

  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text p {

  font-size: 24px;
  line-height: 1.7;
  margin-bottom: 35px;

  opacity: .95;
}

.hero-video video {

  width: 100%;
  border-radius: 22px;

  box-shadow:
  0 12px 40px rgba(0,0,0,.30);

  border: 4px solid rgba(255,255,255,.15);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-btn {
  background: #fff;
  color: #08486d;
  font-weight: 700;
}

.hero-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* MOBILE */

@media (max-width: 900px) {

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 18px;
  }

}