/*
Theme Name: Bootscore Child
Theme URI: https://bootscore.me/
Description: A child theme for the bootScore WordPress theme.
Author: Bootscore
Author URI: https://bootscore.me
Template: bootscore
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bootscore-child
Tags: featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

html {
    scroll-behavior: smooth;
}

/* Global Typography */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Source Code Pro', monospace !important;
}

.section-link {
    opacity: 0.3;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.section-link:hover {
    opacity: 1;
    color: #d2e823 !important;
}

.font-mono-ai {
    font-family: 'Source Code Pro', monospace !important;
}

body {
    background-color: #F8F7FF;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 300 !important;
}

.fw-100 {
    font-weight: 300 !important;
}

.fw-bold,
.fw-black {
    font-weight: 700 !important;
}

.lh-1 {
    line-height: 1.2 !important;
}

.mt-n2 {
    margin-top: -0.8rem !important;
}

.fs-3rem {
    font-size: 3rem !important;
}

.fs-2-5rem {
    font-size: 2.2rem !important;
}

/* 
Add your custom CSS here
*/

/* Custom Navbar Styling */
.navbar {
    padding: 0;
    background-color: transparent !important;
}

.navbar>.container {
    background-color: #d0d0d0 !important;
    padding: 1.5rem 3rem;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

@media (max-width: 991.98px) {
    .navbar>.container {
        background-color: #d0d0d0 !important;
        /* Matching Desktop Light Gray */
        padding: 0.8rem 1.25rem !important;
        border-radius: 30px 30px 0 0 !important;
        width: calc(100% - 30px) !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-bottom: none;
        margin-top: 20px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }

    /* Nav toggler removed from here - moved to consolidated section */
}


.navbar-brand {
    padding: 0;
    margin-right: 0;
}


.brand-text {
    color: #fff !important;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 0.95;
    text-transform: none;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: -0.2px;
}


.brand-text span {
    display: block;
    margin-bottom: 0;
}

/* Main nav link styling consolidated below */


/* Main nav link hover state */
.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* CTA Button Styling (Placeholder) */
.btn-cta-navbar {
    background-color: #d2e823 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0px !important;
    padding: 9px 24px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px 0px #000 !important;
    cursor: default !important;
    pointer-events: none;
    /* No hover effects for placeholder */
}

/* Header layout adjustments */
header#masthead {
    background-color: transparent;
    padding-top: 20px;
}

@media (max-width: 991.98px) {
    header#masthead {
        padding: 30px 0 0;
    }

    .terminal-window {
        padding: 1.5rem 1.25rem 3rem !important;
        border-radius: 0 0 30px 30px !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        width: calc(100% - 30px) !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    .terminal-bar {
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        padding: 8px 15px !important;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    .nav-toggler {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px !important;
        color: #000 !important;
        /* Ensure toggler is visible on light bar */
    }

    .nav-toggler i {
        color: #000 !important;
    }

    .nav-toggler:active,
    .nav-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    /* Offcanvas Custom Styling - Terminal Redesign */
    .offcanvas {
        background-color: #0d0d0d !important;
        /* Richer terminal black */
        color: #fff !important;
        width: 320px !important;
        border-left: 4px solid #FAD02E !important;
        /* Border on the left side where it meets the page */
        box-shadow: -10px 0 0 rgba(0, 0, 0, 0.4) !important;
    }

    .offcanvas-header {
        background-color: #1a1a1a !important;
        /* Neutral dark header */
        border-bottom: 2px solid #FAD02E !important;
        padding: 1rem 1.25rem !important;
    }

    .offcanvas-title {
        color: #FAD02E !important;
        font-weight: 700 !important;
        text-transform: lowercase;
        letter-spacing: 1px;
        font-size: 0.9rem !important;
    }

    .offcanvas-title::before {
        content: '~/';
        opacity: 0.5;
    }

    .btn-close {
        background-color: #ff5f56 !important;
        /* Red dot style close button */
        border-radius: 50% !important;
        opacity: 1 !important;
        width: 12px !important;
        height: 12px !important;
        padding: 6px !important;
        background-image: none !important;
        position: relative;
        border: none !important;
        transition: transform 0.2s ease;
    }

    .btn-close::after {
        content: '×';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #000;
        font-size: 14px;
        font-weight: bold;
    }

    .btn-close:hover {
        transform: scale(1.2);
    }

    .offcanvas-body {
        padding: 2.5rem 1.25rem !important;
    }

    .offcanvas-body .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .offcanvas-body .navbar-nav .nav-link {
        color: #fff !important;
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
        text-transform: lowercase;
        display: flex;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .offcanvas-body .navbar-nav .nav-link::before {
        content: './';
        color: #FAD02E;
        margin-right: 12px;
        font-weight: bold;
        opacity: 0.6;
    }

    .offcanvas-body .navbar-nav .nav-link:hover,
    .offcanvas-body .navbar-nav .nav-link:active {
        color: #d2e823 !important;
        padding-left: 15px !important;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .offcanvas-body .navbar-nav .nav-link:hover::before {
        opacity: 1;
    }

    .offcanvas-body .navbar-nav .dropdown-menu {
        background-color: #111;
        border: 2px solid #222;
        padding: 0.5rem 1rem;
        margin-top: 0;
        border-radius: 0;
    }

    .offcanvas-body .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 0.8rem 0;
        font-size: 1rem;
        text-transform: lowercase;
    }

    .offcanvas-body .navbar-nav .dropdown-item:hover {
        color: #d2e823 !important;
        background: transparent;
    }
}

/* Global Navbar and Offcanvas Fixes */
.offcanvas {
    z-index: 10000 !important;
}

.offcanvas-backdrop {
    z-index: 9999 !important;
}

@media (max-width: 575.98px) {
    .brand-text {
        font-size: 1.3rem;
    }

    .navbar>.container {
        padding: 0.8rem 1rem;
    }
}

/* Header Banner Styling - Terminal Look */
.header-banner {
    margin-top: -1px;
    overflow: hidden;
    font-family: 'Source Code Pro', monospace !important;
}

.terminal-window {
    background-color: #000 !important;
    padding: 100px 3rem 2rem !important;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
}

.terminal-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

/* Terminal Navbar Styling */
.terminal-navbar-container {
    background: rgba(43, 14, 107, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 20px;
    margin-top: 15px;
    position: relative;
    /* overflow: hidden removed to prevent menu clipping */
    z-index: 100 !important;
}

/* Terminal brand tab styling consolidated below */


.terminal-brand-tab:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Terminal nav links consolidated below */


/* Nav link hover state - focused */
.navbar-nav .nav-link:hover {
    opacity: 1;
    color: #d2e823 !important;
}

.navbar-nav .nav-link::before {
    content: './';
    opacity: 0.4;
    margin-right: 2px;
}

.navbar-transparent {
    background: transparent !important;
    padding-top: 0;
    /* Space from top of page minimized */
    padding-bottom: 0;
}

.terminal-navbar-container,
.terminal-window {
    max-width: 1320px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.terminal-navbar-container {
    background: #e0e0e0 !important;
    /* Lighter terminal gray for better visibility */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    height: auto;
    min-height: 60px;
    z-index: 1000 !important;
    display: flex;
    align-items: center;
}

/* Desktop Menu items styling */
.desktop-menu-wrapper {
    margin: 0 auto;
}

.desktop-menu-wrapper .navbar-nav {
    gap: 0.5rem !important;
    /* Tighter gap for terminal feel */
}

/* Nav links refinements */
.navbar-nav .nav-link {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 0.85rem !important;
    /* Slightly smaller for terminal look */
    font-weight: 500 !important;
    color: #333 !important;
    padding: 6px 15px !important;
    text-transform: lowercase;
    transition: all 0.2s ease;
    border-radius: 4px;
    position: relative;
    z-index: 1;
    /* Ensure text stays above ::after */
    white-space: nowrap !important;
}

.navbar-nav .nav-link::before {
    content: './';
    opacity: 0.4;
    margin-right: 2px;
}

/* The terminal selection block background */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #000;
    z-index: -1;
    transition: width 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Desktop Hover States */
@media (min-width: 992px) {
    .navbar-nav .nav-link:hover {
        color: #fff !important;
        /* Padding stabilized to prevent jumping */
        padding-left: 15px !important;
        padding-right: 20px !important;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
        border-right: 4px solid #d2e823;
        /* Terminal cursor block */
        animation: nav-cursor-blink 0.8s steps(2) infinite;
    }
}


@keyframes nav-cursor-blink {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: #d2e823;
    }
}

/* Active State (WordPress current menu item) */
.navbar-nav .current-menu-item .nav-link,
.navbar-nav .active .nav-link {
    color: #d2e823 !important;
    background-color: rgba(0, 0, 0, 0.9);
}

.navbar-nav .current-menu-item .nav-link::after,
.navbar-nav .active .nav-link::after {
    width: 100%;
}

/* Button Refinement (Placeholder) */
.btn-cta-navbar {
    font-size: 0.8rem !important;
    padding: 9px 24px !important;
    white-space: nowrap;
    border-radius: 0px !important;
    background-color: #d2e823 !important;
    border: 2px solid #000 !important;
    color: #000 !important;
    font-weight: 700 !important;
    box-shadow: 4px 4px 0px 0px #000 !important;
    transition: all 0.2s ease;
    cursor: default !important;
    pointer-events: none;
}

.terminal-brand-tab {
    background: #ffffff !important;
    /* Solid white tab for contrast */
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #FAD02E !important;
    padding: 11px 15px !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.05);
}

.terminal-brand-tab .brand-text {
    color: #111 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    font-family: 'Source Code Pro', monospace !important;
}

.terminal-brand-tab .brand-text span::after {
    content: '_';
    color: #d2e823;
    margin-left: 4px;
    font-weight: bold;
    animation: nav-cursor-blink 1s steps(2) infinite;
}








.terminal-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Hide navigation from the bottom terminal to keep it clean */
.terminal-window .terminal-bar {
    height: 35px;
}

/* Typography from Screenshot */
.banner-content-wrapper {
    position: relative;
    z-index: 10;
}

.hi-text {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #d2e823 !important;
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: #d2e823;
    vertical-align: middle;
    animation: terminal-blink 1s steps(2) infinite;
    margin-left: 4px;
}

@keyframes terminal-blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.banner-title {
    font-size: clamp(2.5rem, 5vw, 2.8rem) !important;
    font-family: 'Source Code Pro', monospace !important;
    font-weight: 300 !important;
    margin-top: 10px;
    position: relative;
    display: block;
    line-height: 1;
}

.banner-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 180px;
    height: 3px;
    background-color: #d2e823;
}

.banner-bio p {
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 800px;
    margin-top: 2.5rem;
    letter-spacing: 0.1px;
}

/* Hero Center Content */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-person-img {
    width: 400px;
    max-width: none;
    z-index: 5;
    position: relative;
    transform: translateX(0);
}

.hero-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: -1;
}

.hero-logos-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    /* Above the circle's background */
}

