/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: white;
}

/* ================= HEADER (UNCHANGED) ================= */
.egl-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1300px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 62px;
  width: 180px;
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link,
.dropdown-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: #111827;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

.underline:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 130%;
  left: 0;
  background: #fff;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #111827;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search {
  font-size: 18px;
  cursor: pointer;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #111827;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ================= MOBILE MENU ================= */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 30px 24px;
    border-top: 1px solid #e5e7eb;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.35s ease;
    z-index: 999;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 12px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* ================= HAMBURGER ANIMATION ================= */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MOBILE HEADER LAYOUT FIX ================= */
@media (max-width: 900px) {
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  /* HAMBURGER → LEFT */
  .hamburger {
    order: 1;
  }

  /* LOGO → CENTER (TRUE CENTER) */
  .logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 52px;
    width: auto;
  }

  /* SEARCH → RIGHT */
  .search {
    order: 3;
    font-size: 18px;
  }
}

/* ================= FOOTER ================= */
.egl-footer {
  background: linear-gradient(135deg, #020617, #0f172a);
  color: #e5e7eb;
  padding: 70px 24px 30px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.egl-footer.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-container {
  max-width: 1300px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: #3b82f6;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.footer-section p {
  color: #cbd5f5;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.footer-section a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #60a5fa;
  transition: width 0.3s;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-section a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  transition: 0.3s;
}

.social-links a:hover {
  background: #60a5fa;
  color: #020617;
  transform: translateY(-5px);
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.legal-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legal-links a{
      color: white;
  text-decoration: none;
}

/* LOADER WRAPPER */
#loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* HIDE LOADER */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* IMAGE STRETCH EFFECT */
.loader-img {
  width: 120px;
  /*adjustsize*/animation: stretchImg 3s ease-in-out infinite;
  -webkit-animation: stretchImg 3s ease-in-out infinite;
}

/* STRETCH KEYFRAMES */
@keyframes stretchImg {
  0% {
    transform: scaleX(1);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1.6);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.7;
  }
}

.hero-slider {
  width: 100%;
  padding: 20px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,.1));
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 60px;
  color: #fff;
}

.tag {
  font-size: 14px;
  font-weight: 600;
  opacity: .9;
}

.slide h1 {
  font-size: 38px;
  margin: 12px 0;
}

