/* ===== Base Styles ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9fafb;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0.5rem 0;
  font-weight: 600;
}

/* ===== Header ===== */
header {
  background: #0000FF;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header img.logo {
  max-width: 140px;
  height: auto;
  margin-bottom: 0.5rem;
}

.tagline {
  font-style: italic;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0000FF;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar .logo {
  color: #fff;
  font-size: 1.5rem;
}

/* ===== Hamburger Button ===== */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  color: #fff;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Nav Links ===== */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
}

.nav-links li a:hover {
  color: #FFD700;
  background: rgba(255,255,255,0.1);
}

/* ===== Dropdown ===== */
.dropdown {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background: #444;
  border-radius: 6px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  flex-direction: column;
}

.dropdown:hover .submenu {
  display: flex;
}

.submenu li a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-size: 1rem;
}

.submenu li a:hover {
  background: #555;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #333;
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 0;
    border-radius: 0 0 10px 10px;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .nav-links a {
    color: #fff;
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }

  @keyframes slideDown {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .submenu {
    position: static;
    margin-left: 1rem;
    background: #444;
  }

  .dropdown:hover .submenu {
    display: none;
  }

  .submenu li a {
    font-size: 1rem;
    padding: 0.7rem 1rem;
  }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #ffeb3b, #fff176);
  text-align: center;
  padding: 2rem 1rem;
}

.hero h2 {
  margin-bottom: 0.5rem;
}

.cta-button {
  background: #2451ff;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0.6rem;
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.15rem;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #1a3ccf;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cta-button {
    width: auto;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* ===== Sections ===== */
section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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

h2 {
  color: #222;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

/* Why choose us */
.why-choose-us ul, .trust ul {
  list-style: none;
  padding: 0;
}

.why-choose-us li, .trust li {
  padding: 0.4rem 0;
  font-size: 1.1rem;
}

/* ===== Cards ===== */
.examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1100px;
  padding: 0 1rem;
}

.example-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.example-card img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 6px;
}

.example-card h3 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.example-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Contact Form ===== */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.6rem;
  font-size: 1.05rem;
  width: 100%;
  transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077cc;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
}

.contact-form button {
  background: #0077cc;
  color: #fff;
  padding: 1rem 1.8rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form button:hover {
  background: #005fa3;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .contact-form button {
    width: auto;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

.privacy-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #555;
}

/* ===== Testimonials ===== */
.testimonials blockquote {
  background: #f3f4f6;
  border-left: 5px solid #0077cc;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  border-radius: 0.6rem;
  font-style: italic;
}

.testimonials cite {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #333;
}

/* ===== Footer ===== */
footer {
  background: #0000FF;
  color: white;
  text-align: center;
  padding: 2.5rem 1rem;
}

footer .footer-nav ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

footer .footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: text-decoration 0.2s ease;
}

footer .footer-nav a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links p {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #ffeb3b;
}

.social-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.05);
  text-decoration: underline;
}

.social-icon {
  width: 22px;
  height: 22px;
}

footer .copyright {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ===== Utility Classes ===== */
.hidden {
  display: none;
}

.intro, .no-card {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* ===== Specific Images Styling ===== */
img[src="valley.van.png"],
img[src$="businesssol.webp"],
img[src$="leafletpic.webp"],
img[src$="samedaypic.webp"] {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}
/* ===== Map Image Styling ===== */
.map-image {
  width: 100%;        /* Make it scale with container */
  max-width: 800px;   /* Max width for desktop */
  height: auto;       /* Maintain aspect ratio */
  display: block;
  margin: 2rem auto;  /* Center and spacing */
  border-radius: 10px; /* Optional: rounded corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}

/* Optional: extra responsiveness for very small screens */
@media (max-width: 480px) {
  .map-image {
    max-width: 100%;
    margin: 1.5rem auto;
  }
/* ===== Contact Section ===== */
.contact-form {
  padding: 1rem 0.8rem;
  background: #fff;
  max-width: 480px;          /* slightly smaller */
  margin: 1rem auto;
  border-radius: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  box-sizing: border-box;     /* ensure padding doesn’t overflow */
}

.contact-form h2 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #222;
}

/* ===== Form Elements ===== */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  width: 100%;
  max-width: 100%;           /* make sure it never overflows */
  box-sizing: border-box;    /* includes padding in width */
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077cc;
  outline: none;
  box-shadow: 0 0 0 1.5px rgba(0,119,204,0.15);
}

/* ===== Submit Button ===== */
.contact-form button {
  background: #0077cc;
  color: #fff;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: bold;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: center;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form button:hover {
  background: #005fa3;
  transform: scale(1.02);
}

/* ===== Privacy & Email ===== */
.contact-form .privacy-note,
.contact-form a {
  text-align: center;
  display: block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #555;
}

.contact-form a {
  color: #0077cc;
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contact-form {
    padding: 0.8rem 0.6rem;
    width: 95%;
  }

  .contact-form h2 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .contact-form button {
    width: 100%;
    padding: 0.65rem;
    font-size: 0.95rem;
  }

  .contact-form form {
    gap: 0.4rem;
  }
}