.hero-logo {
    position: absolute;
    width: 65px;
    height: auto;
    object-fit: contain;
    opacity: 1.2;
    /* Subtle watermark as requested */
    filter: brightness(0) invert(1);
    /* Pure White */
    transition: all 0.3s ease;
    --base-x: 0px;
    --base-y: 0px;
    transform: translate(var(--base-x), var(--base-y));
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translate(var(--base-x), var(--base-y));
    }

    50% {
        transform: translate(calc(var(--base-x) + 5px), calc(var(--base-y) - 10px));
    }
}

/* Individual positions for 8 logos */
.logo-1 {
    top: 3%;
    left: 44%;
    --base-x: -50%;
    animation-delay: 0s;
    width: 80px;
}

/* OpenAI - Top */
.logo-2 {
    top: 21%;
    left: 14%;
    animation-delay: 0.5s;
    width: 70px;
}

/* Ai text - Top Left */
.logo-3 {
    top: 16%;
    left: 70%;
    animation-delay: 1s;
    width: 65px;
}

/* ML - Top Right */
.logo-4 {
    top: 40%;
    left: 75%;
    animation-delay: 1.5s;
    width: 65px;
}

/* Head AI - Right */
.logo-5 {
    top: 48%;
    left: 8%;
    animation-delay: 2s;
    width: 65px;
}

