/* ==========================================
   SPENCER FINANCIAL GROUP
   PREMIUM BLACK + RED THEME (REFINED)
========================================== */

/* Ensure modal ALWAYS sits above everything */
.modal {
    z-index: 20000 !important;
}

/* Ensure backdrop is always just behind modal */
.modal-backdrop {
    z-index: 19999 !important;
}


/* Prevent background elements from “sliding under” modal visually */
.bg-image,
.bg-overlay,
.hero-overlay,
#particles-js,
body::before,
body::after {
    pointer-events: none !important;
}

/* =========================
   BACKGROUND SYSTEM
========================= */
.bg-image {
	position: fixed;
    inset: 0;
    background: url("images/Background.jpeg") center/cover no-repeat;

}


/* =========================
   BASE LAYOUT
========================= */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
}


.page {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.coaching-table-wrapper {
        width: 100%;
        overflow-x: auto;
        margin: 20px 0;
    }

    .coaching-table {
        width: 100%;
        border-collapse: collapse;
        min-width: 900px;
        font-family: Arial, sans-serif;
        background: #0f0f0f;
        color: #ffffff;
        border: 1px solid #2a2a2a;
    }

    .coaching-table thead {
        background: linear-gradient(90deg, #8b0000, #1a1a1a);
    }

    .coaching-table th,
    .coaching-table td {
        padding: 14px 12px;
        border: 1px solid #2a2a2a;
        text-align: center;
        font-size: 14px;
    }

    .coaching-table th:first-child,
    .coaching-table td:first-child {
        text-align: left;
        font-weight: 600;
        width: 280px;
    }

    .coaching-table tbody tr:nth-child(even) {
        background: #161616;
    }

    .coaching-table tbody tr:hover {
        background: #222;
        transition: 0.2s ease;
    }

    .included {
        color: #00c853;
        font-weight: 600;
    }

    .limited {
        color: #ffb300;
        font-weight: 600;
    }

    .none {
        color: #777;
    }
    
    .disclaimer-block {
    margin-top: 28px;
    padding: 18px;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #8b0000;
    color: #ddd;
    font-family: Arial, sans-serif;
}

.disclaimer-block h3 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.disclaimer-block p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-size: 14px;
}

.disclaimer-block p:last-of-type {
    margin-bottom: 0;
}

.disclaimer-divider {
    margin: 16px 0;
    border: none;
    border-top: 1px solid #2a2a2a;
}

.disclaimer-block h4 {
    margin: 0 0 6px 0;
    color: #ffffff;
    font-size: 15px;
}
/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(10px);
    z-index: 1030;
}

/* =========================
   PANEL (KEY PIECE)
========================= */

.panel {
    max-width: 1100px;
    margin: 40px auto;
    padding: 60px;

    background: rgba(20,20,20,0.85);
    border-radius: 24px;

    border: 1px solid rgba(255,52,52,0.2);

    backdrop-filter: blur(12px);
}

/* HERO BIGGER */

.hero-panel {
    padding: 100px 60px;
}

/* CTA SPECIAL */

.cta-panel {
    background: linear-gradient(135deg, #6d0000, #b30000);
    border: none;
}

/* =========================
   TEXT
========================= */

.tag {
    color: #ff3434;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
}

/* =========================
   CARDS INSIDE PANELS
========================= */

.card-box {
    background: rgba(0,0,0,0.4);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,52,52,0.15);
    height: 100%;
}

/* =========================
   FOOTER
========================= */

.footer {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    color: #aaa;
}


.service-card {
    background: rgba(20,20,20,.90);
    border: 1px solid rgba(255,52,52,.15);

    border-radius: 20px;

    padding: 30px;

    cursor: pointer;

    height: 100%;

    transition: .3s ease;

    backdrop-filter: blur(12px);
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #ff3434;

    box-shadow:
        0 0 30px rgba(255,52,52,.25);
}

.service-price {
    color: #ff3434;

    font-size: 2rem;
    font-weight: 800;

    margin-bottom: 15px;
}

.learn-more {
    color: #ff3434;
    font-weight: 700;
}

/* =========================
   BOOTSTRAP MODAL FIX + THEME
========================= */

.custom-modal {
    background: #0f0f0f;
    color: #ffffff;
    border: 1px solid #2a2a2a;
}

/* Header styling */
.modal-header {
    background: #111;
    border-bottom: 1px solid #2a2a2a;
}

