/* ===== General Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

#btn7 {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  background-color: #065a60;
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  opacity: 0;             /* hidden initially */
  pointer-events: none;   /* prevent click when hidden */
  transition: opacity 0.4s, transform 0.3s, background 0.3s;
}

#btn7.show {
  opacity: 1;            /* fade in */
  pointer-events: auto;  /* clickable */
}

#btn7:hover {
  background-color: #077078;
  transform: translateY(-2px);
}

 /* Floating Icons */
.floating-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.icon-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-btn.whatsapp { background: #25D366; }
.icon-btn.message { background: #065a60; }
.icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Chat Box */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  overflow: hidden;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.chat-box.active { transform: translateY(0); opacity: 1; }
.chat-header {
  padding: 12px;
  font-weight: bold;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header span { cursor: pointer; font-size: 18px; color: #222;}
.chat-body {
  padding: 10px;
  height: 250px;
  overflow-y: auto;
  background: #f9f9f9;
}
.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}
.chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}
.chat-input button {
  background: transparent;
  border: none;
  color: #065a60;
  font-size: 18px;
  cursor: pointer;
  padding: 0 15px;
}

/* WhatsApp Style */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 97px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  text-decoration: none; /* ✅ removes underline */
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}


.bot-msg, .user-msg {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 14px;
}
.bot-msg { background: #e5e5e5; align-self: flex-start; }
.user-msg { background: #065a60; color: #fff; align-self: flex-end; }
.whatsapp-style .user-msg { background: #25D366; color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .chat-box { width: 90%; right: 5%; }
}

/* ===== Header ===== */
.header {
  background: #065a60;
  color: #fff;
  font-family: "Segoe UI", Tahoma, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

    /* ðŸ”¹ Topbar */
    .topbar {
      background: #077078;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 20px;
      font-size: 14px;
    }

    .topbar-left a,
    .topbar-right a {
      color: #fff;
      text-decoration: none;
      margin-right: 15px;
      transition: color 0.3s;
    }

    .topbar-left a:hover,
    .topbar-right a:hover {
      color: #ffd700;
    }

    .topbar-right a {
      margin-right: 10px;
      font-size: 14px;
    }

    /* ðŸ”¹ Navbar (your existing code, unchanged except margin reset) */
    .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

    .logo img {
      height: 60px;
      display: block;
    }

    .menu-toggle {
      display: none;
      font-size: 1.8rem;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      z-index: 999;
    }

    .nav-links {
      list-style: none;
      display: flex;
      gap: 1.5rem;
      align-items: center;
      transition: max-height 0.3s ease;
      margin: 0;
      /* âœ… remove default ul margin */
    }

    .nav-links li a {
      text-decoration: none;
      color: #fff;
      font-weight: 500;
      transition: color 0.3s;
    }

    .nav-links li a:hover {
      color: #ffd700;
    }


    /* ===== âœ… Contact Info Styling ===== */
    .contact-info.modern-contact {
      display: flex;
      align-items: center;
      gap: 1rem;
      background-color: rgba(255, 255, 255, 0.1);
      padding: 0.4rem 0.8rem;
      border-radius: 8px;
      backdrop-filter: blur(5px);
    }

    .contact-info .contact-link {
      color: #fff;
      text-decoration: none;
      font-size: 0.95rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }

    .contact-info .contact-link:hover {
      color: #ffd700;
      transform: scale(1.05);
    }

    .contact-info .phone {
      font-weight: bold;
    }



    /* ===== Solutions Section ===== */
    .solutions {
      padding: 70px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .solutions h2 {
      text-align: center;
      color: #065a60;
      font-size: 34px;
      margin-bottom: 50px;
      position: relative;
      font-weight: bold;
    }

    .solutions h2::after {
      content: "";
      display: block;
      width: 80px;
      height: 4px;
      background: #065a60;
      margin: 15px auto 0;
      border-radius: 2px;
    }

    .solutions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 35px;
    }

    .solution-card {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      background: #fff;
      cursor: pointer;
    }

    /* Image with gradient overlay */
    .solution-card img {
      width: 100%;
      height: 230px;
      object-fit: cover;
      transition: transform 0.6s ease;
      display: block;
    }

    .solution-card::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
      opacity: 0;
      transition: opacity 0.4s ease;
      z-index: 1;
    }

    /* Content */
    .solution-content {
      position: absolute;
      bottom: -100%;
      left: 0;
      width: 100%;
      color: #fff;
      padding: 20px;
      z-index: 2;
      transition: bottom 0.4s ease;
    }

    .solution-content h3 {
      margin-bottom: 10px;
      font-size: 20px;
      font-weight: 600;
    }

    .solution-content p {
      font-size: 14px;
      line-height: 1.4;
      margin-bottom: 15px;
    }

    .solution-content .btn {
      display: inline-block;
      padding: 10px 22px;
      background: #065a60;
      color: #fff;
      border-radius: 30px;
      text-decoration: none;
      font-size: 14px;
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .solution-content .btn:hover {
      background: #003a85;
      transform: scale(1.05);
    }

    /* Hover Effects */
    .solution-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

    .solution-card:hover img {
      transform: scale(1.1);
    }

    .solution-card:hover::before {
      opacity: 1;
    }

    .solution-card:hover .solution-content {
      bottom: 0;
    }

   @media (max-width: 768px) {
  .solution-content {
    transform: translateY(0);
    position: relative; /* stays inside card */
  }
}

/* ===== Process Section ===== */
.process {
  padding: 100px 20px;
  background: #eef3fb;
}

.process h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 60px;
  color: #222;
  position: relative;
}

.process h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #065a60;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1100px;
  margin: auto;
}

.step {
  background: #fff;
  padding: 40px 30px; /* bigger cards */
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
}

.step .icon {
  font-size: 46px;
  margin-bottom: 20px;
  color: #065a60;
}

.step h4 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #065a60;
}

.step p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}


