/* Global Styles */
:root {
    --primary: #000000;
    --secondary: #D4AF37;
    --accent: #FFD700;
    --light: #F5F5F5;
    --dark: #222222;
    --gray: #777777;
    --light-gray: #E5E5E5;
    --white: #FFFFFF;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Buttons */
.cta-button, .cta-button-large {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    text-align: center;
}

.cta-button {
    padding: 10px 25px;
}

.cta-button-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-button:hover, .cta-button-large:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-text span {
    color: var(--secondary);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/umroh-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 25%;
}

.section-subtitle {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.highlight-gold {
    color: var(--secondary);
    font-weight: 600;
    background: linear-gradient(to right, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}


/* Pricing Section Styles */
.pricing {
    padding: 80px 0;
    background-color: var(--light);
}

.pricing-category-title {
    text-align: center;
    margin: 40px 0 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.pricing-category-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-row {
    margin-bottom: 50px;
}

.pricing-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
    margin: 10px;
    min-width: 280px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.recommended {
    border: 2px solid var(--secondary);
    position: relative;
}

.pricing-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1px;
}

.period {
    color: var(--gray);
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.pricing-features {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--light-gray);
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 0.8rem;
}

.pricing-card .cta-button {
    display: block;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.pricing-card .pricing-features {
  max-height: 200px; /* cukup untuk sekitar 5 fitur */
  overflow-y: auto;
  padding-right: 5px;
}

/* Tambahkan tampilan scrollbar yang lebih rapi */
.pricing-features::-webkit-scrollbar {
  width: 6px;
}

.pricing-features::-webkit-scrollbar-thumb {
  background-color: var(--light-gray);
  border-radius: 10px;
}

.pricing-features::-webkit-scrollbar-track {
  background-color: transparent;
}


/* Recommended Card Styling */
.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .pricing-row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pricing-card {
        width: calc(33.333% - 40px);
        max-width: 320px;
    }
    
    .pricing-card.recommended {
        transform: scale(1.05);
    }
    
    .pricing-card.recommended:hover {
        transform: scale(1.05) translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-card {
        margin: 10px auto;
    }
    
    .pricing-card.recommended {
        transform: none;
    }
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #d4af37;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #b5942c;
}

/* Recommended Badge */
.recommended {
  border-color: #f4b400;
  box-shadow: 0 0 10px rgba(244, 180, 0, 0.2);
}

.recommended-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #f4b400;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .pricing-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .pricing-card {
    width: 100%;
  }
}

/* Mobile Card Slider - Scroll Snap */
.scroll-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

/* Scroll Snap Target */
.scroll-wrapper .pricing-card {
  scroll-snap-align: center;
  flex: 0 0 85%;
}

/* Hide scrollbar */
.scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.scroll-wrapper {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

/* Desktop: fallback to grid */
@media (min-width: 768px) {
  .scroll-wrapper {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    justify-content: center;
  }

  .scroll-wrapper .pricing-card {
    flex: 0 0 auto;
    width: 300px;
  }
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    flex-wrap: wrap;
}

.process-steps::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 3px;
    background-color: var(--secondary);
    top: 30px;
    left: 10%;
    z-index: 1;
}

.step {
    text-align: center;
    width: calc(20% - 20px);
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 20px;
}

.testimonial-card {
    min-width: 300px;
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card .quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
}

.client-company {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section h2 span {
    color: var(--secondary);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: var(--white);
    color: var(--primary);
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    background-color: var(--white);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 20px 0;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--secondary);
    background-color: rgba(255, 215, 0, 0.2);
}

.footer-links h3, .footer-contact h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    opacity: 0.8;
}

.contact-icon {
    color: var(--secondary);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .step {
        width: calc(25% - 20px);
    }
    
    .process-steps::before {
        width: 70%;
        left: 15%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: calc(50% - 20px);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .pricing-card.recommended {
        transform: scale(1);
    }
    
    .pricing-card.recommended:hover {
        transform: scale(1) translateY(-10px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .step {
        width: 100%;
    }
    
    .testimonial-card {
        min-width: 85%;
    }
}

.loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 4px solid var(--light-gray);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Warna hijau WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Warna hijau WhatsApp lebih gelap */
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Animasi pulse */
@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);
    }
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}