/* AI icon - Left */
.logo-6 {
    top: 74%;
    left: 76%;
    animation-delay: 2.5s;
    width: 60px;
}

/* Anthropic - Bottom Right */
.logo-7 {
    top: 86%;
    left: 50%;
    --base-x: -50%;
    animation-delay: 3s;
    width: 55px;
}

/* Claude icon - Bottom */
.logo-8 {
    top: 72%;
    left: 11%;
    animation-delay: 3.5s;
    width: 70px;
}

/* Bot icon - Bottom Left */

@media (max-width: 991.98px) {
    .hero-bg-circle {
        width: 380px;
        /* Increased size */
        height: 380px;
        top: 50%;
        background-color: rgba(255, 255, 255, 0.25) !important;
        /* More visible */
    }

    .hero-logo {
        width: 45px !important;
        /* Slightly larger */
        opacity: 0.6 !important;
        /* Increased visibility as requested */
    }

    /* Responsive center positions for mobile circle */
    .logo-1 {
        top: 5%;
    }

    .logo-2 {
        top: 15%;
        left: 15%;
    }

    .logo-3 {
        top: 15%;
        left: 85%;
        --base-x: -100%;
    }

    .logo-4 {
        top: 45%;
        left: 92%;
        --base-x: -100%;
    }

    .logo-5 {
        top: 45%;
        left: 8%;
    }

    .logo-6 {
        top: 78%;
        left: 80%;
        --base-x: -100%;
    }

    .logo-7 {
        top: 90%;
    }

    .logo-8 {
        top: 78%;
        left: 20%;
    }
}

/* Services and Socials */
.banner-services p {
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 2;
    max-width: 100%;
    margin-top: 1rem;
    opacity: 1 !important;
}

.show-more-link {
    color: #d2e823 !important;
    text-decoration: none;
    font-weight: 600;
}

