/* WhatsApp Floating Button Styles */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  /* Higher position */
  right: 20px;
  /* More to the right */
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float i {
  margin-top: 5px;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Bounce Animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
}

/* Add this class with JavaScript for entrance animation */
.bounce-in {
  animation: bounce 1.5s;
}

/* Style for user login item */
.navmenu ul .user-login-item {
  margin-left: 15px;
}

.navmenu ul .user-login-item a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navmenu ul .user-login-item a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* For mobile view - adjust as needed */
@media (max-width: 1199px) {
  .navmenu ul .user-login-item a span {
    display: inline !important;
  }
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#footer {
  margin-top: auto;
  /* Gaya tambahan untuk footer */
  background-color: #f8f9fa;
  /* Warna light-background */
  padding: 20px 0;
}

/* Modern Compact Header Section */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

/* Base Styles */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* Main Banner Container - Modified for full height */
.memorial-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  /* Full viewport height */
  min-height: 600px;
  /* Minimum height */
  max-height: 900px;
  /* Maximum height to prevent excessive stretching */
  display: flex;
  align-items: center;
}

.banner-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

/* Background Image Layer - Modified for full coverage */
.banner-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/banner_home.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

/* White Gradient Overlay */
.banner-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  z-index: 1;
}

/* Pattern Overlay */
.banner-overlay-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 L50,30 L70,10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/><path d="M10,30 L30,50 L10,70" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/><path d="M90,30 L70,50 L90,70" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/><path d="M30,90 L50,70 L70,90" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
  opacity: 0.3;
  z-index: 2;
}

/* Content Grid for Left & Right Sides */
.content-grid {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
}

.text-side {
  flex: 0 0 50%;
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: left;
  padding-top: 0;
}

