/* ---------------------------------------------------------
   GLOBAL RESET
--------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CONTAINERS AND GRID
--------------------------------------------------------- */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------------------------------------------------------
   HEADER (WHITE HEADER)
--------------------------------------------------------- */
#top {
  height: 1px;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.2s;
}

.nav a:hover {
  color: #3b5998;
}

/* ---------------------------------------------------------
   SERVICES DROPDOWN FIX
--------------------------------------------------------- */
.nav-services {
  position: relative;
}

.nav-services-menu {
  display: none;
  position: absolute;
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 15px;
  top: 35px;
  left: 0;
  width: 260px;
  z-index: 999;
}

.nav-services:hover .nav-services-menu {
  display: block;
}

.nav-services-menu a {
  display: block;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
}

.nav-services-menu a:hover {
  color: #3b5998;
}

/* ---------------------------------------------------------
   BUTTONS (BLUE THEME)
--------------------------------------------------------- */
.btn-primary {
  background: #3b5998;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn-primary:hover {
  background: #2a4474;
}

/* ---------------------------------------------------------
   HERO SECTION (SOFT BLUE TO PALE GRAY BLUE)
--------------------------------------------------------- */
.hero {
  /*background: linear-gradient(to bottom, #3b5998, #e8ecf5);*/
  background-image: linear-gradient(rgb(0 0 0 / 85%), rgb(59 89 152 / 85%)), url(assets/logo.png);
  color: #ffffff;
  padding: 120px 0 80px;
  text-align: center;
  height: 50%;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-center {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.subheadline {
  font-size: 20px;
  margin-top: 15px;
  opacity: 0.95;
  color: #f7f9fc;
}


/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

/* ---------------------------------------------------------
   SERVICE SECTIONS
--------------------------------------------------------- */
.service-section {
  padding: 90px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Blue overlay */
.service-section.blue-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 60, 120, 0.10);
}

.service-section > .container {
  position: relative;
  z-index: 2;
}

/* Alternating backgrounds */
.service-alt-1 {
  background: #f7f9fc;
}

.service-alt-2 {
  background: #e8ecf5;
}

.service-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #3b5998;
}

.service-section h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.service-section p {
  margin-bottom: 20px;
  font-size: 18px;
}

.list {
  list-style: none;
  margin-top: 10px;
}

.list li {
  margin-bottom: 12px;
  font-size: 18px;
}

.list li i {
  margin-right: 10px;
  color: #3b5998;
}

/* ---------------------------------------------------------
   SERVICE IMAGES
--------------------------------------------------------- */
.service-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.footer {
  background: #3b5998;
  color: #ffffff;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   MOBILE RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .service-img {
    height: 300px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .subheadline {
    font-size: 18px;
  }

  .nav {
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .subheadline {
    font-size: 16px;
  }

  .btn-primary {
    padding: 8px 16px;
  }
}