.banner-socials a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.banner-socials a:hover {
    background: #fff;
    color: #000000 !important;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .hero-person-img {
        width: 100%;
        max-width: 500px;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .header-banner>.container {
        padding: 0.5rem 1.25rem 3rem !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: calc(100% - 30px) !important;
    }

    .banner-intro,
    .banner-bio,
    .banner-services {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .banner-intro {
        margin-bottom: 1.5rem;
    }

    .banner-bio p {
        margin-top: 1.5rem;
    }

    .banner-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-image-wrapper {
        margin-bottom: 3rem;
        order: -1;
        /* Move image to top on mobile */
    }

    .hero-person-img {
        max-width: 100%;
        width: 300px;
        transform: none;
    }

    .banner-socials {
        justify-content: center;
        gap: 0.75rem !important;
        margin-bottom: 3rem !important;
    }

    .banner-socials a {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .banner-bio p {
        margin-top: 1.5rem;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .banner-title {
        font-size: 2.2rem !important;
    }
}

/* Stats and Newsletter Panel Styling */
.stats-newsletter-panel {
    background-color: #F8F7FF;
    color: #000000;
    /* Black font color */
    border: 1px solid #eaeaea;
    border-radius: 30px;
    padding: 2.5rem 3rem;
    margin-top: 0;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    min-height: 200px;
}

.stat-number {
    font-family: 'Bitcount Grid Single', system-ui !important;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 500 !important;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #363636f5 !important;
}

.stat-label {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 0.8rem;
    font-weight: 400;
    color: #000000 !important;
    opacity: 0.6;
    margin-bottom: 0;
}

.stats-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    opacity: 1;
}

/* Newsletter Info Section */
.newsletter-info-wrapper {
    position: relative;
    padding-right: 2rem;
    z-index: 5;
}

.newsletter-bg-icon {
    position: absolute;
    right: -45px;
    top: 0px;
    z-index: -1;
    pointer-events: none;
    transform: rotate(3deg);
}

.newsletter-bg-icon img {
    width: 200px;
    height: auto;
    opacity: 0.05;
    filter: invert(1);
    /* Subdued watermark look on white */
}

.avatar-stack {
    display: flex;
}

.avatar-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color: #eee;
    margin-right: -15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.avatar-item:last-child {
    margin-right: 0;
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars-row i {
    font-size: 1.1rem;
    margin-right: 1px;
}

@media (max-width: 991.98px) {
    .stats-newsletter-panel {
        padding: 1.5rem 1rem !important;
        border-radius: 20px !important;
        margin-bottom: 2rem !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 0.2rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
        line-height: 1.2;
        margin-bottom: 0 !important;
    }

    .stats-row .mb-4 {
        margin-bottom: 1rem !important;
    }

    .stats-divider {
        margin: 1rem 0 !important;
    }


    .newsletter-info-wrapper {
        margin-bottom: 1rem !important;
        text-align: center;
        padding-right: 0 !important;
    }

    .newsletter-headline {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.1 !important;
    }

    .newsletter-headline .highlight {
        padding: 8px 12px !important;
        margin-top: 0 !important;
    }

    .newsletter-bg-icon {
        display: none;
    }

    .social-proof-wrapper {
        margin-top: 1rem !important;
        gap: 1.25rem !important;
        justify-content: center;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap;
        /* Prevent wrapping to keep them side by side */
    }

    .avatar-stack {
        justify-content: center;
        margin-right: 0 !important;
        padding-left: 10px;
    }

    .avatar-item {
        width: 32px !important;
        height: 32px !important;
        border-width: 2px !important;
    }

    .avatar-item:last-child {
        margin-right: 0 !important;
    }

    .stars-row i {
        font-size: 0.85rem !important;
        margin-right: 2px !important;
    }

    .rating-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reviews-label {
        font-size: 0.65rem !important;
    }

    .newsletter-desc {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.4 !important;
        text-align: center;
        opacity: 0.85;
    }

    .newsletter-form-flex {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .newsletter-input,
    .btn-newsletter-submit {
        height: 48px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
    }

    .readers-text {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem !important;
        text-align: center;
    }

    .readers-text span {
        font-size: 1rem !important;
    }

    .newsletter-small-print {
        margin-top: 0.75rem !important;
        line-height: 1.2 !important;
        text-align: center;
        font-size: 0.6rem !important;
    }
}

@media (max-width: 575.98px) {
    .stats-newsletter-panel {
        padding: 1.5rem 1rem !important;
    }

    .newsletter-headline {
        font-size: 1.7rem !important;
    }

    .newsletter-headline .highlight {
        padding: 6px 10px !important;
    }

    .newsletter-desc {
        font-size: 0.8rem !important;
    }
}

/* Newsletter Headline & Highlight Styles */
.newsletter-headline {
    font-family: 'Source Code Pro', monospace !important;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 900 !important;
    line-height: 0.75;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.newsletter-headline .highlight {
    background-color: #d2e823;
    color: #000;
    padding: 13px 15px;
    display: inline-block;
    margin-top: -6px;
    position: relative;
    z-index: 2;
}

.readers-text {
    font-size: 1rem;
    color: #000;
    opacity: 0.8;
}

.readers-text span {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 1.1rem;
}

.newsletter-desc {
    font-size: clamp(1rem, 1.5vw, 1rem);
    line-height: 1.8;
}

.newsletter-input {
    background-color: transparent !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
    padding: 12px 20px !important;
    height: 52px !important;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

.btn-newsletter-submit {
    background-color: #d2e823 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    padding: 0 35px !important;
    height: 52px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease;
    white-space: nowrap !important;
    box-shadow: 4px 4px 0px 0px #000 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-newsletter-submit:hover {
    background-color: #d2e823 !important;
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px 0px #000 !important;
}

.btn-newsletter-submit:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px #000 !important;
}

/* Black Theme Overrides for Bottom Newsletter */
.stats-newsletter-panel.panel-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #333 !important;
}

.panel-black .newsletter-headline {
    color: #ffffff !important;
}

.panel-black .readers-text,
.panel-black .newsletter-desc,
.panel-black .stat-label,
.panel-black .reviews-label {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.panel-black .stat-number {
    color: #d2e823 !important;
}

.panel-black .newsletter-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    box-shadow: 4px 4px 0px 0px rgba(210, 232, 35, 0.2) !important;
}

.panel-black .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.panel-black .newsletter-bg-icon img {
    filter: invert(0) !important;
    opacity: 0.1 !important;
}

.panel-black .avatar-item {
    border: 2px solid #000 !important;
}

.panel-black .newsletter-small-print {
    color: rgba(255, 255, 255, 0.7) !important;
}

.newsletter-small-print {
    font-size: 0.75rem !important;
    max-width: 100%;
}

/* Removed redundant media query */

/* Logo Showcase Styling */
.logo-showcase-container {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-logos {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 60px;
    /* Space between logos in sliding row */
    padding-right: 60px;
}

.showcase-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.showcase-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes showcase-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .logo-showcase-container {
        margin-top: 2rem !important;
    }

    .marquee-logos {
        animation: showcase-scroll 20s linear infinite;
        /* Only scroll on mobile */
    }

    .showcase-logo {
        max-height: 45px !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767.98px) {
    .logo-showcase-container {
        margin-top: 1.5rem !important;
    }

    .marquee-logos {
        gap: 40px;
        /* Tighter gap on smaller screens */
        padding-right: 40px;
        animation-duration: 15s;
    }

    .marquee-logos-item {
        min-height: 80px;
        display: flex;
        align-items: center;
    }
}

/* How May I Help You Section */
.help-section {
    background-color: #F8F7FF;
    padding: 100px 0;
}

/* Typing Animation Utility */
.typing-effect {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 12px solid #d2e823;
    width: 0;
    max-width: 100%;
    animation: typing-kb 8s steps(var(--steps, 20), end) infinite,
        blink-caret 0.75s step-end infinite;
}

@keyframes typing-kb {
    0% {
        width: 0;
    }

    30% {
        width: calc(var(--chars, 20) * 1ch);
    }

    80% {
        width: calc(var(--chars, 20) * 1ch);
    }

    95% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #d2e823;
    }
}

.help-title {
    font-size: 2.2rem !important;
    line-height: 1.2;
    color: #000;
    font-weight: 300 !important;
    margin-bottom: 0;
    font-family: 'Source Code Pro', monospace !important;
}

.help-title .fw-black {
    font-weight: 700 !important;
    display: contents;
}

/* New Service Console Styling */
.service-console {
    width: 100%;
    background: #fff;
    border: 2px solid #000;
    box-shadow: 8px 8px 0px 0px #000;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}

.console-header {
    background-color: #E6E6E6;
    height: 38px;
    border-bottom: 2px solid #000;
}

.window-controls .control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.window-controls .control-dot:nth-child(1) {
    background-color: #FF5F56;
}

.window-controls .control-dot:nth-child(2) {
    background-color: #FFBD2E;
}

.window-controls .control-dot:nth-child(3) {
    background-color: #27C93F;
}

.service-item {
    min-height: 320px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: var(--bg-pos, center 20%);
    /* Custom focal point with fallback */
    opacity: 0.4;
    /* More visible initially */
    filter: grayscale(0%);
    /* Colors enabled initially */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-item:hover {
    background-color: #000;
}

.service-item:hover .service-item-bg {
    opacity: 0.7;
    /* 100% visible relative to the theme's dark overlay style */
    filter: grayscale(0%);
    transform: scale(1.1);
}

.service-item:hover .service-name,
.service-item:hover .service-desc {
    color: #fff !important;
}

.service-item:hover .service-id {
    color: #d2e823 !important;
}

.service-id {
    color: #d2e823;
    background-color: #00000066;
    padding: 6px 14px;
    display: block;
    width: fit-content;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: -24px;
}

.service-name {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    transition: color 0.3s ease;
}

.service-desc {
    font-size: 1.1rem;
    transition: color 0.3s ease;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .service-console {
        margin-left: 0;
        margin-right: 0;
    }

    .service-item {
        min-height: 260px;
        padding: 30px !important;
    }

    .service-name {
        font-size: 1.4rem !important;
    }

    .service-desc {
        font-size: 1rem;
    }

    /* Fix missing borders in service grid on mobile */
    .service-console .col-md-6 {
        border-right: none !important;
        border-bottom: 2px solid #000 !important;
    }

    /* Remove bottom border from the last item of the console to avoid double border with console frame */
    .service-console .row:last-child .col-md-6:last-child {
        border-bottom: none !important;
    }

    /* Remove the row container's border-bottom to avoid weird stacking */
    .service-console .row.g-0.border-bottom {
        border-bottom: none !important;
    }
}

@media (max-width: 767.98px) {
    .service-id {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* About Section Styling */
.about-section {
    position: relative;
    background-color: #F8F7FF;
}

.about-console {
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    position: relative;
}

.about-console .console-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-console .console-header .console-title {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.about-hey-text {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 300 !important;
    line-height: 1.1;
    color: #fff;
    font-family: 'Source Code Pro', monospace !important;
}

.about-biography p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
    font-family: 'Source Code Pro', monospace !important;
}

.console-divider {
    border: none !important;
    border-bottom: 2px dashed rgba(210, 232, 35, 0.4) !important;
    height: 1px;
    width: 100%;
    opacity: 1 !important;
}

.command-line {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.prompt {
    font-weight: 600;
}

/* Image Windows */
.about-image-stack {
    height: 100%;
    min-height: 500px;
    position: relative;
}

.image-window {
    position: absolute;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    width: 280px;
}

.image-window-header {
    background: #333;
    padding: 8px 12px;
    height: 30px;
    display: flex;
    align-items: center;
}

.image-window-header .dots {
    display: flex;
    gap: 6px;
}

.image-window-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.about-img-new {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(0.9);
}

.window-1 {
    top: 0;
    right: 0;
    transform: rotate(5deg);
    z-index: 2;
}

.window-2 {
    bottom: 0;
    left: 0;
    transform: rotate(-8deg);
    z-index: 1;
}

.image-window:hover {
    transform: translateY(-10px) rotate(0deg) scale(1.05);
    z-index: 10;
    border-color: #d2e823;
}

.image-window:hover .image-window-header .dots span:nth-child(1) {
    background-color: #ff5f56;
}

.image-window:hover .image-window-header .dots span:nth-child(2) {
    background-color: #ffbd2e;
}

.image-window:hover .image-window-header .dots span:nth-child(3) {
    background-color: #27c93f;
}

/* Book Section */
.book-terminal-frame {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    display: inline-block;
}

.book-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 400 !important;
    color: #fff;
    font-family: 'Source Code Pro', monospace !important;
    letter-spacing: -0.5px;
}

.book-description p {
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.8;
    font-family: 'Source Code Pro', monospace !important;
}

.btn-terminal {
    background-color: #d2e823 !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    font-family: 'Source Code Pro', monospace !important;
    font-weight: 900 !important;
    border-radius: 0px !important;
    transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 5px 5px 0px 0px #000 !important;
}

.btn-terminal:hover {
    background-color: #d2e823 !important;
    color: #000 !important;
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px 0px #000 !important;
}

@media (max-width: 991.98px) {
    .about-image-stack {
        display: none !important;
    }
}


/* Brand Collaboration Section */
.brand-collaboration-section {
    background-color: #F8F7FF;
    padding: 80px 0;
}

.collaboration-title {
    font-family: 'Source Code Pro', monospace !important;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 300 !important;
    color: #000;
    line-height: 1.1;
}

.collaboration-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    opacity: 1;
    max-width: 100%;
    font-weight: 400;
    font-family: 'Source Code Pro', monospace !important;
}

.logo-marquee-wrapper {
    position: relative;
    width: 100%;
}

.logo-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 150px;
    margin-bottom: 4rem !important;
    /* Increased row gap even further */
}

.marquee-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 150px;
    /* Increased item gap */
    min-width: 100%;
    animation: scroll 120s linear infinite;
    /* Much slower for elegant look */
}

.logo-marquee:hover .marquee-group {
    animation-play-state: paused;
}

.marquee-group img {
    height: 42px;
    /* Standardize height slightly smaller */
    max-width: 160px;
    /* Prevent very wide logos from looking oversized */
    width: auto;
    object-fit: contain;
    /* Ensure logos are fully visible within the bounding box */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.12));
    opacity: 1;
    transition: all 0.3s ease;
}

.marquee-group img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 150px));
    }
}

