/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Header */
header {
  background: #0047ab;
  padding: 1rem 2rem;
  color: white;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.3rem;
}

.header-buttons .btn {
  margin-left: 1rem;
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.95rem;
}

.call {
  background-color: #28a745;
  color: white;
}

.chat {
  background-color: #28a745;
  color: white;
}

/* Hero Section */
.hero {
  background: #dceeff;
  text-align: center;
  padding: 2rem 1rem;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1rem;
  color: #333;
  margin-top: 0.5rem;
}

.cta-buttons {
  margin-top: 1rem;
}

.cta-buttons .btn {
  margin: 0 0.5rem;
}

/* Services Bar */
.services-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), #f0f0f0);
  gap: 1rem;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.service-btn {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Content Boxes */
.content-box {
  background: white;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.content-box h3 {
  margin-bottom: 1rem;
}

.content-box ul {
  list-style: none;
  padding-left: 1rem;
}

.content-box li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  font-size: 0.9rem;
  color: #444;
}

footer a {
  color: #007bff;
  text-decoration: none;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

form label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.25rem;
}

form input,
form textarea {
  margin-bottom: 1rem;
}

input:focus,
textarea:focus {
  border-color: #0047ab;
  outline: none;
}

a {
  text-decoration: none;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
  justify-content: center;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #333;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: #0047ab;
}

.pricing-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

/* Pricing Card & Best Deal Label */
.pricing-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 300px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative; /* ensure relative positioning for absolute children */
}

.best-deal-label {
  position: absolute;
  top: 0;
  left: 1rem;
  transform: translateY(-50%);
  background-color: #ff4757; /* bright red for emphasis */
  color: white;
  font-weight: bold;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  user-select: none;
  pointer-events: none;
  z-index: 10;
}

.pricing-card h3 {
  color: #0047ab;
  font-size: 1.4rem;
}

.price {
  font-size: 2rem;
  color: #222;
  margin: 1rem 0;
}

.features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.features li {
  margin: 0.5rem 0;
}

.btn-pay {
  margin-top: auto;
  text-align: center;
  padding: 0.8rem;
  background-color: #0047ab;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.paypal-placeholder {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: gray;
}
.learn-more-container {
  margin-top: 1rem;
}

.pricing-comparison {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.pricing-card {
  border: 1px solid #ccc;
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-card.highlighted {
  border: 3px solid #007BFF;
  background-color: #f0f8ff;
}
.pricing-card .price {
  font-size: 2rem;
  margin: 0.5rem 0 1rem 0;
  font-weight: bold;
}
.pricing-card ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  text-align: left;
  width: 100%;
}
.pricing-card ul.features li {
  margin-bottom: 0.5rem;
}
.paypal-placeholder {
  margin-top: auto;
  font-style: italic;
  color: #666;
}
.services-offered {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}
.services-offered h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.services-offered ul {
  list-style: disc inside;
  padding-left: 0;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}
.services-offered ul li {
  margin-bottom: 0.5rem;
}

/* Why Choose Section */
.why-choose {
  background: #ffffff;
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.why-choose img {
  max-width: 300px;
  border-radius: 10px;
}
.why-choose-content {
  flex: 1;
  min-width: 280px;
}
.why-choose-content h2 {
  color: #0047ab;
  margin-bottom: 1rem;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(rgba(0,71,171,0.85), rgba(0,71,171,0.85)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}
.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.final-cta .btn {
  margin: 0.5rem;
}

#side-banner {
  position: fixed;
  right: -350px; /* start off-screen */
  top: 30%;
  width: 300px;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  padding: 10px;
  z-index: 9999;
  transition: right 0.5s ease;
}

#side-banner.show {
  right: 0;
}

#side-banner img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  margin-right: 10px;
}

.banner-text h4 {
  margin: 0;
  font-size: 1rem;
}

.banner-text p {
  margin: 5px 0;
  font-size: 0.85rem;
  color: #555;
}

#side-banner button {
  background-color: #0047ab;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

#side-banner .close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .services-bar {
    flex-direction: column;
  }

  .services-list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pricing-section,
  .pricing-comparison {
    flex-direction: column;
    gap: 1rem;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }

  .testimonial-grid {
    flex-direction: column;
    padding: 1rem;
  }

  .why-choose {
    flex-direction: column;
    text-align: center;
  }

  .why-choose img {
    max-width: 100%;
  }

  #side-banner {
    width: 90%;
    right: -100%;
  }
}