/* ========== GLOBAL RESET ========== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* ========== LAYOUT FIX (Footer at Bottom) ========== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #F8FAFC;
  color: #1E293B;
  display: flex;
  flex-direction: column;
}

/* This pushes footer to bottom */
main {
  flex: 1;
}

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: #0F172A;
  color: white;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-size: 15px;
}

nav a:hover {
  text-decoration: underline;
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0F172A, #2563EB);
  color: white;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

.btn {
  background: #38BDF8;
  color: #0F172A;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
  margin-top: 25px;
  font-weight: bold;
}

/* ========== FEATURES / CARDS ========== */
.features {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 30px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  font-weight: bold;
}

/* ========== PAGE CONTENT ========== */
.page {
  padding: 60px 40px;
  max-width: 900px;
  margin: auto;
}

.page h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.page p {
  line-height: 1.6;
}

/* ========== SERVICES LIST ========== */
.services-list {
  list-style: none;
  padding-left: 0;
}

.services-list li {
  background: white;
  padding: 15px;
  margin-bottom: 12px;
  border-left: 4px solid #2563EB;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 500px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #CBD5E1;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  background: #2563EB;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1E40AF;
}

/* ========== FOOTER ========== */
footer {
  background: #0F172A;
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
}
