* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* Banner */
.modern-banner {
  background: linear-gradient(135deg, #b44385, #8b2d64);
  color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  z-index: 1000;
}
.modern-banner-content {
  display: inline-block;
  padding-left: 100%;
  animation: scrollBanner 25s linear infinite;
}
@keyframes scrollBanner {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (max-width: 768px) {
  .modern-banner {
    font-size: 0.9rem;
    padding: 10px 0;
  }
  .modern-banner-content {
    animation-duration: 18s;
  }
}

/* NavBar (All Pages) */
.navbar-brand {
  color: rgb(139, 45, 100);
  font-weight: bolder;
  margin-left: 10px;
  transition: 0.3s color;
}
.navbar-logo {
  height: 70px;
  width: auto;
}
#offcanvasNavbarLabel {
  color: rgb(139, 45, 100);
  font-weight: bolder;
}
.gs-button {
  background: linear-gradient(135deg, #b44385, #8b2d64);
  color: #fff;
  padding: 10px 20px;
  margin-right: 10px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(180, 67, 133, 0.4);
}
.gs-button:hover {
  background: linear-gradient(135deg, #8b2d64, #b44385);
  box-shadow: 0 6px 18px rgba(139, 45, 100, 0.6);
}
.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}
.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}
.nav-link {
  color: rgb(93, 0, 54);
  font-size: 20px;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: rgb(208, 66, 149);
}
@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #0f4057;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }
  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }
}
@media (max-width: 576px) {
  .navbar-logo {
    height: 50px;
  }
  .gs-button {
    padding: 8px 16px;
    font-size: 14px;
    margin-right: 15px;
  }
}
@media (max-width: 576px) {
  .gs-button {
    display: none;
  }
}

/* Index Page – About Section */
.img-hover-zoom {
  overflow: hidden;
  border-radius: 1rem;
}
.img-hover-zoom img {
  transition: transform 0.4s ease;
}
.img-hover-zoom:hover img {
  transform: scale(1.08);
}
.about-section {
  background: #f9f9fb;
}
@media (max-width: 768px) {
  .text-gradient {
    font-size: 1.75rem;
  }
}

/* Hero Sections (All Pages) */
.index-hero-section,
.about-hero-section,
.service-hero-section {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 76vh;
}
.index-hero-section {
  background-image: url('../images/ihero.webp');
}
.about-hero-section {
  background-image: url('../images/ahero.webp');
}
.service-hero-section {
  background-image: url('../images/shero.webp');
}
@media (max-width: 768px) and (orientation: landscape) {
  .hero-content {
    padding: 1rem;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content p {
    font-size: 0.9rem;
  }
  .hero-content .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* Cards (All Pages) */
.card {
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.card-img-top {
  height: 240px;
  object-fit: cover;
  border-bottom: 4px solid #f0f0f0;
}
.text-justify {
  text-align: justify;
}

#services p,
#choose p,
#projects p,
#products p,
#about p,
#main p,
#analysis p,
#training p,
#research p,
#projects-products p,
#design p {
  color: #800790;
}

/* About Us Page – Mission & Vision */
.about-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(128, 7, 144, 0.15);
}
.text-accent {
  color: #800790;
}
.object-fit-cover {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  .about-img-wrapper {
    height: 200px;
  }
}

/* About Us Page – Reseller & Products */
.modern-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}
.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.card-icon {
  width: 80px;
  height: 80px;
}

/* Services Page – Services Section */
.service-card {
  border: 1px solid #800790;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(128, 7, 144, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
  padding: 1rem;
}
.service-card:hover {
  transform: scale(1.02);
  background-color: #fdf7ff;
}

/* Common - Card Border */
.icon-box,
.modern-card {
  min-width: 300px;
  border: 1px solid #800790 !important;
}

/* Contact Info */
#contact-info {
  width: 45px;
  height: 45px;
}
.text-purple {
    color: #800080 !important;
  }
  .bg-purple {
    background-color: #800080 !important;
  }
  .border-purple {
    border-color: #800080 !important;
  }
  .btn-purple {
    background-color: #800080 !important;
    border-color: #800080 !important;
    color: white !important;
  }
  .btn-purple:hover {
    background-color: #6a006a !important;
    border-color: #6a006a !important;
  }
  #contact-info {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

/* Footer */
.bg-footer {
  background-color: rgb(139, 45, 100);
}
#footer img {
  width: 80px;
  height: auto;
  border-radius: 50%;
}

/* WhatsApp ChatBox Floating Widget */
.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
}
.chat-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 100%;
  max-width: 320px;
  margin-right: env(safe-area-inset-right);
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  z-index: 998;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-header {
  background-color: #075e54;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header .profile {
  display: flex;
  align-items: center;
}
.chat-header .profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.chat-header .close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: white;
}
.chat-body {
  background-image: url('../images/wabg.jpg');
  background-size: cover;
  padding: 16px;
  font-size: 14px;
  color: #333;
}
.chat-bubble {
  background-color: white;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 90%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.chat-footer {
  padding: 16px;
  background-color: white;
  text-align: center;
}
.chat-footer a {
  background-color: #25d366;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
