/* ===== Logo Animation Styling ===== */
.sitename {
  color: #00bcd4;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.sitename:hover {
  color: #00e1ff;
  text-shadow: 0 0 8px rgba(0, 188, 212, 0.8), 0 0 12px rgba(0, 188, 212, 0.6);
  transform: scale(1.02);
}

.sitename::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #00bcd4;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease-in-out;
}

.sitename:hover::after {
  width: 100%;
}

/* ===== Service Card Styling ===== */
.fafa-service-card {
  border-radius: 16px;
  transition: all 0.4s ease;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.fafa-service-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #007bff 0%, #00c9a7 100%);
  color: #fff !important;
}

.fafa-service-card:hover h3,
.fafa-service-card:hover p,
.fafa-service-card:hover i {
  color: #fff !important;
}

/* ===== Counter Card Styling ===== */
.counter-card {
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid #eee;
}

.counter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* ===== Product Cards - Equal Height & Responsive ===== */
.swiper-slide {
  height: auto;
  display: flex;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #007b9f;
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.card:hover .product-img {
  transform: scale(1.05);
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.fafa-swiper .swiper-wrapper {
  align-items: stretch;
}

/* ===== Premium View Product Button ===== */
.card .btn-view-product {
  border: 2px solid #007b9f;
  background-color: transparent;
  color: #007b9f;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 50px;
  transition: all 0.35s ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 159, 0.1);
}

.card .btn-view-product i {
  transition: transform 0.3s ease;
}

.card .btn-view-product:hover {
  background-color: #007b9f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 123, 159, 0.3);
}

.card .btn-view-product:hover i {
  transform: translateX(4px);
}

/* ===== Swiper Arrows ===== */
.swiper-button-next,
.swiper-button-prev {
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #007b9f;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

/* === Premium Hover Effect === */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #007b9f;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 123, 159, 0.3);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #fff;
}

/* ===== Responsive Fixes ===== */
@media (max-width: 767.98px) {
  .card-body {
    padding: 1rem;
  }

  .product-img {
    height: 180px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 14px;
  }

  .fafa-swiper .swiper-slide {
    padding: 0 10px;
  }

  .card .btn-view-product {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

/*  */
/* =========================
   Premium Tabs Section CSS
   ========================= */

.ui-tabs-section {
  padding: 60px 0;
  background-color: #fff;
  font-family: "Segoe UI", "Roboto", sans-serif;
}

/* Tabs - Left Panel */
.ui-tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ui-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  color: #2a2a2a;
  min-height: 90px;
}

.ui-tab-btn i {
  font-size: 20px;
  color: #007b9f;
  margin-top: 4px;
  transition: 0.3s;
}

.ui-tab-btn h6 {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}

.ui-tab-btn p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.ui-tab-btn.active,
.ui-tab-btn:hover {
  background-color: #007b9f;
  color: #ffffff;
  border-left-color: #005f78;
  transform: translateX(4px);
}

.ui-tab-btn.active i,
.ui-tab-btn:hover i {
  color: #ffffff;
}

.ui-tab-btn.active h6,
.ui-tab-btn:hover h6,
.ui-tab-btn.active p,
.ui-tab-btn:hover p {
  color: #ffffff !important;
}

/* Tab Content Box */
.ui-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.ui-tab-content.active {
  display: block;
}

/* Image Box */
.ui-image-box img {
  width: 100%;
  height: auto;              /* Let height adjust naturally */
  object-fit: contain;       /* Show full image without crop */
  max-height: 350px;         /* Optional: limit height for layout */
  border-radius: 10px;
  background-color: #f8f9fa; /* Light background for transparent images */
}


.ui-image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(65%);
  transition: 0.3s ease;
}

/* Text on Image */
.ui-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 70%);
  z-index: 2;
  box-sizing: border-box;
}

.ui-overlay-text h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 600;
}

.ui-overlay-text p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

/* Optional: Make sure the parent image container is positioned relatively */
.ui-image-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}


/* Checklist */
.ui-checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.ui-checklist li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #333;
}

