/* T-Plus Class Custom Styles */

/* Visibility fix - ensures content is visible without debug styling */
/* IMPORTANT: Exclude carousel wrapper to preserve z-index stacking and click interactions */
section:not(.screenshot-carousel-wrapper),
.hero-section,
#hero,
[data-aos]:not(.screenshot-carousel-wrapper):not(.screenshot-carousel-wrapper *) {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Ensure screenshots section and carousel are always visible */
#screenshots,
.screenshot-carousel-wrapper {
    opacity: 1 !important;
    visibility: visible !important;
}

/* CSS Variables - Orange Theme for Class Page */
:root {
    --primary: #FF6B35;
    --secondary: #F7931E;
    --accent: #FF8C61;
    --primary-hover-bg: rgba(255, 107, 53, 0.08);
    --transition: all 0.3s ease;
    --text-dark: #1f2937;
}

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

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* ==================== TOP NAVBAR ====================
 * Navbar styles are now defined in global/global.css
 * This ensures consistency across all pages.
 * See global/README.md for navbar HTML template and documentation.
 */

/* Class Page Orange Theme Overrides for Navbar */
.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(255, 107, 53, 0.06);
}

.navbar:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1),
                0 3px 12px rgba(255, 107, 53, 0.08);
}

.navbar.scrolling {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06),
                0 1px 6px rgba(255, 107, 53, 0.04);
}

.navbar.scrolling:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08),
                0 2px 10px rgba(255, 107, 53, 0.06);
}

