
    html {
    scroll-behavior: smooth;
}
:root {
            --bg-color: #0f172a;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --accent: #38bdf8;
            --nav-bg: rgba(15, 23, 42, 0.95);
            --border: rgba(255, 255, 255, 0.1);
            --card-bg: #1e293b;
            --input-bg: #0f172a;
            --login-bg: #1e293b; 
            --login-text: #f8fafc;
            --signup-bg: #f8fafc;
            --signup-text: #020617;
            --modal-overlay: rgba(0, 0, 0, 0.85);
            --success: #10b981;
            --sidebar-width: 280px;
        }

        [data-theme="light"] {
            --bg-color: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --accent: #0ea5e9;
            --nav-bg: rgba(255, 255, 255, 0.95);
            --border: rgba(0, 0, 0, 0.08);
            --card-bg: #ffffff;
            --input-bg: #ffffff;
            --login-bg: #e2e8f0; 
            --login-text: #475569;
            --signup-bg: #ffffff;
            --signup-text: #1e293b;
            --modal-overlay: rgba(0, 0, 0, 0.6);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
        body { background: var(--bg-color); color: var(--text-main); transition: 0.3s; min-height: 100vh; overflow-x: hidden; }

        /* Navbar Styles */
        .navbar {
            display: flex; justify-content: space-between; align-items: center;
            padding: 0 8%; height: 75px; background: var(--nav-bg);
            border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000;
            backdrop-filter: blur(10px);
        }
        .logo { font-size: 1.4rem; font-weight: 800; text-decoration: none; color: var(--text-main); }
        .logo span { color: var(--accent); }
        .nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
        .nav-link { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
        
        .dropdown { position: relative; }
        .dropdown-menu {
            position: absolute; top: 100%; left: 0; background: var(--card-bg);
            border: 1px solid var(--border); list-style: none; min-width: 220px;
            display: none; border-radius: 8px; padding: 10px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .dropdown:hover .dropdown-menu { display: block; }
        .dropdown-menu li a { padding: 10px 20px; display: block; text-decoration: none; color: var(--text-muted); font-size: 0.85rem; }

        .nav-right { display: flex; align-items: center; gap: 1rem; }
        .whatsapp-btn { background: #25d366; color: white; padding: 8px 18px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
        .hamburger { display: none; font-size: 1.4rem; cursor: pointer; color: var(--text-main); }


/* Sidebar Container */
.premium-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
}

.premium-sidebar.active {
    left: 0;
}

/* Header & Theme Button */
.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid var(--border);
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.sidebar-logo span {
    color: var(--accent);
}

.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-theme-row-btn i { color: #bf953f; }

/* Navigation Links */
.sidebar-content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.sidebar-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.sidebar-nav-link i:not(.drop-arrow) {
    font-size: 1.1rem;
    color: #bf953f; /* Premium Gold Icon */
    width: 24px;
    text-align: right;
}

/* Dropdowns */
.icon-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drop-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.4s ease;
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin: 0 10px 10px 10px;
}

.sidebar-dropdown-menu.show {
    max-height: 500px;
    padding: 8px 0;
}

.sub-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sub-link:hover {
    color: var(--accent);
    padding-left: 25px;
}

/* WhatsApp Footer */
/* WhatsApp Footer */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.sidebar-whatsapp-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-whatsapp-action:hover { transform: translateY(-2px); }

/* Overlay Styling */
.sidebar-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active { display: block; }



/* Ensure the theme button is visible and high-end */
.sidebar-theme-row-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin-top: 15px; /* Space from logo */
    background: var(--card-bg); /* Uses your card background color */
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important; /* Force display */
    visibility: visible !important;
}

.sidebar-theme-row-btn:hover {
    border-color: #bf953f;
    background: rgba(191, 149, 63, 0.1);
}
/* Unique solid styling specifically for the Courses button */
        .sidebar-nav-link.courses-special-btn {
            background-color: #1e293b !important; /* Rich, dark solid color to stand out */
            color: #38bdf8 !important;            /* Vibrant blue text color to pop */
            border-left: 4px solid #38bdf8 !important; /* Sleek accent strip on the left side */
            border-radius: 4px !important;
            margin: 6px 10px !important;          /* Clean spacing gap above and below */
            padding: 10px 12px !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; /* Lifts it off the background */
            transition: all 0.25s ease-in-out !important;
        }

        /* Changes the icon colors within the courses button */
        .sidebar-nav-link.courses-special-btn .link-label,
        .sidebar-nav-link.courses-special-btn i {
            color: #38bdf8 !important; 
        }

        /* Hover interaction for the courses action button */
        .sidebar-nav-link.courses-special-btn:hover {
            background-color: #0f172a !important; /* Deepens background on hover */
            color: #ffffff !important;            /* Changes text to clean white */
        }
        
        /* Ensures icons also change color on hover */
        .sidebar-nav-link.courses-special-btn:hover .link-label,
        .sidebar-nav-link.courses-special-btn:hover i {
            color: #ffffff !important;
        }
      /* Distinct solid styling for the header navbar Courses button */
        .nav-link.navbar-courses-btn {
            background-color: #1e293b !important;    /* Rich, dark solid color background */
            color: #38bdf8 !important;               /* Vibrant blue text color to pop */
            border-bottom: 3px solid #38bdf8 !important; /* Sleek accent underline indicator */
            border-radius: 4px !important;
            padding: 8px 16px !important;            /* Balanced horizontal spacing */
            margin: 0 4px !important;
            font-weight: 6px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            transition: all 0.25s ease-in-out !important;
        }

        /* Hover interaction for the navbar courses button */
        .nav-link.navbar-courses-btn:hover {
            background-color: #0f172a !important;    /* Deepens background context on hover */
            color: #ffffff !important;               /* Switches text color to solid white */
            border-bottom-color: #ffffff !important; /* Changes accent underline line to white */
        }

        /* Standard hidden drop menu states */
        .navbar-courses-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #1e293b;
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
            border-radius: 4px;
            padding: 6px 0;
            display: none;                          /* Hidden by default */
            z-index: 1000;
        }

        /* Links inside the dropdown box */
        .navbar-courses-dropdown a {
            color: #ffffff;
            padding: 10px 16px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        /* Hover action on item selection */
        .navbar-courses-dropdown a:hover {
            background-color: #0f172a;
            color: #38bdf8;
        }

        /* Hover behavior to reveal panel directly via CSS layout */
        .navbar-courses-container:hover .navbar-courses-dropdown {
            display: block;
        }


/* Icon specifically set to your gold accent */
#theme-icon {
    color: #bf953f !important;
    font-size: 1.1rem;
}

/* Fix for potential text-fill issues from logo styles */
#theme-text {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--text-main);
}

