/* Custom Styles for Warzuqni Travel & Tours */
:root {
    --primary-dark: #0f3d2e;
    --primary-green: #14533e;
    --accent-gold: #c39a53;
    --accent-light-gold: #dfba73;
    --bg-cream: #faf7f2;
    --bg-card: #ffffff;
    --text-dark: #2c3330;
    --text-muted: #64706b;
    --font-serif: 'Marcellus', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.serif-font {
    font-family: var(--font-serif);
}

/* Navbar Styling */
.navbar {
    padding: 20px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled,
.navbar.solid-nav {
    background-color: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.03);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 12px;
    font-size: 14px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .navbar-nav .nav-link,
.navbar.solid-nav .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    text-shadow: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

.btn-book-now {
    background-color: var(--accent-gold);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-book-now:hover {
    background-color: #ffffff;
    color: var(--primary-dark) !important;
    border-color: #ffffff;
}

.navbar.scrolled .btn-book-now,
.navbar.solid-nav .btn-book-now {
    background-color: var(--primary-dark);
}

.navbar.scrolled .btn-book-now:hover,
.navbar.solid-nav .btn-book-now:hover {
    background-color: transparent;
    color: var(--primary-dark) !important;
    border-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 160px 0 100px 0;
    position: relative;
    background-image: linear-gradient(to right, rgba(7, 34, 25, 0.9) 30%, rgba(15, 61, 46, 0.6) 100%),
        url('https://images.unsplash.com/photo-1542856391-010fb87dcfed?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-desc {
    color: #e0e6e3;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 580px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hadith-quote {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    border-radius: 0 16px 16px 0;
    font-size: 14.5px;
    color: #f0f5f2;
    margin-bottom: 35px;
    max-width: 620px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-gold);
}

.arabic-text {
    direction: rtl;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-light-gold);
    line-height: 1.6;
}

.btn-explore {
    background-color: var(--accent-gold);
    color: white;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    border: none;
    margin-right: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 154, 83, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-explore:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-how-it-works {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-how-it-works:hover {
    background: #ffffff;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.trust-badges {
    margin-top: 50px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.badge-item i {
    color: var(--accent-light-gold);
}

/* Inclusions & Features */
.section-padding {
    padding: 90px 0;
}

.section-title-sub {
    color: var(--accent-gold);
    font-size: 15px;
    font-weight: 600;
    text-uppercase: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    color: var(--primary-dark);
    font-size: 38px;
    margin-bottom: 45px;
    font-weight: 700;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 22px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.01);
    box-shadow: 0 10px 35px rgba(7, 34, 25, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 61, 46, 0.08);
    border-color: rgba(195, 154, 83, 0.25);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(20, 83, 62, 0.05);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--primary-green);
    font-size: 26px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: var(--primary-green);
    color: white;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--primary-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Package Cards */
.package-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(7, 34, 25, 0.08);
}

.package-img-box {
    position: relative;
    height: 388px;
    overflow: hidden;
}

.package-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-img-box img {
    transform: scale(1.06);
}

.package-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-siddiq {
    background: #e3f2fd;
    color: #0d47a1;
}

.badge-amanah {
    background: #efebe9;
    color: #4e342e;
}

.badge-tabligh {
    background: #e8f5e9;
    color: #1b5e20;
}

.badge-fattanah {
    background: #fff8e1;
    color: #ff8f00;
}

.package-body {
    padding: 25px;
}

.package-title {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.package-tagline {
    font-size: 13px;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 12px;
    display: block;
}

.package-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.package-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
}

.meta-item i {
    color: var(--accent-gold);
    font-size: 13px;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-box {
    font-size: 12px;
    color: var(--text-muted);
}

.price-box span {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: var(--font-serif);
}

.btn-details {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-details:hover {
    background: var(--accent-gold);
    color: white;
    box-shadow: 0 4px 12px rgba(195, 154, 83, 0.2);
}

/* Group Special Callout */
.group-special-box {
    background-color: var(--bg-card);
    border: 1px dashed var(--accent-gold);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

/* Agent Section */
.agent-section {
    background-color: #0f3d2e;
    color: white;
    border-radius: 24px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(7, 34, 25, 0.1);
}

.agent-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 85% 20%, rgba(195, 154, 83, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    background: var(--bg-card);
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-card);
    padding: 22px 20px;
    font-size: 15px;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-gold);
    background: rgba(20, 83, 62, 0.02);
    box-shadow: none;
}

.accordion-button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
    background-image: none;
    font-size: 12px;
    color: var(--primary-green);
}

.accordion-button:not(.collapsed)::after {
    content: "\f077";
    background-image: none;
    color: var(--accent-gold);
}

.accordion-body {
    padding: 22px 20px;
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.65;
    background: var(--bg-card);
    border-top: 1px solid #f9f9f9;
}

/* Step Node Timeline */
.step-container {
    position: relative;
    margin-top: 50px;
}

.step-line {
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: dashed rgba(195, 154, 83, 0.4);
    z-index: 1;
}

@media (max-width: 991px) {
    .step-line {
        display: none;
    }
}

.step-node {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 75px;
    height: 75px;
    background: white;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
    color: var(--primary-dark);
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    position: relative;
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    color: white;
    border-radius: 24px;
    padding: 45px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
    box-shadow: 0 15px 35px rgba(15, 61, 46, 0.15);
}

@media (max-width: 767px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 35px 25px;
    }
}

.cta-text h3 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-cta-now {
    background-color: var(--accent-gold);
    color: white;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(195, 154, 83, 0.2);
}

.btn-cta-now:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #0b2920;
    color: rgba(255, 255, 255, 0.7);
    padding: 85px 0 35px 0;
    font-size: 14px;
    border-top: 3px solid var(--accent-gold);
}

.footer-logo-wrapper {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 58px;
    width: auto;
    object-fit: contain;
    margin-bottom: 22px;

}

.footer-heading {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light-gold);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    list-style: none;
}

