* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Hero Section */
.main-header {
    background: #1a2a3a;
    color: #fff;
    padding: 10px 0; 
}
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero-video {
  margin-top:10%;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 30, 0.65); /* Deep dark blue overlay */
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 0;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin: 0;
  letter-spacing: -1px;
}

/* Services Cards Section */
.services-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}
.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.card-header {
    padding: 30px;
    text-align: center;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
}
.privacy-header {
    background: linear-gradient(135deg, #00c6a7, #009688);
}
.staffing-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}
.app-header {
    background: linear-gradient(135deg, #00c6a7, #009688);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}
.card-body {
    padding: 30px;
    text-align: center;
    background: white;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.card-link {
    display: inline-block;
    color: #007bff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
}
.card-link:hover {
    text-decoration: underline;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}
.card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3, #003d82);
}
.card-btn .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.card-btn:hover .arrow {
  transform: translateX(8px);
}

/* === MOBILE OPTIMIZATIONS ONLY (added at the end) === */
@media (max-width: 768px) {
  /* Hero - smaller height, better text fit */
  .hero {
    height: 30vh;
    min-height: 250px;
  }
  .hero-video {
    object-fit: cover;
  }
  .hero-content h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
    padding: 0 15px;
  }

  /* Services Section */
  .services-section {
    padding: 60px 15px;
  }

  /* Cards - full width, smaller padding */
  .service-card {
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .card-header {
    padding: 25px;
    font-size: 1.6rem;
  }
  .card-body {
    padding: 25px 20px;
  }
  .card-title {
    font-size: 1.4rem;
  }
  .card-btn {
    padding: 10px 24px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
  }
  .card-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 35vh;
    min-height: 200px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }
  .services-section {
    padding: 50px 12px;
  }
  .card-header {
    padding: 20px;
    font-size: 1.5rem;
  }
  .card-body {
    padding: 20px 15px;
  }
  .card-title {
    font-size: 1.3rem;
  }
  .card-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}