/* Slide-out Button Container */
#support-slide-wrapper {
    position: fixed;
    right: 0;
    /* Changed from 50% to 75% to move it lower */
    top: 75%; 
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* The actual sliding button */
.side-pull-btn {
    display: flex;
    align-items: center;
    /* Updated to use your --accent root color */
    background-color: var(--accent); 
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px 0 0 30px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    /* Slightly softened shadow to match your UI */
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Text inside the button */
.support-label {
    margin-left: 15px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Icon styling */
#user-icon-fixed {
    font-size: 24px;
    min-width: 24px;
    text-align: center;
}

/* Hover Effect */
.side-pull-btn:hover {
    width: 220px;
    /* Slight brightness boost on hover instead of a hardcoded color */
    filter: brightness(1.1); 
}

.side-pull-btn:hover .support-label {
    opacity: 1;
}

@media (max-width: 1300px) {
    .hamburger {
        display: block !important; /* Shows the icon on mobile/tablet */
    }
    .nav-links, .nav-right .whatsapp-btn {
        display: none; /* Hides desktop nav so it doesn't overlap */
    }
}

        /* Footer Styles */
        .tf-elite-footer {
    --tf-bg: #030712; /* Premium Deep Black */
    --tf-accent: #38bdf8; /* Your Blue */
    --tf-text: #f8fafc;
    --tf-muted: #94a3b8;
    --tf-border: rgba(56, 189, 248, 0.1);

    background-color: var(--tf-bg);
    color: var(--tf-text);
    position: relative;
    padding: 100px 0 0 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    border-top: 2px solid var(--tf-accent);
}

/* 3D BACKGROUND GRID */
.tf-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--tf-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--tf-border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.4;
    animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.tf-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 90px;
    position: relative;
    z-index: 10;
}

/* MAIN LAYOUT */
.tf-main-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 80px;
    padding-bottom: 80px;
}

/* HEADINGS & LABELS */
.tf-label {
    color: var(--tf-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 40px; /* High-end spacing */
    position: relative;
    display: inline-block;
}

.tf-label::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--tf-accent);
}

/* LOGO & BRAND */
.tf-logo { font-size: 1.8rem; font-weight: 900; margin-bottom: 30px; }
.tf-logo span { color: var(--tf-accent); }
.tf-summary { color: var(--tf-muted); line-height: 1.8; margin-bottom: 35px; font-size: 0.95rem; }

/* SOCIAL CIRCLES */
.tf-social-row { display: flex; gap: 15px; }
.tf-social-circle {
    width: 38px; height: 38px;
    border: 1px solid var(--tf-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--tf-text);
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.02);
}
.tf-social-circle:hover { background: var(--tf-accent); color: var(--tf-bg); transform: translateY(-5px); border-color: var(--tf-accent); }