.contact-info i {
    color: var(--accent-light-gold);
    margin-top: 4px;
}

.copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    margin-top: 55px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Slider Section */
.slider-section {
    padding-top: 100px;
    background-color: #f0eae1;
}

.carousel-item {
    height: 500px;
    background-color: var(--primary-dark);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.carousel-caption {
    bottom: 35%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption h2 {
    font-size: 45px;
    color: #ffffff;
    font-family: var(--font-serif);
}

.carousel-caption p {
    font-size: 18px;
    color: var(--accent-light-gold);
}

/* Intro Zone */
.intro-zone {
    padding: 60px 0 30px 0;
}

.intro-zone h3 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 15px;
}

/* Package Overview Grid */
.wireframe-package-section {
    padding: 40px 0 80px 0;
}

.wireframe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .wireframe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .wireframe-grid {
        grid-template-columns: 1fr;
    }
}

.wireframe-box {
    background: var(--bg-card);
    border: 1px solid rgba(195, 154, 83, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.wireframe-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 30px rgba(15, 61, 46, 0.06);
}

.wireframe-img-placeholder {
    width: 80px;
    height: 80px;
    background-color: #f0eae1;
    border-radius: 12px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 28px;
}

.wireframe-box h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.wireframe-box p {
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0;
}

/* Mid Split Section */
.mid-split-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #f0eae1;
    border-bottom: 1px solid #f0eae1;
}

