/* =========================
   RESET & BASE STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5f6fa;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}


/* =========================
   MAIN CONTENT
========================= */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 1s forwards;
}

h1 { font-size: 3rem; text-align: center; color: #0d1117; animation-delay: 0.2s; }
h2 { font-size: 2rem; animation-delay: 0.4s; }
h3 { animation-delay: 0.6s; }
h4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   SERVICE CARDS
========================= */
.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #00bfff, #1e90ff);
  color: #fff;
}

.service-card h2 {
  margin-bottom: 1rem;
  transition: color 0.5s ease;
}

.service-card p, .service-card ul, .service-card li, .service-card strong {
  transition: color 0.5s ease;
}

.service-card ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
  list-style-type: square;
}

.service-card li {
  margin-bottom: 0.5rem;
}

/* =========================
   CTA BUTTON
========================= */
.cta-row {
  text-align: center;
  margin: 3rem 0;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00bfff;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,191,255,0.4);
}

.btn-primary::after {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.2);
  transition: width 0.5s;
  border-radius: 50px;
}

.btn-primary:hover::after {
  width: 100%;
}

/* =========================
   MEDIA QUERIES
========================= */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #0d1117;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 2rem;
  }

  .main-nav a {
    margin: 0.5rem 0;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav.open {
    display: flex;
  }
}
