/* =====================================
   GLOBAL WEBSITE BASE STYLES
   Project: Cleaning Services – Ajman & Sharjah
   ===================================== */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Basic Reset & Font Family */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #F8F9FA; /* light grey background for clean feel */
  color: #0B2239;           /* dark navy text for readability */
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #0B2239;
}

/* Links */
a {
  color: #009688;
  text-decoration: none;
}
a:hover {
  color: #00796B;
  text-decoration: none;
}

/* Containers */
.container {
  max-width: 1600px;
}

/* Buttons */
.btn-custom {
  background-color: #009688;
  color: #fff;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background-color: #00796B;
  color: #fff;
}

/* Utility Classes */
.text-primary-uae {
  color: #009688 !important;
}
.bg-primary-uae {
  background-color: #009688 !important;
}


/* =====================================
   FULL-WIDTH TOPBAR – Orange with Centered Inner
   ===================================== */
/* ===================================
   TOPBAR (Edge-to-Edge + Full Visible Icons)
   =================================== */
.topbar {
  width: 100%;
  background-color: #F28C1A;
  color: #fff;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1;
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  overflow-x: hidden; /* ✅ prevents horizontal cut */
}

/* Inner content */
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0 40px; /* ✅ extra right padding for icons */
  height: 40px;
  box-sizing: border-box;
}

/* Left Section */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}
.contact-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Right Section */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 5px; /* ✅ ensures space before viewport edge */
}

.social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient hover effect */
.social-icon:hover {
  background: linear-gradient(135deg, #25D366, #00796B);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

/* Shine overlay */
.social-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 10%, transparent 60%);
  transform: translate(-100%, -100%);
  transition: 0.5s ease;
  opacity: 0;
}
.social-icon:hover::after {
  transform: translate(0, 0);
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: auto;
    gap: 6px;
    padding: 8px 0;
  }
  .topbar-left {
    flex-direction: column;
    gap: 4px;
  }
}

/* =====================================
   HEADER WITH DROPDOWN MENU
   ===================================== */
.header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
}

/* Logo */
.logo img {
  height: 60px;
  width: auto;
}

/* Nav menu */
.navbar {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: #0B2239;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 16px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #009688;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 230px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 100;
  padding: 8px 0;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  display: block;
  padding: 10px 15px;
  color: #0B2239;
  transition: all 0.3s ease;
  font-size: 15px;
}

.dropdown-content li a:hover {
  background-color: #f3f3f3;
  color: #009688;
  padding-left: 20px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Book Now Button */
.book-btn {
  background: linear-gradient(90deg, #00796B, #25D366);
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s;
}
.book-btn:hover {
  background: linear-gradient(90deg, #25D366, #00796B);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #009688;
  cursor: pointer;
}

@media (max-width: 991px) {
  .navbar {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fff;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .dropdown-content li a {
    padding: 8px 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* =====================================
   HERO SLIDER SECTION (FIXED HEIGHT)
   ===================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 650px; /* ✅ fixed height only, not vh */
  overflow: hidden;
  margin-bottom: 0; /* ✅ remove unwanted gap */
  padding-bottom: 0;
}

.slider {
  width: 100%;
  height: 100%; /* ✅ match hero-slider height */
  position: relative;
  margin: 0;
  padding: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-btn {
  background: linear-gradient(90deg, #00796B, #25D366);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: linear-gradient(90deg, #25D366, #00796B);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 380px; /* ✅ smaller height for mobile */
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    font-size: 16px;
  }
}

/* =====================================
   PRODUCTS / CLEANING SERVICES SECTION
   ===================================== */
.products {
  background: #F8F9FA;
  padding: 20px 20px 60px; /* top margin 20px only */
  margin-top: 0;
}

.products-container {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #0B2239;
  margin-bottom: 8px;
}

.section-subtitle {
  color: #666;
  margin-bottom: 35px;
  font-size: 16px;
}

/* === Fixed Grid Layout (4 per row) === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ exactly 4 cards per row */
  gap: 25px;
  justify-content: center;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #009688;
  box-shadow: 0 5px 14px rgba(0, 150, 136, 0.15);
}

/* Image */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Title & paragraph */
.product-card h3 {
  font-size: 20px;
  color: #009688;
  margin: 15px 0 5px;
}

.product-card p {
  color: #444;
  font-size: 15px;
  padding: 0 15px 15px;
  line-height: 1.5;
}

/* Buttons */
.card-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
}

.btn-enquiry,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s ease;
}

/* Enquiry Button */
.btn-enquiry {
  background-color: #009688;
}
.btn-enquiry:hover {
  background-color: #00796B;
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: #25D366;
}
.btn-whatsapp:hover {
  background-color: #1EBE5D;
}

/* Responsive Layout */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row on medium laptop */
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on tablet */
  }
  .product-card img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 card per row on mobile */
  }
  .products {
    padding: 15px 10px 40px;
  }
  .product-card img {
    height: 160px;
  }
  .section-title {
    font-size: 26px;
  }
}


