/* =====================
   GLOBAL STYLES
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9fafb;
  color: #333;
  line-height: 1.7;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar enhancements */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #2563eb;
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #2563eb;
}

.btn-success {
  background-color: #25d366;
  border-color: #25d366;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #1ebe57;
  border-color: #1ebe57;
  transform: translateY(-2px);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

/* Service Cards */
.service-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}

.service-card:hover p {
  color: #e0e7ff;
}

.service-card .icon img {
  transition: transform 0.4s ease;
}

.service-card:hover .icon img {
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    margin-bottom: 20px;
  }
}



@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 60px; /* Reduce logo size on mobile */
  }
  .navbar-toggler {
    margin-left: auto; /* ensures button stays on the right */
  }
}



/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn.secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
}

.btn.secondary:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
}

/* =====================
   HEADER / NAVBAR
===================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo a {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 1px;
}

.logo span {
  color: #2563eb;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: #374151;
  padding: 6px 10px;
  border-radius: 5px;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: #2563eb;
}

.nav-btn a {
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* =====================
   HERO SECTION
===================== */
.hero {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border-radius: 50% 50% 0 0;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 35px;
}

.hero-buttons .btn {
  font-size: 16px;
}

/* =====================
   SERVICES
===================== */
.services {
  padding: 90px 0;
  background: #ffffff;
}

.services h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #f9fafb;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 12px;
  color: #1f2933;
  font-size: 22px;
}

.card p {
  color: #4b5563;
  font-size: 16px;
}

/* =====================
   WHY CHOOSE US
===================== */
.why-us {
  padding: 90px 0;
  background: #f1f5f9;
  text-align: center;
}

.why-us h2 {
  margin-bottom: 35px;
  font-size: 34px;
  font-weight: 700;
}

.why-us ul li {
  margin: 12px 0;
  font-weight: 500;
  font-size: 18px;
  color: #111827;
}

/* =====================
   CTA
===================== */
.cta {
  background: #2563eb;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 15px;
  font-size: 36px;
  font-weight: 700;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
}

.footer-box h3 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 18px;
}

.footer-box ul li {
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-box a:hover {
  color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 35px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }

  .services h2, .why-us h2, .cta h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 220px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta h2 {
    font-size: 28px;
  }
}
