/* Custom gradient overrides without variable dependencies */

.bg-gradient-to-r.from-secondary\/95.to-primary\/90 {
  background-image: linear-gradient(to right, rgba(15, 37, 69, 0.95) 0%, rgba(45, 148, 148, 0.90) 100%) !important;
}

.bg-gradient-to-r.from-primary.to-accent {
  background-image: linear-gradient(to right, #2d9494 0%, #f4c542 100%) !important;
}

.bg-gradient-to-br.from-primary.to-accent {
  background-image: linear-gradient(to bottom right, #2d9494 0%, #f4c542 100%) !important;
}

.bg-gradient-to-r.from-primary\/10.to-accent\/10 {
  background-image: linear-gradient(to right, rgba(45, 148, 148, 0.10) 0%, rgba(244, 197, 66, 0.10) 100%) !important;
}

.bg-gradient-to-br.from-primary\/5.to-accent\/5 {
  background-image: linear-gradient(to bottom right, rgba(45, 148, 148, 0.05) 0%, rgba(244, 197, 66, 0.05) 100%) !important;
}

.backdrop-blur-xs {
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
}

/* Premium Smooth Hover Zoom with GPU acceleration */

.hover-zoom-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: scale(1) translateZ(0);
}

.group:hover .hover-zoom-img {
  transform: scale(1.08) translateZ(0) !important;
}

/* Premium Admin Button Animations */

@keyframes custom-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.admin-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: rgba(45, 148, 148, 0.4);
  animation: custom-ping 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

.admin-btn-hover-wiggle:hover i {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
}

/* ===== PUBLIC SITE RICH TEXT & PROSE CONTENT STYLES ===== */
.rich-text-content,
.prose {
  line-height: 1.7;
  color: inherit;
}

.rich-text-content p,
.prose p {
  margin-bottom: 0.85rem;
}

.rich-text-content ul,
.prose ul {
  list-style-type: disc !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  padding-left: 2.25rem !important;
}

.rich-text-content ol,
.prose ol {
  list-style-type: decimal !important;
  margin-top: 0.5rem !important;
  margin-bottom: 1rem !important;
  padding-left: 2.25rem !important;
}

.rich-text-content li,
.prose li {
  display: list-item !important;
  margin-bottom: 0.35rem !important;
  list-style-position: outside !important;
}

.rich-text-content strong,
.rich-text-content b,
.prose strong,
.prose b {
  font-weight: 700 !important;
}

.rich-text-content em,
.rich-text-content i,
.prose em,
.prose i {
  font-style: italic !important;
}

.rich-text-content h1, .prose h1 { font-size: 2rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #0f172a; }
.rich-text-content h2, .prose h2 { font-size: 1.65rem; font-weight: 700; margin-top: 1.25rem; margin-bottom: 0.5rem; color: #0f172a; }
.rich-text-content h3, .prose h3 { font-size: 1.35rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.5rem; color: #0f172a; }
.rich-text-content h4, .prose h4 { font-size: 1.15rem; font-weight: 600; margin-top: 0.75rem; margin-bottom: 0.5rem; color: #0f172a; }

/* ===== GLASSMORPHISM PACKAGE CARDS ===== */

/* Ambient gradient background for the packages section */
.pkg-glass-section {
  position: relative;
  background: linear-gradient(135deg, #0d4f4f 0%, #1a1a2e 40%, #16213e 70%, #0d4f4f 100%);
  border-radius: 2rem;
  padding: 3rem 1.5rem;
  overflow: hidden;
}
@media (min-width: 640px) {
  .pkg-glass-section {
    padding: 4rem 2.5rem;
  }
}

/* Decorative floating gradient blobs */
.pkg-glass-section::before,
.pkg-glass-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.pkg-glass-section::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(45,148,148,0.6), transparent 70%);
  top: -80px;
  left: -60px;
}
.pkg-glass-section::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(244,197,66,0.4), transparent 70%);
  bottom: -60px;
  right: -40px;
}

/* Glassmorphism card */
.pkg-glass-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.pkg-glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(45, 148, 148, 0.45);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 30px rgba(45,148,148,0.15), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Featured card glow */
.pkg-glass-card--featured {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(45, 148, 148, 0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 20px rgba(45,148,148,0.12), inset 0 1px 0 rgba(255,255,255,0.1);
}
.pkg-glass-card--featured:hover {
  border-color: rgba(45, 148, 148, 0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(45,148,148,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Featured badge */
.pkg-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(135deg, #f4c542, #fbbf24);
  border-radius: 9999px;
  box-shadow: 0 2px 12px rgba(244,197,66,0.35);
}

/* Card header section */
.pkg-glass-header {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Icon container */
.pkg-glass-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 148, 148, 0.2);
  border: 1px solid rgba(45, 148, 148, 0.25);
  color: #5cc8c8;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.pkg-glass-card:hover .pkg-glass-icon {
  background: rgba(45, 148, 148, 0.35);
  border-color: rgba(45, 148, 148, 0.5);
  box-shadow: 0 0 16px rgba(45,148,148,0.25);
}

/* Card title */
.pkg-glass-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  transition: color 0.3s ease;
}
.pkg-glass-card:hover .pkg-glass-title {
  color: #5cc8c8;
}

/* Card description */
.pkg-glass-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  min-height: calc(0.8rem * 1.55 * 4); /* 4 lines minimum */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Price container */
.pkg-glass-price-box {
  margin: 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  transition: all 0.3s ease;
}
.pkg-glass-card:hover .pkg-glass-price-box {
  background: rgba(45,148,148,0.08);
  border-color: rgba(45,148,148,0.2);
}

.pkg-glass-price-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5cc8c8;
}

.pkg-glass-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 640px) {
  .pkg-glass-price-value {
    font-size: 2.25rem;
  }
}

.pkg-glass-price-currency {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  margin-right: 0.15rem;
}

.pkg-glass-price-period {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* Features list */
.pkg-glass-features {
  padding: 1.25rem 1.75rem;
  flex-grow: 1;
}

.pkg-glass-features-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.pkg-glass-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  padding: 0.4rem 0;
}

.pkg-glass-feature-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45,148,148,0.2);
  color: #5cc8c8;
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* CTA button */
.pkg-glass-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 3.5rem);
  margin: 0 1.75rem 1.75rem;
  padding: 0.9rem 1.5rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pkg-glass-cta--primary {
  background: linear-gradient(135deg, #2d9494, #3ab8b8);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(45,148,148,0.3);
}
.pkg-glass-cta--primary:hover {
  background: linear-gradient(135deg, #3ab8b8, #2d9494);
  box-shadow: 0 8px 30px rgba(45,148,148,0.45);
  transform: translateY(-1px);
  color: #ffffff;
}

.pkg-glass-cta--outline {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}
.pkg-glass-cta--outline:hover {
  background: linear-gradient(135deg, #2d9494, #3ab8b8);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(45,148,148,0.35);
  transform: translateY(-1px);
}

.pkg-glass-cta .fa-arrow-right {
  transition: transform 0.3s ease;
}
.pkg-glass-cta:hover .fa-arrow-right {
  transform: translateX(3px);
}

/* Decorative floating circle inside card */
.pkg-glass-card-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Section title styles for dark background */
.pkg-section-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #5cc8c8;
  margin-bottom: 0.5rem;
}

.pkg-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .pkg-section-title {
    font-size: 2rem;
  }
}

.pkg-section-divider {
  width: 4rem;
  height: 3px;
  background: linear-gradient(to right, #2d9494, #f4c542);
  border-radius: 9999px;
  margin: 0.75rem auto 0;
}

.pkg-section-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.65;
}

/* Service Feature Custom Circular Icons & Animations */
.sf-circle {
  background-color: #2d9494 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 14px rgba(45, 148, 148, 0.3);
}

.group:hover .sf-circle {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(45, 148, 148, 0.5);
  background-color: #247c7c !important;
}

.sf-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  color: #ffffff !important;
}

.group:hover .sf-icon {
  transform: rotate(15deg) scale(1.05) !important;
}