.info-pane h3,
.form-pane h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.map-wrapper {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eef2f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.form-pane {
    background-color: var(--bg-cream);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #f0eae1;
}

.form-control,
.form-select {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #dcdfdc;
    font-size: 14px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(195, 154, 83, 0.15);
}

.btn-submit-form {
    background-color: var(--primary-green);
    color: white;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit-form:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   Tentang Kami — Warkah, Carta Organisasi, Visi & Misi
   ========================================================================== */

/* --- Warkah Pengurusan --- */
.warkah-section {
    background-color: var(--bg-cream);
    padding: 150px 0 80px 0;
}

.warkah-card {
    background-color: var(--primary-dark);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(7, 34, 25, 0.12);
}

.warkah-card>[class*='col-'] {
    display: flex;
}

.warkah-visual {
    position: relative;
    width: 100%;
    min-height: 380px;
    background-color: var(--primary-green);
    overflow: hidden;
}

.warkah-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.warkah-visual-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-dark));
    color: rgba(223, 186, 115, 0.35);
    font-size: 90px;
}

.warkah-body {
    padding: 55px 50px;
    color: rgba(255, 255, 255, 0.82);
    width: 100%;
}

.warkah-bismillah {
    color: var(--accent-light-gold);
    font-size: 19px;
    margin-bottom: 14px;
    text-align: center;
}

.warkah-title {
    color: var(--accent-gold);
    font-size: 28px;
    text-align: center;
    margin-bottom: 26px;
}

.warkah-text {
    font-size: 14.5px;
    line-height: 1.9;
    text-align: justify;
}

.warkah-text p {
    margin-bottom: 15px;
}

.warkah-text p:last-child {
    margin-bottom: 0;
}

.warkah-signature {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--accent-light-gold);
    font-size: 14px;
}

.warkah-signature small {
    color: rgba(255, 255, 255, 0.55);
}

/* --- Carta Organisasi (tree layout) --- */
.org-section {
    background-color: var(--bg-cream);
}

.org-section .section-title {
    position: relative;
    margin-bottom: 15px;
}

.org-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

.org-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-top: 25px;
    margin-bottom: 45px;
}

.level-heading {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    background: rgba(195, 154, 83, 0.1);
    padding: 6px 20px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(195, 154, 83, 0.2);
}

.org-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.org-row {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}

/* Vertical connector dropping out of each row */
.org-row::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    width: 2px;
    height: 50px;
    background-color: var(--accent-gold);
    z-index: 1;
}

.org-row.last-row::after {
    display: none;
}

.org-col {
    position: relative;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Stem from the horizontal rail down into each card */
.org-col::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    width: 2px;
    height: 25px;
    background-color: var(--accent-gold);
    z-index: 1;
}

/* Top row has no parent above it — suppress its stem */
.org-row.level-1 .org-col::before {
    display: none;
}

/* Horizontal rail joining siblings */
.branch-connector {
    position: absolute;
    top: -25px;
    left: 15%;
    right: 15%;
    height: 2px;
    background-color: var(--accent-gold);
    z-index: 1;
}

.branch-connector-wide {
    left: 10%;
    right: 10%;
}

/* Member card */
.org-card {
    background: var(--bg-card);
    border: 1px solid rgba(195, 154, 83, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 61, 46, 0.04);
    padding: 20px;
    text-align: center;
    min-width: 250px;
    max-width: 270px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.org-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 61, 46, 0.12);
    border-color: var(--accent-gold);
}

.org-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    color: var(--accent-gold);
    font-size: 1.4rem;
    font-family: var(--font-serif);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(15, 61, 46, 0.15);
    transition: all 0.4s ease;
}

.org-avatar.has-photo {
    padding: 0;
    overflow: hidden;
    background-color: var(--bg-card);
}