/* NAVIGATION ITEMS */
.tf-nav { display: flex; flex-direction: column; gap: 18px; }
.tf-nav-item {
    color: var(--tf-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}
.tf-nav-item:hover { color: var(--tf-accent); transform: translateX(8px); }

/* SUBSCRIPTION BOX */
.tf-update-text { color: var(--tf-muted); margin-bottom: 25px; font-size: 0.9rem; line-height: 1.6; }
.tf-subscribe-box {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 35px;
}
.tf-input {
    border: none; padding: 15px 20px; flex: 1; outline: none; font-size: 0.9rem;
}
.tf-join-btn {
    background: #ffcc00; /* Match TenzSoft Gold */
    color: #000; border: none; padding: 0 25px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
}
.tf-join-btn:hover { background: #e6b800; }

/* CONTACT DETAILS */
.tf-contact-details { display: flex; flex-direction: column; gap: 20px; }
.tf-contact-item { display: flex; align-items: center; gap: 15px; color: var(--tf-muted); font-size: 0.9rem; }
.tf-icon-box { color: var(--tf-accent); font-size: 1.1rem; }

/* TERMINAL BAR */
.tf-terminal-footer {
    border-top: 1px solid var(--tf-border);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: #475569;
}
.tf-pulse {
    height: 8px; width: 8px; background: #10b981; border-radius: 50%;
    display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #10b981;
}

/* RESPONSIVE */
@media (max-width: 1024px) { .tf-main-layout { grid-template-columns: 1fr 1fr; gap: 50px; } }
@media (max-width: 600px) { .tf-main-layout { grid-template-columns: 1fr; } }

/* Remove default underlines and style footer links */
.tf-elite-footer a {
    text-decoration: none !important; /* Removes the underline */
    color: inherit;                  /* Keeps the text color consistent with your design */
    display: flex;                   /* Ensures the icon and text stay aligned */
    transition: all 0.3s ease;       /* Smooth transition for hover effects */
}

/* Ensure clicked links don't turn purple */
.tf-elite-footer a:visited {
    color: inherit;
}

/* Optional: Add a subtle hover effect since the underline is gone */
.tf-elite-footer a:hover {
    color: var(--tf-accent);         /* Changes color to your sky blue on hover */
    text-decoration: none;           /* Ensures underline stays off during hover */
}

/* Specific fix for the contact items to keep icon and text on one line */
.tf-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}


/* Base navigation item style */
.tf-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none !important; /* No underline */
    color: var(--tf-muted); /* Your muted gray color */
    transition: all 0.3s ease;
    position: relative;
}

/* The Arrow Styling */
.tf-hover-arrow {
    color: #38bdf8; /* Your specific blue color */
    font-size: 0.7rem;
    margin-right: 0; /* Hidden by default */
    opacity: 0;      /* Invisible by default */
    width: 0;        /* Takes no space until hover */
    transition: all 0.3s ease;
}

/* Hover Effect: Show arrow and push text forward */
.tf-nav-item:hover {
    color: #f8fafc; /* White text on hover */
    padding-left: 5px;
}

.tf-nav-item:hover .tf-hover-arrow {
    opacity: 1;
    margin-right: 10px;
    width: 12px; /* Smoothly grows and appears */
}



.tf-social-circle:hover i {
    color: #000000;
}
/* Footer Background Styling */
.tf-footer {
    background-color: #000000;
    padding: 40px 20px;
    text-align: center;
}

.tf-logo-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

/* Image Dimensions and Fixes */
.tf-footer-logo-img {
    /* Increased size */
    height: 180px; 
    width: auto; /* Maintains natural aspect ratio */
    
    /* Rounded corners */
    border-radius: 15px; 
    
    /* Ensures the image stays clean within its box */
    object-fit: cover; 
    
    /* Centering logic */
    display: block;
    margin: 0 auto;
    
    /* Optional: subtle border to define the shape on dark backgrounds */
    border: 1px solid #333; 
}

/* Hover effect for the link */
.tf-logo-wrapper a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tf-logo-wrapper a:hover {
    opacity: 0.9;
    transform: scale(1.02); /* Slight zoom effect on hover */
}
/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablet View: 2 Sections per row */
@media (max-width: 950px) {
    .tf-main-layout {
        /* Switch to a 2x2 grid */
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        padding-bottom: 50px;
    }

    /* Keep the Logo and Brand column centered at the top */
    .brand-info {
        grid-column: span 2; /* Spans across both columns */
        text-align: center;
        margin-bottom: 20px;
    }

    /* Aligning the logo image and social icons to center */
    .tf-logo-wrapper, 
    .tf-social-row {
        justify-content: center;
        display: flex;
    }

    .tf-footer-logo-img {
        margin: 0 auto;
    }

    /* Ensuring the summary text stays centered */
    .tf-summary {
        max-width: 600px;
        margin: 0 auto 35px;
    }
}