.image-side {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Specific Content Styling */
.tagline {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeInSlide 1s ease-out;
}

.banner-text {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInSlide 1s 0.2s ease-out both;
}

.highlight-text {
  font-weight: 700;
  color: white;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.cta-container {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  animation: fadeInSlide 1s 0.4s ease-out both;
}

.primary-cta,
.secondary-cta {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.primary-cta {
  background-color: #6a0572;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primary-cta:hover {
  background-color: #8e00b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.secondary-cta {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.review-badges {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  align-items: center;
  animation: fadeInSlide 1s 0.6s ease-out both;
}

.review-badge-img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  overflow: hidden;
}

.floating-circle {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  animation: float 25s infinite ease-in-out;
  filter: blur(8px);
}

.floating-blob {
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  bottom: 0%;
  right: 0%;
  transform: translate(50%, 50%);
  animation: float 30s infinite ease-in-out reverse,
    morph 20s infinite ease-in-out;
  filter: blur(8px);
}

/* Animations */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, 20px) rotate(5px);
  }

  50% {
    transform: translate(0, 40px) rotate(0deg);
  }

  75% {
    transform: translate(-20px, 20px) rotate(-5px);
  }
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
  }

  25% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  75% {
    border-radius: 40% 60% 30% 70% / 70% 40% 60% 30%;
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .memorial-banner {
    height: auto;
    /* Reset height for tablet */
    min-height: auto;
    max-height: none;
  }

  .content-grid {
    flex-direction: column;
    padding: 60px 20px;
  }

  .text-side {
    flex: none;
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 40px;
  }

  .image-side {
    flex: none;
    width: 100%;
    min-height: 300px;
    order: -1;
    margin-bottom: 30px;
  }

  .cta-container,
  .review-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .banner-background-image {
    background-position: center;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .banner-text {
    font-size: 1rem;
  }

  .primary-cta,
  .secondary-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .floating-circle,
  .floating-blob {
    display: none;
  }
}

@media (max-width: 480px) {
  .memorial-banner {
    padding: 40px 0;
  }

  .content-grid {
    padding: 30px 15px;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .banner-text {
    font-size: 0.9rem;
  }

  .cta-container {
    flex-direction: column;
    gap: 10px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
    max-width: 280px;
  }
}

.text-container {
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  /* Optional: adds a slight blur effect to the background */
  margin-bottom: 20px;
}

/* Adjust the existing .text-side padding if needed */
.text-side {
  padding: 20px;
  /* Adds some space around the text container */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-container {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    /* Slightly darker for mobile */
  }
}

@media (max-width: 480px) {
  .text-container {
    padding: 15px;
  }
}

/* Highlight Register Section */
.highlight-register-section {
  position: relative;
  background: linear-gradient(120deg, #2196f3 0%, #6a0572 100%);
  padding: 70px 0 90px 0;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 8px 32px 0 rgba(33, 150, 243, 0.15);
  animation: highlightFadeIn 1.2s cubic-bezier(0.4, 2, 0.3, 1) both;
}
@keyframes highlightFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.highlight-register-section .container {
  position: relative;
  z-index: 2;
}
.highlight-content {
  text-align: center;
  color: #fff;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  padding: 40px 30px 50px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(33, 150, 243, 0.1);
  backdrop-filter: blur(2px);
  animation: highlightBounceIn 1.2s 0.2s cubic-bezier(0.4, 2, 0.3, 1) both;
}
@keyframes highlightBounceIn {
  0% {
    transform: scale(0.95) translateY(40px);
  }
  60% {
    transform: scale(1.05) translateY(-10px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}
.highlight-icon {
  margin-bottom: 18px;
  animation: iconPop 1.2s 0.3s cubic-bezier(0.4, 2, 0.3, 1) both;
}
@keyframes iconPop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.highlight-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(33, 150, 243, 0.1);
  line-height: 1.2;
}
.highlight-desc {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 28px;
  color: #f3f3f3;
  line-height: 1.7;
}
.highlight-bonus {
  display: inline-block;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-weight: 600;
  border-radius: 18px;
  padding: 6px 18px;
  margin-top: 12px;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(106, 5, 114, 0.1);
  animation: pulseBonus 2s infinite;
}
@keyframes pulseBonus {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.08);
  }
}
.highlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #fff 0%, #ffe082 100%);
  color: #2196f3;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 38px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 18px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 2, 0.3, 1);
  margin-top: 10px;
  outline: none;
  animation: btnPop 1.2s 0.5s cubic-bezier(0.4, 2, 0.3, 1) both;
}
.highlight-btn:hover,
.highlight-btn:focus {
  background: linear-gradient(90deg, #ffe082 0%, #fff 100%);
  color: #6a0572;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.22);
}
@keyframes btnPop {
  0% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
/* Efek background blob dan glow */
.highlight-bg-blob {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 30% 30%, #ffe082 0%, #2196f3 80%);
  opacity: 0.22;
  filter: blur(18px);
  border-radius: 50%;
  z-index: 1;
  animation: blobMove 12s infinite alternate;
}
.highlight-bg-glow {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 70%, #6a0572 0%, #fff 80%);
  opacity: 0.13;
  filter: blur(24px);
  border-radius: 50%;
  z-index: 1;
  animation: blobMove2 14s infinite alternate;
}
@keyframes blobMove {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(40px, 30px);
  }
}
@keyframes blobMove2 {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-30px, -20px);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .highlight-content {
    padding: 24px 10px 32px 10px;
  }
  .highlight-title {
    font-size: 1.4rem;
  }
  .highlight-bg-blob,
  .highlight-bg-glow {
    width: 180px;
    height: 180px;
  }
}

/* Highlight animasi pada section membership saat scroll */
#membership.section-highlighted {
  animation: sectionFlash 1.2s cubic-bezier(0.4, 2, 0.3, 1);
  box-shadow: 0 0 0 8px #ffe082, 0 0 0 24px #2196f322;
  z-index: 100;
  position: relative;
}
@keyframes sectionFlash {
  0% {
    box-shadow: 0 0 0 0 #ffe082, 0 0 0 0 #2196f322;
  }
  60% {
    box-shadow: 0 0 0 12px #ffe082, 0 0 0 32px #2196f322;
  }
  100% {
    box-shadow: 0 0 0 0 #ffe082, 0 0 0 0 #2196f322;
  }
}