/* Secondary Marquee (Opposite direction) */
.logo-marquee.marquee-reverse .marquee-group {
    animation: scroll-reverse 120s linear infinite;
}

@keyframes scroll-reverse {
    from {
        transform: translateX(calc(-100% - 150px));
    }

    to {
        transform: translateX(0);
    }
}

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

    .logo-marquee {
        margin-bottom: 1.5rem !important;
        gap: 80px;
    }

    .marquee-group {
        gap: 80px;
        animation-duration: 60s;
        /* Faster on mobile since screen is small */
    }

    .marquee-group img {
        height: 45px !important;
    }

    @keyframes scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-100% - 80px));
        }
    }

    @keyframes scroll-reverse {
        from {
            transform: translateX(calc(-100% - 80px));
        }

        to {
            transform: translateX(0);
        }
    }
}


/* Public Speaking Section */
.public-speaking-section {
    background-color: #F8F7FF;
    padding: 100px 0;
}

.video-container {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

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

    .video-container {
        border-radius: 30px;
    }
}


/* Courses Section Styling */
.courses-section {
    background-color: #F8F7FF;
    padding: 100px 0;
}

.course-item {
    width: 400px;
    max-width: 85vw;
}

.course-card-new {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 10px 10px 0px 0px #000;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.course-card-new:hover {
    transform: translate(-4px, -4px);
    box-shadow: 14px 14px 0px 0px #000;
}

