/* VVRC Prime - High Fidelity Dark Theme */

:root {
    --vvrc-bg-dark: #0f1115;
    /* Deeper, slightly blue-tinted black */
    --vvrc-bg-card: #161b22;
    --vvrc-bg-card-hover: #1c2128;
    --vvrc-text-white: #ffffff;
    --vvrc-text-muted: #8b949e;
    --vvrc-accent: #00ce7c;
    /* Brighter neon green */
    --vvrc-accent-hover: #00a664;
    --vvrc-border: #30363d;
    --vvrc-gradient: linear-gradient(135deg, #00ce7c 0%, #00a699 100%);
}

body.vvrc-prime-body {
    background-color: var(--vvrc-bg-dark);
    color: var(--vvrc-text-muted);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--vvrc-text-white);
    letter-spacing: -0.5px;
}

.prime-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    padding-left: 20px;
}

.prime-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 6px;
    background: var(--vvrc-gradient);
    border-radius: 4px;
}

/* Header - Glassmorphism */
.prime-header {
    background-color: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vvrc-border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.prime-nav-link {
    color: var(--vvrc-text-white) !important;
    font-weight: 600;
    margin-right: 25px;
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
}

.prime-nav-link:hover {
    color: var(--vvrc-accent) !important;
}

/* Mega Menu Styles */
.dropdown-toggle::after {
    display: none;
}

.mega-menu {
    border: 1px solid var(--vvrc-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mega-menu-sidebar .nav-link {
    border-radius: 6px;
    padding: 12px 20px;
    transition: all 0.2s;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mega-menu-sidebar .nav-link.active {
    background-color: var(--vvrc-accent) !important;
    color: #000 !important;
    /* Black text on green */
    font-weight: 700;
}

.mega-menu-sidebar .nav-link.active::after {
    content: '\f054';
    /* FontAwesome chevron right */
    font-family: "Font Awesome 6 Pro";
    float: right;
}

.prime-search-bar {
    background-color: #0d1117;
    border: 1px solid var(--vvrc-border);
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 20px 10px 40px;
    color: var(--vvrc-text-white);
    width: 350px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.prime-search-bar:focus {
    outline: none;
    border-color: var(--vvrc-accent);
    box-shadow: 0 0 0 3px rgba(0, 206, 124, 0.15);
}

.btn-prime-login {
    color: var(--vvrc-text-white);
    font-weight: 600;
    margin-right: 20px;
    text-decoration: none;
}

.btn-prime-cta {
    background: var(--vvrc-accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    border: none;
}

.btn-prime-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 206, 124, 0.4);
    color: #fff;
    background: var(--vvrc-accent-hover);
}

/* Hero Section */
.prime-hero-section {
    background-color: var(--vvrc-bg-dark);
}

.prime-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

/* Blob Background */
.hero-blob-bg {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 80%;
    height: 90%;
    background-color: #008765;
    /* Darker green blob */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    opacity: 0.5;
    filter: blur(40px);
}

/* Also add a solid shape to match the image precisely if desired, but blur is safer for dark mode */
.hero-blob-bg {
    /* Replacing with the solid rounded rect look from the user image */
    background: var(--vvrc-accent);
    opacity: 0.1;
    /* Low opacity for dark mode background feel */
    border-radius: 40px;
    transform: rotate(-5deg);
    width: 90%;
    height: 80%;
    top: 10%;
    right: 5%;
    filter: none;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    color: #000;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 2;
    min-width: 150px;
    animation: float 4s ease-in-out infinite;
}

.card-placed {
    top: 15%;
    left: 0;
    animation-delay: 0s;
}

.card-reviews {
    bottom: 10%;
    right: 0;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Cards */
.course-grid-card {
    background-color: var(--vvrc-bg-card);
    border: 1px solid var(--vvrc-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.course-grid-card:hover {
    transform: translateY(-8px);
    border-color: var(--vvrc-accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.course-card-img {
    height: 160px;
    background-color: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--vvrc-border);
}

.course-card-body {
    padding: 25px;
}

.course-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--vvrc-text-white);
}

/* Feature Box */
.why-prime-section {
    padding: 80px 0;
}

.feature-box {
    background: var(--vvrc-bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--vvrc-border);
    transition: all 0.3s;
    height: 100%;
}

.feature-box:hover {
    border-color: var(--vvrc-accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--vvrc-accent);
    margin-bottom: 20px;
}

.feature-box h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

/* Stats / Trust Badges */
.trust-badges span {
    background: rgba(48, 54, 61, 0.5);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--vvrc-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Companies */
.company-grid-item {
    background: var(--vvrc-bg-card);
    border: 1px solid var(--vvrc-border);
    border-radius: 12px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    display: flex;
    /* Ensure flex is active */
    transition: all 0.3s;
}

.company-grid-item:hover {
    border-color: var(--vvrc-text-muted);
    background: #21262d;
}

.company-grid-item img {
    max-width: 70%;
    max-height: 60%;
    filter: grayscale(100%) brightness(1.5);
    /* Make logos look whitish on dark */
    opacity: 0.7;
    transition: all 0.3s;
}

.company-grid-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Footer */
.prime-footer {
    background-color: #050608;
    padding-top: 80px;
    border-top: 1px solid var(--vvrc-border);
}

.footer-links li a {
    color: var(--vvrc-text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: var(--vvrc-accent);
    padding-left: 5px;
}