/* --- Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fc;
  color: #333333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2, h3 {
  color: #1a1a3a;
}

span {
  color: #2563eb;
}

/* --- Header / Navigation --- */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #2563eb;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
}

.phone-link {
  color: #2563eb !important;
  font-weight: 600;
}

/* --- Hero Section --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.sub-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin: 15px 0;
}

.hero-content p {
  color: #6b7280;
  margin-bottom: 25px;
}

.hero-image flex {
  flex: 1;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background-color: #f97316;
  color: #ffffff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.btn-light {
  display: inline-block;
  background-color: #ffffff;
  color: #2563eb;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* --- Grids (Desktop) --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* --- CTA Banner --- */
.cta-banner {
  background: #2563eb;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.cta-banner h2 {
  color: #ffffff;
}

/* --- Footer --- */
.footer {
  background: #1e1b4b;
  color: #9ca3af;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}

.footer h3, .footer h4 {
  color: #ffffff;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #312e81;
  font-size: 0.85rem;
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet Support)
   =================================================== */

/* Tablet View (Screens below 992px) */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile View (Screens below 768px) */
@media (max-width: 768px) {
  /* Navigation Stack */
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    margin-left: 0;
  }

  /* Hero Stack */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  /* Grids to single column */
  .grid-4, .grid-3, .footer-grid {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
  }

  /* CTA Banner Stack */
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}