.ui-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4dabf7;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .ui-tab-buttons {
    flex-direction: column;
  }

  .ui-tab-btn {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ui-tab-btn h6 {
    font-size: 15px;
  }

  .ui-tab-btn p {
    font-size: 12px;
  }

  .ui-tab-content {
    text-align: center;
  }

  .ui-tab-content h4 {
    font-size: 20px;
  }

  .ui-image-box {
    max-height: 220px;
  }

  .ui-overlay-text {
    padding: 16px;
    text-align: center;
  }

  .ui-checklist {
    text-align: left;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   Premium Services 2 Section
   ============================= */
.services-2 {
  padding: 80px 0;
  background-color: #ffffff;
}

/* ===== Title Block ===== */
.services-2 .content-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #007b9f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

.services-2 .content-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 16px;
}

.services-2 .lead {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.services-2 .btn-get-started {
  background-color: #007b9f;
  color: #fff;
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.services-2 .btn-get-started:hover {
  background-color: transparent;
  color: #007b9f;
  border-color: #007b9f;
}

/* ============================
   Service Cards - Right Column
   ============================ */
.services-2 .services-item {
  background: #ffffff;
  padding: 26px 24px;
  border-radius: 16px;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  z-index: 1;
  perspective: 600px;
  transform-style: preserve-3d;
}

.services-2 .services-item:hover {
  transform: perspective(800px) rotateX(1.5deg) rotateY(2deg);
  border-color: #007b9f;
  box-shadow: 0 12px 32px rgba(0, 123, 159, 0.2);
}

/* ===== Icon Ring & Animation ===== */
.services-2 .services-icon {
  font-size: 28px;
  color: #007b9f;
  margin-bottom: 14px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00c6ff, #007b9f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 12px rgba(0, 123, 159, 0.15);
}

.services-2 .services-item:hover .services-icon {
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 12px 20px rgba(0, 123, 159, 0.3);
}

/* ===== Text Styling ===== */
.services-2 .services-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 6px;
}

.services-2 .services-item p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .services-2 .content-title {
    font-size: 26px;
  }

  .services-2 .services-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .services-2 .services-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .services-2 .btn-get-started {
    width: 100%;
    text-align: center;
  }
}

/*---------------------------FAQ Section Base *-----------------------------*/
.faq {
  background-color: #ffffff;
}

/* Section Title Style */
.section-title p {
  color: #007B9F;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Accordion Item */
.custom-accordion .accordion-item {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.custom-accordion .accordion-item:hover {
  transform: translateY(-2px);
}

/* Accordion Button */
.custom-accordion .accordion-button {
  position: relative;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  background-color: #fff;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  padding-right: 3rem;
}

/* Remove Bootstrap caret */
.custom-accordion .accordion-button::after {
  display: none;
}

/* Font Awesome icon on right */
.custom-accordion .accordion-button::before {
  content: '\2b';
  /* + */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #007B9F;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Expanded state: minus icon and color */
.custom-accordion .accordion-button:not(.collapsed)::before {
  content: '\f068';
  /* − */
  color: #007B9F;
}

/* Expanded state: button color */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: #eaf8fc;
  color: #007B9F;
}

/* Accordion Body */
.custom-accordion .accordion-body {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #555;
  background-color: #fff;
  border-top: 1px solid #eaeaea;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 576px) {
  .custom-accordion .accordion-button {
    font-size: 0.95rem;
  }

  .custom-accordion .accordion-body {
    font-size: 0.9rem;
  }
}

/* ---------------
----------------- */
.footer {
  background-color: #f8f9fa;
  font-size: 14px;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #007B9F;
}

.footer-links li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer i {
  color: var(--accent-color);
  min-width: 20px;
  display: inline-block;
  text-align: center;
}

.footer .copyright {
  border-top: 1px solid #ddd;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .footer .row>div {
    margin-bottom: 2rem;
  }
}

/* -------------------
---------------------- */
.fafa-bg-dark {
  background-color: #007B9F;
}

.fafa-section-title .fafa-subtitle {
  color: #000;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.fafa-section-title .fafa-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.fafa-icon-list {
  list-style: none;
  padding-left: 0;
}

.fafa-icon-list li {
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.fafa-icon-list i {
  color: #65d6a6;
  font-size: 18px;
}

.fafa-btn {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.fafa-btn:hover {
  background-color: #ffffff;
  color: #101820;
}

.fafa-img-wrapper img {
  object-fit: cover;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.fafa-img-wrapper:hover img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .fafa-section-title .fafa-title {
    font-size: 26px;
  }
}