/* Body styling */
.modal-body {
    background: #0f0f0f;
    color: #ddd;
}

/* Close button fix for dark theme */
.btn-close-white {
    filter: invert(1);
}


.featured {
    border: 2px solid #ff3434;

    transform: scale(1.03);

    box-shadow:
        0 0 40px rgba(255,52,52,.35);
}
/* ==========================================
   VARIABLES
========================================== */

:root {
    --primary-red: #ff3434;
    --secondary-red: #cc0000;

    --bg: #050505;
    --bg-secondary: #0b0b0b;

    --card-bg: rgba(20, 20, 20, 0.8);

    --text-primary: #ffffff;
    --text-secondary: #c9c9c9;

    --border: rgba(255, 52, 52, 0.15);

    --shadow: 0 0 20px rgba(255, 52, 52, 0.15);

    --radius-lg: 24px;
    --radius-xl: 30px;

    --transition: 0.3s ease;
}


/* ==========================================
   BASE STYLES
========================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text-primary);

    background: var(--bg);

    overflow-x: hidden;
    position: relative;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   BACKGROUND EFFECTS
========================================== */

/* Grid */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 52, 52, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 52, 52, 0.04) 1px, transparent 1px);

    background-size: 50px 50px;

    z-index: -3;
}

/* Glow */
body::after {
    content: "";
    position: fixed;
    inset: -50%;

    background: radial-gradient(circle, rgba(255, 0, 0, 0.12), transparent 60%);

    animation: glowRotate 25s linear infinite;

    z-index: -2;
}

@keyframes glowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: fixed;
    top: 0;
    z-index: 1030;

    padding: 18px 0;

    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-primary) !important;
}

.nav-link {
    margin-left: 15px;
    font-weight: 600;

    color: var(--text-primary) !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.nav-link:active{
	color: var(--primary-red);
}

/* ==========================================
   HERO SECTIONS
========================================== */

.hero,
.about-hero,
.consultation-hero {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.hero::before,
.about-hero::before,
.consultation-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at top right,
        rgba(255, 52, 52, 0.18),
        transparent 35%
    );

    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

.section-tag {
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.mega-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* ==========================================
   MARKET GRAPH
========================================== */

.market-line {
    position: absolute;
    bottom: 100px;
    left: -5%;

    width: 110%;
    height: 350px;

    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.market-line svg {
    width: 100%;
    height: 100%;
}

.market-line path {
    fill: none;
    stroke: var(--primary-red);
    stroke-width: 5;

    filter:
        drop-shadow(0 0 10px var(--primary-red))
        drop-shadow(0 0 25px var(--primary-red));

    stroke-dasharray: 2500;
    stroke-dashoffset: 2500;

    animation: drawChart 8s ease forwards;
}

@keyframes drawChart {
    to { stroke-dashoffset: 0; }
}

/* ==========================================
   CARDS (GLASS EFFECT SYSTEM)
========================================== */

.card,
.value-card,
.info-card,
.service-card,
.testimonial-card,
.stats-panel {
    background: var(--card-bg);
    backdrop-filter: blur(15px);

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    padding: 35px;

    box-shadow: var(--shadow);

    transition: transform var(--transition), border-color var(--transition);
}

.card:hover,
.value-card:hover,
.info-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 52, 52, 0.35);
}

/* ==========================================
   STATS
========================================== */

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-red);
}

.stat-label {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-primary);
}

/* ==========================================
   BUTTONS
========================================== */

.btn-danger {
    padding: 15px 35px;
    border-radius: 50px;
    border: none;

    font-weight: 700;

    background: linear-gradient(
        135deg,
        var(--primary-red),
        var(--secondary-red)
    );

    box-shadow: 0 0 20px rgba(255, 52, 52, 0.3);

    transition: var(--transition);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 52, 52, 0.5);
}


.journey-section {
    background: #0b0d12;
    padding: 120px 0;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: #ff2d55;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
}

.section-title {
    font-size: 44px;
    margin: 10px 0;
}

.section-subtitle {
    color: #aaa;
}

/* GRID (THIS IS THE CORE VALUES LOOK) */
.core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* CARD */
.core-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;

    padding: 35px 25px;

    text-align: center;

    transition: all 0.35s ease;

    position: relative;
    overflow: hidden;
}