/* =====================================
   WHY CHOOSE US – FINAL FIXED ALIGNMENT
   ===================================== */
.why-choose-us {
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  padding: 80px 20px;
  text-align: center;
}

.why-choose-us .container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Section Title */
.why-choose-us .section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0B2239;
  margin-bottom: 8px;
}
.why-choose-us .section-header h2 span {
  color: #009688;
}
.why-choose-us .section-header p {
  color: #555;
  font-size: 17px;
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

/* Intro Text */
.why-intro {
  max-width: 850px;
  margin: 0 auto 50px;
}
.why-intro p {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

/* Stats Section */
.why-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 70px;
}
.stat {
  text-align: center;
  min-width: 150px;
}
.stat h3 {
  font-size: 42px;
  font-weight: 700;
  color: #009688;
  margin-bottom: 5px;
  line-height: 1;
}
.stat p {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature Boxes Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

/* Box Design */
.why-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.why-box:hover {
  transform: translateY(-8px);
  border-color: #009688;
  box-shadow: 0 6px 16px rgba(0, 150, 136, 0.2);
}
.why-box i {
  font-size: 45px;
  color: #009688;
  margin-bottom: 15px;
  transition: 0.3s ease;
}
.why-box:hover i {
  color: #fff;
  background: #009688;
  padding: 12px;
  border-radius: 50%;
}
.why-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0B2239;
  margin-bottom: 10px;
}
.why-box p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-stats {
    gap: 40px;
  }
}
@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .why-choose-us {
    padding: 60px 15px;
  }
  .stat h3 {
    font-size: 32px;
  }
}


/* =====================================
   OUR CLEANING EXPERTS (FIXED ALIGNMENT)
   ===================================== */
.experts {
  background: #F8F9FA;
  padding: 70px 20px;
  text-align: center;
}

.experts .container {
  max-width: 1300px;
  margin: 0 auto;          /* ✅ centers the whole grid perfectly */
}

.experts .section-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0B2239;
  margin-bottom: 10px;
}
.experts .section-header h2 span {
  color: #009688;
}
.experts .section-header p {
  color: #555;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.6;
}

/* Grid */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;           /* ✅ keeps cards perfectly centered */
}

/* Card */
.expert-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  padding-bottom: 25px;
  border: 1px solid #eee;
}
.expert-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,150,136,0.2);
}

.expert-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.expert-card h4 {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #009688;
}
.expert-card .role {
  color: #777;
  font-size: 14px;
  margin-bottom: 8px;
}
.expert-card .stars {
  color: #FFD700;
  margin-bottom: 10px;
}
.expert-card .desc {
  color: #444;
  font-size: 15px;
  padding: 0 15px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width:1200px){
  .experts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width:992px){
  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;      /* ✅ keeps both cards centered */
  }
}
@media (max-width:576px){
  .experts-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 400px;
  }
  .expert-card img { height: 220px; }
}


/* =====================================
   CLIENT REVIEWS (FINAL CENTER ALIGNMENT)
   ===================================== */
.reviews {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.reviews .container {
  max-width: 1300px;
  margin: 0 auto;                /* ✅ centers entire content */
  padding: 0 20px;
}

.reviews .section-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0B2239;
  margin-bottom: 10px;
}
.reviews .section-header h2 span {
  color: #009688;
}
.reviews .section-header p {
  color: #555;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 1.6;
}

/* Slider Container */
.review-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;       /* ✅ centers the scrolling track */
}

/* Track */
.review-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 25px;
  animation: scrollReviews 45s linear infinite;
}

/* Individual Card */
.review-card {
  flex: 0 0 340px;
  background: #F8F9FA;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;              /* ✅ improves readability */
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,150,136,0.15);
}

.review-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 70px;
}

.review-card .stars {
  color: #FFD700;
  margin-bottom: 8px;
}

.review-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #009688;
  margin-bottom: 3px;
}

.review-card span {
  font-size: 13px;
  color: #777;
}

/* Animation */
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }  /* loops smoothly */
}

/* Responsive Fix */
@media (max-width:1200px){
  .review-card { flex: 0 0 300px; }
}
@media (max-width:768px){
  .review-card { flex: 0 0 260px; }
}
@media (max-width:576px){
  .review-card {
    flex: 0 0 230px;
    text-align: center;
  }
}