.org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.org-card:hover .org-avatar {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.org-card:hover .org-avatar.has-photo {
    background-color: var(--bg-card);
    border-color: var(--primary-dark);
}

.org-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.org-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.org-divider {
    height: 1px;
    width: 40%;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    margin: 0 auto 12px;
}

.org-dept {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Top tier emphasis */
.org-card.top-tier {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(145deg, #ffffff, #fcf9f2);
}

.org-card.top-tier .org-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
}

/* Highlighted manager card */
.org-card.lead-tier {
    border-color: rgba(15, 61, 46, 0.4);
}

/* Support tier */
.org-card.support-tier {
    border-bottom: 3px solid var(--accent-gold);
    background-color: #fafbfc;
    min-width: 210px;
    max-width: 230px;
}

.org-card.support-tier .org-avatar {
    background-color: #f4ede0;
    color: var(--primary-dark);
    border-color: rgba(195, 154, 83, 0.5);
}

.org-card.support-tier .org-avatar.has-photo {
    background-color: var(--bg-card);
}

/* Optional sub-unit box hanging under a manager */
.org-unit-stem {
    width: 2px;
    height: 26px;
    background-color: var(--accent-gold);
}

.org-unit-card {
    background-color: #fdfcf7;
    border: 1px dashed rgba(195, 154, 83, 0.55);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: center;
    max-width: 230px;
    z-index: 2;
}

/* --- Visi --- */
.visi-section {
    background-color: var(--bg-card);
    padding: 80px 0;
}

.visi-text {
    font-size: 15.5px;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Misi --- */
.misi-section {
    background-color: var(--bg-cream);
}

.misi-card {
    border-radius: 18px;
    padding: 34px 26px;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 10px 30px rgba(7, 34, 25, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.misi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 61, 46, 0.08);
}

.misi-icon {
    width: 62px;
    height: 62px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--primary-green);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px auto;
}

.misi-card .misi-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 0;
}

.misi-cream {
    background-color: #f6efe3;
}

.misi-rose {
    background-color: #f7e6e6;
}

.misi-sage {
    background-color: #e8f0e9;
}

.misi-sand {
    background-color: #f2ece1;
}

/* --- Responsive --- */
@media (max-width: 1199.98px) {
    .org-card {
        min-width: 210px;
        max-width: 230px;
    }

    .org-card.support-tier {
        min-width: 180px;
        max-width: 200px;
    }
}

@media (max-width: 991.98px) {
    .warkah-section {
        padding: 120px 0 60px 0;
    }

    .warkah-body {
        padding: 40px 28px;
    }

    .warkah-visual {
        min-height: 280px;
    }

    .org-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }

    .org-row::after {
        display: none;
    }

    .org-col {
        margin-bottom: 35px;
        width: 100%;
    }

    .org-col::before {
        top: -35px;
        height: 35px;
    }

    .branch-connector {
        display: none;
    }

    .org-row.level-1 .org-col:first-child::before,
    .org-row.level-2 .org-col:first-child::before,
    .org-row.level-3 .org-col:first-child::before,
    .org-row.level-4 .org-col:first-child::before {
        display: none;
    }

    .org-card,
    .org-card.support-tier {
        min-width: 260px;
        max-width: 300px;
    }
}

/* ==========================================================================
   Program Ejen
   ========================================================================== */

.ejen-page {
    --ejen-shadow: 0 20px 40px rgba(7, 34, 25, 0.06);
    --ejen-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.islamic-pattern-bg {
    background-image: radial-gradient(rgba(195, 154, 83, 0.04) 2px, transparent 2px);
    background-size: 30px 30px;
}

/* --- Banner Utama --- */
.carousel-container {
    padding-top: 130px;
    padding-bottom: 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.wireframe-carousel {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(7, 34, 25, 0.12);
    background-color: var(--primary-dark);
    height: 480px;
    position: relative;
}

.wireframe-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(7, 34, 25, 0.2) 0%, rgba(7, 34, 25, 0.85) 100%);
}

.wireframe-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.wireframe-carousel-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-dark));
    color: rgba(223, 186, 115, 0.28);
    font-size: 110px;
}

.carousel-overlay-text {
    position: absolute;
    bottom: 12%;
    left: 8%;
    right: 8%;
    text-align: center;
    color: #ffffff;
    z-index: 5;
}

