/**
 * Qatex Aqiqah Frontend Styles
 * Version: 1.0.5 - FINAL FIX
 */

/* ========== RESET TOTAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
}

/* ========== CONTAINER ========== */
.qatex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.qatex-section {
    padding: 80px 0;
}

.qatex-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.qatex-section-title h2 {
    font-size: 2.5em;
    color: #2E7D32;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.qatex-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #F57C00;
    border-radius: 2px;
}

/* ========== TOP PROMO ========== */
.qatex-top-promo {
    background: linear-gradient(135deg, #F57C00, #EF6C00);
    color: white;
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 12px 0;
    text-align: center;
}

.qatex-top-promo .qatex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.qatex-top-promo .promo-cta {
    background: white;
    color: #F57C00;
    padding: 8px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.qatex-top-promo .promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========== HERO SECTION ========== */
.qatex-hero {
    background: linear-gradient(135deg, #2E7D32, #1b5e20);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.qatex-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.qatex-hero .qatex-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.qatex-hero h1 {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.qatex-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* SATU CONTAINER UNTUK DUA TOMBOL */
.qatex-hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
}

/* STYLE UNTUK SEMUA TOMBOL DI HERO */
.qatex-hero .qatex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.qatex-hero .qatex-btn-wa {
    background: #25D366;
    color: white;
}

.qatex-hero .qatex-btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
}

.qatex-hero .qatex-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.qatex-hero .qatex-btn-outline:hover {
    background: white;
    color: #2E7D32;
    transform: translateY(-2px);
}

/* ========== TRUST BADGES ========== */
.qatex-trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ========== PAIN POINT SECTION ========== */
.qatex-pain-section {
    background: white;
}

.qatex-pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.qatex-pain-item {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.qatex-pain-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qatex-pain-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.qatex-pain-title {
    font-size: 1.2em;
    color: #2E7D32;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ========== PAKET SECTION ========== */
.qatex-paket-section {
    background: #f5f5f5;
    padding: 80px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.qatex-paket-section .qatex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.qatex-paket-section .qatex-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.qatex-paket-section .qatex-section-title h2 {
    font-size: 2.5em;
    color: #2E7D32;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin: 0 auto;
}

.qatex-paket-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
    width: 100%;
}

.qatex-paket-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.qatex-paket-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.qatex-paket-header {
    padding: 30px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qatex-paket-name {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 15px;
    text-align: center;
}

.qatex-paket-price {
    font-size: 2.2em;
    font-weight: 900;
    margin: 15px 0;
    text-align: center;
}

.qatex-paket-badge-gold {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #1e293b;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 40px;
    margin: 10px auto 0;
    font-size: 14px;
    animation: goldPulse 2s infinite;
    text-align: center;
    max-width: fit-content;
}

@keyframes goldPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.qatex-paket-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.qatex-paket-details {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    flex-grow: 1;
}

.qatex-paket-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-label {
    flex: 1;
    color: #666;
    font-size: 14px;
}

.detail-value {
    font-weight: 700;
    color: #2E7D32;
    text-align: right;
}

.menu-list .detail-value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.menu-item {
    background: #e8f5e9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* TOMBOL UNTUK PAKET SECTION (LEBAR FULL) */
.qatex-paket-card .qatex-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white !important;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.qatex-paket-card .qatex-btn-wa:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37,211,102,0.3);
}

.qatex-paket-card .qatex-btn-wa i {
    font-size: 20px;
}

/* ========== PROSES SECTION ========== */
.qatex-proses-section {
    background: #f9f9f9;
}

.qatex-proses-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.qatex-proses-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.qatex-proses-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qatex-proses-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.qatex-proses-title {
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 10px;
}

/* ========== TESTIMONI SECTION ========== */
.qatex-testimoni-section {
    background: white;
}

.qatex-testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.qatex-testimoni-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid #2E7D32;
    position: relative;
}

.qatex-testimoni-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: #2E7D32;
    opacity: 0.1;
    font-family: Georgia;
}

.qatex-testimoni-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.qatex-testimoni-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qatex-testimoni-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* ========== FAQ SECTION ========== */
.qatex-faq-section {
    background: #f5f5f5;
}

.qatex-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.qatex-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.qatex-faq-question {
    padding: 20px 25px;
    font-weight: 600;
    color: #2E7D32;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.qatex-faq-question:hover {
    background: #f0f8f0;
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: 300;
    transition: transform 0.3s;
}

.qatex-faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.qatex-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.qatex-faq-item.active .qatex-faq-answer {
    max-height: 500px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
}

/* ========== AREA SECTION ========== */
.qatex-area-section {
    background: white;
}

.qatex-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.qatex-area-item {
    background: #f0f8f0;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #c8e6c9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.qatex-area-item:hover {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.qatex-city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.qatex-city-link {
    background: #f5f5f5;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.qatex-city-link:hover {
    background: #2E7D32;
    color: white;
}

/* ========== CTA SECTION ========== */
.qatex-cta-section {
    background: linear-gradient(135deg, #1e3c72, #2E7D32);
    color: white;
    text-align: center;
}

.qatex-cta-title {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.qatex-cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.qatex-btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #25D366;
    color: white;
    padding: 20px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 30px;
    transition: all 0.3s;
    min-width: 300px;
}

.qatex-btn-cta:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.qatex-cta-urgency {
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ========== FOOTER ========== */
.qatex-footer {
    background: #1e3c72;
    color: white;
    padding: 60px 0 30px;
    margin-bottom: 0 !important;
}

.qatex-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Kolom 1: Brand & Deskripsi */
.qatex-footer-brand {
    font-size: 1.8em;
    font-weight: 700;
    color: #F57C00;
    margin-bottom: 15px;
}

.qatex-footer-desc {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Kolom 2: Quick Links */
.qatex-footer-title {
    color: white;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F57C00;
    display: inline-block;
}

.qatex-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qatex-footer-links li {
    margin-bottom: 12px;
}

.qatex-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.qatex-footer-links a:hover {
    color: #F57C00;
}

/* Kolom 3: Kontak - VERTICAL RAPI */
.qatex-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qatex-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}

.qatex-footer-contact-item i {
    color: #F57C00;
    width: 20px;
    font-size: 16px;
    margin-top: 3px;
}

.qatex-footer-contact-item .contact-text {
    flex: 1;
}

.qatex-footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.qatex-footer-contact-item a:hover {
    color: #F57C00;
}

/* Social Icons */
.qatex-footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.qatex-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.qatex-footer-social a:hover {
    background: #F57C00;
    transform: translateY(-3px);
}

/* Footer Bottom */
.qatex-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .qatex-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========== FLOATING WA ========== */
.qatex-floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

.qatex-floating-wa.hidden {
    opacity: 0;
    visibility: hidden;
}

.qatex-floating-wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37,211,102,0.3);
    transition: all 0.3s;
}

.qatex-floating-wa a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .qatex-paket-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .qatex-pain-grid,
    .qatex-testimoni-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qatex-proses-grid,
    .qatex-area-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .qatex-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TABLET */
@media (max-width: 768px) {
    .qatex-hero {
        padding: 80px 0;
    }
    
    .qatex-hero h1 {
        font-size: 2.2em;
    }
    
    .qatex-hero-subtitle {
        font-size: 1.1em;
    }
    
    .qatex-hero-ctas {
        gap: 8px;
    }
    
    .qatex-hero .qatex-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .qatex-section {
        padding: 50px 0;
    }
    
    .qatex-section-title h2 {
        font-size: 2em;
    }
    
    .qatex-paket-grid,
    .qatex-pain-grid,
    .qatex-testimoni-grid,
    .qatex-proses-grid,
    .qatex-area-grid {
        grid-template-columns: 1fr;
    }
    
    .qatex-paket-grid {
        max-width: 500px;
    }
    
    .qatex-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .qatex-floating-wa {
        bottom: 20px;
        right: 20px;
    }
    
    .qatex-floating-wa .wa-text {
        display: none;
    }
    
    .qatex-floating-wa a {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
    }
    
    .qatex-floating-wa a i {
        font-size: 24px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .qatex-hero-ctas {
        flex-direction: column;
        gap: 10px;
    }
    
    .qatex-hero .qatex-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
    }
}

/* MOBILE KECIL */
@media (max-width: 480px) {
    .qatex-hero {
        padding: 60px 0;
    }
    
    .qatex-hero h1 {
        font-size: 1.8em;
    }
    
    .qatex-hero-subtitle {
        font-size: 1em;
    }
    
    .qatex-hero .qatex-btn {
        max-width: 260px;
        padding: 10px 18px;
    }
    
    .qatex-paket-details li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label, .detail-value {
        width: 100%;
        text-align: left;
    }
    
    .menu-list .detail-value {
        justify-content: flex-start;
    }
    
    .qatex-floating-wa {
        bottom: 15px;
        right: 15px;
    }
    
    .qatex-floating-wa a {
        width: 50px;
        height: 50px;
    }
    
    .qatex-floating-wa a i {
        font-size: 20px;
    }
}