.card-window-header {
    background: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #000;
}

.card-window-header .dots {
    display: flex;
    gap: 6px;
}

.card-window-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.course-card-new:hover .card-window-header .dots span:nth-child(1) {
    background: #FF5F56;
    opacity: 1;
}

.course-card-new:hover .card-window-header .dots span:nth-child(2) {
    background: #FFBD2E;
    opacity: 1;
}

.course-card-new:hover .card-window-header .dots span:nth-child(3) {
    background: #27C93F;
    opacity: 1;
}

.window-label {
    color: #d2e823;
    font-size: 0.75rem;
    opacity: 0.8;
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-bottom: 3px solid #000;
}

.course-img-new {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed to contain to respect workshop poster aspect ratios */
    transition: transform 0.5s ease;
}

.course-card-new:hover .course-img-new {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #d2e823;
    color: #000;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    border: 2px solid #000;
}

.course-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #000;
    color: #fff;
}

.course-title-new {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.course-desc-new {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.btn-course-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d2e823 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-course-action .prompt {
    font-weight: 900;
}

.btn-course-action:hover {
    gap: 12px;
    color: #fff !important;
}

.slider-controls .btn-outline-purple {
    width: 45px;
    height: 45px;
    border: 3px solid #000 !important;
    color: #000 !important;
    background: #fff !important;
    box-shadow: 4px 4px 0px 0px #000;
    transition: all 0.2s ease;
    border-radius: 0;
}

.slider-controls .btn-outline-purple:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px #000;
    background: #d2e823 !important;
}

.slider-controls .btn-outline-purple:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px #000;
}


/* Courses Slider Styling */
.courses-scroller-wrapper {
    margin: 0 -10px;
}

.courses-scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scroll-snap-type: x mandatory;
    padding: 20px 15px 40px;
    scroll-behavior: smooth;
    cursor: grab;

    /* Base padding for mobile */
    padding-left: 1rem;
    padding-right: 1rem;
    scroll-padding-left: 1rem;
}

@media (min-width: 576px) {
    .courses-scroller {
        padding-left: calc((100vw - 540px) / 2 + 12px);
        padding-right: calc((100vw - 540px) / 2);
        scroll-padding-left: calc((100vw - 540px) / 2 + 12px);
    }
}

@media (min-width: 768px) {
    .courses-scroller {
        padding-left: calc((100vw - 720px) / 2 + 12px);
        padding-right: calc((100vw - 720px) / 2);
        scroll-padding-left: calc((100vw - 720px) / 2 + 12px);
    }
}

@media (min-width: 992px) {
    .courses-scroller {
        padding-left: calc((100vw - 960px) / 2 + 12px);
        padding-right: calc((100vw - 960px) / 2);
        scroll-padding-left: calc((100vw - 960px) / 2 + 12px);
    }
}

