/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --bg-main: #09090b;
    --bg-darker: #000000;
    --bg-card: rgba(24, 24, 27, 0.8);
    --bg-glass: rgba(9, 9, 11, 0.85);

    /* Updated to match Digital BVR Logo Orange-Red */
    --accent-primary: #eb4d27; 
    --accent-hover: #cc401f;
    --accent-glow: rgba(235, 77, 39, 0.4);

    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(235, 77, 39, 0.3);

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
.bg-darker { background-color: var(--bg-darker); }
.text-center { text-align: center; }
.d-flex { display: flex; align-items: center; gap: 1rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }

.accent { color: var(--accent-primary); }
.highlight { 
    background: linear-gradient(90deg, #eb4d27, #f78166);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

/* Logos */
.header-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff; /* Changed from black to white for contrast on red/orange */
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.glow-btn {
    box-shadow: 0 0 20px var(--accent-glow);
}
.glow-btn:hover {
    box-shadow: 0 0 30px rgba(235, 77, 39, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.block-btn { width: 100%; }

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(9, 9, 11, 0.4);
    transition: var(--transition);
    padding: 1.25rem 0;
}
.header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.3;
}
.desktop-nav a:hover {
    color: var(--text-primary);
}

.badge {
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    background: none;
    border: none;
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-glass);
        backdrop-filter: blur(16px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    .desktop-nav.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-cta {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 12rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(235, 77, 39, 0.15), transparent 40%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-bullets {
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .hero-bullets {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 1.05rem;
}
.hero-bullets li i {
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.success-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.success-img {
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.success-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.lbl-b { color: var(--text-muted); font-size: 0.8rem; display: block;}
.lbl-a { color: var(--accent-primary); font-size: 0.8rem; display: block;}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */
.trust-strip {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-darker);
    padding: 3rem 0;
}

.trust-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .trust-inner { gap: 4rem; justify-content: space-between; }
}

.metric {
    text-align: center;
}
.metric h4 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.metric p {
    color: var(--text-muted);
    font-weight: 500;
}

.trust-line {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .programs-grid { grid-template-columns: 1fr 1fr; }
}

.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}
.program-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-5px);
}

.program-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.program-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.program-duration {
    display: inline-block;
    background: rgba(235, 77, 39, 0.1);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.program-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.program-highlights i {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.program-goal {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.program-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.program-actions .btn { flex: 1; min-width: 140px;}

/* ==========================================================================
   Modules Section
   ========================================================================== */
.modules-highlight-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.pill-highlight {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.module-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}
.module-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-primary);
}
.m-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Outcomes & Mentor & Logos
   ========================================================================== */
.outcomes-metrics, .twin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .outcomes-metrics { grid-template-columns: 1fr 1fr; }
    .twin-grid { grid-template-columns: 1fr 1fr; }
}
.o-metric {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-subtle);
}
.o-metric h5 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--accent-primary); }

.rounded-glow {
    border-radius: 16px;
    border: 1px solid var(--border-accent);
}

.gallery-caption {
    text-align: center;
    margin-top: -1rem;
    background: var(--bg-card);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
}

.mentor-card {
    display: grid;
    gap: 2rem;
    padding: 3rem;
}
@media (min-width: 768px) {
    .mentor-card { grid-template-columns: 300px 1fr; align-items: center; }
}
.mentor-img {
    border-radius: 12px;
    border: 2px solid var(--border-subtle);
}
.mentor-info h3 { font-size: 2rem; margin-bottom: 0.25rem; }
.mentor-title { color: var(--accent-primary); font-size: 1.1rem; margin-bottom: 1.5rem; }
.mentor-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}
.mentor-list i { color: var(--accent-primary); }

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.brand-box {
    background: rgba(255,255,255,0.05);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    font-weight: 500;
}

/* ==========================================================================
   Testimonials & Spotlights
   ========================================================================== */
.testimo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .testimo-grid { grid-template-columns: 1fr 1fr; }
}

.testimo-card {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 16px;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}
.alt-av { background: #3b82f6; }
.badge-sub { font-size: 0.8rem; color: var(--text-muted); }
.t-story { font-size: 1.1rem; font-style: italic; margin-bottom: 1.5rem; }
.t-journey {
    background: rgba(255,255,255,0.03);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.t-journey .t-before { color: var(--text-muted); margin-bottom: 0.5rem; }
.t-journey .t-after { color: var(--accent-primary); }

.partner-box { padding: 3rem; }
.partner-box p { color: var(--text-secondary); margin: 1rem 0 2rem; }
.spot-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}
.spot-item i { font-size: 2rem; color: #ef4444; }
.spot-item:hover { border-color: var(--border-accent); }

/* ==========================================================================
   Forms & Footer
   ========================================================================== */
.glow-box {
    background: rgba(235, 77, 39, 0.05);
    padding: 4rem 2rem;
    border: 1px solid var(--border-accent);
}
.enq-form-box { max-width: 600px; margin: 0 auto; }
.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    margin-bottom: 1rem;
}
.form-input:focus { outline: none; border-color: var(--accent-primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; gap: 0; } }

.phone-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.phone-input-group .country-select {
    width: 35%;
    margin-bottom: 0;
}
.phone-input-group .phone-input {
    width: 65%;
    margin-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); margin-right: 0.5rem; transition: var(--transition); }
.social-icons a:hover { background: var(--accent-primary); color: #fff; transform: translateY(-3px); }
.footer-links h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links a, .footer-links button { 
    display: block; color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.95rem; 
    background: none; border: none; font-family: inherit; cursor: pointer; text-align: left; padding: 0;
}
.footer-links a:hover, .footer-links button:hover { color: var(--accent-primary); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 2rem; color: var(--text-muted); font-size: 0.9rem; }

/* Responsive animations */
.fade-in, .scale-up { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in { transform: translateY(30px); }
.scale-up { transform: scale(0.95); }
.fade-in.visible, .scale-up.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--bg-main);
    border: 1px solid var(--border-accent);
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}
.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none; border: none;
    line-height: 1;
}
.close-btn:hover { color: var(--text-primary); }

.modal-header {
    margin-bottom: 1.5rem;
}
.modal-header h3 {
    font-size: 1.5rem;
    color: var(--accent-primary);
}
.policy-content {
    max-width: 800px;
}
.policy-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.policy-text h4 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}
