*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  scroll-behavior: smooth;
}

/* Navbar */
/* Navbar container */
.navbar {
  background-color: #e3e4e2;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Main navbar flex container */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* left and right spaced out */
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 20px;
}

/* Left container for logo + text */
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-grow: 1;
  /* take available space */
}

/* Logo styling */
.nav-logo img {
  height: 90px;
  width: auto;
  flex-shrink: 0;
  /* prevent shrinking */
}

/* Text next to logo */
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #001e66;
  font-family: Arial, sans-serif;
}

.logo-text strong {
  font-size: 1.2rem;
}

.logo-text small {
  font-size: 0.9rem;
  color: #0a276c;
}

/* Nav links on the right */
.nav-links {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
}

.nav-links a {
  color: #0a276c;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  position: relative;
  transition: color 0.3s;
  padding: 10px 0;
}

.nav-links a:hover {
  color: #0a276c;
}

.nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #2e2c2b;
  width: 0;
  transition: width 0.3s;
  margin-top: 4px;
}

.nav-links a:hover::after {
  width: 100%;
}

section {
  padding: 60px 20px;
}

h2 {
  color: #0f2c4d;
  text-align: center;
  margin-bottom: 20px;
}

.btn {
  background: #ff6600;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

.btn:hover {
  background: #e65c00;
}

/* Hero */

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.slider-controls {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}
.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
}
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.col {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}
.two-col img {
  width: 100%;
  border-radius: 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.card:hover {
  transform: translateY(-5px);
}
.card i {
  font-size: 36px;
  color: #001e66;
  margin-bottom: 10px;
}
footer {
  background: #e3e4e2;
  color: #001e66;
  padding: 40px 20px 10px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
footer h3,
footer h4 {
  margin-bottom: 12px;
}
footer ul {
  list-style: none;
}
footer ul li {
  margin-bottom: 8px;
}
footer ul li a {
  color: #001e66;
  text-decoration: none;
}
footer ul li a:hover {
  text-decoration: underline;
}
footer p:last-child {
  text-align: center;
  padding: 20px 0 0;
  opacity: 0.7;
  font-size: 14px;
}
.hero {
  background: url("../img/hero.jpg") center / cover no-repeat;
  color: white;
  text-align: center;
  padding: 142px 31px;
  font-size: 26px;
}
.about {
  background: url("../img/workspace2.jpg") center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  height: 630px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  position: relative;
}
.about_header {
  text-align: right;
  padding: 5% 18% 0 0;
  width: 100%;
  font-size: 30px;
  color: #001e66;
}
.about_content {
  max-width: 800px;
  padding-top: 30px;
  opacity: 0;
  margin-left: 50%;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}
.about_content.visible {
  opacity: 1;
  transform: translateX(0);
}
.about_content p {
  font-size: 20px;
  line-height: 1.5;
  color: #070707;
  text-align: left;
  font-weight: 700;
}
.solutions-alt {
  background: #ffffff;
  /* light background */
  padding: 80px 20px;
}
.solutions-wrapper {
  max-width: 1200px;
  margin: auto;
  background: #e3e4e2;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
}
.solutions-alt h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: #0f2c4d;
}
.solution-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 50px;
  gap: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.solution-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-img {
  flex: 1 1 40%;
  max-width: 400px;
  margin: auto;
}

.solution-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.solution-text {
  flex: 1 1 50%;
  min-width: 280px;
  padding: 0 10px;
}

.solution-text h3 {
  font-size: 24px;
  color: #0f2c4d;
  margin-bottom: 15px;
}

.solution-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.solution-row.reverse {
  flex-direction: row-reverse;
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-icons-section {
  background: #ffffff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  flex-wrap: wrap;
  text-align: left;
}

.contact-icon-box {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 400px;
}

.icon-circle {
  background-color: #001e66;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-icon-box small {
  color: #010101;
  font-weight: 800;
}

.contact-icon-box p {
  color: #000;
  font-size: 18px;
  margin: 2px 0 0;
  font-weight: 600;
}

@media (max-width: 768px) {
  .solution-row,
  .solution-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .solution-img {
    max-width: 100%;
  }

  .solution-text {
    padding: 0;
  }

  .two-col,
  .footer-columns {
    flex-direction: column;
  }

  .contact-icons-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon-box {
    max-width: 100%;
  }

  .nav-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-left {
    flex-grow: 0;
    margin-bottom: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 15px;
  }

  .nav-logo img {
    height: 70px;
  }

  .logo-text strong {
    font-size: 1rem;
  }

  .logo-text small {
    font-size: 0.8rem;
  }

  .nav-links a {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .nav-logo img {
    height: 60px;
  }

  .logo-text {
    margin-right: 0;
    text-align: center;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links {
    gap: 20px;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 16px;
    padding: 8px 0;
  }

  .hero {
    padding: 80px 15px;
    font-size: 20px;
  }

  .about {
    height: auto;
    padding: 60px 15px;
    text-align: center;
  }

  .about_header {
    text-align: center;
    padding: 0;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about_content {
    margin-left: 0;
    max-width: 100%;
    transform: none;
    opacity: 1 !important;
  }

  .solutions-wrapper {
    padding: 20px 15px;
  }

  .solution-text h3 {
    font-size: 20px;
  }

  .solution-text p {
    font-size: 14px;
  }

  .contact-icons-section {
    gap: 40px;
    padding: 40px 15px;
  }

  .contact-icon-box p {
    font-size: 16px;
  }

  footer {
    padding: 30px 15px 10px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 30px;
  }

  footer p:last-child {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .nav-links a {
    font-size: 14px;
  }

  .hero {
    font-size: 18px;
    padding: 60px 10px;
  }

  .solution-text h3 {
    font-size: 18px;
  }

  .solution-text p {
    font-size: 13px;
  }

  .contact-icon-box p {
    font-size: 14px;
  }
}