/* Clean Promo & Events Section */
.promo-events {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.promo-events::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3a7bd5, #00d2ff);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #3a7bd5;
  border-radius: 3px;
}

.section-header p {
  color: #7f8c8d;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Promo Card Styles */
.promo-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  border: none;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.promo-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hot-promo {
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}

.new-promo {
  background: linear-gradient(45deg, #4caf50, #8bc34a);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.best-promo {
  background: linear-gradient(45deg, #ffa500, #ffd700);
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.standard-promo {
  background: linear-gradient(45deg, #3a7bd5, #00d2ff);
  box-shadow: 0 4px 15px rgba(58, 123, 213, 0.3);
}

.promo-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
  transform: scale(1.1);
}

.promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  color: white;
  text-align: center;
}

.promo-date {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.promo-content {
  padding: 25px;
}

.promo-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.promo-content p {
  color: #7f8c8d;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.promo-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #7f8c8d;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.promo-meta i {
  margin-right: 5px;
  color: #3a7bd5;
}

/* Event Card Styles */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.event-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.1);
}

.event-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  width: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-day {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #3a7bd5;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  margin-top: 5px;
}

.event-content {
  padding: 25px;
}

.event-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 15px 0;
}

.event-content p {
  color: #7f8c8d;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #7f8c8d;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.event-meta i {
  margin-right: 5px;
  color: #3a7bd5;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .promo-events {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .promo-events {
    padding: 70px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 16px;
  }

  .promo-content,
  .event-content {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .promo-events {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 15px;
  }

  .promo-badge {
    font-size: 10px;
    padding: 4px 10px;
  }
}

/* Background and General Styling */
.membership.section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.membership.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #4caf50, #2196f3, #9c27b0);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.section-title div {
  position: relative;
  display: inline-block;
}

.section-title span {
  font-size: 18px;
  color: #7f8c8d;
}

.section-title .description-title {
  font-size: 24px;
  font-weight: 600;
  color: #2196f3;
  margin-left: 10px;
}

.section-title p {
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* Membership Card Styles */
.membership-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  height: 100%;
  border-top: 4px solid #e0e0e0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  z-index: 1;
  display: flex;
  /* Use flexbox for layout */
  flex-direction: column;
  /* Stack children vertically */
}

.membership-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2196f3, #9c27b0);
  opacity: 0;
  transition: opacity 0.3s;
}

.membership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.membership-card:hover::after {
  opacity: 1;
}

.membership-card.featured {
  border-top: 4px solid #2196f3;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
}

.package-tag {
  position: absolute;
  top: 15px;
  right: -30px;
  color: white;
  padding: 5px 30px;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(45deg);
  transform-origin: center;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.package-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e0e0e0;
  position: relative;
}

.package-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.price-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-amount {
  font-size: 28px;
  font-weight: 800;
  color: #2196f3;
  line-height: 1;
}

.price {
  font-size: 16px;
  color: #7f8c8d;
  font-weight: 500;
}

.package-details-content {
  flex-grow: 1;
  /* Allow content to grow and push button to bottom */
  display: flex;
  flex-direction: column;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  /* Adjusted margin */
}

.package-features li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  font-size: 15px;
  color: #34495e;
  border-bottom: 1px solid #f5f5f5;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features i {
  color: #4caf50;
  margin-right: 12px;
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.btn-package {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #f8f9fa;
  color: #2196f3;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid #2196f3;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-top: auto;
  /* Push button to the bottom */
}

.btn-package:hover {
  background: #2196f3;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-package.primary {
  background: #2196f3;
  color: #fff;
}

