/* ===== 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; color: #222;}
.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; }
.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;
    }


/* ===== Hero Section ===== */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 6rem 1rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-content .btn {
    opacity: 1;
    transform: none;
    animation: none;
    margin-top: 3rem;
    display: inline-block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    /* adjust opacity as needed */
    z-index: -19;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-content p {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s forwards;
    animation-delay: 1s;
}

.hero,
.hero-content,
.hero h1,
.hero p {
    color: #fff;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== 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;
      }
    }

.hero-content h1 {
    font-size: 2.5rem;
}


/* ===== Solutions Section ===== */
.solutions {
  margin-top: 60px;
}

.solutions .solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 288px)); /* narrower cards */
  justify-content: center; /* center the cards */
  gap: 25px;
  margin-top: 30px;
}

.solution {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  max-width: 280px; /* limit card width */
}

.solution img {
  width: 100%;
  height: 346px; /* keep original height */
  object-fit: cover;
  transition: transform 0.5s ease; /* smooth zoom */
}

.solution:hover {
  transform: translateY(-6px);
}

.solution:hover img {
  transform: scale(1.05); /* zoom image smoothly */
}

.solution h4 {
  padding: 15px;
  color: #065a60;
  font-size: 18px;
  text-align: center;
}

h2 {
  text-align: center;
  font-size: 32px;
  margin: 40px 0 30px;
  color: #222;
}

h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #065a60;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== 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 */
      }
    }