/* HOVER POP (THIS IS WHAT MAKES IT FEEL PREMIUM) */
.core-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 45, 85, 0.4);
    box-shadow: 0 25px 70px rgba(0,0,0,0.6);
}

/* ICON / NUMBER BADGE */
.core-icon {
    width: 60px;
    height: 60px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: linear-gradient(135deg, #ff2d55, #ff6b6b);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: 16px;

    box-shadow: 0 10px 30px rgba(255,45,85,0.3);
}

/* TITLE */
.core-card h3 {
    margin: 10px 0;
    font-size: 20px;
}

/* TEXT */
.core-card p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
}

/* HERO CARD (STEP 4) */
.core-card.highlight {
    background: linear-gradient(135deg, rgba(255,45,85,0.15), rgba(255,107,107,0.05));
    border: 1px solid rgba(255,45,85,0.5);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .core-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CTA
========================================== */

.cta-section {
    padding: 120px 0;
}

.cta-box {
    padding: 80px;
    text-align: center;

    border-radius: var(--radius-xl);

    background: linear-gradient(135deg, #6d0000, #b50000);
}

.cta-box h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    padding: 50px 0;
    text-align: center;

    color: #999;

    border-top: 1px solid var(--border);
}

footer a{
	color: #ff2d55; 
	text-decoration: none;
}
/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {

    .mega-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-box {
        padding: 40px;
    }
}

/* =========================
   CONSULTATION FORM
========================= */

.consultation-form-section {
    background: #0b0d12;
    padding: 120px 0;
}

.consultation-card {
    max-width: 900px;
    margin: 0 auto;

    background: #141820;

    border: 1px solid rgba(255, 45, 85, 0.15);

    border-radius: 24px;

    padding: 60px;

    position: relative;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 40px rgba(255,45,85,0.08);
}

/* RED GLOW */
.consultation-card::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    background: rgba(255,45,85,0.08);

    border-radius: 50%;

    top: -150px;
    right: -150px;

    filter: blur(80px);

    pointer-events: none;
}

/* HEADING */

.consultation-card h2 {
    color: #ff2d55;

    font-size: 2.5rem;

    font-weight: 700;

    margin-bottom: 15px;
}

.consultation-card p {
    color: #b5b8c2;

    font-size: 1rem;

    max-width: 600px;

    margin: 0 auto;
}

/* INPUTS */
/* =========================
   FORM INPUTS
========================= */

.consultation-card .form-control,
.consultation-card .form-select {
    background-color: #1a1d24 !important;
    color: #ffffff !important;

    border: 1px solid #343a46;

    border-radius: 12px;

    padding: 14px 18px;
}

/* Placeholder Text */

.consultation-card .form-control::placeholder,
.consultation-card textarea::placeholder {
    color: #8a909c !important;
    opacity: 1;
}

/* Dropdown Text */

.consultation-card .form-select option {
    background: #1a1d24;
    color: #ffffff;
}

/* Focus State */

.consultation-card .form-control:focus,
.consultation-card .form-select:focus {

    background-color: #222733 !important;
    color: #ffffff !important;

    border-color: #ff2d55 !important;

    box-shadow:
        0 0 0 0.25rem rgba(255, 45, 85, 0.15);

    outline: none;
}

/* Labels */

.consultation-card .form-label {
    color: #ff2d55;

    font-weight: 600;

    margin-bottom: 8px;
}

/* Remove Bootstrap White Autofill */

.consultation-card input:-webkit-autofill,
.consultation-card input:-webkit-autofill:hover,
.consultation-card input:-webkit-autofill:focus,
.consultation-card textarea:-webkit-autofill {

    -webkit-text-fill-color: #ffffff;

    -webkit-box-shadow:
        0 0 0px 1000px #1a1d24 inset;

    transition: background-color 5000s ease-in-out 0s;
}

/* PLACEHOLDER */

.consultation-card .form-control::placeholder {
    color: #8d94a3;
}

/* SELECT TEXT */

.consultation-card .form-select {
    color: #8d94a3;
}

/* FOCUS */

.consultation-card .form-control:focus,
.consultation-card .form-select:focus {

    background: #232933;

    color: white;

    border-color: #ff2d55;

    box-shadow:
        0 0 0 0.2rem rgba(255,45,85,0.15);

    outline: none;
}

/* TEXTAREA */

.consultation-card textarea.form-control {
    min-height: 160px;

    resize: vertical;
}

/* BUTTON */