@media (min-width: 1200px) {
    .courses-scroller {
        padding-left: calc((100vw - 1140px) / 2 + 12px);
        padding-right: calc((100vw - 1140px) / 2);
        scroll-padding-left: calc((100vw - 1140px) / 2 + 12px);
    }
}

@media (min-width: 1400px) {
    .courses-scroller {
        padding-left: calc((100vw - 1320px) / 2 + 12px);
        padding-right: calc((100vw - 1320px) / 2);
        scroll-padding-left: calc((100vw - 1320px) / 2 + 12px);
    }
}

.courses-scroller:active {
    cursor: grabbing;
}


.courses-scroller::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}


.course-item {
    width: 350px;
    /* Fixed width for manual scroll items */
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .course-item {
        width: 300px;
    }
}

@media (max-width: 767.98px) {
    .course-item {
        width: 270px;
    }
}

.btn-outline-purple {
    border: 2px solid #000 !important;
    color: #000 !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background-color: #d2e823 !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 232, 35, 0.2);
}


.slider-controls button i {
    font-size: 1.1rem;
}

/* Footer Styling */
.site-footer {
    background-color: #F8F7FF;
    color: #000;
    font-family: 'Source Code Pro', monospace !important;
}

.footer-brand-logo .brand-text {
    font-size: 1.8rem !important;
    /* Matches header size now */
    color: #000 !important;
    font-family: 'Source Code Pro', monospace !important;
}

.footer-brand-logo .brand-text span {
    display: block;
    line-height: 0.95;
}


.footer-intro-text {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background-color: #000;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: #fff !important;
    opacity: 0.9;
}

.footer-email-link {
    color: #000 !important;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-email-link:hover {
    opacity: 0.7;
}

.footer-contact-info i {
    font-size: 1.3rem;
    color: #333;
}

.footer-cta-btn {
    background-color: #d2e823 !important;
    color: #000 !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    padding: 14px 30px !important;
    font-size: 0.95rem;
    border: 2px solid #000 !important;
    box-shadow: 4px 4px 0px 0px #000 !important;
    transition: all 0.2s ease;
    cursor: default !important;
    pointer-events: none;
    /* No hover effects for placeholder */
}

.footer-copyright-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.section-divider {
    border-color: #000 !important;
}

@media (max-width: 991.98px) {
    .footer-brand-text {
        font-size: 1.8rem;
    }

    .footer-intro-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .footer-social-icons {
        justify-content: flex-start;
    }

    .footer-contact-info {
        justify-content: flex-start;
    }
}

/* Section Anchor Links */
.section-link {
    font-size: 0.7em;
    color: inherit;
    text-decoration: none !important;
    opacity: 0;
    transition: all 0.3s ease;
    margin-left: 10px;
    font-weight: 300;
    vertical-align: middle;
}

h1:hover .section-link,
h2:hover .section-link,
h3:hover .section-link,
.brand-text:hover .section-link {
    opacity: 0.4;
}

.section-link:hover {
    opacity: 1 !important;
}

/* Ensure headings and brand-text have relative position for link baseline if needed */
h1,
h2,
h3,
.brand-text {
    position: relative;
    display: inline-block;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #000;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: #d2e823;
    /* Match your neon color */
    color: #000 !important;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(210, 232, 35, 0.5);
}

@media (max-width: 767.98px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

/* YouTube Section Styling */
.youtube-section {
    background-color: #F8F7FF;
}

.youtube-card-new {
    background: #fff;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px 0px #000;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.youtube-card-link-new:hover .youtube-card-new {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px #000;
}

.youtube-card-new .card-window-header {
    background: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #000;
}

.youtube-card-link-new:hover .card-window-header .dots span:nth-child(1) {
    background: #FF5F56;
    opacity: 1;
}

.youtube-card-link-new:hover .card-window-header .dots span:nth-child(2) {
    background: #FFBD2E;
    opacity: 1;
}

.youtube-card-link-new:hover .card-window-header .dots span:nth-child(3) {
    background: #27C93F;
    opacity: 1;
}

.youtube-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border-bottom: 3px solid #000;
}

.youtube-img-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.youtube-card-link-new:hover .youtube-img-new {
    transform: scale(1.05);
}

.youtube-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF0000;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 2;
    border: 2px solid #000;
}