/* Mobile View: 1 Section per row */
@media (max-width: 600px) {
    .tf-container {
        padding: 0 25px; /* Tighter side padding for small screens */
    }

    .tf-main-layout {
        /* Everything stacks in 1 column */
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center; /* Centers all headings and text */
    }

    .brand-info {
        grid-column: span 1;
    }

    /* Aligning Navigation items and arrows to center */
    .tf-nav-item {
        justify-content: center;
    }

    .tf-nav-item:hover {
        transform: none; /* Disables horizontal shift on mobile for better UX */
    }

    /* Centering the Subscribe Box and Buttons */
    .tf-subscribe-box {
        max-width: 100%;
    }

    .tf-contact-item {
        justify-content: center;
    }

    /* Terminal Bar Stacking */
    .tf-terminal-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* --- EXTRA SMALL SCREENS (Below 420px) --- */
@media (max-width: 420px) {
    .tf-container {
        padding: 0 15px;
    }

    .tf-main-layout {
        gap: 35px; /* Tighter spacing for smaller height */
    }

    .tf-footer-logo-img {
        max-width: 220px; /* Smaller logo */
    }

    .tf-label {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .tf-nav-item {
        font-size: 0.85rem;
    }

    .tf-contact-item span {
        font-size: 0.8rem; /* Prevents long emails from breaking the layout */
    }

    .tf-terminal-footer {
        font-size: 0.65rem; /* Very small terminal text */
        letter-spacing: 0.5px;
    }
}

/* --- ULTRA NARROW SCREENS (Below 250px) --- */
@media (max-width: 250px) {
    .tf-container {
        padding: 0 10px;
    }

    /* Stack the subscribe button on top of the input */
    .tf-subscribe-box {
        flex-direction: column;
        border: none;
        background: transparent;
    }

    .tf-input {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 10px;
    }

    .tf-join-btn {
        width: 100%;
        border-radius: 8px;
        padding: 10px;
    }

    /* Hide non-essential decorative elements to save space */
    .tf-grid-overlay, 
    .tf-ambient-glow {
        display: none;
    }

    .tf-summary {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Make icons smaller to fit the row */
    .tf-social-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .tf-copyright {
        font-size: 0.6rem;
    }
}

/* --- NAVBAR BUTTONS LOGIC --- */
/* At 690px and below, hide the anchor buttons in the navbar */
@media screen and (max-width: 690px) {
    .nav-right a {
        display: none !important;
    }
    
    /* Ensure the theme toggle button stays visible */
    .nav-right #theme-toggle {
        display: block !important;
    }
}

/* --- SIDEBAR BUTTONS LOGIC --- */
/* 1. Hide sidebar buttons on large screens (above 1001px) */
@media screen and (min-width: 1002px) {
    .sidebar-footer {
        display: none !important;
    }
}

/* 2. Show sidebar buttons on screens 1001px and below */
@media screen and (max-width: 1001px) {
    .sidebar-footer {
        display: block !important; /* Shows the footer container */
    }
    
    .sidebar-footer > div {
        display: flex !important; /* Ensures the buttons inside stay inline */
    }
}






        /* Distinct solid styling for the header navbar Courses button */
        .nav-link.navbar-courses-btn {
            background-color: #1e293b !important;    /* Rich, dark solid color background */
            color: #38bdf8 !important;               /* Vibrant blue text color to pop */
            border-bottom: 3px solid #38bdf8 !important; /* Sleek accent underline indicator */
            border-radius: 4px !important;
            padding: 8px 16px !important;            /* Balanced horizontal spacing */
            margin: 0 4px !important;
            font-weight: 6px !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
            transition: all 0.25s ease-in-out !important;
        }

        /* Hover interaction for the navbar courses button */
        .nav-link.navbar-courses-btn:hover {
            background-color: #0f172a !important;    /* Deepens background context on hover */
            color: #ffffff !important;               /* Switches text color to solid white */
            border-bottom-color: #ffffff !important; /* Changes accent underline line to white */
        }

        /* Standard hidden drop menu states */
        .navbar-courses-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #1e293b;
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
            border-radius: 4px;
            padding: 6px 0;
            display: none;                          /* Hidden by default */
            z-index: 1000;
        }

        /* Links inside the dropdown box */
        .navbar-courses-dropdown a {
            color: #ffffff;
            padding: 10px 16px;
            text-decoration: none;
            display: block;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        /* Hover action on item selection */
        .navbar-courses-dropdown a:hover {
            background-color: #0f172a;
            color: #38bdf8;
        }

        /* Hover behavior to reveal panel directly via CSS layout */
        .navbar-courses-container:hover .navbar-courses-dropdown {
            display: block;
        }
        





 /* Unique solid styling specifically for the Courses button */
        .sidebar-nav-link.courses-special-btn {
            background-color: #1e293b !important; /* Rich, dark solid color to stand out */
            color: #38bdf8 !important;            /* Vibrant blue text color to pop */
            border-left: 4px solid #38bdf8 !important; /* Sleek accent strip on the left side */
            border-radius: 4px !important;
            margin: 6px 10px !important;          /* Clean spacing gap above and below */
            padding: 10px 12px !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; /* Lifts it off the background */
            transition: all 0.25s ease-in-out !important;
        }

        /* Changes the icon colors within the courses button */
        .sidebar-nav-link.courses-special-btn .link-label,
        .sidebar-nav-link.courses-special-btn i {
            color: #38bdf8 !important; 
        }

        /* Hover interaction for the courses action button */
        .sidebar-nav-link.courses-special-btn:hover {
            background-color: #0f172a !important; /* Deepens background on hover */
            color: #ffffff !important;            /* Changes text to clean white */
        }
        
        /* Ensures icons also change color on hover */
        .sidebar-nav-link.courses-special-btn:hover .link-label,
        .sidebar-nav-link.courses-special-btn:hover i {
            color: #ffffff !important;
        }








       /* ThoughtFlare Premium Hero Section Styles */
.tf-hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background-color: #0f172a; /* Locked rich dark color to maintain theme-independent premium style */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 30px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Kinetic Animated Background Grid Pattern */
.tf-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 85%);
    animation: gridMotion 20s linear infinite;
    z-index: 1;
}