/* ===== Footer ===== */
footer {
      background: #222;
      color: #fff;
      padding: 40px 20px;
    }

    .footer-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: 15px;
      /* ðŸ”½ reduced gap */
    }

    .footer-logo,
    .footer-column,
    .contact-info {
      flex: 1 1 220px;
    }

    .footer-logo img {
      width: 120px;
      margin-bottom: 10px;
    }

    .footer-logo p {
      font-size: 14px;
      color: #ccc;
    }

    .footer-column {
      flex: 1 1 200px;
    }

    .footer-column h4 {
      margin-bottom: 15px;
      font-size: 16px;
      font-weight: bold;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      /* left & right alignment */
      align-items: center;
      flex-wrap: wrap;
      /* responsive on small screens */
      margin-top: 20px;
      padding-top: 15px;
      border-top: 1px solid #444;
      font-size: 14px;
      color: #aaa;
    }

    .footer-bottom p {
      margin: 5px 0;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-column ul li {
      margin-bottom: 8px;
    }

    .footer-column ul li a {
      text-decoration: none;
      color: #ccc;
      font-size: 14px;
    }

    .footer-column ul li a:hover {
      color: #fff;
    }

    .contact-info p,
    .contact-info a {
      font-size: 14px;
      color: #ccc;
      text-decoration: none;
      display: block;
      margin-bottom: 8px;
    }

    .contact-info a:hover {
      color: #fff;
    }

    .social-icons a {
      display: inline-block;
      margin-right: 10px;
      font-size: 18px;
      color: #fff;
      text-decoration: none;
    }

    .social-icons a:hover {
      color: #ccc;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      /* copyright left / links right */
      align-items: center;
      width: 100%;
      /* span full width */
      margin-top: 20px;
      padding: 2px 0;
      /* small vertical padding */
      border-top: 1px solid #444;
      font-size: 14px;
      color: #aaa;
    }

    .footer-bottom a {
      color: #aaa;
      margin: 0 10px;
      text-decoration: none;
    }

    .footer-bottom a:hover {
      color: #fff;
    }

    /* Recent posts spacing */
    .recent-posts {
      margin-bottom: 20px;
      /* âœ… Adds gap before "Get In Touch" */
    }

    .recent-posts ul {
      list-style: none;
      padding: 0;
      margin-left: -74px;
    }

    .recent-posts ul li {
      margin-bottom: 10px;
      /* âœ… More breathing space */
    }

    .recent-posts ul li a {
      color: #ccc;
      font-size: 14px;
      text-decoration: none;
    }

    .recent-posts ul li a:hover {
      color: #fff;
    }
     @media (max-width: 480px) {
      .recent-posts ul {
        margin-left: -2px;
        /* âœ… adjust for small screens */
      }
    }

    /* ===== Responsive ===== */
@media (max-width: 768px) {

      /* Show hamburger */
      .menu-toggle {
        display: block;
        margin-left: auto;
      }

      /* Collapse nav links by default */
      .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #065a60;
        overflow: hidden;
        max-height: 0;
      }

      /* Expanded state */
      .nav-links.active {
        max-height: 1000px;
        padding: 0.5rem 0 1rem;
        /* smaller padding so topbar looks connected */
      }

      /* Stack menu items */
      .nav-links ul {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
      }

      .nav-links ul li {
        width: 100%;
        padding: 0.5rem 1rem;
      }

      @media (max-width: 768px) {
        .hero-content h1 {
          font-size: 40px !important;
        }
      }

      .topbar {
        display: none;
      }
    }