/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1919;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #22b7e7;
  text-decoration: none;
}

a:hover {
  color: #31c7fa;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1a1919;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.nav-link {
  position: relative;
  padding: 4px 0;
  font-weight: 500;
  color: #1a1919;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #31c7fa;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  margin-top: 70px; /* header offset */
  overflow: hidden;
  color: #ffffff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 47, 91, 0.9),
    rgba(8, 47, 91, 0.5),
    rgba(0, 0, 0, 0.3)
  );
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.3;
  margin: 0 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: #22b7e7;
  color: #ffffff;
}

.btn-primary:hover {
  background: #31c7fa;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-light {
  background-color: #f3fcff;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 40px;
  margin: 0 0 8px;
}

.section-header h3 {
  font-size: 32px;
  margin: 0;
}

.section-header p {
  margin: 0;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.card-body p {
  margin: 0 0 10px;
}

.card-link {
  font-weight: 600;
}

/* Split layout (About / Tell Us Your Problem) */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-text h2 {
  font-size: 40px;
  margin-top: 0;
}

.lead {
  font-size: 18px;
  margin: 16px 0 24px;
}

.split-image {
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partner img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  color: #ffffff;
}

.footer-top {
  background: #464646;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 24px 0 12px;
}

.footer-col h4 {
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #ffffff;
}

.footer-links a:hover {
  color: #31c7fa;
}

.footer-bottom {
  background: #464646;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-inner {
  text-align: center;
  padding: 10px 0 18px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 55vh;
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    gap: 12px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