/* Ambient Glassmorphism Glowing Orbs */
.tf-glow-orb {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 2;
    pointer-events: none;
}
.tf-glow-1 { top: -10%; left: -5%; animation: floatPulse 8s ease-in-out infinite; }
.tf-glow-2 { bottom: -15%; right: -5%; animation: floatPulse 12s ease-in-out infinite alternate; }

/* Structural Inner Content Container */
.tf-hero-content {
    position: relative;
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    z-index: 3;
}

/* Left Column Text & Action Layout */
.tf-hero-text-side {
    flex: 1.2;
    max-width: 650px;
}

/* Core Creative Brand Tagline */
.tf-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8; /* Locked to your brand accent color */
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

/* High-Impact Main Heading */
.tf-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff; /* Locked text to keep pop in light mode themes */
    margin: 0 0 20px 0;
    animation: fadeInLeft 0.9s ease-out;
}

.tf-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Explanatory Paragraph Context */
.tf-hero-desc {
    font-size: 18px;
    line-height: 1.65;
    color: #94a3b8; /* Locked readable tone */
    margin: 0 0 35px 0;
    animation: fadeInLeft 1.1s ease-out;
}

/* Conversion Call-To-Action Button Row */
.tf-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out;
}

.tf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #38bdf8;
    color: #0f172a;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.tf-btn-primary:hover {
    background-color: #ffffff;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.tf-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease-in-out;
}

.tf-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #38bdf8;
    transform: translateY(-2px);
}

/* Right Column Interactive Kinetic Visual Graphics Engine */
.tf-hero-visual-side {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.tf-tech-cube-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Tech Ring Orbits */
.tf-tech-ring {
    position: absolute;
    border: 2px dashed rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    animation: spinClockwise 25s linear infinite;
}
.tf-ring-outer { width: 320px; height: 320px; }
.tf-ring-inner { 
    width: 240px; 
    height: 240px; 
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: spinCounterClockwise 15s linear infinite;
}

/* Central Core Focal Point Element */
.tf-brand-core {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
    border: 2px solid #38bdf8;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
    transform: rotate(45deg);
    animation: pulseCore 4s ease-in-out infinite alternate;
}

.tf-brand-core i {
    font-size: 48px;
    color: #38bdf8;
    transform: rotate(-45deg); /* Keeps flare icon upright */
}

/* Floating Peripheral Satellite Nodes */
.tf-tech-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #38bdf8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: floatNode 6s ease-in-out infinite;
}
.tf-node-1 { top: 0; left: 15%; animation-delay: 0s; }
.tf-node-2 { bottom: 5%; left: 10%; animation-delay: 1.5s; }
.tf-node-3 { top: 30%; right: -5%; animation-delay: 3s; }