.btn-package.primary:hover {
  background: #0d8bf2;
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .membership-card {
    margin-bottom: 30px;
  }

  .package-header h3 {
    font-size: 22px;
  }

  .benefit-amount {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .membership.section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .package-features li {
    font-size: 14px;
  }
}

/* About Foundation Section Styling */
.about-foundation {
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-foundation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0066cc, #4caf50, #9c27b0);
}

.logo-container {
  position: relative;
  display: inline-block;
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.foundation-logo {
  max-width: 250px;
  height: auto;
  position: relative;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.2),
    rgba(76, 175, 80, 0.2)
  );
  z-index: 1;
  animation: pulse 6s infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

.tagline {
  font-weight: 600;
  color: #2c3e50;
  font-style: italic;
  position: relative;
  padding: 10px 20px;
  background: linear-gradient(
    90deg,
    rgba(0, 102, 204, 0.1),
    rgba(76, 175, 80, 0.1)
  );
  border-radius: 50px;
}

.section-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.divider {
  margin: 20px 0;
  position: relative;
  text-align: center;
}

.divider-icon {
  display: inline-block;
  background: white;
  padding: 0 15px;
  position: relative;
  z-index: 2;
  font-size: 20px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0066cc, transparent);
  z-index: 1;
}

.attention-text {
  font-size: 18px;
  color: #0066cc;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
}

.content-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0066cc;
}

.benefits-card {
  border-left-color: #4caf50;
}

.content-title {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.title-icon {
  margin-right: 10px;
  font-size: 24px;
}

.about-content p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 15px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.benefits-list i {
  color: #4caf50;
  margin-right: 10px;
  font-size: 18px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-foundation {
    padding: 60px 0;
  }

  .section-header h1 {
    font-size: 28px;
  }

  .content-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .logo-container {
    margin-bottom: 30px;
  }

  .section-header h1 {
    font-size: 24px;
    text-align: center;
  }

  .tagline {
    font-size: 16px;
  }
}

.modern-membership {
  background-color: #f8f9fa;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: block;
  color: #0066cc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.section-title {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-title span {
  color: #0066cc;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.divider-line {
  height: 1px;
  width: 80px;
  background-color: #ddd;
}

.divider-icon {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-icon svg {
  width: 24px;
  height: 24px;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.process-step {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.step-visual {
  position: relative;
  margin-right: 30px;
  flex-shrink: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgb(1, 90, 179), #0066cc);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(106, 5, 114, 0.2);
  position: relative;
  z-index: 2;
}

.step-icon {
  width: 48px;
  height: 48px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 70px;
  left: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #f0f0f0;
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-connector {
  position: absolute;
  left: 30px;
  top: 120px;
  bottom: -50px;
  width: 2px;
  background: linear-gradient(to bottom, rgb(1, 73, 146), #0066cc);
  z-index: 1;
}

.process-step:last-child .step-connector {
  display: none;
}

.step-content {
  padding-top: 10px;
}

.step-content h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-content p {
  color: #7f8c8d;
  line-height: 1.6;
  margin-bottom: 15px;
}

.step-badge {
  display: inline-block;
  background-color: rgba(106, 5, 114, 0.1);
  color: #0066cc;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.step-features {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.step-features span {
  background-color: #f0f0f0;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.payment-options {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-icon {
  width: 40px;
  height: 40px;
  background-color: #0066cc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 5px;
}

.payment-methods {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.payment-methods img {
  height: 60px;
  width: auto;
  border-radius: 4px;
}

.dashboard-preview {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.preview-item {
  width: 60px;
  height: 40px;
  background-color: #e0e0e0;
  border-radius: 5px;
}

.process-cta {
  text-align: center;
  margin-top: 60px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, rgb(2, 72, 142), #0066cc);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(66, 19, 234, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(66, 19, 234, 0.3);
}

.cta-note {
  margin-top: 15px;
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .modern-membership {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-timeline {
    padding-left: 30px;
  }

  .step-visual {
    margin-right: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    top: 60px;
  }

  .step-icon svg {
    width: 20px;
    height: 20px;
  }

  .step-connector {
    left: 25px;
    top: 100px;
  }
}

@media (max-width: 576px) {
  .process-step {
    flex-direction: column;
  }

  .step-visual {
    margin-right: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }

  .step-number {
    margin-right: 20px;
  }

  .step-icon {
    position: static;
    margin-left: 20px;
  }

  .step-connector {
    display: none;
  }

  .payment-options {
    justify-content: center;
  }
}