.slide p {
  font-size: 16px;
  margin-bottom: 22px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* NAV BUTTONS */
.navs {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */
.dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
  .slider {
    height: 320px;
  }

  .slide-content {
    padding: 30px;
  }

  .slide h1 {
    font-size: 26px;
  }
}

.bg-info-section {
  width: 100%;
  min-height: 420px;
  background-image: url("SHOPPER.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* DARK / SOFT OVERLAY */
.bg-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* CONTENT */
.bg-content {
  max-width: 700px;
  padding: 60px 80px;
  color: #ffffff;
}

.bg-content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

.bg-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #f3f4f6;
}

.small-text {
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .bg-info-section {
    min-height: 360px;
  }

  .bg-content {
    padding: 40px 24px;
    text-align: left;
  }

  .bg-content h1 {
    font-size: 28px;
  }

  .bg-content p {
    font-size: 15px;
  }
}
.category-wrapper {
  width: 100%;
  padding: 20px 20px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* section title */
.section-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #111;
  text-align: center;
  letter-spacing: 0.3px;
}

/* card stays the same */
.category-card {
  width: 100%;
  max-width: 1200px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
/* image */
.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* fade + zoom states */
.card-image img.fade {
  opacity: 0;
  transform: scale(1.05);
}

/* content */
.card-content {
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

/* pills */
.hero-pills {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-pills span {
  padding: 10px 18px;
  border: 1px dashed #fff;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-pills span.active,
.hero-pills span:hover {
  background: #fff;
  color: #000;
}

/* text */
.hero-subtext {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* buttons */
.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 12px;
  text-decoration: none;
}

.btn.dark {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

.btn.light {
  background: #fff;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .category-card {
    grid-template-columns: 1fr;
  }
    
  .card-image {
    height: 300px;
  }

  .card-content {
    padding: 40px 30px;
  }

  .card-content h1 {
    font-size: 32px;
  }
}

.about-section {
  padding: 80px 24px;
  background: #ffffff;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

/* LEFT */
.about-pill {
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-left h2 {
  font-size: 40px;
  margin: 14px 0 20px;
  color: #0f172a;
}

.about-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  font-size: 14px;
  color: #334155;
  position: relative;
  padding-left: 22px;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-size: 13px;
}

.about-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

/* BUTTONS */
.btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.btn.primary {
  background: #dc2626;
  color: #fff;
}

.btn.outline {
  border: 1px solid #dc2626;
  color: #dc2626;
}

/* RIGHT CARD */
.about-right {
  background: #1e3a5f;
  color: #fff;
  padding: 40px;
  border-radius: 18px;
}

.about-right h3 {
  font-size: 26px;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  padding: 26px;
  border-radius: 14px;
  text-align: center;
}

.stat-card h4 {
  font-size: 28px;
  margin-bottom: 6px;
}

.stat-card p {
  font-size: 13px;
  opacity: 0.9;
}

.bank-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.bank-note span {
  font-size: 13px;
  opacity: 0.8;
}

.bank-note strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-left h2 {
    font-size: 32px;
  }

  .about-list {
    grid-template-columns: 1fr;
  }
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}


/* TRUSTED BRANDS SECTION */
.trusted-brands {
  padding: 60px 0;
  background: #f9f9f9;
  overflow: hidden;
}

.brands-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.brands-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #111;
}

/* Marquee Wrapper */
.brands-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Moving Track */
.brands-track {
  display: flex;
  width: fit-content;
  animation: scrollBrands 25s linear infinite;
}

/* Logos */
.brands-track img {
  height: 60px;
  margin: 0 40px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.brands-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Animation */
@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .brands-title {
    font-size: 20px;
  }

  .brands-track img {
    height: 45px;
    margin: 0 25px;
  }
}

/* WHY CHOOSE SECTION */
.why-maasentu {
  padding: 100px 20px;
  background: #ffffff;
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

.why-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: #f2f4f7;
  color: #0a0a0a;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.why-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.why-header p {
  max-width: 600px;
  margin: auto;
  color: #666;
  font-size: 16px;
}

/* Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Cards */
.why-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.why-icon {
  font-size: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.why-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-header h2 {
    font-size: 28px;
  }
}
/* FEATURED DEALS */
.featured-deals {
  padding: 100px 20px;
  background: #0f172a;
  color: #ffffff;
}

.deals-container {
  max-width: 1200px;
  margin: auto;
}

.deals-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag.dark {
  background: #1e293b;
  color: #ffffff;
}

.deals-header h2 {
  font-size: 38px;
  font-weight: 700;
}

/* Grid */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.deal-card {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-10px);
}

.deal-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.deal-info {
  padding: 25px;
}

.deal-info h3 {
  margin-bottom: 10px;
}

.price {
  font-weight: 600;
  margin-bottom: 20px;
}

.deal-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.deal-btn:hover {
  background: #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }
}
.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  transition: 0.3s ease;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  height: 450px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.chatbot-window.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, #111, #1f1f1f);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.chat-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Optional Online Indicator Dot */
.chat-header span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  display: inline-block;
}

/* Close Button */
#chatClose {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chatClose:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 75%;
}

.user {
  background: #111;
  color: #fff;
  align-self: flex-end;
}

.bot {
  background: #f1f1f1;
}

.chat-footer {
  display: flex;
  border-top: 1px solid #eee;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
}

.chat-footer button {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

/* Quick Buttons */
.quick-replies {
  margin-top: 5px;
}

.quick-replies button {
  margin: 3px;
  padding: 6px 10px;
  border: none;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
  font-size: 12px;
}

/* Typing Dots */
.typing span {
  height: 6px;
  width: 6px;
  background: #999;
  display: inline-block;
  border-radius: 50%;
  margin: 0 2px;
  animation: blink 1.4s infinite both;
}

.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  0% { opacity: .2; }
  20% { opacity: 1; }
  100% { opacity: .2; }
}
