/* ===============================
  HERO SECTION
================================ */

.hero {
  position: relative;
  height: 100vh;
  background-image: linear-gradient(
      rgba(47, 45, 50, 0.3),
      rgba(47, 45, 50, 0.4)
    ),
    url('../../images/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(190, 123, 46, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(64, 98, 110, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: heroGlowDrift 18s ease-in-out infinite alternate;
  will-change: transform, filter;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 8%;
  color: #ffffff;
  backdrop-filter: blur(1px);
}

/* ===============================
   HERO TEXT
================================ */

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 40px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-section .hero-title,
.hero-section .hero-text,
.hero-section .hero-btn {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(7px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.hero-section .hero-text {
  transform: translateY(26px);
}

.hero-section .hero-btn {
  transform: translateY(22px) scale(0.985);
}

.hero-section .hero-title.animate,
.hero-section .hero-text.animate,
.hero-section .hero-btn.animate {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-section .hero-btn.animate {
  transform: translateY(0) scale(1);
}

/* ===============================
   CTA BUTTON
================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #a96926 100%);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(190, 123, 46, 0.3);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(190, 123, 46, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

/* ===============================
   SECTIONS
================================ */

.section {
  padding: 96px 0;
  margin-bottom: 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(190, 123, 46, 0.3);
  opacity: 0.35;
}

/* ===============================
   WHY US
================================ */

.why-us {
  margin-top: 10px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.why-us li {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  padding: 20px 24px 20px 40px;
  background: rgba(250, 247, 242, 0.8);
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.why-us li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(190, 123, 46, 0.15);
  background: rgba(250, 247, 242, 0.95);
}

.why-us li::before {
  content: '✓';
  color: var(--gold);
  position: absolute;
  left: 12px;
  top: 20px;
  font-size: 20px;
  font-weight: bold;
}

/* ===============================
   CTA SECTION (BOTTOM)
================================ */

.cta {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(190, 123, 46, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(64, 98, 110, 0.15) 0%,
      transparent 50%
    );
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: ctaGlowDrift 14s ease-in-out infinite alternate;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(190, 123, 46, 0.5),
    transparent
  );
  opacity: 0.75;
  background-size: 200% 100%;
  animation: ctaShimmer 6s ease-in-out infinite;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 32px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.cta h3 {
  font-size: clamp(18px, 2.5vw, 26px);
  margin: 40px auto 0;
  font-weight: 600;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 800px;
}

.cta p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.9;
  max-width: 900px;
  margin: 0 auto 48px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a96926 100%);
  box-shadow: 0 8px 25px rgba(190, 123, 46, 0.35);
  position: relative;
  z-index: 1;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 20px;
}

.cta-section .cta-title,
.cta-section .cta-text,
.cta-section .cta-subtitle,
.cta-section .btn-primary {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-section .cta-text {
  transition-delay: 0.1s;
}

.cta-section .cta-subtitle {
  transition-delay: 0.2s;
}

.cta-section .btn-primary {
  transition-delay: 0.3s;
}

.cta-section .cta-title.animate,
.cta-section .cta-text.animate,
.cta-section .cta-subtitle.animate,
.cta-section .btn-primary.animate {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ctaGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1);
  }
  50% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.03);
    filter: saturate(1.05);
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.05);
    filter: saturate(1.08);
  }
}

@keyframes ctaShimmer {
  0% {
    background-position: 0% 50%;
    opacity: 0.55;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.85;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none !important;
  }

  .hero-section .hero-title,
  .hero-section .hero-text,
  .hero-section .hero-btn {
    transition: none !important;
    filter: none !important;
  }

  .cta::before,
  .cta::after {
    animation: none !important;
  }
}

.cta .btn-primary:hover {
  box-shadow: 0 12px 40px rgba(190, 123, 46, 0.5);
  transform: translateY(-2px);
}

/* ===============================
   ANIMATIONS
================================ */