.carousel-overlay-text .badge-top {
    background: rgba(195, 154, 83, 0.2);
    border: 1px solid var(--accent-gold);
    color: var(--accent-light-gold);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.carousel-overlay-text h2 {
    font-size: 46px;
    font-family: var(--font-serif);
    color: #ffffff;
    margin-bottom: 10px;
}

/* --- Kandungan Utama --- */
.agent-main-container {
    max-width: 1140px;
    margin: 30px auto 90px auto;
    background: var(--bg-card);
    border: 1px solid rgba(195, 154, 83, 0.15);
    border-radius: 32px;
    padding: 60px;
    box-shadow: var(--ejen-shadow);
    position: relative;
}

.agent-header-split {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.agent-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(7, 34, 25, 0.08);
    border: 4px solid #ffffff;
    outline: 1px solid rgba(195, 154, 83, 0.25);
    height: 320px;
}

.agent-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--ejen-transition);
}

.agent-main-container:hover .agent-image-frame img {
    transform: scale(1.04);
}

.agent-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-dark));
    color: rgba(223, 186, 115, 0.3);
    font-size: 70px;
}

/* --- Kotak Jenama --- */
.brand-showcase-box {
    background: linear-gradient(145deg, #ffffff, #fbfaf7);
    border-left: 5px solid var(--accent-gold);
    padding: 40px;
    border-radius: 0 24px 24px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-showcase-box .mini-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    align-self: flex-start;
}

.brand-showcase-box h3 {
    font-size: 26px;
    color: var(--primary-green);
    margin-bottom: 12px;
    font-weight: bold;
}

.brand-showcase-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Kenyataan Utama --- */
.agent-statement-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    border-radius: 20px;
    padding: 40px 50px;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    box-shadow: 0 12px 30px rgba(7, 34, 25, 0.15);
}

.agent-statement-box::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 120px;
    font-family: var(--font-serif);
    color: rgba(195, 154, 83, 0.15);
    line-height: 1;
}

.agent-statement-box p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.7;
    font-weight: 400;
    font-family: var(--font-serif);
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: 0.3px;
}

.agent-statement-box p:last-child {
    margin-bottom: 0;
}

.agent-statement-box strong,
.agent-statement-box em {
    color: var(--accent-light-gold);
    font-weight: 600;
    font-style: normal;
}

/* --- Kelebihan & Butang --- */
.agent-footer-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background-color: var(--bg-cream);
    border: 1px solid rgba(195, 154, 83, 0.15);
    border-radius: 24px;
    padding: 40px;
}

.kelebihan-text-pane h4 {
    color: var(--primary-green);
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kelebihan-text-pane h4 i {
    color: var(--accent-gold);
    font-size: 22px;
}

.kelebihan-text-pane p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
    opacity: 0.9;
}

.btn-agent-register {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ad833e 100%);
    color: white !important;
    border-radius: 50px;
    padding: 16px 42px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    transition: var(--ejen-transition);
    box-shadow: 0 10px 25px rgba(195, 154, 83, 0.35);
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-agent-register:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(195, 154, 83, 0.5);
    background: linear-gradient(135deg, #b58e49 0%, var(--primary-green) 100%);
    color: white !important;
}

.ejen-extra-content {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .agent-header-split {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .brand-showcase-box {
        border-left: none;
        border-top: 5px solid var(--accent-gold);
        border-radius: 0 0 24px 24px;
        padding: 25px;
    }

    .brand-showcase-box .mini-logo {
        align-self: center;
    }

    .kelebihan-text-pane h4 {
        justify-content: center;
    }

    .agent-footer-split {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }
}

@media (max-width: 767.98px) {
    .carousel-container {
        padding-top: 105px;
    }

    .wireframe-carousel {
        height: 380px;
    }

    .carousel-overlay-text h2 {
        font-size: 32px;
    }

    .agent-main-container {
        padding: 30px 20px;
    }

    .agent-statement-box {
        padding: 35px 25px;
    }

    .agent-statement-box p {
        font-size: 16px;
    }
}
/* ==========================================================================
   Detail Pakej Umrah
   ========================================================================== */

/* --- Banner Pakej --- */
.product-hero {
    padding-top: 120px;
    background-color: #f0eae1;
}

.banner-frame {
    max-width: 1140px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    height: 440px;
    background-color: var(--primary-dark);
    position: relative;
}

.banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.banner-frame-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-dark));
    color: rgba(223, 186, 115, 0.28);
    font-size: 100px;
}

