/* ================================================================
   BBX LEARNING — contact.css
   Premium dark contact page — matches reference image aesthetic
   ================================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.contact-hero-section {
    position: relative;
    width: 100%;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
    background: radial-gradient(ellipse at 30% 40%, #0e031f 0%, #0c0618 45%, #080610 100%);
}

#contact-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* decorative ambient orbs */
.ch-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.ch-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, transparent 70%);
    top: -100px;
    right: -80px;
}

.ch-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 40, 200, 0.22) 0%, transparent 70%);
    bottom: -60px;
    left: -60px;
}

/* badge pill */
.ch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: #ff8c3a;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

/* hero headings */
.contact-hero-title {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.ch-highlight {
    background: linear-gradient(135deg, #ff6b00 0%, #ffcc44 60%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* hero stats */
.ch-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ch-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b00, #ffcc44);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ch-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 4px;
}

.ch-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
    align-self: center;
}

/* scroll hint */
.ch-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.ch-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 107, 0, 0.7), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.3);
    }
}

/* ── CONTACT CARDS ───────────────────────────────────────────── */
.contact-cards-section {
    padding: 0 0 80px;
    background: #0c0618;
    position: relative;
    z-index: 5;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px 20px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255, 107, 0, 0.06) 0%, transparent 60%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.08);
}


.cc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 107, 0, 0.05));
    border: 1px solid rgba(255, 107, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ff6b00;
    flex-shrink: 0;
}


.contact-card h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.cc-extra {
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

.cc-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.6px;
}

.cc-link {
    color: #ff8c3a;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.cc-link:hover {
    color: #ffcc44;
    gap: 10px;
}

.cc-link--wa {
    color: #4ade80;
}

.cc-link--wa:hover {
    color: #86efac;
}

/* ── FORM SECTION ────────────────────────────────────────────── */
.contact-form-section {
    padding: 100px 0;
    background: #0a0514;
    position: relative;
    z-index: 5;
}

.cf-wrapper {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

/* Form Panel */
.cf-form-panel {
    padding: 50px 50px;
    height: 100%;
}

.cf-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
}

.cf-field input,
.cf-field textarea,
.cf-field select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.cf-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.3)' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.cf-field select option {
    background: #1a0a2e;
    color: #fff;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder,
.cf-field select::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus {
    border-color: rgba(255, 107, 0, 0.6);
    background: rgba(255, 107, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.cf-field textarea {
    resize: vertical;
    min-height: 110px;
}

.cf-submit-btn {
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b00 0%, #ffcc00 100%);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.35);
}

.cf-submit-btn:active {
    transform: translateY(0);
}

/* Info Panel */
.cf-info-panel {
    background: rgba(255, 107, 0, 0.04);
    border-left: 1px solid rgba(255, 107, 0, 0.1);
    padding: 50px 44px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cf-info-top p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 12px;
}

.cf-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 36px 0;
}

.cf-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cf-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b00;
    font-size: 1rem;
    flex-shrink: 0;
}

.cf-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 3px;
}

.cf-info-item a,
.cf-info-item span {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.cf-info-item a:hover {
    color: #ff8c3a;
}

/* Social links */
.cf-social {
    display: flex;
    gap: 12px;
}

.cf-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.cf-social a:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
    color: #ff8c3a;
    transform: translateY(-3px);
}

/* ── GLOBAL HELPERS reused from style.css ────────────────────── */
.text-gradient-gold {
    background: linear-gradient(to right, #ff9900, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #ff6b00 0%, #ffbb00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .contact-hero-title {
        letter-spacing: -1px;
    }

    .ch-stat-num {
        font-size: 1.7rem;
    }

    .cf-form-panel {
        padding: 36px 28px;
    }

    .cf-info-panel {
        border-left: none;
        border-top: 1px solid rgba(255, 107, 0, 0.1);
        padding: 36px 28px;
    }
}

@media (max-width: 575px) {
    .contact-hero-section {
        padding-top: 100px;
        min-height: 100vh;
    }

    .ch-stats {
        gap: 20px !important;
    }

    .ch-stat-divider {
        display: none;
    }

    .cf-form-panel {
        padding: 28px 18px;
    }

    .cf-info-panel {
        padding: 28px 18px;
    }

    .contact-card {
        padding: 28px 22px;
    }
}

/* ── PREVENT HORIZONTAL SCROLL ───────────────────────────────── */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* ── FAQ SECTION (Important Info) ────────────────────────────── */
.contact-faq-section {
    padding: 100px 0;
    /* Blend from contact-form-section background (#0a0514) to footer background (#1a1a1a) */
    background: linear-gradient(to bottom, #0a0514 0%, #0d091a 30%, #151122 70%, #1a1a1a 100%);
    position: relative;
    z-index: 5;
    overflow: hidden;
    /* Prevent horizontal scroll from decorative orbs */
}

.faq-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.contact-faq-section .accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px !important;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.contact-faq-section .accordion-item:hover {
    border-color: rgba(255, 107, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-faq-section .accordion-header {
    margin-bottom: 0;
}

.contact-faq-section .accordion-button {
    background: transparent;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 25px 30px;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-faq-section .accordion-button:not(.collapsed) {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.04);
}

.contact-faq-section .accordion-button::after {
    filter: invert(1) brightness(2);
    background-size: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-faq-section .accordion-body {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.98rem;
    line-height: 1.8;
    padding: 0 30px 30px;
    background: transparent;
}

.contact-faq-section .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #ff8c3a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .contact-faq-section {
        padding: 80px 0;
    }

    .contact-faq-section .accordion-button {
        padding: 20px;
        font-size: 1rem;
    }

    .contact-faq-section .accordion-body {
        padding: 0 20px 25px;
    }
}

/* Decorative orbs for FAQ */
.contact-faq-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-faq-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-faq-section .container {
    position: relative;
    z-index: 2;
}


/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fffffff1;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px) rotate(90deg);
}

.floating-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) rotate(0deg);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.3);
}

.top-btn {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.096);
    /* border: 1px solid rgba(255, 107, 0, 0.5); */
}

.top-btn i {
    color: #ff6b00;
    transition: color 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-8px) scale(1.1);
    /* box-shadow: 0 15px 35px rgba(255, 107, 0, 0.4); */
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #ff8800 0%, #ff6b00 100%);
}

.top-btn:hover {
    background: #00000033;
}

.top-btn:hover i {
    color: #fff;
}

@media (max-width: 768px) {
    .floating-btns {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}