/* ================================
   Cyber Security Services Page
   File: assets/css/service-cyber.css
=================================== */

/* ------------- Hero Section ------------- */

.hero {
  padding: 80px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: radial-gradient(circle at top left, #122044 0%, #050816 55%, #02030a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.1), transparent 60%);
  pointer-events: none;
}

.hero .content {
  position: relative;
  max-width: 600px;
  color: #f5f7ff;
  z-index: 1;
}

.hero .content h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2563eb;
}

.hero .content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #c5d0ff;
  margin: 0;
}

.hero img {
  position: relative;
  max-width: 420px;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ------------- Services Section ------------- */

.services {
  padding: 70px 8%;
  background-color: #f5f7fb;
  text-align: center;
}

.services h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #101828;
}

.services > p {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  color: #4b5563;
  font-size: 0.98rem;
}

/* Grid for cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.9rem 1.6rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(56, 189, 248, 0.7);
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon styling */
.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

/* Heading & text */
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
  font-weight: 600;
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
}

/* ------------- Responsive Styles ------------- */

@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 6%;
  }

  .hero .content {
    max-width: 100%;
  }

  .hero img {
    max-width: 360px;
  }

  .hero .content h1 {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 5%;
    gap: 2rem;
  }

  .hero .content h1 {
    font-size: 2rem;
  }

  .services {
    padding: 50px 5%;
  }

  .services h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero .content p,
  .services > p,
  .service-card p {
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.6rem 1.3rem;
  }
}