.banner-title-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    color: white;
    z-index: 10;
    text-shadow: 0 2px 12px rgba(7, 34, 25, 0.5);
}

.banner-title-overlay h1 {
    font-size: 42px;
    margin-bottom: 5px;
}

/* --- Jadual Harga --- */
.price-section {
    padding: 60px 0;
}

.price-grid-box {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(195, 154, 83, 0.15);
}

.table-premium {
    width: 100%;
    margin-bottom: 0;
    vertical-align: middle;
}

.table-premium th {
    background-color: var(--primary-dark);
    color: white;
    font-family: var(--font-serif);
    font-weight: normal;
    padding: 15px;
    text-align: center;
    border: none;
}

.table-premium th:first-child { border-radius: 12px 0 0 12px; }
.table-premium th:last-child  { border-radius: 0 12px 12px 0; }

.table-premium td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid #f3ede2;
    font-weight: 500;
}

.price-tag {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-serif);
}

/* --- Kad Hotel --- */
.hotel-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0eae1;
    height: 100%;
}

.hotel-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.hotel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-body {
    padding: 25px;
}

.hotel-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.hotel-title-name {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.star-rating {
    color: #ffc107;
    font-size: 13px;
    margin-bottom: 12px;
}

.hotel-meta-item {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hotel-meta-item i {
    color: var(--accent-gold);
    width: 16px;
}

/* --- Aturcara Perjalanan --- */
.itinerary-section {
    padding: 60px 0 90px 0;
}

.itinerary-accordion .accordion-item {
    border: 1px solid #f0eae1;
    margin-bottom: 12px;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.itinerary-accordion .accordion-button {
    background-color: var(--bg-card);
    color: var(--primary-dark);
    font-weight: 600;
    padding: 22px;
    font-size: 16px;
}

.itinerary-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(20, 83, 62, 0.02);
    color: var(--accent-gold);
    box-shadow: none;
}

.itinerary-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.day-badge {
    background-color: var(--accent-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    margin-right: 15px;
    font-size: 13px;
    font-weight: 700;
}

.itinerary-node-list {
    position: relative;
    padding-left: 20px;
    border-left: 2px dashed #e2dbcd;
    margin-left: 10px;
}

.itinerary-node-item {
    position: relative;
    margin-bottom: 25px;
}

.itinerary-node-item:last-child {
    margin-bottom: 0;
}

.itinerary-node-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-gold);
    border-radius: 50px;
    border: 2px solid white;
}

.itinerary-node-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 15px;
}

.node-sub-list {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.node-sub-list p:last-child {
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
    .product-hero { padding-top: 95px; }
    .banner-frame { height: 320px; }
    .banner-title-overlay {
        left: 24px;
        right: 24px;
        bottom: 26px;
    }
    .banner-title-overlay h1 { font-size: 28px; }
    .price-grid-box { padding: 22px 16px; }
    .itinerary-accordion .accordion-button { padding: 16px; font-size: 14.5px; }
    .day-badge { margin-right: 10px; font-size: 12px; }
}

/* --- Kad Pakej: pengganti gambar & pautan --- */
.package-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.package-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--primary-green), var(--primary-dark));
    color: rgba(223, 186, 115, 0.3);
    font-size: 74px;
    transition: transform 0.6s ease;
}

.package-card:hover .package-img-fallback {
    transform: scale(1.06);
}

.package-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.package-title-link:hover {
    color: var(--accent-gold);
}