.youtube-play-overlay-new {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.youtube-card-link-new:hover .youtube-play-overlay-new {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn-terminal {
    background: #d2e823;
    color: #000;
    padding: 8px 15px;
    border: 2px solid #000;
    font-weight: 800;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 4px 4px 0px #000;
}

.youtube-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #000;
    color: #fff;
}

.youtube-title-new {
    font-family: 'Source Code Pro', monospace !important;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 1rem;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-yt-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d2e823;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.youtube-card-link-new:hover .btn-yt-action {
    gap: 12px;
}

.text-yellow {
    color: #d2e823 !important;
}


/* Instagram Section Styling */
.instagram-section {
    background-color: #F8F7FF;
}

.instagram-status-tab {
    opacity: 0.6;
}

.instagram-console {
    background: #000;
    border-radius: 0;
    overflow: hidden;
}

.instagram-console .console-header {
    border-bottom: 2px solid #333;
}

.instagram-console .console-header .control-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.instagram-console:hover .console-header .control-dot:nth-child(1) {
    background: #FF5F56;
}

.instagram-console:hover .console-header .control-dot:nth-child(2) {
    background: #FFBD2E;
}

.instagram-console:hover .console-header .control-dot:nth-child(3) {
    background: #27C93F;
}

.instagram-card-simple {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.instagram-thumb-wrapper-v2 {
    position: relative;
    height: 100%;
    background: #111;
}

.instagram-thumb-v2 {
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.instagram-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(210, 232, 35, 0.9);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.instagram-card-simple:hover .instagram-hover-overlay {
    opacity: 1;
}

.instagram-card-simple:hover img {
    transform: scale(1.05);
}

.border-3-black {
    border: 3px solid #000 !important;
}

.shadow-brutal {
    box-shadow: 15px 15px 0px 0px #000 !important;
}

/* Modern Instagram Mixed Grid (Bento Style) */
.instagram-mixed-grid {
    display: flex;
    flex-wrap: wrap;
    background: #000;
}

.instagram-grid-item {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.instagram-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

@media (min-width: 992px) {
    .instagram-mixed-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        border: 2px solid #000;
    }

    .ig-item-standard {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 991px) {
    .instagram-mixed-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding-bottom: 5px;
    }

    .instagram-mixed-grid::-webkit-scrollbar {
        height: 3px;
    }

    .instagram-mixed-grid::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 10px;
    }

    .ig-item-featured,
    .ig-item-standard {
        flex: 0 0 85% !important;
        /* Shows 85% of one post and 15% of the next */
        width: 85% !important;
        aspect-ratio: 1 / 1;
        scroll-snap-align: center;
    }
}

@media (max-width: 575px) {
    .ig-item-standard {
        width: 100%;
    }
}

.instagram-thumb-wrapper-v2 {
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
}

/* Slider Navigation Arrows (Mobile Only) */
.ig-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ig-nav-btn:hover {
    background: #000;
    border-color: #fff;
}

.ig-nav-prev {
    left: 10px;
}

.ig-nav-next {
    right: 10px;
}

@media (min-width: 992px) {
    .ig-nav-btn {
        display: none !important;
    }
}

/* --- Mobile View Corrections --- */
@media (max-width: 991.98px) {

    /* Fix Typing Effect Overflow */
    .typing-effect {
        white-space: normal !important;
        border-right: none !important;
        width: auto !important;
        max-width: 100% !important;
        animation: none !important;
        display: block !important;
    }

    /* Fix Command Line Wrapping */
    .command-line {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
        margin-bottom: 1rem !important;
        height: auto !important;
        display: block !important;
    }

    .command-line .command {
        display: block;
        word-break: break-word;
        opacity: 0.9;
        line-height: 1.4;
    }

    /* Adjust Book Section Typography */
    .book-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-top: 10px;
        margin-bottom: 1rem !important;
    }

    .book-description {
        margin-bottom: 2rem !important;
    }

    .book-description p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem;
    }

    /* Ensure book mockup centers on small screens */
    .book-terminal-frame {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .book-title {
        font-size: 1.35rem !important;
    }
}

.footer-crafted-text a {
    color: inherit;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-crafted-text a:hover {
    color: #d2e823 !important;
}

@media (max-width: 767px) {

    .footer-copyright-text,
    .footer-crafted-text {
        font-size: 0.85rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-page-wrapper {
    background-color: #f8f7ff;
    padding-bottom: 50px;
    min-height: auto !important;
}

.privacy-terminal {
    min-height: 80vh;
    border-radius: 0 0 40px 40px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
    padding-top: 50px !important;
}

.privacy-headline {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 2px;
    border-left: 4px solid #d2e823;
    padding-left: 20px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.policy-section p {
    line-height: 1.8;
    max-width: 800px;
}

.text-purple {
    color: #a855f7 !important;
}

.line-typing {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #d2e823;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
    max-width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #d2e823; }
}

@media (max-width: 991.98px) {
    .privacy-terminal {
        padding: 60px 1.5rem 2.5rem !important;
        border-radius: 0 0 30px 30px !important;
    }
    
    .privacy-headline {
        font-size: 1.6rem;
        padding-left: 15px;
    }

    .policy-grid {
        padding: 0 5px;
    }
}

@media (max-width: 767.98px) {
    .privacy-page-wrapper {
        padding-bottom: 30px;
    }

    .privacy-terminal {
        padding: 45px 1.25rem 1rem !important;
        border-radius: 0 0 24px 24px !important;
        min-height: auto !important;
    }
    
    .privacy-headline {
        font-size: 1.4rem;
        margin-bottom: 2rem !important;
    }

    .command-line {
        font-size: 0.85rem;
    }

    .line-typing {
        white-space: normal; /* Allow wrapping of long paths on small screens */
        animation: none; /* Disable animation for better readability when wrapped */
        border-right: none;
        max-width: 100%;
        word-break: break-all;
    }
    
    .policy-section {
        margin-bottom: 2.5rem !important;
    }
    
    .section-tag {
        font-size: 0.75rem;
    }

    .policy-section h2 {
        font-size: 1.1rem;
    }

    .policy-section p, .policy-section li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .privacy-page-wrapper {
        padding-bottom: 10px !important;
    }

    .btn-terminal, .btn-outline-purple {
        width: 100%;
        text-align: center;
        padding: 12px !important;
    }

    .terminal-footer {
        padding-top: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .terminal-footer .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .prompt {
        white-space: nowrap; /* Prevent user@root:~$ from splitting */
        font-size: 0.75rem;
    }

    .line-typing {
        font-size: 0.75rem;
        width: 100%;
        display: block;
        margin-top: 2px;
    }

    .privacy-headline {
        font-size: 1.15rem !important;
        padding-left: 12px;
        letter-spacing: 1px;
    }
    
    .terminal-footer {
        font-size: 0.65rem;
    }
}