/* =====================================
   FOOTER – SIMPLY MAID UAE
   ===================================== */
.footer {
  background: #0B2239; /* Dark navy */
  color: #fff;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #023E8A, #009688);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* About */
.footer-about img {
  width: 150px;
  margin-bottom: 15px;
}
.footer-about p {
  font-size: 15px;
  line-height: 1.7;
  color: #f5f5f5;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  border-left: 4px solid #25D366;
  padding-left: 10px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #25D366;
  padding-left: 5px;
}

/* Contact */
.footer-contact p {
  font-size: 15px;
  margin-bottom: 8px;
}
.footer-contact i {
  color: #25D366;
  margin-right: 6px;
}
.footer-contact a {
  color: #e0e0e0;
  text-decoration: none;
}
.footer-contact a:hover {
  color: #25D366;
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  margin-top: 15px;
  transition: 0.3s;
}
.whatsapp-btn:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

/* Bottom Bar */
.footer-bottom {
  text-align: center;
  background: #05182A;
  padding: 15px 10px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom a {
  color: #25D366;
  text-decoration: none;
  font-weight: 500;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width:992px){
  .footer-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
  }
}
@media (max-width:576px){
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-about img {
    margin: 0 auto 15px;
  }
  .footer-links h4,
  .footer-contact h4 {
    text-align: center;
  }
  .footer-links ul li a:hover {
    padding-left: 0;
  }
}

/* =====================================
   FOOTER – MOBILE OPTIMIZED FINAL
   ===================================== */
@media (max-width:576px){
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .footer-top {
    padding: 50px 25px;
    background: linear-gradient(180deg, #023E8A, #009688);
  }

  .footer-about img {
    margin: 0 auto 10px;
    width: 120px;
  }

  .footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #E6E6E6;
  }

  .footer-links h4,
  .footer-contact h4 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    border-left: none;
    border-bottom: 2px solid #25D366;
    display: inline-block;
    padding-bottom: 3px;
  }

  .footer-links ul li {
    margin: 6px 0;
  }
  .footer-links ul li a {
    font-size: 15px;
    color: #f2f2f2;
  }

  .footer-contact p {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .footer-contact i {
    font-size: 16px;
    color: #25D366;
  }

  .whatsapp-btn {
    display: inline-flex;
    margin: 15px auto 0;
    font-size: 14px;
    padding: 10px 20px;
  }

  .footer-bottom {
    padding: 12px 10px;
    font-size: 13px;
  }
}


/* =====================================
   FINAL POLISHED CHAT BOT DESIGN
   ===================================== */

.chat-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}

/* Header */
.chat-header {
  background: linear-gradient(90deg, #009688, #25D366);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chat-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.chat-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.chat-header p {
  margin: 0;
  font-size: 12px;
  color: #eafaea;
}
.chat-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  margin-left: auto;
  cursor: pointer;
  transition: 0.3s;
}
.chat-header button:hover {
  transform: scale(1.2);
}

/* Chat Body */
.chat-body {
  background: #f7f9fc;
  padding: 15px;
  max-height: 270px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.bot-msg,
.user-msg {
  padding: 10px 14px;
  border-radius: 18px;
  margin-bottom: 10px;
  max-width: 85%;
  line-height: 1.5;
  font-size: 14px;
  word-break: break-word;
}
.bot-msg {
  align-self: flex-start;
  background: #e8f5fe;
  color: #023E8A;
  border: 1px solid #d0ebff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.user-msg {
  align-self: flex-end;
  background: #dcf8c6;
  color: #0B2239;
  border: 1px solid #c8efb4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.typing {
  background: #e8f5fe;
  display: inline-block;
  border-radius: 15px;
  padding: 8px 12px;
  color: #00796B;
  font-style: italic;
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

/* Input */
.chat-input {
  display: flex;
  border-top: 1px solid #e0e0e0;
  background: #fff;
}
.chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  outline: none;
  border-radius: 0;
}
.chat-input button {
  background: #25D366;
  color: #fff;
  border: none;
  width: 45px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}
.chat-input button:hover {
  background: #1ebe5d;
}

/* Actions */
.chat-actions {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 10px 0;
  background: #f8f8f8;
  border-top: 1px solid #eaeaea;
}
.chat-actions a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: 0.3s;
}
.chat-actions .whatsapp-btn {
  background: #25D366;
}
.chat-actions .call-btn {
  background: #00796B;
}
.chat-actions a:hover {
  transform: translateY(-2px);
}

/* Floating Icon */
.chat-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #009688, #25D366);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .chat-box {
    width: 88%;
    right: 6%;
  }
}