.nav-link.active {
    color: #FF6B35;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-link::after {
    background: linear-gradient(90deg, #FF6B35, #F7931E);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Pattern Grid Background */
.pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Blob Animation for Hero Section */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(20px, -20px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

.animate-blob {
    animation: blob 20s ease-in-out infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Algorithm Pulse Animation */
@keyframes algorithmPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(255, 107, 53, 0);
    }
}

.algorithm-pulse {
    animation: algorithmPulse 3s ease-in-out infinite;
}

/* Connection Line Animation */
@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.connection-line {
    animation: connectionPulse 2s ease-in-out infinite;
}

/* Hero Float Animation for Floating UI Elements */
@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-float {
    animation: heroFloat 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Loading Animation for Processing Card */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-small {
    border: 2px solid #f3f4f6;
    border-top: 2px solid #8B5CF6;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

/* Card Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Progress Bar Animation */
@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

/* Stat Card Pulse Effect */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Button Hover Effects */
button, a {
    transition: all 0.2s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading Animation */
.loading {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #1E3A8A;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

/* Mobile Responsive Adjustments */
@media (max-width: 968px) {
    /* Hide Desktop Nav, Show Mobile Menu Button */
    .nav-menu {
        display: none;
    }

    /* Hero Section Adjustments */
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem !important;
    }

    /* Simplify Hero Illustration */
    .relative.w-80.h-80 {
        width: 16rem;
        height: 16rem;
    }

    /* Hide Orbiting Nodes Only - Keep Info Cards Visible */
    .hero-float.border-2 {
        display: none !important; /* Hide colored orbiting nodes */
    }

    /* Show info cards on mobile with relative positioning */
    .hero-float:not(.border-2) {
        display: block !important;
        position: relative !important;
        margin: 0.5rem auto;
        max-width: 90%;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    /* Smaller Logo on Mobile */
    .logo-image {
        height: 40px;
    }

    /* Tighter Container Padding */
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Reduce Hero Section Height */
    #hero {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    #hero .max-w-7xl {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Reduce Hero Container Height */
    .relative.h-\[550px\] {
        height: 400px;
    }

    /* Smaller AI Network */
    .relative.w-80.h-80 {
        width: 12rem;
        height: 12rem;
    }

    /* Smaller Central Circle */
    .w-40.h-40 {
        width: 8rem;
        height: 8rem;
    }

    /* Reposition Floating Cards for Mobile - Stack Vertically */
    .hero-float:not(.border-2) {
        position: static !important;
        margin: 1rem auto !important;
        max-width: 280px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* Still hide orbiting nodes */
    .hero-float.border-2 {
        display: none !important;
    }

    /* Hide Connecting Lines */
    .connection-line {
        display: none;
    }

    /* Prevent overflow */
    section {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo-image {
        height: 35px;
    }

    /* Stack Buttons Vertically on Very Small Screens */
    .flex-col.sm\:flex-row {
        flex-direction: column !important;
    }

    /* Extra Small AI Network */
    .relative.w-80.h-80 {
        width: 10rem;
        height: 10rem;
    }

    .w-40.h-40 {
        width: 6rem;
        height: 6rem;
    }

    /* Adjust Hero Padding */
    #hero .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Prevent any horizontal overflow */
    * {
        max-width: 100%;
    }

    section {
        overflow-x: hidden;
    }

    /* Reduce hero container even more */
    .relative.h-\[550px\] {
        height: 350px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #f9fafb;
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(to right, #1E3A8A, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shimmer Effect for Loading States */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s linear infinite;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #1E3A8A;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    footer {
        display: none;
    }

    body {
        background: white;
    }

    .no-print {
        display: none;
    }
}

/* Custom Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Status Indicators */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-active {
    background-color: #10B981;
    animation: pulse 2s infinite;
}

.status-inactive {
    background-color: #6B7280;
}

.status-warning {
    background-color: #F59E0B;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #1f2937;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Workflow Arrow Animation */
@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.7;
    }
}

.workflow-arrow {
    animation: arrowPulse 2s ease-in-out infinite;
}

/* ==================== SIDE PROGRESS NAVIGATION ==================== */

.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Progress Line Background - positioned at right to align with dots */
.side-nav-progress {
    position: absolute;
    right: 5px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 2px;
    pointer-events: none;
}

/* Each Navigation Item - min-width ensures label positioning works correctly */
.side-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

/* Navigation Dot */
.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

/* Label (appears on hover) - positioned to left of dot */
.side-nav-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: white;
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
    pointer-events: none;
}

/* Show label on hover */
.side-nav-item:hover .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* Active State */
.side-nav-item.active .side-nav-dot {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-color: #FF6B35;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Active Label (always visible) */
.side-nav-item.active .side-nav-label {
    opacity: 1;
    visibility: visible;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border-color: #FF6B35;
}

/* Hover Effects */
.side-nav-item:hover .side-nav-dot {
    transform: scale(1.2);
    border-color: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Animation for active indicator movement */
@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
}

.side-nav-item.active .side-nav-dot {
    animation: activePulse 2s ease-in-out infinite;
}

/* Hide on mobile and tablet */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

/* For very small desktops, adjust position */
@media (max-width: 1280px) {
    .side-nav {
        right: 20px;
    }
}

/* Accessibility: Focus States */
.side-nav-item:focus {
    outline: none;
}

.side-nav-item:focus .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* ==================== MOBILE HERO CAROUSEL ==================== */

/* Note: .desktop-only and .mobile-only are now handled by global/global.css */

/* Mobile Hero Container */
.mobile-hero-container {
    padding: 1rem 1rem 2rem;
    text-align: center;
    margin-top: 0;
}

/* Extra Small Screens: Reduce Padding */
@media (max-width: 480px) {
    .mobile-hero-container {
        margin-top: 0;
        padding: 0.5rem 0.75rem 1.5rem;
    }

    #hero {
        padding-top: 3.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}
/* ==================== FEATURE SHOWCASE SECTION (ZIG-ZAG LAYOUT) ==================== */

/* Feature Item Container - Automatic Zig-Zag with nth-child */
.feature-item {
    display: flex;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: flex-start;
}

/* Automatic Reversal for Even Items (creates zig-zag) */
.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Last item - remove excess margin */
.feature-item:last-child {
    margin-bottom: 0;
}

/* Image Container - 60% width for larger, more prominent images */
.feature-img {
    flex: 0 0 60%;
    max-width: 60%;
    position: relative;
    overflow: hidden;
}

/* ============================================
   IMAGE SLIDER STYLES
   ============================================ */

/* Slider Container */
.img-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 8px 24px rgba(0, 0, 0, 0.1);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slider Images - Fade Transition */
.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
    border-radius: 12px;
    pointer-events: none;  /* Inactive images don't capture clicks */
}

.slider-img.active {
    opacity: 1;
    pointer-events: auto;  /* Only active image is clickable */
}

/* Slider Dots Navigation - positioned inside slider at bottom */
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slider-dots:empty {
    display: none;
}

/* Row container for dots */
.slider-dots-row {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 107, 53, 0.6);
}

.slider-dot.active {
    background: #FF6B35;
    transform: scale(1.3);
}

/* Slider Caption - inside the dots container */
.slider-caption {
    color: #FF6B35;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .img-slider {
        height: 300px;
    }
    .slider-img {
        padding: 0.75rem;
    }
    .slider-dots {
        gap: 8px;
        bottom: 12px;
    }
    .slider-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .img-slider {
        height: 250px;
    }
    .slider-dots {
        bottom: 10px;
    }
}

/* ============================================
   END IMAGE SLIDER STYLES
   ============================================ */

/* Zoom Overlay - Hidden by Default */
.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    pointer-events: none;
}

.feature-img:hover .zoom-overlay {
    opacity: 1;
}

/* Hide zoom overlay when hovering on slider dots */
.feature-img:has(.slider-dots:hover) .zoom-overlay {
    opacity: 0 !important;
}

/* Zoom Button */
.zoom-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.feature-img:hover .zoom-button {
    transform: scale(1);
}

/* Zoom Icon */
.zoom-icon {
    color: #FF6B35;
    stroke-width: 2.5;
}

/* Zoom Text */
.zoom-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}

/* Text Content Container */
.feature-text {
    flex: 1;
    min-width: 0;
}

/* Feature Badge - Orange Theme */
.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
}

/* Feature Heading */
.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Feature Description */
.feature-text p {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.75;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Mobile: Vertical Stacking (below 768px) */
@media (max-width: 767px) {
    .feature-item {
        flex-direction: column !important;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }

    .feature-img {
        flex: none;
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .feature-text {
        order: 1;
    }

    .feature-text h3 {
        font-size: 2rem;
    }

    .feature-text p {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (below 480px) */
@media (max-width: 480px) {
    .feature-item {
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-text h3 {
        font-size: 1.75rem;
    }

    .feature-badge {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }
}

/* ========================================
   NAVIGATION DROPDOWN STYLES (ORANGE THEME)
   ======================================== */

/* Desktop Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 2px;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:first-child {
    padding-top: 16px;
}

.dropdown-item:last-child {
    padding-bottom: 16px;
}

/* Hide desktop dropdowns on mobile */
@media (max-width: 1024px) {
    .nav-dropdown .dropdown-menu {
        display: none !important;
    }
}

/* ========================================
   SIDE PROGRESS NAVIGATION (ORANGE THEME)
   ======================================== */

.side-nav {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Progress Line Background - positioned at right to align with dots */
.side-nav-progress {
    position: absolute;
    right: 5px;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 2px;
    pointer-events: none;
}

/* Each Navigation Item - min-width ensures label positioning works correctly */
.side-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

/* Navigation Dot */
.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

/* Label (appears on hover) - positioned to left of dot */
.side-nav-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: white;
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.1);
    pointer-events: none;
}

/* Show label on hover */
.side-nav-item:hover .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* Active State */
.side-nav-item.active .side-nav-dot {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-color: #FF6B35;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Active Label (always visible) */
.side-nav-item.active .side-nav-label {
    opacity: 1;
    visibility: visible;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border-color: #FF6B35;
}

/* Hover Effects */
.side-nav-item:hover .side-nav-dot {
    transform: scale(1.2);
    border-color: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Animation for active indicator movement */
@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
}

.side-nav-item.active .side-nav-dot {
    animation: activePulse 2s ease-in-out infinite;
}

/* Hide on mobile and tablet */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

/* For very small desktops, adjust position */
@media (max-width: 1280px) {
    .side-nav {
        right: 20px;
    }
}

/* Accessibility: Focus States */
.side-nav-item:focus {
    outline: none;
}

.side-nav-item:focus .side-nav-label {
    opacity: 1;
    visibility: visible;
}

/* ==================== FAQ SECTION STYLES ==================== */

/* Category Header */
.faq-category-header {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #FF6B35;
}

.faq-category-header:first-child {
    margin-top: 0;
}

.faq-category-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* FAQ Container */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* FAQ Item (Accordion) */
.faq-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.faq-item[open] {
    border-color: #FF6B35;
    background: #fffaf7;
}

/* FAQ Question */
.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(255, 107, 53, 0.03);
}

.faq-item[open] .faq-question {
    border-bottom: 1px solid #fee2e2;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

/* FAQ Icon */
.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Chevron */
.faq-chevron {
    margin-left: auto;
    width: 24px;
    height: 24px;
    stroke: #6b7280;
    transition: transform 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    stroke: #FF6B35;
}

/* FAQ Answer */
.faq-answer {
    padding: 0 1.5rem 1.25rem 4.5rem;
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
}

.faq-answer strong {
    color: #1f2937;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-tabs {
        gap: 0.25rem;
        padding-bottom: 0.5rem;
    }

    .faq-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .faq-item[open] .faq-question {
        padding-bottom: 0.875rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem 3.5rem;
        font-size: 0.9rem;
    }

    .faq-icon {
        font-size: 1.25rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .faq-chevron {
        width: 20px;
        height: 20px;
    }
}

/* ==================== SCREENSHOT ZOOM MODAL ==================== */

/* Fullscreen Modal */
.screenshot-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.screenshot-modal.open {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #1f2937;
}

.close-modal:hover {
    background: #FF6B35;
    color: white;
    transform: rotate(90deg);
}

/* Modal Navigation Dots */
.modal-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.modal-dots:empty {
    display: none;
}

.modal-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.modal-dot.active {
    background: #FF6B35;
    border-color: #FF6B35;
    transform: scale(1.2);
}

/* Modal Arrow Navigation */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-nav:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: -80px;
}

.modal-next {
    right: -80px;
}

/* Show arrows when modal has multiple images */
.modal-content.has-multiple .modal-nav {
    display: flex;
}

/* Responsive modal arrows */
@media (max-width: 768px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .modal-prev {
        left: -55px;
    }

    .modal-next {
        right: -55px;
    }
}

/* For very small screens, put arrows inside but semi-transparent */
@media (max-width: 500px) {
    .modal-prev {
        left: 10px;
        background: rgba(255, 255, 255, 0.7);
    }

    .modal-next {
        right: 10px;
        background: rgba(255, 255, 255, 0.7);
    }
}

/* Zoom In Animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================== TESTIMONIAL SLIDER ==================== */
/* Single Card Carousel Styles */

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

/* ==================== INTERACTIVE TABBED SCREENSHOT SECTION ==================== */

/* Section Title Styling */
.section-title {
    font-size: 1.875rem !important;
    font-weight: 800 !important;
    color: #1f2937;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* Tab List Container */
.tab-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Tab Button Styling - Option 5: Background Highlight Only */
.tab-btn {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

/* Info icon for tabs with descriptions */
.tab-info-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    opacity: 0.4;
}

.tab-btn:hover .tab-info-icon {
    opacity: 0.7;
}

.tab-btn.active .tab-info-icon {
    opacity: 0.8;
    color: var(--primary);
}

.tab-btn.desc-open .tab-info-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.tab-btn:hover {
    background: #f9fafb;
    color: #374151;
}

/* Active Tab State */
.tab-btn.active {
    background: #fffaf7;
    color: #FF6B35;
    font-weight: 600;
}

.tab-btn.active:hover {
    background: #fff4ed;
    color: #F7931E;
}

/* Tab Description (accordion below active tab) */
.tab-description {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
    padding: 0 1rem 0 1.25rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
    border-left: 3px solid var(--primary);
    background: rgba(255, 107, 53, 0.04);
    border-radius: 0 6px 6px 0;
}

.tab-description.show {
    max-height: 200px;
    opacity: 1;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    margin: 0.25rem 0 0.5rem;
}

@media (max-width: 767px) {
    .tab-description {
        font-size: 0.8125rem;
    }
}

/* Sub-tabs for nested navigation (e.g., Master Timetable) */
.subtab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin: 8px 0;
    padding: 10px 14px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 8px;
    border-left: 3px solid #FF6B35;
}

.subtab-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
}

.subtab-btn:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    background: #fffaf7;
}

.subtab-btn.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    font-weight: 600;
}

/* Responsive Sub-tabs */
@media (max-width: 767px) {
    .subtab-container {
        padding: 10px 12px;
        gap: 6px;
    }

    .subtab-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Responsive Tab Buttons */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.25rem !important;
    }

    .tab-btn {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}