@keyframes heroCardEntrance {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* ===============================
   FEATURES GRID
================================ */

.hero-card-section {
  position: relative;
  margin-top: -120px;
  padding-bottom: 30px;
  z-index: 5;
}

.hero-card {
  max-width: 98%;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card.animate {
  animation: heroCardEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
}

.hero-card__about {
  text-align: center;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.hero-card__about.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-card__about h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--dark);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.hero-card__about h2.animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-card__about p {
  max-width: 95%;
  margin: auto;
  line-height: 1.8;
  color: #555;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.hero-card__about p.animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-card__features {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

.hero-card__features.animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

.feature {
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;
}

.feature.animate {
  animation: scaleIn 0.5s ease-out forwards;
}

.feature:nth-child(1).animate {
  animation-delay: 0s;
}
.feature:nth-child(2).animate {
  animation-delay: 0.1s;
}
.feature:nth-child(3).animate {
  animation-delay: 0.2s;
}
.feature:nth-child(4).animate {
  animation-delay: 0.3s;
}
.feature:nth-child(5).animate {
  animation-delay: 0.4s;
}
.feature:nth-child(6).animate {
  animation-delay: 0.5s;
}

.feature:hover {
  transform: translateY(-8px) scale(1.05);
}

.feature:hover .icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(190, 123, 46, 0.2);
}

.feature .icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: rgba(190, 123, 46, 0.12);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.feature h4 {
  font-size: 18px;
  margin: 0px;
  margin-bottom: 5px;
  color: var(--dark);
}

.feature p {
  font-size: 15px;
  font-weight: bold;
  color: #666;
  line-height: 1.6;
  max-width: 80%;
  margin: 0 auto;
}

.features-section .features-title {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.features-section .features-title.animate {
  opacity: 1;
  transform: scale(1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out,
    box-shadow 0.3s ease;
}

.feature-item.animate {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.feature-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-item p {
  text-align: center;
  margin-bottom: 0;
  font-size: 1rem;
}

/* ===============================
   PROCESS SECTION
================================ */

.process-section .process-title {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.process-section .process-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.process-section .process-intro {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.15s, transform 0.8s ease-out 0.15s;
}

.process-section .process-intro.animate {
  opacity: 1;
  transform: translateY(0);
}

.process-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 40px;
  font-weight: 500;
}

.steps {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.steps li {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-right: 4px solid var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.steps li.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===============================
   SERVICES SECTION
================================ */

.services-section .services-title {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.services-section .services-title.animate {
  opacity: 1;
  transform: scale(1);
}

.services-section .service-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out,
    box-shadow 0.3s ease;
}

.services-section .service-item.is-left {
  transform: translateX(-45px) translateY(10px);
}

.services-section .service-item.is-right {
  transform: translateX(45px) translateY(10px);
}

.services-section .service-item.animate {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .services-section .services-title,
  .services-section .service-item,
  .process-section .process-title,
  .process-section .process-intro,
  .steps li,
  .feature-item {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 40px;
  font-weight: 500;
}

.services-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ===============================
   PRICING SECTION
================================ */

.pricing-section .pricing-title {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out,
    filter 0.8s ease-out;
}

.pricing-section .pricing-title.animate {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.pricing-section .pricing-text {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out,
    filter 0.8s ease-out;
}

.pricing-section .pricing-text.animate {
  opacity: 0.9;
  transform: translateY(0);
  filter: blur(0);
}

.why-section .why-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.why-section .why-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.why-section .why-intro {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease-out 0.15s, transform 0.8s ease-out 0.15s;
}

.why-section .why-intro.animate {
  opacity: 1;
  transform: translateY(0);
}

.why-section .why-item {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.why-section .why-item.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-item {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-item p {
  text-align: right;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.lip {
  text-align: start;
}

.service-link {
  color: var(--gold);
  font-weight: 600;
  margin-top: 15px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.service-item:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   SERVICE POPUP MODAL
================================ */

.service-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.service-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.popup-content {
  position: relative;
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  /* Hide scrollbar for all browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.popup-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.service-popup.active .popup-content {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.popup-header {
  text-align: center;
  padding: 40px 40px 20px;
  background: linear-gradient(
    135deg,
    rgba(190, 123, 46, 0.1) 0%,
    rgba(64, 98, 110, 0.1) 100%
  );
  border-radius: 16px 16px 0 0;
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.popup-header h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 15px;
}

.popup-header p {
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.8;
}

.popup-section {
  padding: 30px 40px;
}

.popup-section h3 {
  color: var(--blue);
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: right;
}

.popup-features,
.popup-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-features li,
.popup-benefits li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: right;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  padding-right: 25px;
}

.popup-features li::before {
  content: '✓';
  color: var(--gold);
  position: absolute;
  right: 0;
  top: 12px;
  font-weight: bold;
}

.popup-benefits li::before {
  content: '★';
  color: var(--blue);
  position: absolute;
  right: 0;
  top: 12px;
}

.popup-actions {
  padding: 30px 40px 40px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gold);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* Responsive for popup */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    max-height: 90vh;
  }

  .popup-header {
    padding: 30px 25px 15px;
  }

  .popup-section {
    padding: 20px 25px;
  }

  .popup-actions {
    padding: 20px 25px 30px;
    flex-direction: column;
  }

  .popup-actions .btn-primary,
  .popup-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ===============================
   WHY CHOOSE US SECTION
================================ */

.why-intro {
  text-align: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 50px;
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.why-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.why-item {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.why-item h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.why-item p {
  text-align: right;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===============================
   PACKAGE IMAGES
================================ */

.package-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  margin-bottom: 20px;
  position: relative;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.pricing-card:hover .package-image img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.pricing-card:nth-child(1)::before {
  background-image: url('../../images/package-basic.webp');
}

.pricing-card:nth-child(2)::before {
  background-image: url('../../images/package-featured.webp');
}

.pricing-card:nth-child(3)::before {
  background-image: url('../../images/package-premium.webp');
}

.pricing-card.featured::before {
  border-radius: 14px 14px 0 0;
  box-shadow: 0 4px 15px rgba(190, 123, 46, 0.2);
}

/* ===============================
   PACKAGES SECTION
================================ */

.packages-section .packages-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.packages-section .packages-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, filter 0.3s ease;
  z-index: 0;
  border-radius: 16px 16px 0 0;
}

.pricing-card:hover::before {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  border: 2px solid var(--gold);
  transform: translateY(18px) scale(1.01);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.02);
}

.pricing-card.featured::before {
  content: 'الأكثر طلباً';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(190, 123, 46, 0.28);
}

.pricing-card h3 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 18px;
  margin-top: 350px;
  padding-top: 20px;
  flex-shrink: 0;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 26px;
  letter-spacing: 0.2px;
}

.price span {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 500;
}

.pricing-features {
  margin-bottom: 25px;
  text-align: right;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  position: relative;
  padding-right: 25px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--gold);
  font-size: 0.9rem;
}

.pricing-benefits {
  text-align: center;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.benefit-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #a96926 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-card.featured .benefit-tag {
  background: linear-gradient(135deg, var(--blue) 0%, #40626e 100%);
  box-shadow: 0 4px 15px rgba(64, 98, 110, 0.3);
}

.pricing-benefits p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .hero-overlay {
    padding: 0 6%;
  }

  .why-us {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-grid,
  .services-detailed,
  .pricing-cards,
  .why-items {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 80dvh;
  }

  .pricing-card::before {
    height: 250px;
  }

  .pricing-card h3 {
    margin-top: 250px;
  }

  .pricing-card {
    padding: 20px;
    min-height: 500px;
  }

  .hero-card__features {
    flex-direction: column;
  }

  .hero-overlay {
    align-items: center;
    text-align: center;
    padding: 0 6%;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .btn-primary {
    padding: 14px 32px;
    font-size: 15px;
  }

  .section {
    padding: 80px 20px;
  }

  .section::before {
    width: 60px;
    height: 3px;
  }

  .section h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .why-us {
    padding: 0;
    margin-top: 30px;
  }

  .why-us li {
    padding: 16px 20px 16px 36px;
    font-size: 16px;
  }

  .cta {
    padding: 100px 20px;
  }

  .cta h2 {
    font-size: 36px;
  }

  .cta p {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .pricing-card::before {
    height: 200px;
  }

  .pricing-card h3 {
    margin-top: 200px;
  }

  .pricing-card {
    padding: 15px;
    min-height: 450px;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 14px;
  }

  .section {
    padding: 60px 20px;
  }

  .section h2 {
    font-size: 28px;
  }

  .cta {
    padding: 80px 20px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta p {
    font-size: 16px;
  }
}