.consultation-card .btn-danger {

    background: linear-gradient(
        135deg,
        #ff2d55,
        #ff4d6d
    );

    border: none;

    padding: 16px 40px;

    border-radius: 12px;

    font-weight: 700;

    font-size: 1.05rem;

    box-shadow:
        0 12px 30px rgba(255,45,85,0.25);

    transition: all .3s ease;
}

.consultation-card .btn-danger:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(255,45,85,0.35);
}

.story-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.story-image {
    flex: 0 0 350px;
}

.story-image img {
    width: 100%;
    border-radius: 20px;

    border: 1px solid rgba(255,45,85,0.25);

    box-shadow:
        0 20px 50px rgba(0,0,0,.5),
        0 0 30px rgba(255,45,85,.1);
}

.story-content {
    flex: 1;
}

.story-content p {
    color: #c8cdd6;
    line-height: 1.8;
    margin-bottom: 24px;
}

.story-highlight {
    color: #ff2d55;
    font-size: 1.5rem;
    font-weight: 700;

    margin: 35px 0;
    padding-left: 20px;

    border-left: 4px solid #ff2d55;
}

@media (max-width: 992px) {

    .story-layout {
        flex-direction: column;
    }

    .story-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================
   PRIVACY POLICY
========================================== */

.privacy-section {
    padding: 120px 0;
}

.privacy-date {

    display: inline-block;

    margin-top: 25px;

    padding: 12px 24px;

    border-radius: 50px;

    background: rgba(255,45,85,.08);

    border: 1px solid rgba(255,45,85,.25);

    color: #ff2d55;

    font-weight: 600;
}

.privacy-card {

    background: var(--card-bg);

    backdrop-filter: blur(15px);

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    padding: 60px;

    box-shadow: var(--shadow);

    max-width: 1000px;

    margin: 0 auto;

    position: relative;

    overflow: hidden;
}

/* RED GLOW */

.privacy-card::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    top: -200px;
    right: -150px;

    background: rgba(255,45,85,.08);

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.policy-block {

    padding-bottom: 35px;

    margin-bottom: 35px;

    border-bottom: 1px solid rgba(255,255,255,.06);
}

.policy-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-block h2 {

    color: #ff2d55;

    font-size: 1.6rem;

    margin-bottom: 18px;

    font-weight: 700;
}

.policy-block p,
.policy-block li {

    color: #c8cdd6;

    line-height: 1.9;
}

.policy-block ul {

    padding-left: 20px;
}

.contact-panel {

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,45,85,.15);

    border-radius: 18px;

    padding: 30px;
}

.contact-panel h3 {

    color: white;

    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .privacy-card {
        padding: 35px;
    }

    .policy-block h2 {
        font-size: 1.3rem;
    }
}

/* ==========================================
   CONTACT PAGE
========================================== */

.contact-info-card {

    background: var(--card-bg);

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    padding: 40px;

    height: 100%;

    backdrop-filter: blur(15px);

    box-shadow: var(--shadow);

    position: relative;

    overflow: hidden;
}

.contact-info-card::before {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -100px;
    right: -100px;

    background: rgba(255,45,85,.08);

    border-radius: 50%;

    filter: blur(60px);
}

.contact-info-card h2 {

    color: #ff2d55;

    margin-bottom: 35px;

    font-weight: 700;
}

.contact-item {

    margin-bottom: 35px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.contact-item:last-child {

    margin-bottom: 0;

    border-bottom: none;
}

.contact-item h5 {

    color: #ff2d55;

    font-size: .9rem;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.contact-item p {

    color: #c8cdd6;

    margin: 0;
}

.legal-disclaimer {

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,45,85,.15);

    border-radius: 18px;

    padding: 25px;

    display: flex;

    gap: 15px;

    align-items: flex-start;

    color: #c8cdd6;

    line-height: 1.7;
}

.legal-disclaimer input {

    margin-top: 6px;

    transform: scale(1.2);
}

.legal-disclaimer a {

    color: #ff2d55;

    text-decoration: none;
}

.legal-disclaimer a:hover {

    color: #ff5d7d;
}

.feedbackPanel {

    color: #ffffff;

    background: rgba(0,255,100,.1);

    border: 1px solid rgba(0,255,100,.2);

    border-radius: 12px;

    padding: 15px;

    margin-bottom: 25px;
}

@media (max-width: 992px) {

    .contact-info-card {

        margin-bottom: 30px;
    }
}

body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
}