/* ANIMATION KEYFRAMES ENGINE */
@keyframes gridMotion {
    0% { background-position: 0px 0px; }
    100% { background-position: 40px 40px; }
}
@keyframes floatPulse {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-15px) scale(1.05); opacity: 1; }
}
@keyframes pulseCore {
    0% { transform: rotate(45deg) scale(0.96); box-shadow: 0 0 20px rgba(56, 189, 248, 0.2); }
    100% { transform: rotate(45deg) scale(1.04); box-shadow: 0 0 45px rgba(56, 189, 248, 0.4); }
}
@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spinCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
@keyframes floatNode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); border-color: #38bdf8; }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tablet & Mobile Layout Adaptations */
@media (max-width: 991px) {
    .tf-hero-content { flex-direction: column; text-align: center; gap: 60px; }
    .tf-hero-title { font-size: 42px; }
    .tf-hero-cta-group { justify-content: center; }
    .tf-hero-text-side { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .tf-hero-title { font-size: 34px; }
    .tf-hero-desc { font-size: 16px; }
    .tf-tech-cube-wrapper { transform: scale(0.85); }
}



/* ==========================================================================
   ThoughtFlare Conversion Authority Section 
   ========================================================================== */




/* ==========================================================================
   ThoughtFlare Before/After Transformation Section & Animations
   ========================================================================== */

/* Keyframe for soft glowing pulse on the successful "After" elements */
@keyframes tfPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { box-shadow: 0 0 20px 10px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.tf-transformation-section {
    padding: 100px 0px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tf-transform-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Strategic Header Text */
.tf-transform-header {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px auto;
}

.tf-transform-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin: 0 0 15px 0;
}

.tf-transform-title span {
    color: var(--accent, #38bdf8); /* Highlight text in blue */
}

/* Side-by-Side Split Matrix Box */
.tf-transform-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Base style for both matrix cards */
.tf-transform-card {
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- THE BEFORE SIDE --- */
.tf-transform-card.state-before {
    background: rgba(244, 63, 94, 0.02); /* Extremely subtle red tint */
    border: 1px dashed rgba(244, 63, 94, 0.2);
}

.tf-transform-card.state-before:hover {
    transform: translateX(-5px);
    background: rgba(244, 63, 94, 0.04);
    border-color: rgba(244, 63, 94, 0.4);
}

/* --- THE AFTER SIDE --- */
.tf-transform-card.state-after {
    background: var(--card-bg);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Premium micro-animations when user hovers over the promised land */
.tf-transform-card.state-after:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 30px 60px rgba(56, 189, 248, 0.12);
}

/* Row Indicators (Frustrated vs Empowered) */
.tf-state-indicator {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.state-before .tf-state-indicator { color: #f43f5e; }
.state-after .tf-state-indicator { color: var(--accent, #38bdf8); }

.tf-state-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 30px 0;
}

/* Progress / Timeline List Points */
.tf-transform-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tf-transform-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Pain point icons */
.state-before .tf-transform-item i {
    color: #f43f5e;
    font-size: 18px;
    margin-top: 2px;
}

/* Success transformation icons with built-in glowing pulse animation */
.state-after .tf-transform-item i {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent, #38bdf8);
    font-size: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    animation: tfPulseGlow 2s infinite;
}

.tf-item-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
}

.tf-item-text p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Custom Highlight Class for Inside Cards */
.tf-accent-highlight {
    color: var(--accent, #38bdf8) !important;
    font-weight: 600;
}

/* Responsive Adaptive Layout */
@media (max-width: 991px) {
    .tf-transform-matrix {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tf-transform-card.state-before:hover { transform: translateY(-5px); }
    .tf-transform-title { font-size: 30px; }
}







/* ==========================================================================
   Premium Methodology Matrix Section Styles (Equal Height & Modern Motion)
   ========================================================================== */
.tf-method-section {
    padding: 110px 20px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.tf-method-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Strategic Header Text Blocks */
.tf-method-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 65px auto;
}

.tf-method-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent, #38bdf8);
    margin-bottom: 12px;
    display: inline-block;
}

.tf-method-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin: 0 0 16px 0;
}

.tf-method-lead {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Split Matrix - STRETCH forces equal height on both panels */
.tf-method-matrix {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: stretch; 
}

/* Left Controller Button Container */
.tf-method-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between; /* Evenly spaces elements to match right panel height */
}

.tf-control-btn {
    width: 100%;
    flex: 1; /* Distributes vertical space equally */
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    position: relative;
    overflow: hidden;
}

.tf-btn-num {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.tf-btn-meta h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px 0;
    transition: color 0.3s ease;
}

.tf-btn-meta p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Modern Left Border Glow Indicator instead of standard shifts */
.tf-control-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent, #38bdf8);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

/* Hover and Active State Animations */
.tf-control-btn:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.01);
}

.tf-control-btn.active {
    border-color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tf-control-btn.active::before {
    transform: scaleY(1);
    transform-origin: top;
}

.tf-control-btn.active .tf-btn-num {
    color: var(--accent, #38bdf8);
    transform: scale(1.1);
}

.tf-control-btn.active .tf-btn-meta h3 {
    color: var(--accent, #38bdf8);
}

/* Right Content Display Box */
.tf-method-display-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers panel contents beautifully at any container height */
}

/* High-End Cinematic Panel Reveal Animation */
.tf-method-panel {
    display: none;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(15px) scale(0.99);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tf-method-panel.active {
    display: block;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.tf-panel-badge-row {
    margin-bottom: 25px;
}

.tf-panel-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(56, 189, 248, 0.08);
    color: var(--accent, #38bdf8);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tf-panel-main-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.tf-panel-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 35px 0;
}

.tf-panel-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.tf-p-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}

.tf-p-feat i {
    color: var(--accent, #38bdf8);
    font-size: 14px;
}

.tf-blue-highlight {
    color: var(--accent, #38bdf8) !important;
}

/* Fluid Responsive Breakpoints */
@media (max-width: 991px) {
    .tf-method-matrix {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tf-method-controls {
        gap: 16px;
    }
    .tf-control-btn {
        flex: none; /* Disables flex sizing on stacked viewports */
    }
    .tf-method-display-box {
        padding: 35px 25px;
    }
    .tf-method-title {
        font-size: 30px;
    }
}




/* ==========================================================================
   The Paradigm Grid CSS Stylesheet (Equal Height & Fluid Motion)
   ========================================================================== */
@keyframes tfFloatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.tf-paradigm-section {
    padding: 120px 0px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tf-paradigm-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Strategic Grid Layout with Forced Equal Vertical Stretches */
.tf-paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

/* Base Panel Blueprint */
.tf-paradigm-panel {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.tf-paradigm-panel:hover {
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 30px 60px rgba(56, 189, 248, 0.08);
}

.tf-paradigm-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent, #38bdf8);
    margin-bottom: 16px;
    display: block;
}

.tf-paradigm-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0 0 30px 0;
}

/* --- LEFT SIDE SPECIFIC: STORIES & ARTWORK --- */
.tf-paradigm-left-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Premium High-Contrast Neon Glass Background Quote Box */
.tf-art-quote-box-premium {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0.03) 100%);
    border-left: 4px solid var(--accent, #38bdf8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 22px 26px;
    border-radius: 4px 20px 20px 4px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 
                0 8px 24px rgba(56, 189, 248, 0.08);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
    border-right: 1px solid rgba(56, 189, 248, 0.05);
}

.tf-art-quote-box-premium p {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.3px;
}

/* The Fable Story Layout */
.tf-story-wrapper {
    position: relative;
    padding-left: 20px;
}

.tf-story-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
}

/* Elegant Signature Alignment Blocks */
.tf-story-signature {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px dashed var(--border);
    padding-top: 14px;
}

.tf-story-author {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.tf-mentor-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent, #38bdf8);
    letter-spacing: 0.5px;
}

/* --- RIGHT SIDE SPECIFIC: THOUGHTFLARE CORE --- */
.tf-paradigm-right {
    animation: tfFloatCard 6s ease-in-out infinite; /* Fluid modern floating motion */
}

/* 7-Line High-Impact Statement List */
.tf-pitch-statement-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tf-pitch-line {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.tf-pitch-line:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Dynamic Highlights Grouping */
.tf-blue-highlight {
    color: var(--accent, #38bdf8) !important;
    font-weight: 600;
}

/* Fluid Responsive Engineering */
@media (max-width: 991px) {
    .tf-paradigm-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tf-paradigm-panel {
        padding: 35px 25px;
    }
    .tf-paradigm-right {
        animation: none; /* Disables floating shift rules on fluid displays */
    }
}



/* ==========================================================================
   The Academy Catalog Matrix Stylesheet (Modern Interactive Grid)
   ========================================================================== */


/* ==========================================================================
   The Kinetic Interactive Box Matrix (Premium Dark Glass Layout)
   ========================================================================== */
#tf-kinetic-grid-universe {
    padding: 120px 0px;
    background-color: var(--bg-color, #0a0e17);
    position: relative;
    overflow: hidden;
}

.tf-kinetic-grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Intro block typography rules */
.tf-kinetic-intro {
    text-align: center;
    margin-bottom: 70px;
}

.tf-kinetic-mini-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
}

.tf-kinetic-main-headline {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-main, #f8fafc);
    letter-spacing: -0.5px;
    margin: 0 0 14px 0;
}

.tf-kinetic-subline {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 3-Column Box Architecture Layout */
.tf-kinetic-cards-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* THE PREMIUM GLASS CONTAINER BOX */
.tf-kinetic-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.04));
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tf-kinetic-box-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Card Header Components */
.tf-kinetic-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

/* Animated Micro Icon Container */
.tf-kinetic-icon-shell {
    font-size: 20px;
    color: var(--text-muted, #64748b);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-kinetic-status-tag {
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #475569);
    background: rgba(255, 255, 255, 0.02);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Text Content Spaces */
.tf-kinetic-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main, #f8fafc);
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tf-kinetic-content p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

/* BUTTON ACTION FOOTER RULES */
.tf-kinetic-action-row {
    margin-top: auto;
}

.tf-kinetic-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-kinetic-card-btn span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main, #e2e8f0);
}

.tf-kinetic-card-btn i {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* SPECIAL CONVERSION TERMINAL CARD VARIANTS */
.tf-kinetic-cta-box {
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.tf-kinetic-pulse-shell {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: rgba(56, 189, 248, 0.02);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent, #38bdf8);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
    animation: tfTerminalPulse 2s infinite;
}

.tf-tag-neon {
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
}

.tf-btn-neon {
    border-color: rgba(56, 189, 248, 0.2);
}

@keyframes tfTerminalPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* --- HARDWARE-ACCELERATED HOVER ANIMATIONS --- */
.tf-kinetic-box:hover {
    transform: translateY(-6px) scale(1.01); /* Micro vertical float */
    border-color: var(--accent, #38bdf8);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.03),
                inset 0 1px 0px rgba(255, 255, 255, 0.05);
}

.tf-kinetic-box:hover .tf-kinetic-icon-shell {
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.04);
    border-color: rgba(56, 189, 248, 0.25);
    transform: rotate(-8deg) scale(1.05); /* Modern dynamic micro rotation asset animation */
}

.tf-kinetic-box:hover .tf-kinetic-content h3 {
    color: var(--accent, #38bdf8);
}

.tf-kinetic-box:hover .tf-kinetic-card-btn {
    background: rgba(56, 189, 248, 0.04);
    border-color: var(--accent, #38bdf8);
}

.tf-kinetic-box:hover .tf-kinetic-card-btn i {
    color: var(--accent, #38bdf8);
    transform: translateX(4px); /* Prompt clean directional shift movement */
}

/* Custom unique overrides for Global design balance color configurations */
.tf-kinetic-blue-highlight {
    color: var(--accent, #38bdf8) !important;
}

/* SYSTEM FLEX ADAPTING MEDIA BREAKPOINTS */
@media (max-width: 1024px) {
    .tf-kinetic-cards-matrix {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .tf-kinetic-main-headline { font-size: 32px; }
}

@media (max-width: 768px) {
    #tf-kinetic-grid-universe { padding: 80px 20px; }
    .tf-kinetic-cards-matrix {
        grid-template-columns: 1fr;
    }
    .tf-kinetic-box { padding: 24px; }
}



/* ==========================================================================
   The Deployment Timeline Component (Premium Glass Integration)
   ========================================================================== */
#tf-deployment-timeline {
    padding: 80px 24px 120px 0px;
    background-color: var(--bg-color, #0a0e17);
    position: relative;
}

.tf-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section Alignment */
.tf-timeline-intro {
    text-align: center;
    margin-bottom: 80px;
}

.tf-timeline-mini-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
}

.tf-timeline-main-headline {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-main, #f8fafc);
    letter-spacing: -0.5px;
    margin: 0 0 14px 0;
}

.tf-timeline-blue-highlight {
    color: var(--accent, #38bdf8) !important;
}

.tf-timeline-subline {
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Timeline Layout Engine */
.tf-timeline-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

/* Vector Nodes & Connectors */
.tf-timeline-node-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

/* Horizontal connecting path line */
.tf-timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.2) 0%, rgba(255, 255, 255, 0.03) 100%);
    z-index: 1;
    transform: translateY(-50%);
}

/* Keep the last step connector clean */
.tf-timeline-step:last-child .tf-timeline-line {
    display: none;
}

/* Modern Glowing Indicator Circle */
.tf-timeline-node {
    width: 44px;
    height: 44px;
    background: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modern Dark Card Styling */
.tf-timeline-content-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.002) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
}

.tf-step-tag {
    font-family: monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted, #475569);
    background: rgba(255, 255, 255, 0.02);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.tf-timeline-content-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main, #f8fafc);
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.tf-timeline-content-box p {
    font-size: 13.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}

/* --- INTERACTIVE STATE ACTIONS (HOVER EFFECTS) --- */
.tf-timeline-step:hover .tf-timeline-node {
    color: #ffffff;
    border-color: var(--accent, #38bdf8);
    background-color: var(--accent, #38bdf8);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    transform: scale(1.05);
}

.tf-timeline-step:hover .tf-timeline-content-box {
    border-color: rgba(56, 189, 248, 0.15);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.tf-timeline-step:hover .tf-timeline-content-box h3 {
    color: var(--accent, #38bdf8);
}

.tf-timeline-step:hover .tf-step-tag {
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
}

/* --- RESPONSIBLE GRID ADAPTING SYSTEMS (BREAKPOINTS) --- */
@media (max-width: 1024px) {
    .tf-timeline-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    /* Disable connecting line logic on broken grid shapes */
    .tf-timeline-line { display: none; } 
    .tf-timeline-main-headline { font-size: 32px; }
}

@media (max-width: 640px) {
    .tf-timeline-track {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tf-timeline-node-wrapper {
        margin-bottom: 12px;
    }
    #tf-deployment-timeline { padding: 60px 20px 80px 20px; }
}





/* ==========================================================================
   The Dark Glass FAQ Accordion System (Navbar Alignment Array)
   ========================================================================== */
#tf-matrix-faq-wrapper {
    /* ADJUST SIDE GAPS HERE: Change this variable value to increase or decrease outer spacing */
    --tf-faq-side-gap: 0px; 
    
    padding: 100px var(--tf-faq-side-gap) 140px var(--tf-faq-side-gap);
    background-color: var(--bg-color, #0a0e17);
    position: relative;
}

.tf-faq-boundless-container {
    max-width: 1200px; /* Aligned with premium navigation grids */
    margin: 0 auto;
    width: 100%;
}

.tf-faq-editorial-heading {
    text-align: center;
    margin-bottom: 60px;
}

.tf-faq-mini-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent, #38bdf8);
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 16px;
}

.tf-faq-main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main, #f8fafc);
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
}

.tf-faq-blue-highlight {
    color: var(--accent, #38bdf8) !important;
}

.tf-faq-sub-title {
    font-size: 14.5px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
}

/* Accordion Rows Cluster */
.tf-faq-accordion-core {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.tf-faq-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.015) 0%, rgba(255, 255, 255, 0.002) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

/* Master Interaction Toggle Element (Pushed to absolute 100% bounds) */
.tf-faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none !important;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.tf-faq-trigger span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main, #f8fafc);
    padding-right: 40px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.tf-faq-trigger i {
    font-size: 13px;
    color: var(--text-muted, #475569);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    flex-shrink: 0;
}

/* Hidden slide panels */
.tf-faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-faq-panel-inner {
    padding: 0 32px 24px 32px;
}

.tf-faq-panel-inner p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}

/* --- ACTIVE EXPANDED STYLES --- */
.tf-faq-item.tf-faq-active {
    border-color: rgba(56, 189, 248, 0.2);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tf-faq-item.tf-faq-active .tf-faq-trigger span {
    color: var(--accent, #38bdf8);
}

.tf-faq-item.tf-faq-active .tf-faq-trigger i {
    transform: rotate(45deg);
    color: var(--accent, #38bdf8);
}

@media (max-width: 768px) {
    #tf-matrix-faq-wrapper {
        --tf-faq-side-gap: 20px; /* Auto downscales padding metrics on small viewport arrays */
        padding: 80px var(--tf-faq-side-gap) 100px var(--tf-faq-side-gap);
    }
    .tf-faq-trigger { padding: 20px; }
    .tf-faq-panel-inner { padding: 0 20px 20px 20px; }
    .tf-faq-main-title { font-size: 28px; }
    .tf-faq-trigger span { font-size: 15px; padding-right: 20px; }
}
    