/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base */
html { background-color: #fff; }
body {
  font-family: "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: #626262;
  background-color: #fff;
}
a { color: #0095eb; text-decoration: none; }
a:hover { color: #007cc3; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 { margin-bottom: 15px; }
h1 { font-size: 48px; line-height: 50px; font-weight: 400; color: #161922; }
h2 { font-size: 50px; line-height: 60px; font-weight: 400; color: #161922; }
h3 { font-size: 40px; line-height: 50px; font-weight: 400; color: #161922; }
h4 { font-size: 20px; line-height: 30px; font-weight: 600; color: #161922; }
h5 { font-size: 17px; line-height: 29px; font-weight: 700; color: #161922; }
h6 { font-size: 13px; line-height: 25px; font-weight: 700; color: #161922; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
.themecolor { color: #0095eb; }

/* Layout */
.container {
  max-width: 1102px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header-wrapper {
  background-color: #000119;
}
.top-bar {
  background-color: #fff;
  position: relative;
  z-index: 100;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}
.logo a { display: flex; align-items: center; }
.logo img { height: 45px; width: auto; }
.logo .logo-mobile { display: none; }
@media (max-width: 767px) {
  .logo .logo-desktop { display: none; }
  .logo .logo-mobile { display: block; }
}
nav ul {
  display: flex;
  gap: 0;
}
nav ul li a {
  display: block;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  line-height: 75px;
}
nav ul li a:hover,
nav ul li.active a {
  color: #0095eb;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #0095eb;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
}

/* Sticky header */
.top-bar.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  opacity: 0.97;
  z-index: 701;
}
.top-bar.is-sticky .container {
  height: 60px;
}
.top-bar.is-sticky .logo img {
  height: 35px;
}
.top-bar.is-sticky nav ul li a {
  line-height: 60px;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #191919;
  z-index: 800;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.mobile-menu-overlay.open {
  right: 0;
}
.mobile-menu-overlay .close-btn {
  display: block;
  text-align: right;
  padding: 15px 20px;
  color: #A6A6A6;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}
.mobile-menu-overlay ul {
  padding: 0;
}
.mobile-menu-overlay ul li a {
  display: block;
  padding: 12px 25px;
  color: #A6A6A6;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu-overlay ul li a:hover,
.mobile-menu-overlay ul li.active a {
  color: #fff;
}
.body-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 799;
}
.body-overlay.open {
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  color: #fff;
  background-color: #0095eb;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  background-color: #007cc3;
  color: #fff;
}
.btn-icon {
  margin-left: 8px;
}

/* Sections */
.section {
  padding: 50px 0;
}

/* Hero sections (inner pages + home) */
.hero-section {
  padding-top: 170px;
  padding-bottom: 50px;
}
.hero-section .hero-content {
  max-width: 66.66%;
}

/* Home hero */
.home-hero {
  padding-top: 170px;
  padding-bottom: 40px;
}
.home-hero .hero-content {
  max-width: 66.66%;
}
.home-hero-image {
  padding-bottom: 40px;
}
.home-hero-image img {
  margin: 0 auto;
}

/* Services grid (home page) */
.services-section {
  padding-bottom: 60px;
}
.services-header {
  margin-bottom: 30px;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.service-card {
  width: 50%;
  padding: 0 12px;
  margin-bottom: 40px;
}
.service-card-header {
  background-repeat: no-repeat;
  background-position: left top;
  padding: 0 0 10px 80px;
  min-height: 60px;
  margin-bottom: 10px;
}
.services-footer {
  margin-top: 30px;
}

/* Two-column equal height sections */
.split-section {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 64px;
  max-width: 1102px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.split-image {
  width: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 400px;
}
.split-content {
  width: 50%;
  display: flex;
  align-items: center;
  padding: 20px 12px 0 6%;
}
.split-content-inner h3 {
  margin-bottom: 10px;
}
.split-content-inner p {
  margin-bottom: 16px;
}
.split-content-inner .btn {
  margin-top: 14px;
}

/* Services page sections */
.service-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 30px 0;
}
.service-detail-main {
  width: 66.66%;
  padding: 0 12px;
}
.service-detail-main h3 {
  margin-bottom: 10px;
}
.service-detail-sidebar {
  width: 33.33%;
  padding: 0 12px;
}
.tech-box {
  background-color: #fff;
  padding: 20px 40px 25px;
}
.tech-box h5 {
  margin-bottom: 8px;
}
.tech-box h6 {
  margin-bottom: 4px;
}

/* Contact page specifics */
.split-content-inner h4.themecolor {
  margin-bottom: 4px;
}
.split-content-inner h4 a {
  color: #161922;
}
.split-content-inner h4 a:hover {
  color: #007cc3;
}

/* Footer */
.footer {
  background-color: #fff;
  border-top: 1px solid #e4e9eb;
}
.footer-widgets {
  padding: 20px 0;
}
.footer-widgets .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.footer-col {
  width: 25%;
  padding: 0 12px;
}
.footer-col:last-child {
  padding-right: 0;
}
.footer-col img {
  max-width: 240px;
}
.footer-col h4 {
  color: #052944;
  margin-bottom: 10px;
}
.footer-col p,
.footer-col div {
  color: #5c6266;
  font-size: 16px;
  line-height: 26px;
}
.footer-col ul li {
  color: #737E86;
  line-height: 26px;
  padding-left: 15px;
  position: relative;
}
.footer-col ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #737E86;
}
.footer-col a { color: #0095eb; }
.footer-col a:hover { color: #007cc3; }
.footer-col h4 a { color: #161922; }
.footer-col h4 a:hover { color: #007cc3; }
.footer-copy {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 15px 0;
  text-align: center;
  color: #5c6266;
  font-size: 14px;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 170px 0 100px;
}
.error-page h1 {
  font-size: 100px;
  line-height: 1;
  color: #0095eb;
  margin-bottom: 20px;
}

/* Responsive: Small desktop */
@media (max-width: 1239px) and (min-width: 960px) {
  .container, .split-section { max-width: 940px; }
}

/* Responsive: Tablet */
@media (max-width: 959px) {
  .container, .split-section { max-width: 708px; }
  h1 { font-size: 41px; line-height: 43px; }
  h2 { font-size: 43px; line-height: 51px; }
  h3 { font-size: 34px; line-height: 43px; }
  h4 { font-size: 17px; line-height: 26px; }
  h5 { font-size: 14px; line-height: 25px; }
  body { font-size: 14px; line-height: 22px; }
}

/* Responsive: Mobile nav trigger */
@media (max-width: 1239px) {
  nav.desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu-overlay { display: block; }
}

@media (min-width: 1240px) {
  .mobile-menu-overlay { display: none !important; }
  .body-overlay { display: none !important; }
}

/* Responsive: Tablet / small desktop */
@media (max-width: 959px) {
  .split-image { min-height: 300px; }
  .footer-col { width: 50%; margin-bottom: 20px; }
}

/* Responsive: Mobile */
@media (max-width: 767px) {
  h1 { font-size: 36px; line-height: 38px; }
  h2 { font-size: 38px; line-height: 45px; }
  h3 { font-size: 30px; line-height: 38px; }
  h4 { font-size: 15px; line-height: 23px; }
  h5 { font-size: 13px; line-height: 22px; }
  body { font-size: 13px; line-height: 20px; }

  .hero-section { padding-top: 100px; padding-bottom: 30px; }
  .home-hero { padding-top: 100px; }
  .hero-section .hero-content,
  .home-hero .hero-content { max-width: 100%; }

  .section { padding: 5px 0; }
  .service-detail { padding: 5px 0; }
  .service-card { width: 100%; padding: 0; }

  .split-section { flex-direction: column; }
  .split-image {
    width: 100%;
    min-height: 250px;
  }
  .split-content {
    width: 100%;
    padding: 30px 0;
  }

  .service-detail { flex-direction: column; }
  .service-detail-main {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  .service-detail-sidebar { width: 100%; padding: 0; }

  .footer-widgets .container { flex-direction: column; }
  .footer-col {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .container { max-width: 550px; }
}

/* Responsive: Small mobile */
@media (max-width: 479px) {
  h1 { font-size: 29px; line-height: 30px; }
  h2 { font-size: 30px; line-height: 36px; }
  h3 { font-size: 24px; line-height: 30px; }
  h4 { font-size: 13px; line-height: 19px; }
  body { font-size: 13px; line-height: 19px; }
}
