/* ===== Custom Scrollbar ===== */

html {
  scrollbar-width: thin;
  scrollbar-color: #088395 #ecf8f9;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #ecf8f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #088395, #05bfdb);
  border-radius: 10px;
  border: 2px solid #ecf8f9;
  box-shadow: 0 0 8px rgba(8, 131, 149, 0.4);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0a4d68, #088395);
}

/* Toastify */
.toastify {
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toastify::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  animation: progress 5s linear;
}

@keyframes progress {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

.toast-success {
  background: linear-gradient(135deg, #14b8a6, #0f766e) !important;
  color: #fff;
}

.toast-error {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #fff;
}

.toastify i {
  font-size: 16px;
}

.nav-link {
  color: #334155;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #088395;
}

.mobile-link {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: #334155;
  transition: background-color 0.2s ease;
}

.mobile-link:hover {
  background-color: #ecf8f9;
}

.social-icon {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(8, 131, 149, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #0a4d68;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  transform: translateY(-2px) scale(1.05);
  color: white;
  border-color: transparent;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #088395, #05bfdb);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon-footer {
  border-color: rgba(5, 191, 219, 0.5);
  color: #ecf8f9;
}

.social-icon-footer:hover {
  color: #0a4d68;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(10, 77, 104, 0.9), rgba(8, 131, 149, 0.72));
}

#mainHeader.hide-header {
  transform: translateY(-100%);
}

.faq-item {
  background: #fff;
  border: 1px solid #d7e3ea;
  border-radius: 0.85rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.25rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: #0a4d68;
}

.faq-icon {
  transition: transform 0.25s ease;
}

.faq-item.active {
  border-color: #14b8a6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  color: #475569;
  line-height: 1.7;
}

.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  height: 100%;
}

.swiper-pagination-bullet-active {
  background: #088395 !important;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

footer a {
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: white;
  transition: 0.3s;
}

footer a:hover::after {
  width: 100%;
}