/* ================================
   💙 TheBubblyPet - Main1.css (Blue Theme)
   Combined Styles for Header, Login, Home Page, Chat & Popup
================================ */

/* ====== Reset Basic Styling ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #e8f3ff, #d5e7ff);
  min-height: 100vh;
  color: #333;
}

/* ====== Reusable Container ====== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== Header Navigation ====== */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 60px;
  margin-left: 20px;
}

#navmenu ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin-right: 40px;
}

#navmenu ul li {
  margin: 0 15px;
  position: relative;
}

#navmenu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

#navmenu ul li a:hover,
#navmenu ul li a.active {
  color: #2b6ec9;
}

/* ====== Dropdown Styling ====== */
.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  background-color: #fff;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  display: block;
}

.dropdown-menu a {
  color: #333 !important;
  padding: 10px 20px;
}

.dropdown-menu a:hover {
  background-color: #e3f1ff;
  color: #2b6ec9 !important;
}

/* ====== Hero Carousel ====== */
#hero .carousel-item img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  filter: brightness(80%);
}

.carousel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 15px;
}

.carousel-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.carousel-container p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ====== About / Home Page ====== */
#about-3 {
  padding: 80px 0;
}

#about-3 .content-title {
  color: #2b6ec9;
  font-weight: 700;
}

#about-3 p {
  color: #555;
  line-height: 1.6;
}

#about-3 .btn-cta {
  background-color: #2b6ec9;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

#about-3 .btn-cta:hover {
  background-color: #184d96;
}

/* ====== Team Section ====== */
.team {
  background: #fff;
  padding: 60px 0;
}

.team h2 {
  color: #2b6ec9;
  text-align: center;
  font-weight: 700;
}

.person {
  background-color: #e8f0ff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.person:hover {
  transform: translateY(-5px);
}

.person figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.person-contents {
  padding: 20px;
  text-align: center;
}

.person-contents h3 {
  font-size: 1.1rem;
  color: #184d96;
  font-weight: 600;
}

.person-contents .position {
  display: block;
  color: #555;
  font-size: 0.9rem;
}

/* ====== Service Section ====== */
.service-section {
  padding: 60px 0;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 30px;
}

.container {
  max-width: 1000px;
}

/* ====== Tables ====== */
.table {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

.table th {
  background-color: #f1f8ff !important;
  color: #007bff;
  font-weight: 600;
}

.table td {
  vertical-align: middle;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
  background-color: #f8fbff;
}

/* ====== Book Now Button ====== */
.book-now-container {
  text-align: center;
  margin-top: 20px;
}

.book-now {
  background: #007bff;
  color: #fff;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.book-now:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .service-title {
    font-size: 1.6rem;
  }

  table {
    font-size: 0.9rem;
  }

  .book-now {
    width: 100%;
    padding: 12px 0;
  }
}
/* ====== Testimonials Section ====== */
#testimonials {
  padding: 80px 0;
  background: #fff;
}

.testimonial {
  background: #e6f2ff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.testimonial blockquote p {
  font-style: italic;
  color: #555;
}

.client-name {
  margin-top: 10px;
  font-weight: 600;
  color: #2b6ec9;
}

/* ====== Brand / Logo Grid ====== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  padding: 40px 20px;
  background-color: #fff;
}

.logo-grid img {
  width: 100px;
  height: auto;
  opacity: 0.9;
  transition: 0.3s;
}

.logo-grid img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ====== Footer ====== */
.footer {
  background: #c9dbff;
  color: #333;
  padding-top: 40px;
  border-top: 3px solid #2b6ec9;
}

.footer .sitename {
  font-weight: 700;
  color: #2b6ec9;
  font-size: 1.5rem;
}

.footer .social-links a {
  color: #1a56b1;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #2b6ec9;
}

.copyright {
  background: #fff;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #555;
}


/* ===== Chat Box ===== */
.chat-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 350px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  display: none;
  flex-direction: column;
  z-index: 10000;
}

.chat-header {
  background: #2b6ec9;
  color: #fff;
  padding: 12px 15px;
  font-weight: 600;
  text-align: center;
}

.chat-body {
  flex: 1;
  padding: 12px 15px;
  overflow-y: auto;
  font-size: 0.95rem;
  color: #333;
}

.chat-questions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-top: 1px solid #eee;
}

.chat-questions button {
  background: #f1f1f1;
  border: none;
  border-radius: 10px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.chat-questions button:hover {
  background: #dbe8ff;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 8px;
}

.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
  border-radius: 8px;
  background: #f9f9f9;
}

.chat-input button {
  background: #2b6ec9;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-left: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.chat-input button:hover {
  background: #184d96;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #dbeafe;
}



.contact-card {
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(43, 110, 201, 0.2);
}

#contact {
  background: linear-gradient(135deg, #e8f3ff, #d5e7ff);
}

.chat-label {
  position: fixed;
  bottom: 85px; /* jarak dari bawah */
  right: 25px;
  background: transparent;
  color: #007bff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
  z-index: 999;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards; /* animasi masuk */
  animation-delay: 0.8s; /* muncul lepas 0.8s */
}

.chat-button:hover + .chat-label {
  color: #0056b3;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ====== Fix for Our Services Card Layout ====== */
.service-section {
  background: linear-gradient(180deg, #eaf3ff, #d9eaff);
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.service-section .container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 50px 60px;
  max-width: 900px;
}

/* Center title with nice spacing */
.service-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e63d0;
  text-align: center;
  margin-bottom: 35px;
}

/* Table design to match image */
.table {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  margin-top: 15px;
}

.table th {
  background-color: #2b6ec9 !important;
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.table td {
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6;
}

/* Paragraph spacing under headings */
.service-section p {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Book Now button styling */
.book-now-container {
  text-align: center;
  margin-top: 25px;
}

.book-now {
  background: #2b6ec9;
  color: #fff;
  padding: 10px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.book-now:hover {
  background: #184d96;
  transform: translateY(-3px);
}

    .card {
      border-radius: 15px;
      margin: 40px auto;
      max-width: 95%;
    }
    .card-header {
      font-weight: 600;
      background-color: #5c7cfa;
      color: white;
    }
    .badge {
      font-size: 0.85rem;
    }
    .filter-form {
      margin-bottom: 20px;
    }

/* ===== Chat Button (missing from original CSS) ===== */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 25px;
  background-color: #2b6ec9;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10001;
  transition: background 0.3s, transform 0.2s;
}

.chat-button:hover {
  background-color: #184d96;
  transform: scale(1.05);
}
/* ==========================
   💙 Our Services Section
========================== */
#services {
  background-color: #e8f1ff; /* Soft light blue background */
  padding: 80px 0;
  transition: all 0.3s ease-in-out;
}

#services .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #243b67;
}

#services .section-title p {
  color: #6b7c99;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Each service item */
.service-item {
  background: #ffffff;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 60, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 60, 255, 0.15);
}

/* Icon style */
.service-item i {
  color: #2b63ff;
  transition: color 0.3s ease;
}

.service-item:hover i {
  color: #1a47c6;
}

/* Service title */
.service-item h3 {
  font-size: 1.3rem;
  color: #243b67;
  margin-top: 15px;
  font-weight: 600;
}

/* Service description */
.service-item p {
  color: #6b7c99;
  font-size: 0.95rem;
  margin-top: 10px;
  line-height: 1.6;
}

/* Mobile responsive tweak */
@media (max-width: 768px) {
  #services {
    padding: 60px 20px;
  }

  .service-item {
    padding: 30px 20px;
  }
}
.service-item:hover {
  box-shadow: 0 8px 25px rgba(0, 60, 255, 0.25);
}
