/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #e0e0e0;
    overflow: hidden;
    cursor: default;
    transition: all 0.3s ease;
    background-size: 400% 400%;
}

/* Enhanced mobile scrolling with zoom support */
@media (max-width: 900px) {
    body {
        overflow: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
    }
    
    /* Prevent zoom-related scrolling issues */
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
    }
    
    /* Ensure smooth scrolling on all mobile devices */
    * {
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Light Theme */
body.light-theme {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
}

/* @keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
} */

/* Desktop Environment */
.desktop {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Enhanced mobile scrolling for desktop environment */
@media (max-width: 900px) {
    .desktop {
        overflow: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        min-height: 100vh;
        height: auto;
        position: relative;
    }

    /* Enhanced scrolling for window content on mobile */
    .window-content {
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        scroll-behavior: smooth;
        padding-bottom: 300px !important; /* Extra scrolling for all windows on mobile */
    }
    
    /* Exclude pricing window from extra scrolling */
    #pricing-window .window-content {
        padding-bottom: 50px !important; /* Keep pricing window minimal scrolling */
    }
}

/* Light Theme Desktop */
body.light-theme .desktop {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
}

/* Lion mascot removed as requested */

/* Main content fade-in animation */
.main-content-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(255, 107, 107, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    }
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.taskbar-left .start-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 8px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 20px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.taskbar-left .start-menu i {
    font-size: 28px;
}

@media (max-width: 1150px) {
    .taskbar-left .start-menu {
        padding: 15px 25px;
        font-size: 22px;
        gap: 15px;
        min-height: 45px;
    }

    .taskbar-left .start-menu i {
        font-size: 34px;
    }
}

/* Additional styles for smaller mobile screens */
@media (max-width: 600px) {
    .taskbar-left .start-menu {
        padding: 16px 28px;
        font-size: 24px;
        gap: 18px;
        min-height: 48px;
    }

    .taskbar-left .start-menu i {
        font-size: 38px;
    }

    .os-text {
        font-size: 1.5em !important;
        font-weight: 700 !important;
    }
}

.taskbar-left .start-menu:hover {
    background: rgba(76, 175, 80, 0.2);
    cursor: pointer;
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3); */
}

.taskbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.window-tabs {
    display: flex;
    gap: 4px;
}

.tab {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-height: 40px;
}

/* Light Theme Tabs */
body.light-theme .tab {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
}

.tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    color: #4CAF50;
}

.tab.minimized {
    background: rgba(255, 165, 0, 0.2);
    border-color: #FFA500;
    color: #FFA500;
    opacity: 0.7;
    position: relative;
}

.tab.minimized::after {
    content: '−';
    position: absolute;
    top: -3px;
    right: -3px;
    background: #FFA500;
    color: #000;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tab.closed {
    background: rgba(255, 0, 0, 0.2);
    border-color: #FF0000;
    color: #FF0000;
    opacity: 0.5;
    position: relative;
}

.tab.closed::after {
    content: '×';
    position: absolute;
    top: -3px;
    right: -3px;
    background: #FF0000;
    color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tab.maximized {
    background: rgba(0, 123, 255, 0.2);
    border-color: #007BFF;
    color: #007BFF;
    position: relative;
}

.tab.maximized::after {
    content: '⛶';
    position: absolute;
    top: -3px;
    right: -3px;
    background: #007BFF;
    color: #fff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Light Theme Tab States */
body.light-theme .tab:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .tab.active {
    background: rgba(76, 175, 80, 0.15);
    border-color: #2e7d32;
    color: #2e7d32;
}

body.light-theme .tab.minimized {
    background: rgba(255, 165, 0, 0.15);
    border-color: #f57c00;
    color: #f57c00;
}

body.light-theme .tab.closed {
    background: rgba(244, 67, 54, 0.15);
    border-color: #d32f2f;
    color: #d32f2f;
}

body.light-theme .tab.maximized {
    background: rgba(33, 150, 243, 0.15);
    border-color: #1976d2;
    color: #1976d2;
}

body.light-theme .tab.maximized::after {
    background: #1976d2;
}

body.light-theme .tab.minimized::after {
    background: #f57c00;
}

body.light-theme .tab.closed::after {
    background: #d32f2f;
}

.tab i {
    font-size: 14px;
}

.tab span {
    font-size: 13px;
}

.taskbar-right .system-tray {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Light Theme System Tray */
body.light-theme .taskbar-right .system-tray {
    color: #666;
}

/* System Performance Monitor Widget - Top Right Corner */
.system-monitor-widget {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 280px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: 'Poppins', sans-serif;
}

.system-monitor-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(76, 175, 80, 0.3);
}

.system-monitor-widget.minimized {
    height: 45px;
    overflow: hidden;
}

.system-monitor-widget.hidden {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

.monitor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: grab;
}

.monitor-header:active {
    cursor: grabbing;
}

.monitor-header i:first-child {
    color: #4CAF50;
    margin-right: 8px;
    font-size: 14px;
}

.monitor-header span {
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
}

.monitor-controls {
    display: flex;
    gap: 8px;
}

.monitor-controls i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.minimize-monitor {
    background: #ffbd2e;
    color: #8b6914;
}



.monitor-controls i:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.monitor-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.monitor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.monitor-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(76, 175, 80, 0.3);
}

.monitor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 60px;
}

.monitor-label {
    font-size: 11px;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.monitor-value {
    font-size: 16px;
    font-weight: 700;
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.monitor-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.monitor-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cpu-fill {
    background: #4CAF50;
    box-shadow: none;
}

.memory-fill {
    background: #2196F3;
    box-shadow: none;
}

.monitor-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Light Theme System Monitor Widget */
body.light-theme .system-monitor-widget {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

body.light-theme .system-monitor-widget:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(76, 175, 80, 0.4);
}

body.light-theme .monitor-header {
    background: rgba(76, 175, 80, 0.15);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .monitor-header span {
    color: #333;
}

body.light-theme .monitor-header i:first-child {
    color: #2e7d32;
}

body.light-theme .monitor-item {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .monitor-item:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(76, 175, 80, 0.4);
}

body.light-theme .monitor-label {
    color: #666;
}

body.light-theme .monitor-value {
    color: #2e7d32;
    text-shadow: 0 0 8px rgba(46, 125, 50, 0.3);
}

body.light-theme .monitor-bar {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .cpu-fill {
    background: #2e7d32;
    box-shadow: none;
}

body.light-theme .memory-fill {
    background: #1976D2;
    box-shadow: none;
}

/* Mobile responsive adjustments */
@media (max-width: 1100px) {
    /* Use viewport scaling instead of zoom for better compatibility */
    html {
        font-size: 12px; /* Reduce base font size for mobile */
    }
    
    /* Mobile window title styles */
    .window-title {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    /* Mobile taskbar adjustments */
    .taskbar {
        height: 80px; /* Slightly bigger for mobile */
        padding: 0 20px; /* Adjusted padding */
        position: fixed;
        bottom: 0;
        width: 100%;
    }

    .tab {
        padding: 12px 16px; /* Optimized for mobile */
        font-size: 14px; /* Readable size */
        min-height: 44px; /* Touch-friendly height */
        flex: 1; /* Make tabs flexible */
        max-width: 120px; /* Prevent tabs from being too wide */
    }

    .tab i {
        font-size: 16px; /* Appropriate icon size */
    }

    .tab span {
        font-size: 12px; /* Compact text */
        display: none; /* Hide text on very small screens */
    }

    .start-menu {
        padding: 12px 16px !important; /* Mobile-optimized padding */
        font-size: 16px !important; /* Readable size */
    }

    .system-tray {
        gap: 16px; /* Increased from 12px */
        font-size: 18px; /* Increased from 14px */
    }

    .system-icons i {
        width: 36px; /* Increased from 28px */
        height: 36px; /* Increased from 28px */
        font-size: 18px; /* Increased from 14px */
    }

    #sound-btn {
        min-width: 55px !important; /* Increased from 44px */
        min-height: 55px !important; /* Increased from 44px */
    }

    #sound-btn i {
        font-size: 22px !important; /* Increased from 18px */
    }

    .mobile-menu-btn {
        padding: 14px 20px !important; /* Increased padding */
    }

    .menu-icon, .close-icon {
        font-size: 28px !important;
    }

    .time {
        font-size: 18px; /* Increased font size */
    }

    .system-monitor-widget {
        top: 15px;
        right: 15px;
        width: 280px; /* Mobile-appropriate width */
    }

    /* Mobile window adjustments */
    .window {
        width: 100% !important;
        height: calc(100vh - 80px) !important; /* Account for mobile taskbar */
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        max-width: none !important;
    }

    .windows-container {
        height: calc(100vh - 80px); /* Account for mobile taskbar */
        padding: 0;
    }

    /* Mobile taskbar layout fixes */
    .taskbar-center {
        flex: 1;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .window-tabs {
        display: flex;
        gap: 2px;
        min-width: max-content;
    }

    .taskbar-left {
        flex-shrink: 0;
    }

    .taskbar-right {
        flex-shrink: 0;
    }

    .monitor-header {
        padding: 10px 14px;
    }

    .monitor-content {
        padding: 14px;
        gap: 14px;
    }

    .monitor-item {
        padding: 10px;
        gap: 10px;
    }

    .monitor-value {
        font-size: 14px;
    }

    .monitor-bar {
        height: 6px;
    }
}

@media (max-width: 600px) {
    /* Enhanced scaling for smaller mobile devices */
    html {
        font-size: 10px; /* Even smaller base font size */
    }

    .taskbar {
        height: 70px; /* Compact for small screens */
        padding: 0 15px;
    }

    .tab {
        padding: 10px 8px; /* Compact padding */
        font-size: 10px; /* Smaller font */
        min-height: 40px;
        flex: 1;
    }

    .start-menu {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }

    /* Additional mobile text size reductions for very small screens */
    .about-title {
        font-size: 1.8em !important;
    }

    .about-description {
        font-size: 1.0em !important;
    }
    
    /* Very small mobile window title */
    .window-title {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .system-icons i {
        width: 40px; /* Even bigger icons */
        height: 40px;
        font-size: 20px;
    }

    #sound-btn {
        min-width: 60px !important;
        min-height: 60px !important;
    }

    #sound-btn i {
        font-size: 24px !important;
    }

    .mobile-menu-btn {
        padding: 16px 22px !important;
    }

    .menu-icon, .close-icon {
        font-size: 32px !important;
    }

    .system-monitor-widget {
        top: 10px;
        right: 10px;
        width: 280px; /* Increased from 220px */
    }

    .mobile-nav-menu {
        min-width: 280px !important; /* Appropriate size for small screens */
        padding: 15px !important;
        bottom: 80px !important; /* Adjusted for mobile taskbar */
        right: 5px !important;
        max-width: 90vw !important; /* Prevent overflow */
    }

    .mobile-nav-btn {
        padding: 12px 15px !important; /* Compact padding */
        font-size: 1em !important; /* Readable font size */
    }

    .mobile-nav-btn i {
        width: 32px !important;
        font-size: 20px !important;
    }

    .monitor-header {
        padding: 8px 12px;
    }

    .monitor-header span {
        font-size: 12px;
    }

    .monitor-content {
        padding: 12px;
        gap: 12px;
    }

    .monitor-item {
        padding: 8px;
        gap: 8px;
    }

    .monitor-info {
        min-width: 50px;
    }

    .monitor-label {
        font-size: 10px;
    }

    .monitor-value {
        font-size: 13px;
    }

    .monitor-bar {
        height: 5px;
    }
}

.system-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.system-icons i {
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.system-icons i:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4CAF50;
}

/* System Icon Button (for interactive icons like sound) */
.system-icon-btn {
    background: none;
    border: none;
    padding: 6px;
    border-radius: 4px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Ensure sound button is always visible */
#sound-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    border: none !important;
    border-radius: 4px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    color: #ccc !important;
    padding: 6px !important;
}

#sound-btn i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #ccc !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.system-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #4CAF50;
}

/* Remove highlight effects from sound button */
#sound-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #4CAF50 !important;
    transform: none !important;
    box-shadow: none !important;
}

.system-icon-btn i {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.system-icon-btn.sound-playing {
    transform: scale(1.1);
    color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

/* Remove sound playing highlight from sound button */
#sound-btn.sound-playing {
    transform: none !important;
    color: #4CAF50 !important;
    box-shadow: none !important;
}

.system-icon-btn.sound-playing i {
    animation: soundPulse 0.2s ease-out;
}

/* Remove sound pulse animation from sound button */
#sound-btn.sound-playing i {
    animation: none !important;
    transform: none !important;
}

/* Remove focus outline from sound button */
#sound-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove active state highlight from sound button */
#sound-btn:active {
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

@keyframes soundPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced sound feedback animations */
.sound-feedback {
    position: relative;
    overflow: visible;
}

.sound-feedback::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: soundRipple 0.6s ease-out;
}

@keyframes soundRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

/* Button click sound feedback */
button.sound-active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Typing indicator for inputs */
.typing-indicator {
    position: relative;
}

.typing-indicator::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #4CAF50;
    border-radius: 50%;
    opacity: 0;
    animation: typingPulse 0.3s ease-out;
}

@keyframes typingPulse {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-50%) scale(1);
    }
}

/* Light Theme System Icons */
body.light-theme .system-icons i {
    color: #666;
}

body.light-theme .system-icons i:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #2e7d32;
}

body.light-theme .system-icon-btn {
    color: #666;
}

body.light-theme .system-icon-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #2e7d32;
}

/* Remove light theme hover effects from sound button */
body.light-theme #sound-btn:hover {
    background: rgba(0, 0, 0, 0.1) !important;
    color: #2e7d32 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Policy Modal Styles */

/* Policy Close Button Styles */
.policy-close-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #7289da;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
    text-align: center;
    margin: 20px auto 0 auto;
}

.policy-close-btn:hover {
    background: #c41c1c;
}

.policy-container {
    background: #1e1e1e;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid #333;
}

.policy-header {
    background: #2d2d2d;
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-header h3 {
    color: #e0e0e0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.policy-content h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.policy-content h4 {
    color: #FFD166;
    margin: 20px 0 10px 0;
    font-size: 1.2em;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-content ul,
.policy-content ol {
    margin: 10px 0 15px 20px;
}

.policy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Light theme policy modal */
body.light-theme .policy-container {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .policy-header {
    background: #f8f9fa;
    border-bottom-color: #ddd;
}

body.light-theme .policy-header h3 {
    color: #333;
}

body.light-theme .policy-content {
    color: #333;
}

body.light-theme .policy-content h3 {
    color: #2e7d32;
}

body.light-theme .policy-content h4 {
    color: #f57c00;
}

/* About Window Specific Styles */
.about-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px 20px 20px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
}

.about-profile-picture {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7289da, #FFD166, #7289DA, #9B59B6);
    /* Gradient border */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    box-shadow: 0 0 40px rgba(114, 137, 218, 0.5);
    /* animation: neonPulse 3s infinite alternate; */
}

.about-profile-picture img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #2C2F33;
    /* Dark background for image */
}

.about-title {
    font-size: 3.5em;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.about-description {
    font-size: 1.8em;
    color: #ccc;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    overflow: visible;
    min-width: max-content;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.about-description .highlight {
    color: #7289da;
    /* Discord blue highlight */
    font-weight: 600;
    text-shadow: 0 0 8px rgba(114, 137, 218, 0.4);
    margin: 0 5px;
}

.typing-text {
    color: #7289da;
    font-weight: 600;
    min-height: 1.2em;
    display: inline-block;
    margin-right: 3px;
    letter-spacing: 0.5px;
}

.about-cursor {
    display: none;
    /* Hide the CSS cursor to prevent double cursor effect */
}

/* Typing animation cursor styling */
#typing-text {
    position: relative;
}

#typing-text::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: #7289da;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

.contact-me-button {
    background: linear-gradient(45deg, #7289DA, #9B59B6);
    /* Discord-like button gradient */
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.4);
}

.contact-me-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.6);
}

/* @keyframes neonPulse {
    0% {
        box-shadow: 0 0 40px rgba(114, 137, 218, 0.5);
    }

    50% {
        box-shadow: 0 0 60px rgba(114, 137, 218, 0.8), 0 0 70px rgba(155, 89, 182, 0.7);
    }

    100% {
        box-shadow: 0 0 40px rgba(114, 137, 218, 0.5);
    }
} */

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Chat Interface Animations */
@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Messages Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

/* Chat Input Hover Effects */
.chat-input-wrapper:focus-within {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

#chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

#chat-send-btn:active {
    transform: scale(0.95);
}

/* Message Animation */
.message {
    animation: messageSlideIn 0.3s ease-out;
}

/* Light Theme Chat */
body.light-theme .chat-container {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .chat-header {
    background: #f8f9fa;
    border-bottom-color: #ddd;
}

body.light-theme .chat-messages {
    background: #fff;
}

body.light-theme .bot-message .message-content {
    background: #f0f0f0;
    color: #333;
}

body.light-theme .user-message .message-content {
    background: #4CAF50;
    color: white;
}

body.light-theme .chat-input-container {
    background: #fff;
    border-top-color: #ddd;
}

body.light-theme .chat-input-wrapper {
    background: #f8f9fa;
    border-color: #ddd;
}

body.light-theme #chat-input {
    color: #333;
}

body.light-theme .chat-messages::-webkit-scrollbar-track {
    background: #f0f0f0;
}

/* Window responsive adjustments */
@media (max-width: 900px) {
    .window {
        width: 98%;
        height: 92%;
        max-width: none;
    }
}

@media (max-width: 1100px) {
    .window {
        width: 100%;
        height: 95%;
        border-radius: 8px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .window-header {
        border-radius: 8px 8px 0 0;
        padding: 18px 20px;
        min-height: 55px;
    }

    .window-content {
        border-radius: 0 0 8px 8px;
        height: calc(100% - 75px);
    }
}

/* Mobile adjustments for about window with bigger elements */
@media (max-width: 1100px) {
    .about-profile-picture {
        width: 200px; /* Increased from 150px */
        height: 200px; /* Increased from 150px */
        margin-bottom: 5px; /* Increased from 20px */
    }

    .about-profile-picture img {
        width: 180px; /* Increased from 130px */
        height: 180px; /* Increased from 130px */
    }

    .about-title {
        font-size: 2.5em; /* Reduced for mobile */
        margin-bottom: 7.5px; /* Increased from 10px */
    }

    .about-description {
        font-size: 1.4em; /* Reduced for mobile */
        margin-bottom: 40px; /* Increased from 30px */
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .contact-me-button {
        padding: 16px 32px; /* Increased from 12px 25px */
        font-size: 1.2em; /* Increased from 1em */
    }

    /* Make window content bigger */
    .window-content {
        padding: 25px; /* Add more padding */
        font-size: 16px; /* Increase base font size */
    }

    .window-header {
        padding: 25px 30px; /* Increased padding */
        min-height: 70px; /* Increased from 60px */
    }

    .window-title {
        font-size: 16px; /* Slightly bigger for mobile */
        font-weight: 600;
    }

    .window-buttons .btn {
        width: 32px; /* Made even bigger */
        height: 32px; /* Made even bigger */
    }

    /* Make all text elements bigger in windows */
    .window-content h1 {
        font-size: 2.2em !important;
    }

    .window-content h2 {
        font-size: 1.8em !important;
    }

    .window-content h3 {
        font-size: 1.5em !important;
    }

    .window-content p {
        font-size: 1.1em !important;
        line-height: 1.6 !important;
    }

    .window-content button {
        padding: 14px 20px !important;
        font-size: 1.1em !important;
    }

    .window-content input,
    .window-content textarea {
        padding: 12px 16px !important;
        font-size: 1.1em !important;
    }
}

@media (max-width: 900px) {
    .about-profile-picture {
        width: 160px; /* Increased from 120px */
        height: 160px; /* Increased from 120px */
        margin-bottom: 5px; /* Increased from 15px */
    }

    .about-profile-picture img {
        width: 140px; /* Increased from 110px */
        height: 140px; /* Increased from 110px */
    }

    .about-title {
        font-size: 2.2em; /* Reduced for mobile */
        margin-bottom: 5px; /* Increased from 8px */
    }

    .about-description {
        font-size: 1.2em; /* Reduced for mobile */
        margin-bottom: 35px; /* Increased from 25px */
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .contact-me-button {
        padding: 14px 28px; /* Increased from 10px 20px */
        font-size: 1.1em; /* Increased from 0.9em */
    }
}

/* Windows Container */
.windows-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    padding: 10px;
}

/* Window Styles */
.window {
    position: absolute;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.window.dragging {
    transition: none;
    z-index: 1001;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    cursor: grabbing;
}

.window.active {
    display: block;
    animation: windowOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Make about window visible by default on startup */
#about-window {
    display: block;
    opacity: 1;
}



@keyframes windowOpen {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
}

/* Window maximize styles */
.window.maximized {
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    max-width: none !important;
    position: fixed !important;
    z-index: 999 !important;
}

/* Smooth window state transitions */
.window:not(.dragging) {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Single window mode - ensure only one window is visible */
.windows-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px);
    padding: 15px;
    overflow: hidden;
    /* Prevent multiple windows from showing */
}

/* Improved window switching animations */
.window.switching-out {
    animation: windowSwitchOut 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.window.switching-in {
    animation: windowSwitchIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes windowSwitchOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
        filter: blur(5px);
    }
}

@keyframes windowSwitchIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
}

/* Window minimize animation */
@keyframes windowMinimize {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }

    to {
        opacity: 0.3;
        transform: translate(-50%, 100%) scale(0.05);
        filter: blur(3px);
    }
}

/* Window restore animation */
@keyframes windowRestore {
    from {
        opacity: 0.3;
        transform: translate(-50%, 100%) scale(0.05);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
}

.window-header {
    background: #2d2d2d;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    cursor: grab;
    user-select: none;
    min-height: 60px;
}

.window-header:active {
    cursor: grabbing;
}

.window-buttons {
    display: flex;
    gap: 12px;
    margin-right: 25px;
}

.window-buttons .btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.window-buttons .btn.close {
    background: #ff5f57;
    border: 1px solid #e0443e;
}

.window-buttons .btn.minimize {
    background: #ffbd2e;
    border: 1px solid #dea123;
}

.window-buttons .btn.maximize {
    background: #28ca42;
    border: 1px solid #1aab29;
}

.window-buttons .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.window-buttons .btn.close:hover::after {
    content: '×';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4a0e0e;
    font-size: 10px;
    font-weight: bold;
}

.window-buttons .btn.minimize:hover::after {
    content: '−';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5a4a0e;
    font-size: 10px;
    font-weight: bold;
}

.window-buttons .btn.maximize:hover::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0e4a1a;
    font-size: 10px;
    font-weight: bold;
}

.window-title {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.window-content {
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
    border-radius: 0 0 12px 12px;
    transition: background 0.3s ease;
    scroll-behavior: smooth;
    position: relative;
    box-sizing: border-box;
}

/* Pricing window specific override */
#pricing-window .window-content {
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 200px !important; /* Extra scrolling space for desktop */
}

/* Allow only pricing-right to scroll */
#pricing-window .pricing-content,
#pricing-window .pricing-container,
#pricing-window .pricing-left {
    overflow: visible !important;
    height: 100% !important;
}

#pricing-window .pricing-right {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    padding-bottom: 60px !important; /* Moderate extra scrolling for mobile */
}

/* Desktop-specific pricing rules */
@media (min-width: 881px) {
    #pricing-window .window-content {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-bottom: 200px !important; /* Extra scrolling space on desktop */
    }
    
    .pricing-content {
        padding-bottom: 150px !important; /* Extra scrolling space on desktop */
    }
    
    .pricing-plan-content {
        padding: 30px 30px 50px 30px !important; /* Moderate bottom padding on desktop */
        margin-bottom: 50px !important; /* Moderate margin on desktop */
    }
}

/* Enhanced Mobile pricing window content fix */
@media (max-width: 900px) {
    #pricing-window .window-content {
        height: calc(100vh - 140px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-bottom: 50px !important; /* Reduced extra scrolling for mobile */
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        scroll-behavior: smooth !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Mobile: Allow window-content to scroll, disable inner scrolls */
    #pricing-window .pricing-content,
    #pricing-window .pricing-container,
    #pricing-window .pricing-left,
    #pricing-window .pricing-right {
        overflow: visible !important;
        height: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Ensure pricing content is scrollable with zoom awareness */
    #pricing-window .pricing-content {
        min-height: auto !important;
        padding-bottom: 50px !important; /* Reduced extra scrolling for mobile */
        position: relative !important;
        z-index: 1 !important;
    }

    /* Make pricing plans stack vertically on mobile */
    #pricing-window .pricing-container {
        flex-direction: column !important;
        gap: 20px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    #pricing-window .pricing-left,
    #pricing-window .pricing-right {
        width: 100% !important;
        max-width: none !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Ensure pricing plans have proper spacing */
    #pricing-window .pricing-plan-content {
        padding-bottom: 200px !important;
        margin-bottom: 150px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Prevent footer overlap */
    .taskbar {
        position: relative !important;
        z-index: 999 !important;
        margin-top: 20px !important;
    }
}

/* Enhanced smaller mobile pricing fix */
@media (max-width: 600px) {
    #pricing-window .window-content {
        height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding-bottom: 50px !important; /* Reduced extra scrolling for small mobile */
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        scroll-behavior: smooth !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Extra padding for small mobile screens */
    #pricing-window .pricing-content {
        min-height: auto !important;
        padding-bottom: 50px !important; /* Reduced extra scrolling for small mobile */
        position: relative !important;
        z-index: 1 !important;
    }

    /* Enhanced spacing for small mobile */
    #pricing-window .pricing-plan-content {
        padding-bottom: 200px !important;
        margin-bottom: 150px !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Ensure footer doesn't overlap on small mobile */
    .taskbar {
        position: relative !important;
        z-index: 999 !important;
        margin-top: 30px !important;
    }
}

/* Add the same overlay effect as contact window */
.window-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(114, 137, 218, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure content appears above the overlay */
.window-content>* {
    position: relative;
    z-index: 1;
}

/* Enhanced scrolling space for all windows */
.window-content {
    padding-bottom: 120px !important;
}

/* Override for pricing window */
#pricing-window .window-content {
    padding-bottom: 0 !important;
}

/* Contact window specific scrolling space */
#contact-window .window-content {
    padding-bottom: 20px;
}

#contact-window .window-content>div:last-child {
    margin-bottom: 20px;
}

/* Mobile extra scrolling for contact */
@media (max-width: 900px) {
    #contact-window .window-content {
        padding-bottom: 300px !important;
    }
    
    #contact-window .window-content>div:last-child {
        margin-bottom: 200px !important;
    }
}

/* Projects window extra scrolling */
#projects-window .window-content {
    padding-bottom: 20px;
}

.projects-grid {
    padding: 0 30px 20px;
}

/* Mobile extra scrolling for projects */
@media (max-width: 900px) {
    #projects-window .window-content {
        padding-bottom: 150px !important;
    }
    
    .projects-grid {
        padding: 0 30px 80px !important;
    }
}

/* Skills window extra scrolling */
#skills-window .window-content {
    padding-bottom: 20px;
}

.skills-content {
    padding-bottom: 20px;
}

/* Mobile extra scrolling for skills */
@media (max-width: 900px) {
    #skills-window .window-content {
        padding-bottom: 300px !important;
    }
    
    .skills-content {
        padding-bottom: 200px !important;
    }
}

/* Clients window extra scrolling */
#clients-window .window-content {
    padding-bottom: 20px;
}

.clients-content {
    padding-bottom: 20px;
}

/* Desktop extra scrolling for clients */
@media (min-width: 1601px) {
    #clients-window .window-content {
        padding-bottom: 200px !important;
    }
    
    .clients-content {
        padding-bottom: 150px !important;
    }
    
    .clients-main-content {
        padding-bottom: 100px !important;
    }
    
    .reviews-grid {
        padding-bottom: 100px !important;
    }
    
    .reviews-overview {
        margin-bottom: 80px !important;
        padding-bottom: 30px !important;
    }
}

/* Mobile extra scrolling for clients */
@media (max-width: 900px) {
    #clients-window .window-content {
        padding-bottom: 400px !important;
    }
    
    .clients-content {
        padding-bottom: 300px !important;
    }
    
    .clients-main-content {
        padding-bottom: 200px !important;
    }
    
    .reviews-grid {
        padding-bottom: 150px !important;
    }
    
    .reviews-overview {
        margin-bottom: 80px !important;
        padding-bottom: 50px !important;
    }
    
    .client-reviews-title {
        margin-bottom: 40px !important;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    min-height: 50px;
}

/* Clients Grid Container - 4 Column Layout */
.clients-grid-container {
    display: block;
    margin-top: 25px;
    height: auto;
}

/* Clients Grid - 4 Column Layout */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    height: auto;
}

/* Grid Pagination - Bottom Layout */
.grid-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(25, 25, 25, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(114, 137, 218, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: auto;
    margin-top: 20px;
}

/* Reviews Grid Container - 4 Column Layout */
.reviews-grid-container {
    display: block;
    margin-top: 25px;
    height: auto;
}

/* Reviews Grid - 4 Column Layout */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    height: auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Grid Pagination Styling */
.grid-pagination .pagination-info {
    font-size: 1em;
    color: #b0b0b0;
    font-weight: 500;
    margin-right: 20px;
}

.grid-pagination .pagination-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.grid-pagination .pagination-btn {
    padding: 12px 20px;
    font-size: 0.9em;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.3);
    color: #7289da;
    white-space: nowrap;
}

.grid-pagination .pagination-btn:hover:not(:disabled) {
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.5);
    transform: translateY(-1px);
}

.grid-pagination .pagination-btn:disabled {
    background: rgba(60, 60, 60, 0.3);
    border-color: rgba(80, 80, 80, 0.3);
    color: #666;
    cursor: not-allowed;
}

.grid-pagination .pagination-numbers {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.grid-pagination .pagination-numbers .page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(60, 60, 60, 0.3);
    border: 1px solid rgba(80, 80, 80, 0.3);
    color: #b0b0b0;
}

.grid-pagination .pagination-numbers .page-number.active {
    background: linear-gradient(135deg, #7289da, #5a6fd8);
    border-color: #7289da;
    color: #fff;
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.3);
}

.grid-pagination .pagination-numbers .page-number:hover:not(.active) {
    background: rgba(114, 137, 218, 0.1);
    border-color: rgba(114, 137, 218, 0.3);
    color: #7289da;
}

/* Light Theme Grid Pagination */
body.light-theme .grid-pagination {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(114, 137, 218, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-theme .grid-pagination .pagination-info {
    color: #666;
}

body.light-theme .grid-pagination .pagination-btn {
    background: rgba(114, 137, 218, 0.1);
    border-color: rgba(114, 137, 218, 0.3);
    color: #7289da;
}

body.light-theme .grid-pagination .pagination-btn:hover:not(:disabled) {
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.5);
}

body.light-theme .grid-pagination .pagination-btn:disabled {
    background: rgba(240, 240, 240, 0.5);
    border-color: rgba(200, 200, 200, 0.5);
    color: #999;
}

body.light-theme .grid-pagination .pagination-numbers .page-number {
    background: rgba(240, 240, 240, 0.5);
    border-color: rgba(200, 200, 200, 0.5);
    color: #666;
}

body.light-theme .grid-pagination .pagination-numbers .page-number.active {
    background: linear-gradient(135deg, #7289da, #5a6fd8);
    border-color: #7289da;
    color: #fff;
}

body.light-theme .grid-pagination .pagination-numbers .page-number:hover:not(.active) {
    background: rgba(114, 137, 218, 0.1);
    border-color: rgba(114, 137, 218, 0.3);
    color: #7289da;
}

/* Projects Pagination Container - Ensure consistent height */
#projects-pagination {
    min-height: 50px;
    padding: 15px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Blog Pagination Container - Ensure consistent height */
#blog-pagination {
    min-height: 50px;
    padding: 15px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: center;
}

.pagination-info {
    color: #b0b0b0;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    margin: 0 10px;
}


.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.2) 0%, rgba(114, 137, 218, 0.1) 100%);
    border: 1px solid rgba(114, 137, 218, 0.3);
    border-radius: 8px;
    color: #7289DA;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.3) 0%, rgba(114, 137, 218, 0.2) 100%);
    border-color: rgba(114, 137, 218, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(60, 60, 60, 0.3);
    border-color: rgba(100, 100, 100, 0.2);
    color: #666;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #b0b0b0;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.pagination-number:hover {
    background: rgba(114, 137, 218, 0.2);
    border-color: rgba(114, 137, 218, 0.4);
    color: #7289DA;
    transform: translateY(-1px);
}

.pagination-number.active {
    background: linear-gradient(135deg, #7289DA 0%, #4CAF50 100%);
    border-color: #7289DA;
    color: #fff;
    box-shadow: 0 2px 8px rgba(114, 137, 218, 0.3);
}

.pagination-number.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(114, 137, 218, 0.4);
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

/* Light theme pagination styles */
body.light-theme .pagination-container {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .pagination-info {
    color: #666;
}

body.light-theme .pagination-btn {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(33, 150, 243, 0.1) 100%);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

body.light-theme .pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.3) 0%, rgba(33, 150, 243, 0.2) 100%);
    border-color: rgba(33, 150, 243, 0.5);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

body.light-theme .pagination-btn:disabled {
    background: rgba(240, 240, 240, 0.3);
    border-color: rgba(200, 200, 200, 0.2);
    color: #999;
}

body.light-theme .pagination-number {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
    color: #666;
}

body.light-theme .pagination-number:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.4);
    color: #2196F3;
}

body.light-theme .pagination-number.active {
    background: linear-gradient(135deg, #2196F3 0%, #4CAF50 100%);
    border-color: #2196F3;
    color: #fff;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

body.light-theme .pagination-number.active:hover {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

body.light-theme .pagination-ellipsis {
    color: #999;
}

/* Mobile responsive pagination */
@media (max-width: 768px) {
    .clients-grid-container {
        display: block;
        height: auto;
        margin-top: 20px;
        min-height: auto;
    }
    
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-bottom: 20px;
        grid-column: unset;
        grid-row: unset;
    }
    
    .grid-pagination {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        height: auto;
        margin-top: 15px;
        grid-column: unset;
        grid-row: unset;
    }
    
    .grid-pagination .pagination-info {
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .grid-pagination .pagination-controls {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .grid-pagination .pagination-btn {
        padding: 10px 15px;
        font-size: 0.85em;
    }
    
    .grid-pagination .pagination-numbers {
        gap: 6px;
    }
    
    .grid-pagination .pagination-numbers .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.9em;
    }
    
    .pagination-container {
        flex-direction: column;
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 15px;
        gap: 15px;
    }
    
    .pagination-controls {
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.8em;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.8em;
    }
    
    .pagination-ellipsis {
        width: 35px;
        height: 35px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 12px;
        gap: 12px;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.9em;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .pagination-numbers {
        gap: 6px;
    }
    
    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
    }
    
    .pagination-ellipsis {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
    }
}

/* Gallery window extra scrolling */
#gallery-window .window-content {
    padding-bottom: 150px;
}

.gallery-container {
    padding-bottom: 100px;
}

/* Blog window extra scrolling */
#blog-window .window-content {
    padding-bottom: 20px;
}

.blog-content {
    padding-bottom: 20px;
}

/* Mobile extra scrolling for blog */
@media (max-width: 900px) {
    #blog-window .window-content {
        padding-bottom: 300px !important;
    }
    
    .blog-content {
        padding-bottom: 200px !important;
    }
}

/* Terminal window extra scrolling */
#terminal-window .window-content {
    padding-bottom: 150px;
}

.terminal-container {
    padding-bottom: 100px;
}

/* Language window extra scrolling */
#language-window .window-content {
    padding-bottom: 150px;
}

.language-container {
    padding-bottom: 100px;
}

/* Wallpaper window extra scrolling */
#wallpaper-window .window-content {
    padding-bottom: 150px;
}

.wallpaper-container {
    padding-bottom: 100px;
}

/* Pricing window extra scrolling - DISABLED */
/* #pricing-window .window-content {
    padding-bottom: 150px;
} */

/* .pricing-content {
    padding-bottom: 100px;
} */

/* Keep terminal and wallpaper windows with solid background */
#terminal-modal .terminal-content,
#wallpaper-modal .wallpaper-container {
    background: #1e1e1e !important;
}

/* Remove overlay effect from terminal and wallpaper */
#terminal-modal .terminal-content::before,
#wallpaper-modal .wallpaper-container::before {
    display: none !important;
}

/* Stylish Custom Scrollbars for All Windows */
.window-content::-webkit-scrollbar {
    width: 16px;
}

.window-content::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid #333;
    margin: 5px;
}

.window-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 10px;
    border: 2px solid #1a1a1a;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.window-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5CBF60, #4CAF50);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.window-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #45a049, #3d8b40);
    transform: scale(0.95);
}

.window-content::-webkit-scrollbar-corner {
    background: #1a1a1a;
    border-radius: 5px;
}

/* Light Theme Window Content */
body.light-theme .window-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    color: #333;
}

/* Add the same overlay effect as contact window for light theme */
body.light-theme .window-content::before {
    background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
}

/* Keep terminal and wallpaper windows with solid background in light theme */
body.light-theme #terminal-modal .terminal-content,
body.light-theme #wallpaper-modal .wallpaper-container {
    background: #fff !important;
}

/* Remove overlay effect from terminal and wallpaper in light theme */
body.light-theme #terminal-modal .terminal-content::before,
body.light-theme #wallpaper-modal .wallpaper-container::before {
    display: none !important;
}

/* Light Theme Scrollbars */
body.light-theme .window-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border: 1px solid #ddd;
}

body.light-theme .window-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #2196F3, #1976D2);
    border: 2px solid #f0f0f0;
}

body.light-theme .window-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #42A5F5, #2196F3);
}

body.light-theme .window-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #1976D2, #1565C0);
}

body.light-theme .window-content::-webkit-scrollbar-corner {
    background: #f0f0f0;
}

/* Stylish Scrollbars for Pricing Section */
/* Super specific pricing scrollbar targeting */
#pricing-window .window-content.pricing-content::-webkit-scrollbar,
#pricing-window .window-content::-webkit-scrollbar,
.pricing-content::-webkit-scrollbar,
.pricing-container::-webkit-scrollbar,
.pricing-plan-content::-webkit-scrollbar {
    width: 15px !important;
}

#pricing-window .window-content.pricing-content::-webkit-scrollbar-track,
#pricing-window .window-content::-webkit-scrollbar-track,
.pricing-content::-webkit-scrollbar-track,
.pricing-container::-webkit-scrollbar-track,
.pricing-plan-content::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 10px !important;
    border: 1px solid #333 !important;
    margin: 5px !important;
}

#pricing-window .window-content.pricing-content::-webkit-scrollbar-thumb,
#pricing-window .window-content::-webkit-scrollbar-thumb,
.pricing-content::-webkit-scrollbar-thumb,
.pricing-container::-webkit-scrollbar-thumb,
.pricing-plan-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #FF9800, #F57C00) !important;
    border-radius: 10px !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

#pricing-window .window-content::-webkit-scrollbar-thumb:hover,
.pricing-content::-webkit-scrollbar-thumb:hover,
.pricing-container::-webkit-scrollbar-thumb:hover,
.pricing-plan-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #FFB74D, #FF9800) !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4) !important;
    transform: scale(1.05) !important;
}

#pricing-window .window-content::-webkit-scrollbar-thumb:active,
.pricing-content::-webkit-scrollbar-thumb:active,
.pricing-container::-webkit-scrollbar-thumb:active,
.pricing-plan-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #F57C00, #E65100) !important;
    transform: scale(0.95) !important;
}

#pricing-window .window-content::-webkit-scrollbar-corner,
.pricing-content::-webkit-scrollbar-corner,
.pricing-container::-webkit-scrollbar-corner,
.pricing-plan-content::-webkit-scrollbar-corner {
    background: #1a1a1a !important;
    border-radius: 5px !important;
}

/* Light Theme Pricing Scrollbars */
body.light-theme .pricing-content::-webkit-scrollbar-track,
body.light-theme .pricing-container::-webkit-scrollbar-track,
body.light-theme .pricing-plan-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border: 1px solid #ddd;
}

body.light-theme .pricing-content::-webkit-scrollbar-thumb,
body.light-theme .pricing-container::-webkit-scrollbar-thumb,
body.light-theme .pricing-plan-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4a90e2, #357abd);
    border: 2px solid #f0f0f0;
}

body.light-theme .pricing-content::-webkit-scrollbar-thumb:hover,
body.light-theme .pricing-container::-webkit-scrollbar-thumb:hover,
body.light-theme .pricing-plan-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #4a90e2, #357abd);
}

body.light-theme .pricing-content::-webkit-scrollbar-thumb:active,
body.light-theme .pricing-container::-webkit-scrollbar-thumb:active,
body.light-theme .pricing-plan-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #D84315, #BF360C);
}

body.light-theme .pricing-content::-webkit-scrollbar-corner,
body.light-theme .pricing-container::-webkit-scrollbar-corner,
body.light-theme .pricing-plan-content::-webkit-scrollbar-corner {
    background: #f0f0f0;
}

/* Stylish Scrollbars for All Modals and Policy Windows */
.modal::-webkit-scrollbar,
.policy-container::-webkit-scrollbar,
.policy-content::-webkit-scrollbar,
.terminal-container::-webkit-scrollbar,
.gallery-container::-webkit-scrollbar,
.language-container::-webkit-scrollbar,
.wallpaper-container::-webkit-scrollbar {
    width: 16px !important;
}

.modal::-webkit-scrollbar-track,
.policy-container::-webkit-scrollbar-track,
.policy-content::-webkit-scrollbar-track,
.terminal-container::-webkit-scrollbar-track,
.gallery-container::-webkit-scrollbar-track,
.language-container::-webkit-scrollbar-track,
.wallpaper-container::-webkit-scrollbar-track {
    background: #1a1a1a !important;
    border-radius: 10px !important;
    border: 1px solid #333 !important;
    margin: 5px !important;
}

.modal::-webkit-scrollbar-thumb,
.policy-container::-webkit-scrollbar-thumb,
.policy-content::-webkit-scrollbar-thumb,
.terminal-container::-webkit-scrollbar-thumb,
.gallery-container::-webkit-scrollbar-thumb,
.language-container::-webkit-scrollbar-thumb,
.wallpaper-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #9C27B0, #7B1FA2) !important;
    border-radius: 10px !important;
    border: 2px solid #1a1a1a !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.modal::-webkit-scrollbar-thumb:hover,
.policy-container::-webkit-scrollbar-thumb:hover,
.policy-content::-webkit-scrollbar-thumb:hover,
.terminal-container::-webkit-scrollbar-thumb:hover,
.gallery-container::-webkit-scrollbar-thumb:hover,
.language-container::-webkit-scrollbar-thumb:hover,
.wallpaper-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #BA68C8, #9C27B0) !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4) !important;
    transform: scale(1.05) !important;
}

.modal::-webkit-scrollbar-thumb:active,
.policy-container::-webkit-scrollbar-thumb:active,
.policy-content::-webkit-scrollbar-thumb:active,
.terminal-container::-webkit-scrollbar-thumb:active,
.gallery-container::-webkit-scrollbar-thumb:active,
.language-container::-webkit-scrollbar-thumb:active,
.wallpaper-container::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #7B1FA2, #4A148C) !important;
    transform: scale(0.95) !important;
}

.modal::-webkit-scrollbar-corner,
.policy-container::-webkit-scrollbar-corner,
.policy-content::-webkit-scrollbar-corner,
.terminal-container::-webkit-scrollbar-corner,
.gallery-container::-webkit-scrollbar-corner,
.language-container::-webkit-scrollbar-corner,
.wallpaper-container::-webkit-scrollbar-corner {
    background: #1a1a1a !important;
    border-radius: 5px !important;
}

/* Light Theme Modal Scrollbars */
body.light-theme .modal::-webkit-scrollbar-track,
body.light-theme .policy-container::-webkit-scrollbar-track,
body.light-theme .policy-content::-webkit-scrollbar-track,
body.light-theme .terminal-container::-webkit-scrollbar-track,
body.light-theme .gallery-container::-webkit-scrollbar-track,
body.light-theme .language-container::-webkit-scrollbar-track,
body.light-theme .wallpaper-container::-webkit-scrollbar-track {
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
}

body.light-theme .modal::-webkit-scrollbar-thumb,
body.light-theme .policy-container::-webkit-scrollbar-thumb,
body.light-theme .policy-content::-webkit-scrollbar-thumb,
body.light-theme .terminal-container::-webkit-scrollbar-thumb,
body.light-theme .gallery-container::-webkit-scrollbar-thumb,
body.light-theme .language-container::-webkit-scrollbar-thumb,
body.light-theme .wallpaper-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #673AB7, #512DA8) !important;
    border: 2px solid #f0f0f0 !important;
}

body.light-theme .modal::-webkit-scrollbar-thumb:hover,
body.light-theme .policy-container::-webkit-scrollbar-thumb:hover,
body.light-theme .policy-content::-webkit-scrollbar-thumb:hover,
body.light-theme .terminal-container::-webkit-scrollbar-thumb:hover,
body.light-theme .gallery-container::-webkit-scrollbar-thumb:hover,
body.light-theme .language-container::-webkit-scrollbar-thumb:hover,
body.light-theme .wallpaper-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #9575CD, #673AB7) !important;
}

body.light-theme .modal::-webkit-scrollbar-thumb:active,
body.light-theme .policy-container::-webkit-scrollbar-thumb:active,
body.light-theme .policy-content::-webkit-scrollbar-thumb:active,
body.light-theme .terminal-container::-webkit-scrollbar-thumb:active,
body.light-theme .gallery-container::-webkit-scrollbar-thumb:active,
body.light-theme .language-container::-webkit-scrollbar-thumb:active,
body.light-theme .wallpaper-container::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #512DA8, #311B92) !important;
}

body.light-theme .modal::-webkit-scrollbar-corner,
body.light-theme .policy-container::-webkit-scrollbar-corner,
body.light-theme .policy-content::-webkit-scrollbar-corner,
body.light-theme .terminal-container::-webkit-scrollbar-corner,
body.light-theme .gallery-container::-webkit-scrollbar-corner,
body.light-theme .language-container::-webkit-scrollbar-corner,
body.light-theme .wallpaper-container::-webkit-scrollbar-corner {
    background: #f0f0f0 !important;
}

.skills-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure it takes full height of parent window-content */
    overflow-y: auto;
    /* Enable scrolling for the content */
    /* Removed background override to use window-content gradient */
    box-sizing: border-box;
}

.what-i-do-section {
    padding: 80px 0 120px;
    /* Removed background override to use window-content gradient */
    position: relative;
}

.our-skills-section {
    background: #1e1e1e;
    /* Consistent background */
    padding: 50px;
    /* Overall padding for the section */
    padding-top: 0;
    /* Remove top padding if previous section has padding-bottom */
    padding-bottom: 100px;
}

/* Code Editor Styles */
.code-editor {
    display: flex;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.line-numbers {
    background: #252525;
    padding: 20px 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
    min-width: 60px;
    border-right: 1px solid #333;
}

.line-numbers span {
    display: block;
}

.code-content {
    flex: 1;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 4px;
}

/* Syntax Highlighting */
.keyword {
    color: #569cd6;
}

.class-name {
    color: #4ec9b0;
}

.function {
    color: #dcdcaa;
}

.string {
    color: #ce9178;
}

.comment {
    color: #6a9955;
}

/* Projects Container */
.projects-container {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* New styles for Projects Window */
.projects-content {
    overflow-y: auto;
    /* Add padding for scrollable content */
    box-sizing: border-box;
}

.projects-overview {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 30px;
}

.portfolio-text {
    font-size: 0.9em;
    color: #7289da;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.my-awesome-projects-title {
    font-size: 3em;
    color: #e0e0e0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Removed old grid layout - using flex layout below for horizontal project cards */

/* Removed old vertical project card layout - using horizontal layout below */

/* Removed old hover styles - using horizontal layout styles below */

.project-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #7289DA;
    /* Discord brand color */
    text-shadow: 0 0 10px rgba(114, 137, 218, 0.6);
}

.project-title {
    font-size: 1.5em;
    color: #FFD166;
    /* Yellowish highlight */
    margin-bottom: 10px;
    font-weight: 600;
}

.project-description {
    font-size: 1em;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.projects-grid .project-links a {
    color: #7289DA;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.projects-grid .project-links a:hover {
    color: #FFD166;
}

/* Responsive adjustments for new projects section */
@media (max-width: 1100px) {
    .projects-overview {
        margin-bottom: 30px;
    }

    .my-awesome-projects-title {
        font-size: 2.5em;
    }

    /* Old responsive styles removed - using horizontal layout styles below */

    .project-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }

    .project-title {
        font-size: 1.3em;
    }

    .project-description {
        font-size: 0.95em;
    }

    .projects-grid .project-links a {
        font-size: 1.3em;
    }
}

@media (max-width: 900px) {
    .projects-overview {
        margin-bottom: 25px;
    }

    .my-awesome-projects-title {
        font-size: 2em;
    }

    /* Old responsive styles removed - using horizontal layout styles below */

    .project-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .project-title {
        font-size: 1.2em;
    }

    .project-description {
        font-size: 0.9em;
    }

    .projects-grid .project-links a {
        font-size: 1.2em;
    }
}

/* Light theme adjustments for new projects section */
body.light-theme .my-awesome-projects-title {
    color: #333;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .portfolio-text {
    color: #4a90e2;
    /* Light theme specific blue */
}

/* Old light theme styles removed - using horizontal layout styles below */

body.light-theme .project-icon {
    color: #2196F3;
    /* Light theme specific blue */
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.4);
}

body.light-theme .project-title {
    color: #FFC107;
    /* Light theme specific yellow */
}

body.light-theme .project-description {
    color: #555;
}

body.light-theme .projects-grid .project-links a {
    color: #2196F3;
}

body.light-theme .projects-grid .project-links a:hover {
    color: #FFC107;
}

/* New Services Section Styles */
.skills-heading {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.features-text {
    position: relative;
    font-size: 0.9em;
    color: #7289da;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    bottom: -22px;
}

.what-i-do-title {
    position: relative;
    font-size: 3em;
    color: #e0e0e0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    bottom: -14px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: #121212;
    border-radius: 16px;
    padding: 50px 40px;
    border: none;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 4em;
    margin-bottom: 30px;
    color: #00bcd4;
    text-shadow: none;
}

.service-card h3 {
    font-size: 1.5em;
    color: #7289da;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 1em;
    color: #ccc5c5;
    line-height: 1.6;
}

/* Responsive adjustments for skills section */
@media (max-width: 1100px) {
    .skills-heading {
        margin-bottom: 30px;
    }

    .what-i-do-title {
        font-size: 2.5em;
    }

    .what-i-do-section {
        padding: 40px 0 60px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 30px;
        max-width: 600px;
    }

    .service-card {
        padding: 35px 25px;
        border-radius: 12px;
    }

    .service-icon {
        font-size: 3.5em;
        margin-bottom: 25px;
    }

    .service-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.3em;
    }

    .service-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 900px) {
    .skills-heading {
        margin-bottom: 25px;
    }

    .what-i-do-title {
        font-size: 2em;
    }

    .what-i-do-section {
        padding: 30px 0 50px;
    }

    .services-container {
        gap: 25px;
        padding: 0 20px;
        max-width: 500px;
    }

    .service-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .service-icon {
        font-size: 3em;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 2.5em;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1.2em;
    }

    .service-card p {
        font-size: 0.9em;
    }
}

/* Light theme adjustments for new skills section */

body.light-theme .service-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-theme .service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.light-theme .service-icon {
    color: #00bcd4;
    text-shadow: none;
}

body.light-theme .service-card h3 {
    color: #7289da;
}

body.light-theme .service-card p {
    color: #666;
}

/* New styles for Skills Window (Our Skills) */
.skills-overview {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px 0;
}

.experience-text {
    font-size: 0.9em;
    color: #7289da;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.our-skills-title {
    font-size: 3em;
    color: #e0e0e0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.skills-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.skill-tab {
    background: #333;
    color: #e0e0e0;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.skill-tab.active,
.skill-tab:hover {
    background: linear-gradient(45deg, #7289DA, #9B59B6);
    color: white;
    border-color: #7289DA;
}

.skill-categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
    padding: 0 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-title {
    font-size: 1.8em;
    color: #FFD166;
    /* Yellowish highlight */
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

.skill-list {
    list-style: none;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #ccc;
    gap: 15px;
}

.skill-name {
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
}

.skill-percentage {
    font-weight: 700;
    color: #7289da;
    min-width: 45px;
    text-align: right;
    flex-shrink: 0;
}

.skill-progress-bar {
    width: 150px;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-fill {
    height: 100%;
    width: 100%;
    /* Assuming 100% fill for all for now */
    background: linear-gradient(90deg, #9B59B6, #7289da);
    /* Purple to Discord Blue gradient */
    border-radius: 4px;
    /* animation: skillFill 1.5s ease-out forwards; */
}

@keyframes skillFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Responsive adjustments for new skills section */
@media (max-width: 1100px) {
    .skills-overview {
        margin-bottom: 30px;
    }

    .our-skills-title {
        font-size: 2.5em;
    }

    .skills-tabs {
        margin-bottom: 30px;
    }

    .skill-tab {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .skill-categories-container {
        grid-template-columns: 1fr;
        padding: 0 30px 30px;
        gap: 40px;
    }

    .category-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .skill-item {
        font-size: 1em;
        margin-bottom: 18px;
    }

    .skill-progress-bar {
        width: 120px;
        height: 6px;
    }
}

@media (max-width: 900px) {
    .skills-overview {
        margin-bottom: 25px;
    }

    .our-skills-title {
        font-size: 2em;
    }

    .skills-tabs {
        margin-bottom: 25px;
    }

    .skill-tab {
        padding: 7px 15px;
        font-size: 0.85em;
    }

    .skill-categories-container {
        padding: 0 20px 20px;
        gap: 30px;
    }

    .category-title {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .skill-item {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .skill-progress-bar {
        width: 100px;
        height: 5px;
    }

    .skill-item {
        gap: 10px;
    }

    .skill-name {
        font-size: 0.85em;
    }

    .skill-percentage {
        font-size: 0.9em;
    }
}

/* Light theme adjustments for new skills section */
body.light-theme .our-skills-section {
    background: #f8f9fa;
    border-top-color: #ddd;
}

body.light-theme .our-skills-title {
    color: #333;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .experience-text {
    color: #1976D2;
}

body.light-theme .skill-tab {
    background: #f0f0f0;
    color: #555;
    border-color: #ddd;
}

body.light-theme .skill-tab.active,
body.light-theme .skill-tab:hover {
    background: linear-gradient(45deg, #1976D2, #42A5F5);
    color: white;
    border-color: #1976D2;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

body.light-theme .category-title {
    color: #1976D2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.light-theme .skill-item {
    color: #555;
}

body.light-theme .skill-name {
    color: #333;
    font-weight: 600;
}

body.light-theme .skill-percentage {
    color: #1976D2;
    font-weight: 700;
}

body.light-theme .skill-progress-bar {
    background: #e0e0e0;
    border: 1px solid #ddd;
}

body.light-theme .skill-fill {
    background: linear-gradient(90deg, #1976D2, #42A5F5);
}

body.light-theme .what-i-do-section {
    background: #f8f9fa;
}

body.light-theme .what-i-do-title {
    color: #333;
    background: linear-gradient(135deg, #1976D2, #42A5F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .features-text {
    color: #1976D2;
}

/* Ensure dark mode styles are properly applied */
.what-i-do-section {
    background: #1e1e1e;
}

.features-text {
    color: #7289da;
}

.what-i-do-title {
    color: #e0e0e0;
    background: none;
    -webkit-text-fill-color: #e0e0e0;
}

.experience-text {
    color: #7289da;
}

.our-skills-title {
    color: #e0e0e0;
    background: none;
    -webkit-text-fill-color: #e0e0e0;
}

.category-title {
    color: #FFD166;
}

/* Old duplicate project-card styles removed - using horizontal layout below */

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.project-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-links {
    display: flex;
    gap: 10px;
}

.project-links a {
    color: #ccc;
    font-size: 18px;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: #4CAF50;
}

.project-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Contact Styles */
.contact-container {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.contact-item i {
    color: #4CAF50;
    font-size: 20px;
    width: 24px;
}

.contact-form {
    background: #252525;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4CAF50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Control Buttons */
.control-buttons {
    display: flex;
    gap: 20px;
    margin-right: 15px;
}

.control-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ccc;
    padding: 6px;
    border-radius: 6px;
    font-size: 15px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.control-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

/* Light Theme Control Buttons */
body.light-theme .control-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
}

body.light-theme .control-btn:hover {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Terminal Styles */
.terminal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    height: 70%;
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
}

.terminal-container .window-header {
    cursor: grab;
    user-select: none;
}

.terminal-container .window-header:active {
    cursor: grabbing;
}

.terminal-container.maximized {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: calc(100vh - 70px) !important;
    max-width: none !important;
    border-radius: 0 !important;
    z-index: 999 !important;
}

.terminal-content {
    height: calc(100% - 49px);
    padding: 20px;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
}

#terminal-output {
    color: #4CAF50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    color: #4CAF50;
}

.terminal-prompt {
    margin-right: 8px;
    font-weight: bold;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #4CAF50;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    flex: 1;
}

/* Gallery Styles */
.gallery-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.gallery-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    background: linear-gradient(135deg, rgba(255, 95, 87, 0.15) 0%, rgba(224, 68, 62, 0.1) 100%);
    border: 2px solid rgba(255, 95, 87, 0.3);
    color: #ff5f57;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 95, 87, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.close-btn:hover {
    background: linear-gradient(135deg, #ff5f57 0%, #e0443e 100%);
    color: white;
    transform: scale(1.15) rotate(180deg);
    box-shadow: 0 8px 25px rgba(255, 95, 87, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.close-btn:hover::before {
    left: 100%;
}

.close-btn:active {
    transform: scale(0.95) rotate(180deg);
    box-shadow: 0 4px 15px rgba(255, 95, 87, 0.4);
}

.close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 95, 87, 0.3), 0 4px 15px rgba(255, 95, 87, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    height: calc(100% - 69px);
    overflow-y: auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    border-color: #4CAF50;
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #4CAF50;
    font-size: 24px;
}

/* Gallery Modal Styles */
.gallery-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: 80%;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.gallery-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language Modal Styles */
.language-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.language-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.language-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-options {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-options button {
    padding: 12px;
    background: #252525;
    border: 1px solid #333;
    color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-options button:hover {
    background: #4CAF50;
    border-color: #4CAF50;
}

/* Image Viewer Styles */
.image-viewer-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-container .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
}

#viewer-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.image-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.image-controls button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.image-controls button:hover {
    background: rgba(76, 175, 80, 0.8);
    transform: scale(1.1);
}

/* Language Selector Styles */
.language-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.language-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.language-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    padding: 30px;
}

.language-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-item:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-5px);
}

.language-item i {
    font-size: 40px;
}

.language-item span {
    color: #e0e0e0;
    font-weight: 500;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-right: 12px;
}

.mobile-menu-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border-color: #4CAF50;
}

/* Show mobile menu button only on mobile devices */
@media (max-width: 1100px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Hide desktop control buttons on mobile - TEMPORARILY DISABLED */
    /* .control-buttons {
        display: none;
    } */
}

/* Mobile Menu Styles */
.mobile-menu-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #1e1e1e;
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.mobile-menu-header {
    background: #2d2d2d;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.mobile-menu-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
}

.mobile-menu-content {
    padding: 10px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 11px;
}

.mobile-menu-item:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    transform: translateX(5px);
}

.mobile-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-item i {
    font-size: 12px;
    width: 14px;
    text-align: center;
    color: #4CAF50;
}

.mobile-menu-item span {
    font-weight: 500;
}

/* Desktop - Hide mobile menu button completely */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Tablet and Mobile - Show mobile menu button, hide some desktop controls */
@media (max-width: 1100px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Hide some desktop control buttons on smaller screens */
    .control-buttons .control-btn:nth-child(n+3) {
        display: none;
    }
}

/* Mobile menu responsive */
@media (max-width: 900px) {
    .mobile-menu-container {
        width: 95%;
        max-width: none;
        border-radius: 20px;
    }

    .mobile-menu-header {
        padding: 25px;
    }

    .mobile-menu-item {
        padding: 10px 15px;
        font-size: 12px;
    }

    .mobile-menu-item i {
        font-size: 14px;
        width: 16px;
    }

    /* Hide all desktop control buttons on very small screens */
    .control-buttons {
        display: none;
    }

    /* Ensure mobile menu button is visible */
    .mobile-menu-btn {
        display: block !important;
    }

    /* Hide some system icons on mobile to save space, but keep sound button */
    .time {
        display: none;
    }

    .system-icons {
        display: flex;
        gap: 8px;
    }

    /* Hide non-essential system icons on mobile */
    .system-icons i:not(.system-icon-btn) {
        display: none;
    }

    /* Ensure sound button is always visible on mobile */
    .system-icons .system-icon-btn,
    #sound-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 16px;
        min-width: 44px;
        min-height: 44px;
        color: #4CAF50 !important;
        border-radius: 6px !important;
    }

    /* Ensure sound button icon is visible and centered on mobile */
    #sound-btn i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        color: #4CAF50 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure system tray is visible on mobile */
    .taskbar-right,
    .system-tray {
        display: flex !important;
    }
}

/* Light theme mobile menu */
body.light-theme .mobile-menu-container {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .mobile-menu-header {
    background: #f5f5f5;
    border-bottom-color: #ddd;
}

body.light-theme .mobile-menu-header h3 {
    color: #2e7d32;
}

body.light-theme .mobile-menu-item {
    color: #333;
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.light-theme .mobile-menu-item:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

body.light-theme .mobile-menu-item i {
    color: #2e7d32;
}

body.light-theme .mobile-menu-btn {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    color: #2e7d32;
}

body.light-theme .mobile-menu-btn:hover {
    background: rgba(76, 175, 80, 0.25);
}

/* Wallpaper Selector Styles */
.wallpaper-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 700px;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.wallpaper-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.wallpaper-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 30px;
}

.wallpaper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wallpaper-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.wallpaper-preview {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.wallpaper-item:hover .wallpaper-preview {
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.wallpaper-item span {
    color: #ccc;
    font-size: 14px;
    text-align: center;
}

/* Wallpaper Preview Gradients */
.wallpaper-preview.gradient1 {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.wallpaper-preview.gradient2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wallpaper-preview.gradient3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.wallpaper-preview.gradient4 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.wallpaper-preview.gradient5 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.wallpaper-preview.gradient6 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Light Theme Wallpaper Modal */
body.light-theme .wallpaper-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .wallpaper-preview {
    border-color: #ddd;
}

body.light-theme .wallpaper-item:hover .wallpaper-preview {
    border-color: #2e7d32;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

body.light-theme .wallpaper-item span {
    color: #666;
}

.wallpaper-preview {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.wallpaper-item:hover .wallpaper-preview {
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

.wallpaper-item span {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}

/* Wallpaper Gradients */
.gradient1 {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.gradient2 {
    background: linear-gradient(135deg, #0c1445 0%, #1e3c72 50%, #2a5298 100%);
}

.gradient3 {
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 50%, #38ef7d 100%);
}

.gradient4 {
    background: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
}

.gradient5 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.gradient6 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Light theme wallpaper adjustments */
body.light-theme .desktop.gradient1 {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

body.light-theme .desktop.gradient2 {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
}

body.light-theme .desktop.gradient3 {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 50%, #f48fb1 100%);
}

body.light-theme .desktop.gradient4 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 50%, #ffb300 100%);
}

body.light-theme .desktop.gradient5 {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 50%, #ce93d8 100%);
}

body.light-theme .desktop.gradient6 {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 50%, #80cbc4 100%);
}

/* Theme Styles */
body.light-theme {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}

body.light-theme .desktop {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

body.light-theme .taskbar {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: #ddd;
    color: #333;
}

body.light-theme .taskbar-left .start-menu {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

body.light-theme .tab {
    background: rgba(0, 0, 0, 0.05);
    color: #555;
}

body.light-theme .tab:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .tab.active {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
    border-color: #4CAF50;
}

body.light-theme .system-tray {
    color: #555;
}

body.light-theme .control-btn {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
}

body.light-theme .control-btn:hover {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

body.light-theme .window {
    background: #fff;
    border-color: #ddd;
    color: #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .window-header {
    background: #f5f5f5;
    border-bottom-color: #ddd;
    color: #333;
}

body.light-theme .window-title {
    color: #333;
}

body.light-theme .code-editor .line-numbers {
    background: #f8f8f8;
    border-right-color: #ddd;
    color: #999;
}

body.light-theme .code-content {
    background: #fff;
}

/* Duplicate rule removed - using the main light theme window-content rule above */

/* Light theme syntax highlighting */
body.light-theme .keyword {
    color: #0000ff;
}

body.light-theme .class-name {
    color: #267f99;
}

body.light-theme .function {
    color: #795e26;
}

body.light-theme .string {
    color: #a31515;
}

body.light-theme .comment {
    color: #008000;
}

body.light-theme .skill-bar {
    background: #e0e0e0;
}

body.light-theme .skill-category h3 {
    color: #2e7d32;
}

/* Old duplicate light theme project styles removed - using consolidated styles below */

body.light-theme .project-header h3 {
    color: #2e7d32;
}

body.light-theme .project-links a {
    color: #666;
}

body.light-theme .project-links a:hover {
    color: #2e7d32;
}

body.light-theme .project-card p {
    color: #555;
}

body.light-theme .tech-tag {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    border-color: rgba(76, 175, 80, 0.3);
}

body.light-theme .contact-item {
    background: #f9f9f9;
    border-color: #ddd;
    color: #333;
}

body.light-theme .contact-item:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

body.light-theme .contact-item i {
    color: #2e7d32;
}

body.light-theme .contact-form {
    background: #f9f9f9;
    border-color: #ddd;
}

body.light-theme .form-group label {
    color: #2e7d32;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #fff;
    border-color: #ddd;
    color: #333;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Light theme modal styles */
body.light-theme .modal {
    background: rgba(255, 255, 255, 0.8);
}

body.light-theme .terminal-container,
body.light-theme .gallery-container,
body.light-theme .language-container,
body.light-theme .wallpaper-container {
    background: #f8f9fa;
    border-color: #ddd;
    color: #2c2c2c;
}

body.light-theme .terminal-header,
body.light-theme .gallery-header,
body.light-theme .language-header,
body.light-theme .wallpaper-header {
    background: #f5f5f5;
    border-bottom-color: #ddd;
    color: #333;
}

body.light-theme .terminal-header h3,
body.light-theme .gallery-header h3,
body.light-theme .language-header h3,
body.light-theme .wallpaper-header h3 {
    color: #2e7d32;
}

body.light-theme .terminal-content {
    color: #2c2c2c;
    background: #f8f9fa;
}

body.light-theme #terminal-output {
    color: #1b5e20;
    background: transparent;
}

body.light-theme .terminal-prompt {
    color: #1b5e20;
    font-weight: bold;
}

body.light-theme #terminal-input {
    color: #1b5e20;
    background: transparent;
    caret-color: #1b5e20;
}

body.light-theme .terminal-input-line {
    color: #1b5e20;
}

body.light-theme .language-item {
    background: #f9f9f9;
    border-color: #ddd;
    color: #333;
}

body.light-theme .language-item:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

body.light-theme .language-item span {
    color: #333;
}

body.light-theme .wallpaper-item span {
    color: #333;
}

body.light-theme .wallpaper-preview {
    border-color: #ddd;
}

body.light-theme .wallpaper-item:hover .wallpaper-preview {
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    transform: scale(1.05);
}

body.light-theme .about-content .about-profile-picture {
    background: linear-gradient(45deg, #FF9800, #FBC02D, #2196F3, #673AB7);
    /* Light theme gradient for image border */
    box-shadow: 0 0 40px rgba(33, 150, 243, 0.5);
}

body.light-theme .about-profile-picture img {
    border: 5px solid #E0E0E0;
    /* Light background for image */
}

body.light-theme .about-title {
    color: #333;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

body.light-theme .about-description {
    color: #555;
}

body.light-theme .about-description .highlight {
    color: #4a90e2;
    /* Light theme highlight color */
    text-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

body.light-theme #typing-text::after {
    background-color: #4a90e2;
}

body.light-theme .contact-me-button {
    background: linear-gradient(45deg, #1976D2, #42A5F5);
    /* Light theme button gradient */
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

body.light-theme .contact-me-button:hover {
    box-shadow: 0 8px 20px rgba(25, 118, 210, 0.6);
}

/* Light theme adjustments for footer */
body.light-theme .contact-footer-section {
    background: rgba(0, 0, 0, 0.05);
    border-top-color: #ddd;
}

body.light-theme .footer-info h3 {
    color: #1976D2;
}

body.light-theme .footer-info p {
    color: #555;
}

body.light-theme .footer-social-link {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
}

body.light-theme .footer-social-link:hover {
    background: #1976D2;
    color: white;
}

body.light-theme .footer-forums h4 {
    color: #00796B;
}

body.light-theme .forum-btn {
    background: linear-gradient(135deg, #1976D2 0%, #42A5F5 100%);
}

body.light-theme .forum-btn:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

body.light-theme .policy-btn {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
}

body.light-theme .policy-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

body.light-theme .footer-copyright {
    color: #666;
}

body.light-theme .footer-bottom {
    border-top-color: #ddd;
}

body.light-theme .close-btn {
    color: #666;
}

body.light-theme .close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #ff5f57;
}

body.light-theme .terminal-window {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .terminal-header {
    background: #f5f5f5;
    border-bottom-color: #ddd;
}

body.light-theme .terminal-title {
    color: #333;
}

body.light-theme .terminal-body {
    background: #fff;
}

body.light-theme .loading-text .line {
    color: #2e7d32;
}

/* Enhanced Skill Items */
.skill-item span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-item i {
    font-size: 18px;
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1100px) {
    .taskbar {
        padding: 0 8px;
        height: 45px;
    }

    .taskbar-left .start-menu span {
        display: inline !important;
        font-size: 1em;
        margin-left: 5px;
    }

    .window-tabs {
        gap: 4px;
    }

    .tab {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 50px;
        justify-content: center;
    }

    .tab span {
        display: none;
    }

    .tab i {
        font-size: 16px;
    }

    .window {
        width: 95%;
        height: 85%;
        margin: 10px;
        border-radius: 12px;
    }

    .windows-container {
        padding: 10px;
        height: calc(100vh - 52px);
    }

    .window-header {
        padding: 16px 20px;
        touch-action: none;
    }

    .window-buttons .btn {
        width: 24px;
        height: 24px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }

    .projects-container {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .code-content {
        padding: 15px;
        font-size: 13px;
        line-height: 1.5;
    }

    .line-numbers {
        padding: 15px 10px;
        font-size: 13px;
        min-width: 45px;
    }

    .control-buttons {
        gap: 6px;
    }

    .control-btn {
        padding: 10px;
        font-size: 16px;
    }

    .system-icons i {
        padding: 6px;
        font-size: 14px;
    }

    /* Modal improvements for tablet */
    .modal .terminal-container,
    .modal .gallery-container,
    .modal .language-container,
    .modal .wallpaper-container {
        width: 90%;
        max-width: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .wallpaper-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
}

/* Mobile Styles - Complete Rewrite */
@media (max-width: 900px) {

    /* Fix all window content scrolling on mobile */
    .window-content {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        scroll-behavior: smooth !important;
        padding-bottom: 80px !important;
    }

    /* Special fix for pricing window on mobile */
    #pricing-window .window-content {
        padding-bottom: 400px !important;
        min-height: 150vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Ensure time is always visible on mobile */
    .time {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        justify-content: center;
    }

    /* Center all taskbar elements on mobile */
    .taskbar {
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
        height: 50px;
    }

    .taskbar-left {
        flex: 0 0 auto;
        min-width: 140px;
    }

    .taskbar-center {
        display: none !important;
    }

    .taskbar-right {
        flex: 0 0 auto;
        display: flex !important;
        align-items: center;
    }

    .taskbar-right .system-tray {
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    /* Reset body and html for mobile */
    html,
    body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        font-size: 14px;
        -webkit-text-size-adjust: 100%;
    }

    /* Desktop container */
    .desktop {
        width: 100vw;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        position: fixed;
        top: 0;
        left: 0;
        overflow: hidden;
    }

    /* Taskbar mobile optimization */
    .taskbar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        padding: 0 8px;
        background: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid #333;
        z-index: 1000;
    }

    .taskbar-left .start-menu {
        padding: 8px 12px;
        font-size: 16px;
    }

    .taskbar-left .start-menu span {
        display: inline !important;
        font-size: 0.9em;
        margin-left: 6px;
    }

    .taskbar-left .start-menu i {
        font-size: 18px;
    }

    .taskbar-center {
        flex: 1;
        display: flex;
        justify-content: center;
        margin: 0 10px;
    }

    .window-tabs {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 5px;
    }

    .window-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        padding: 10px 12px;
        min-width: 50px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }

    .tab.active {
        background: rgba(76, 175, 80, 0.3);
        border-color: #4CAF50;
        color: #4CAF50;
    }

    .tab span {
        display: none;
    }

    .tab i {
        font-size: 20px;
    }

    .taskbar-right .system-tray {
        gap: 6px;
        font-size: 11px;
    }

    .control-buttons {
        gap: 3px;
    }

    .control-btn {
        padding: 6px;
        font-size: 13px;
        min-width: 32px;
        min-height: 32px;
        border-radius: 7px;
    }

    .system-icons {
        gap: 4px;
    }

    .system-icons i {
        padding: 6px;
        font-size: 14px;
    }

    .time {
        font-size: 10px;
        margin-left: 5px;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: none;
        background: rgba(76, 175, 80, 0.2);
        border: 1px solid #4CAF50;
        color: #4CAF50;
        padding: 10px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 18px;
        min-width: 44px;
        min-height: 44px;
        transition: all 0.3s ease;
        margin-right: 10px;
    }

    .mobile-menu-btn:hover {
        background: rgba(76, 175, 80, 0.3);
        transform: scale(1.05);
    }

    /* Show mobile menu button only on mobile */
    @media (max-width: 1150px) {
        .mobile-menu-btn {
            display: flex !important;
            align-items: center;
            justify-content: center;
        }

        /* Hide desktop control buttons on mobile - TEMPORARILY DISABLED */
        /* .control-buttons {
            display: none;
        } */

        /* Show only essential system icons on mobile */
        .system-icons {
            display: flex !important;
            gap: 8px;
        }

        .system-icons i:not(.system-icon-btn) {
            display: none !important;
        }

        .system-icons .system-icon-btn {
            display: flex !important;
            align-items: center;
            justify-content: center;
            padding: 8px;
            font-size: 16px;
        }
    }

    /* Windows container mobile */
    .windows-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: calc(100vh - 50px);
        height: calc((var(--vh, 1vh) * 100) - 50px);
        padding: 0;
        overflow: hidden;
    }

    /* Window mobile optimization */
    .window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 50px) !important;
        height: calc((var(--vh, 1vh) * 100) - 50px) !important;
        max-width: none !important;
        max-height: none !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .window.active {
        display: block !important;
        z-index: 100;
    }

    .window-header {
        padding: 15px 20px;
        border-radius: 0;
        background: #2d2d2d;
        border-bottom: 1px solid #333;
        height: 50px;
        display: flex;
        align-items: center;
    }

    .window-buttons {
        gap: 8px;
        margin-right: 15px;
    }

    .window-buttons .btn {
        width: 24px;
        height: 24px;
    }

    .window-title {
        font-size: 14px; /* Slightly bigger for very small mobile screens */
        font-weight: 600;
    }

    .window-content {
        height: calc(100% - 50px) !important;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Code editor mobile optimization */
    .code-editor {
        display: block;
        height: 100%;
        padding: 0;
    }

    .line-numbers {
        display: none;
    }

    .code-content {
        padding: 20px;
        font-size: 14px;
        line-height: 1.6;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .code-line {
        margin-bottom: 8px;
        word-wrap: break-word;
    }

    /* Skills section mobile */
    .skills-grid {
        display: block;
        padding: 20px;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .skill-category {
        margin-bottom: 30px;
    }

    .skill-category h3 {
        font-size: 18px;
        margin-bottom: 20px;
        color: #4CAF50;
    }

    .skill-item {
        margin-bottom: 20px;
    }

    .skill-item span {
        font-size: 15px;
        margin-bottom: 10px;
        display: block;
    }

    .skill-bar {
        height: 10px;
        border-radius: 5px;
    }

    .skill-progress {
        border-radius: 5px;
    }

    /* Projects section mobile */
    .projects-container {
        display: block;
        padding: 20px;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .project-card {
        margin-bottom: 25px;
        padding: 20px;
        border-radius: 15px;
        background: #252525;
        border: 1px solid #333;
    }

    .project-header {
        margin-bottom: 15px;
    }

    .project-header h3 {
        font-size: 18px;
        color: #4CAF50;
    }

    .project-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
        color: #ccc;
    }

    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tech-tag {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 15px;
    }

    /* Contact section mobile */
    .contact-container {
        display: block;
        padding: 20px;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .contact-info {
        margin-bottom: 30px;
    }

    .contact-item {
        padding: 15px;
        font-size: 14px;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .contact-item i {
        font-size: 18px;
        width: 30px;
    }

    .contact-form {
        padding: 25px;
        border-radius: 15px;
        background: #252525;
        border: 1px solid #333;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
        color: #4CAF50;
    }

    .form-group input,
    .form-group textarea {
        padding: 15px;
        font-size: 16px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group textarea {
        height: 120px;
        resize: vertical;
    }

    .submit-btn {
        padding: 15px 25px;
        font-size: 16px;
        width: 100%;
        border-radius: 8px;
    }

    /* Modal mobile optimization */
    .modal .terminal-container,
    .modal .gallery-container,
    .modal .language-container,
    .modal .wallpaper-container {
        width: 95%;
        height: 90%;
        max-width: none;
        max-height: none;
    }

    .terminal-content {
        padding: 15px;
        font-size: 13px;
    }

    .terminal-input-line {
        flex-wrap: wrap;
    }

    .terminal-prompt {
        font-size: 12px;
    }

    #terminal-input {
        font-size: 13px;
        min-width: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .language-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .language-item {
        padding: 15px;
    }

    .language-item i {
        font-size: 32px;
    }

    .wallpaper-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
        padding: 15px;
    }

    .wallpaper-preview {
        width: 100px;
        height: 60px;
    }

    .close-btn {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    /* Image viewer mobile */
    #viewer-image {
        max-width: 95%;
        max-height: 80%;
    }

    .image-controls {
        bottom: 20px;
        gap: 15px;
    }

    .image-controls button {
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Boot screen mobile */
    .boot-screen {
        padding: 15px;
        font-size: 12px;
    }

    .bios-info {
        padding: 12px;
        margin-bottom: 15px;
    }

    .bios-line {
        font-size: 12px;
    }

    .boot-line {
        font-size: 12px;
        line-height: 1.3;
    }

    .progress-text {
        font-size: 14px;
    }

    .boot-progress {
        width: 90%;
        bottom: 30px;
    }

    /* Touch improvements */
    .tab,
    .control-btn,
    .window-buttons .btn,
    .project-card,
    .contact-item,
    .skill-item,
    .gallery-item,
    .language-item,
    .wallpaper-item {
        touch-action: manipulation;
    }

    /* Prevent zoom on input focus */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Hide scrollbars but keep functionality */
    .window-content::-webkit-scrollbar {
        width: 6px;
    }

    .window-content::-webkit-scrollbar-track {
        background: transparent;
    }

    .window-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    /* Enhanced scrollbars for all sections on mobile */
    /* General window content scrollbars */
    .window-content::-webkit-scrollbar {
        width: 8px !important;
    }

    .window-content::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .window-content::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #4CAF50, #45a049) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    .window-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(45deg, #5CBF60, #4CAF50) !important;
        transform: scale(1.1) !important;
    }

    /* Projects section scrollbars */
    .projects-content::-webkit-scrollbar,
    .projects-container::-webkit-scrollbar {
        width: 8px !important;
    }

    .projects-content::-webkit-scrollbar-track,
    .projects-container::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .projects-content::-webkit-scrollbar-thumb,
    .projects-container::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #4a90e2, #357abd) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Skills section scrollbars */
    .skills-content::-webkit-scrollbar,
    .skills-grid::-webkit-scrollbar {
        width: 8px !important;
    }

    .skills-content::-webkit-scrollbar-track,
    .skills-grid::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .skills-content::-webkit-scrollbar-thumb,
    .skills-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #2196F3, #1976D2) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Contact section scrollbars */
    .contact-content::-webkit-scrollbar,
    .contact-container::-webkit-scrollbar {
        width: 8px !important;
    }

    .contact-content::-webkit-scrollbar-track,
    .contact-container::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .contact-content::-webkit-scrollbar-thumb,
    .contact-container::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #9C27B0, #7B1FA2) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Gallery section scrollbars */
    .gallery-container::-webkit-scrollbar,
    .gallery-grid::-webkit-scrollbar {
        width: 8px !important;
    }

    .gallery-container::-webkit-scrollbar-track,
    .gallery-grid::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .gallery-container::-webkit-scrollbar-thumb,
    .gallery-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #FF9800, #F57C00) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Blog section scrollbars */
    .blog-content::-webkit-scrollbar,
    .blog-grid::-webkit-scrollbar {
        width: 8px !important;
    }

    .blog-content::-webkit-scrollbar-track,
    .blog-grid::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .blog-content::-webkit-scrollbar-thumb,
    .blog-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #4CAF50, #45a049) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Terminal section scrollbars */
    .terminal-container::-webkit-scrollbar,
    .terminal-content::-webkit-scrollbar {
        width: 8px !important;
    }

    .terminal-container::-webkit-scrollbar-track,
    .terminal-content::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .terminal-container::-webkit-scrollbar-thumb,
    .terminal-content::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #00BCD4, #0097A7) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Language section scrollbars */
    .language-container::-webkit-scrollbar,
    .language-grid::-webkit-scrollbar {
        width: 8px !important;
    }

    .language-container::-webkit-scrollbar-track,
    .language-grid::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .language-container::-webkit-scrollbar-thumb,
    .language-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #E91E63, #C2185B) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Wallpaper section scrollbars */
    .wallpaper-container::-webkit-scrollbar,
    .wallpaper-grid::-webkit-scrollbar {
        width: 8px !important;
    }

    .wallpaper-container::-webkit-scrollbar-track,
    .wallpaper-grid::-webkit-scrollbar-track {
        background: rgba(26, 26, 26, 0.8) !important;
        border-radius: 6px !important;
        margin: 2px !important;
    }

    .wallpaper-container::-webkit-scrollbar-thumb,
    .wallpaper-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #795548, #5D4037) !important;
        border-radius: 6px !important;
        border: 1px solid rgba(26, 26, 26, 0.8) !important;
    }

    /* Keep pricing scrollbars stylish even on mobile */
    #pricing-window .window-content::-webkit-scrollbar,
    .pricing-content::-webkit-scrollbar,
    .pricing-container::-webkit-scrollbar,
    .pricing-plan-content::-webkit-scrollbar {
        width: 13px !important;
    }

    #pricing-window .window-content::-webkit-scrollbar-track,
    .pricing-content::-webkit-scrollbar-track,
    .pricing-container::-webkit-scrollbar-track,
    .pricing-plan-content::-webkit-scrollbar-track {
        background: #1a1a1a !important;
        border-radius: 8px !important;
        border: 1px solid #333 !important;
    }

    #pricing-window .window-content::-webkit-scrollbar-thumb,
    .pricing-content::-webkit-scrollbar-thumb,
    .pricing-container::-webkit-scrollbar-thumb,
    .pricing-plan-content::-webkit-scrollbar-thumb {
        background: linear-gradient(45deg, #FF9800, #F57C00) !important;
        border-radius: 8px !important;
        border: 1px solid #1a1a1a !important;
    }
}

/* Projects Container */
.projects-content {
    padding: 80px 60px 200px 60px;
    /* Added extra bottom padding for more scrolling space */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

/* Add overlay effect to projects content like blog section */
.projects-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.1) 0%, rgba(22, 33, 62, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure projects content appears above the overlay */
.projects-content > * {
    position: relative;
    z-index: 1;
}

/* Projects Pagination Container */
.projects-content .pagination-container {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 50px;
}

.projects-overview {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.portfolio-text {
    font-size: 0.9em;
    color: #7289da;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.my-awesome-projects-title {
    font-size: 3em;
    color: #e0e0e0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 40px 100px;
    /* Added extra bottom padding for scrolling space */
}

.project-card {
    background: #252525;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #333;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    text-align: left;
    align-items: stretch;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #7289DA;
    /* Change hover border color to Discord blue */
}

.project-card .project-image {
    width: 180px;
    height: 135px;
    object-fit: fill;
    border-right: 1px solid #333;
    flex-shrink: 0;
    border-radius: 8px 0 0 8px;
}

.project-card .project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.project-card .project-title {
    font-size: 1.5em;
    color: #FFD166;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.project-card .project-description {
    font-size: 1em;
    color: #ccc;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.project-card .project-rating {
    color: #FFD166;
    font-size: 1.2em;
    margin-top: 15px;
}

.project-card .project-rating i {
    margin: 0 2px;
}

/* Remove old project-specific styles no longer needed */
.project-icon,
.project-header,
.project-links,
.project-tech,
.tech-tag {
    display: none;
    /* Hide old elements */
}

/* Clients Section Styles */
.clients-section {
    padding: 50px 0 20px 0;
    /* Reduced extra bottom padding */
    background: #1e1e1e;
    border-top: 1px solid #333;
    /* Separator from projects */
}

/* Mobile extra scrolling for clients section */
@media (max-width: 900px) {
    .clients-section {
        padding: 50px 0 200px 0 !important;
        /* Moderate extra scrolling for mobile */
    }
    
    /* Clients window extra scrolling */
    #clients-window .window-content {
        padding-bottom: 150px !important;
    }
}

.clients-overview {
    text-align: center;
    margin-bottom: 50px;
}

.popular-clients-text {
    font-size: 0.9em;
    color: #7289da;
    letter-spacing: 2px;
    margin-top: 30px;
    margin-bottom: 0;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.awesome-clients-title {
    font-size: 3em;
    color: #e0e0e0;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.clients-main-content {
    display: flex;
    gap: 30px;
    padding: 0 30px;
}

.client-categories {
    flex-shrink: 0;
    width: 250px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: fit-content;
    /* Adjust height to content */
}

.client-category-tab {
    padding: 15px 20px;
    color: #ccc;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    /* For active indicator */
}

.client-category-tab:hover {
    background: rgba(114, 137, 218, 0.1);
    /* Discord blue hover */
    color: #7289DA;
}

.client-category-tab.active {
    background: rgba(114, 137, 218, 0.2);
    /* More opaque active state */
    color: #7289DA;
    border-left-color: #7289DA;
    font-weight: 600;
}

/* Clients Grid - 4 Column Layout */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
    height: auto;
}

.client-card {
    background: #252525;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #7289DA;
}

.client-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #7289DA;
    box-shadow: 0 0 10px rgba(114, 137, 218, 0.5);
}

.client-name {
    font-size: 1em;
    color: #e0e0e0;
    font-weight: 500;
}

/* Responsive adjustments for Projects and Clients Sections */
@media (max-width: 1100px) {
    .projects-grid {
        padding: 0 20px 40px;
        /* Adjusted padding */
        gap: 15px;
    }

    .project-card .project-image {
        width: 120px;
        height: 120px;
        border-radius: 8px 0 0 8px;
    }

    .project-card .project-content {
        padding: 15px;
    }

    .project-card .project-title {
        font-size: 1.1em;
    }

    .project-card .project-description {
        font-size: 0.9em;
    }

    .project-card .project-rating {
        font-size: 1.1em;
    }

    .clients-main-content {
        flex-direction: column;
        /* Stack categories and grid on mobile */
        padding: 0 20px;
        gap: 20px;
    }

    .client-categories {
        width: 100%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: rgba(37, 37, 37, 0.6);
        border-radius: 8px;
        margin: 0 10px;
    }

    .client-category-tab {
        padding: 12px 15px;
        font-size: 0.9em;
        text-align: center;
        border-radius: 6px;
        border: 1px solid rgba(114, 137, 218, 0.2);
        transition: all 0.2s ease;
        width: 100%;
    }

    .client-category-tab.active {
        background: rgba(114, 137, 218, 0.2);
        border-color: #7289DA;
        color: #7289DA;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .client-logo {
        width: 60px;
        height: 60px;
    }

    .client-name {
        font-size: 0.9em;
    }
}

@media (max-width: 600px) {
    .projects-content {
        padding: 40px 30px 120px 30px;
        /* Added extra bottom padding for scrolling space */
        min-height: calc(100vh - 120px);
        /* Ensure minimum height for scrollable content */
        -webkit-overflow-scrolling: touch;
        /* Smooth touch scrolling on iOS */
        touch-action: pan-y;
        /* Optimize for vertical scrolling */
    }

    .projects-grid {
        padding: 0 15px 60px;
        /* Added extra bottom padding for scrolling space */
        gap: 12px;
    }
    
    /* Mobile Projects Pagination Container */
    .projects-content .pagination-container {
        margin-top: 30px;
        margin-bottom: 15px;
        padding: 15px;
        gap: 12px;
        min-height: 50px;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
    }

    .project-card .project-image {
        width: 100%;
        height: 180px;
        border-right: none;
        border-bottom: 1px solid #333;
        border-radius: 8px 8px 0 0;
    }

    .project-card .project-content {
        padding: 12px;
    }

    .project-card .project-title {
        font-size: 1.1em;
    }

    .project-card .project-description {
        font-size: 0.85em;
    }

    body.light-theme .project-card .project-image {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    body.light-theme .blog-image {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 900px) {
    /* Old grid reference removed - using flex layout */

    .project-card .project-image {
        height: 120px;
    }

    .project-card .project-content {
        padding: 10px;
    }

    .project-card .project-title {
        font-size: 1.1em;
    }

    .project-card .project-description {
        font-size: 0.85em;
    }

    .project-card .project-rating {
        font-size: 1em;
    }

    .clients-section {
        padding: 20px 0 200px 0;
        /* Moderate extra scrolling for mobile */
    }

    .clients-overview {
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .popular-clients-text {
        font-size: 0.75em;
        margin-bottom: 8px;
    }

    .awesome-clients-title {
        font-size: 1.8em;
        line-height: 1.2;
    }

    .clients-main-content {
        flex-direction: column;
        padding: 0 10px;
        gap: 20px;
    }

    .client-categories {
        padding: 10px;
        gap: 8px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 8px;
        background: rgba(37, 37, 37, 0.8);
        margin: 0 10px;
    }

    .client-category-tab {
        padding: 12px 16px;
        font-size: 0.8em;
        text-align: center;
        border-radius: 6px;
        transition: all 0.2s ease;
        font-weight: 500;
        width: 100%;
        border: 1px solid rgba(114, 137, 218, 0.2);
    }

    .client-category-tab:hover {
        background: rgba(114, 137, 218, 0.15);
        transform: translateY(-1px);
    }

    .client-category-tab.active {
        background: rgba(114, 137, 218, 0.25);
        color: #7289DA;
        border-bottom-color: transparent;
        font-weight: 600;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding: 0 5px;
    }

    .client-card {
        padding: 12px 8px;
        text-align: center;
        border-radius: 8px;
        transition: all 0.2s ease;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .client-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

    .client-logo {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
        border-radius: 50%;
        object-fit: cover;
    }

    .client-name {
        font-size: 0.7em;
        line-height: 1.2;
        font-weight: 500;
        text-align: center;
        word-break: break-word;
        hyphens: auto;
    }
}

/* Mobile touch improvements */
@media (max-width: 1100px) {
    .client-category-tab {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .client-card {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    /* Add touch feedback */
    .client-category-tab:active {
        transform: scale(0.95);
        background: rgba(114, 137, 218, 0.3);
    }

    .client-card:active {
        transform: scale(0.95) translateY(-1px);
    }
}

/* Very small screens (320px and below) */
@media (max-width: 450px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .client-card {
        padding: 10px 6px;
        min-height: 90px;
    }

    .client-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .client-name {
        font-size: 0.65em;
    }

    .client-category-tab {
        padding: 8px 12px;
        font-size: 0.7em;
    }

    .awesome-clients-title {
        font-size: 1.6em;
    }
}

/* Project Card Footer Styles */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* View Details Button Styles */
.view-details-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.view-details-btn:hover::before {
    left: 100%;
}

.view-details-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Blog Modal Styles */
.blog-modal-container {
    background: #2c2f36;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(76, 175, 80, 0.1);
}

.blog-modal-header h3 {
    color: #4CAF50;
    font-size: 1.5em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-modal-header .close-btn {
    background: linear-gradient(45deg, #ff5f57, #e0443e);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-modal-header .close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.blog-modal-header .close-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
    background: linear-gradient(45deg, #ff3742, #ff2730);
}

.blog-modal-header .close-btn:hover::before {
    left: 100%;
}

.blog-modal-header .close-btn:active {
    transform: scale(0.95) rotate(90deg);
}

.blog-modal-content {
    padding: 30px;
}

.blog-modal-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.blog-modal-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-modal-date, .blog-modal-category {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.blog-modal-title {
    color: #fff;
    font-size: 2em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-modal-excerpt {
    color: #ccc;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-modal-full-content {
    color: #ddd;
    line-height: 1.7;
    font-size: 1em;
}

.blog-modal-full-content p {
    margin-bottom: 15px;
}

.blog-modal-full-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-modal-full-content li {
    margin-bottom: 8px;
    color: #ccc;
}

.blog-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.blog-close-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.blog-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(45deg, #45a049, #3d8b40);
}

.blog-close-btn:active {
    transform: translateY(0);
}

/* Project Modal Styles */
.project-modal-container {
    background: #1e1e1e;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

.project-modal-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-modal-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-modal-image:hover img {
    transform: scale(1.05);
}

.project-modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-modal-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}

.project-modal-rating .rating-text {
    color: #ccc;
    font-size: 0.9em;
    font-weight: 500;
}

.project-modal-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: #e0e0e0;
    text-align: justify;
}

.project-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.contact-project-btn {
    background: linear-gradient(135deg, #7289DA 0%, #9B59B6 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.4);
}

.contact-project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(114, 137, 218, 0.6);
    background: linear-gradient(135deg, #9B59B6 0%, #7289DA 100%);
}

.contact-project-btn:active {
    transform: translateY(-1px);
}

/* Mobile Responsive for Project Modal */
@media (max-width: 1100px) {
    .project-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .project-modal-content {
        padding: 20px;
        gap: 15px;
    }

    .project-modal-image img {
        height: 200px;
    }

    .project-modal-description {
        font-size: 1em;
    }

    .contact-project-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .view-details-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        min-width: 100px;
    }
}

/* Light theme adjustments for Projects and Clients Sections */
body.light-theme .project-card {
    background: #f9f9f9;
    border-color: #ddd;
}

body.light-theme .project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #2196F3;
    /* Light theme specific blue */
}

body.light-theme .project-card .project-image {
    border-bottom-color: #eee;
}

body.light-theme .project-card .project-title {
    color: #FFC107;
    /* Light theme specific yellow */
}

body.light-theme .project-card .project-description {
    color: #555;
}

body.light-theme .project-card .project-rating {
    color: #FFC107;
    /* Light theme specific yellow */
}

body.light-theme .project-card-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .project-modal-container {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .project-modal-description {
    color: #333;
}

body.light-theme .project-modal-rating .rating-text {
    color: #666;
}

body.light-theme .clients-section {
    background: #fff;
    border-top-color: #ddd;
}

body.light-theme .popular-clients-text {
    color: #4a90e2;
    /* Light theme specific blue */
}

body.light-theme .awesome-clients-title {
    color: #333;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

body.light-theme .client-categories {
    background: #f9f9f9;
    border-color: #ddd;
}

body.light-theme .client-category-tab {
    color: #555;
}

body.light-theme .client-category-tab:hover {
    background: rgba(33, 150, 243, 0.1);
    /* Light theme blue hover */
    color: #2196F3;
}

body.light-theme .client-category-tab.active {
    background: rgba(33, 150, 243, 0.2);
    /* Light theme blue active */
    color: #2196F3;
    border-left-color: #2196F3;
    /* Light theme blue for active border */
    border-bottom-color: #2196F3;
    /* Light theme blue for active border on mobile */
}

body.light-theme .client-card {
    background: #f9f9f9;
    border-color: #ddd;
}

body.light-theme .client-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2196F3;
}

body.light-theme .client-logo {
    border-color: #2196F3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

body.light-theme .client-name {
    color: #555;
}

/* Reviews Section Styles */
.reviews-section {
    padding: 80px 0 20px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-top: 1px solid #333;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* Mobile extra scrolling for reviews section */
@media (max-width: 900px) {
    .reviews-section {
        padding: 80px 0 150px 0 !important;
        /* Moderate extra scrolling for mobile */
    }
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(114, 137, 218, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.reviews-overview {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}



.testimonials-text {
    color: #7289DA;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    display: block;
}

.testimonials-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #7289DA, #4CAF50);
    border-radius: 2px;
}

.client-reviews-title {
    color: #fff;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7289DA 0%, #4CAF50 50%, #7289da 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(114, 137, 218, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.reviews-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.review-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.review-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7289DA, #4CAF50, #7289da, #7289DA);
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
    transition: opacity 0.4s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.review-card:hover::before {
    opacity: 0;
}

.review-card:hover::after {
    opacity: 0;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.reviewer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid transparent;
    background: linear-gradient(45deg, #7289DA, #4CAF50) padding-box,
        linear-gradient(45deg, #7289DA, #4CAF50) border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.3);
}

.review-card:hover .reviewer-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.5);
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.review-rating {
    color: #FFD700;
    font-size: 1.3em;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.review-project {
    color: #7289DA;
    font-size: 0.9em;
    font-weight: 600;
    background: rgba(114, 137, 218, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(114, 137, 218, 0.3);
    text-align: left;
}

.review-content {
    position: relative;
    z-index: 2;
}

.review-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 4em;
    color: rgba(114, 137, 218, 0.2);
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.review-text {
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.review-date {
    color: #999;
    font-size: 0.85em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-date::before {
    content: '📅';
    font-size: 0.9em;
}

/* Pricing Section Styles - New Design */
.pricing-content {
    padding: 0 0 80px 0; /* Moderate padding with bottom space for desktop */
    background: #2c2f36;
    height: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.pricing-container {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
}

.pricing-left {
    width: 35%;
    min-width: 300px;
    background: #2c2f36;
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
}

.pricing-header {
    margin-bottom: 60px;
}

.pricing-label {
    color: #7289da;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pricing-main-title {
    color: #fff;
    font-size: 3.5em;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.pricing-tabs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}

.pricing-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* Ensure tabs are clickable */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Add touch-friendly area */
    min-height: 44px;
    /* Ensure proper z-index */
    z-index: 10;
    /* Add background for better clickability */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin: 5px 0;
    border: 1px solid transparent;
    /* Ensure full width clickable area */
    width: 100%;
    box-sizing: border-box;
}

.pricing-tab:hover {
    transform: translateX(10px);
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.pricing-tab.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    transform: translateX(15px);
}

.pricing-tab:active {
    transform: translateX(5px) scale(0.98);
}

.tab-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.pricing-tab.active .tab-dot {
    background: #4CAF50;
}

.pricing-tab.recommended .tab-dot {
    background: #fff;
}

.pricing-tab.recommended.active .tab-dot {
    background: #4CAF50;
}

.tab-label {
    color: #ccc;
    font-size: 1.2em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-tab.active .tab-label {
    color: #fff;
    font-weight: 600;
}

.recommended-badge {
    background: linear-gradient(45deg, #ff5f57, #e0443e);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-right {
    flex: 1;
    background: #36393f;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

/* Pricing Scroll Buttons - Removed as requested */

.pricing-plan-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 30px 30px 50px 30px; /* Moderate bottom padding for desktop */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px; /* Moderate margin for desktop */
    width: 100%;
    box-sizing: border-box;
}

.plan-title {
    font-size: 2.5em;
    color: #ffa726;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.plan-subtitle {
    font-size: 1.1em;
    color: #aaa;
    margin-bottom: 30px;
    text-align: center;
}

.plan-price {
    font-size: 3em;
    color: #4CAF50;
    margin: 30px 0;
    font-weight: 700;
    text-align: center;
}

.plan-description {
    font-size: 1.1em;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.plan-features li {
    padding: 12px 0;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.plan-features li:before {
    content: "✓";
    color: #4CAF50;
    margin-right: 10px;
    font-weight: bold;
}

.plan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.delivery-time, .revision-count {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.order-button {
    background: linear-gradient(135deg, #4CAF50, #45a049, #66BB6A);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: orderButtonPulse 3s ease-in-out infinite;
}

.order-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.order-button:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #66BB6A, #4CAF50, #45a049);
    border-color: rgba(255, 255, 255, 0.4);
    animation: none;
}

.order-button:hover::before {
    left: 100%;
}

.order-button:active {
    transform: translateY(-2px) scale(0.98);
}

.order-button:focus {
    outline: none;
}

/* Add a subtle pulse animation to make it more attractive */
@keyframes orderButtonPulse {
    0% {
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6), 0 0 0 8px rgba(76, 175, 80, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    }
}

.pricing-plan-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-title-section {
    margin-bottom: 15px;
    text-align: center;
}

.plan-title {
    color: #ffa500;
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
}

.plan-subtitle {
    color: #7289da;
    font-size: 1em;
    margin: 0 0 10px 0;
    font-weight: 500;
    text-align: center;
}

.plan-price-display {
    margin-bottom: 10px;
    text-align: center;
}

.price-amount {
    color: #ffd700;
    font-size: 3.5em;
    font-weight: 700;
}

.plan-description {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 16px 10px;
}



.plan-description p {
    color: #00bcd4;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.feature-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.95em;
}

.feature-item i {
    color: #4caf50;
    margin-right: 12px;
    font-size: 0.9em;
    width: 16px;
}

.order-button {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.order-button:hover {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

.plan-footer {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.delivery-info,
.revision-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00bcd4;
    font-size: 0.9em;
    font-weight: 500;
}

.delivery-info i,
.revision-info i {
    color: #00bcd4;
    font-size: 0.9em;
}

/* Mobile Responsive Styles for Reviews and Pricing */
@media (max-width: 1100px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .review-card {
        padding: 20px;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
    }

    .client-reviews-title {
        font-size: 2em;
    }

    /* New Pricing Mobile Styles */
    .pricing-container {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .pricing-left {
        width: 100%;
        min-width: 100%;
        padding: 30px 20px;
        overflow: visible;
        height: auto;
    }

    .pricing-main-title {
        font-size: 2.5em;
    }

    .pricing-tabs {
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
        margin-top: 30px;
    }

    .pricing-tab {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        text-align: center;
        position: relative;
    }

    .pricing-tab:hover {
        transform: translateY(-5px);
    }

    .tab-dot {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .tab-label {
        font-size: 1em;
    }

    .recommended-badge {
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        font-size: 0.5em;
        padding: 1px 6px;
        border-radius: 6px;
        white-space: nowrap;
    }

    .pricing-right {
        width: 100%;
        padding: 30px 20px;
        overflow: visible;
        height: auto;
        max-height: none;
        /* Let parent handle scrolling on mobile */
    }

    .pricing-plan-content {
        padding-bottom: 10px;
        /* Reduced space for plan footer */
        min-height: auto;
    }

    .plan-title {
        font-size: 1.8em;
    }

    .price-amount {
        font-size: 2.8em;
    }

    .plan-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .reviews-section {
        padding: 30px 0 150px 0;
        /* Moderate extra scrolling for mobile */
    }

    .reviews-overview {
        margin-bottom: 30px;
    }

    .client-reviews-title {
        font-size: 1.8em;
    }

    .review-card {
        padding: 15px;
    }

    .reviewer-avatar {
        width: 45px;
        height: 45px;
    }

    .reviewer-name {
        font-size: 1em;
    }

    .review-text {
        font-size: 0.9em;
    }

    /* Mobile Pricing Styles */
    .pricing-left {
        padding: 20px 15px;
    }

    .pricing-main-title {
        font-size: 2em;
    }

    .pricing-tabs {
        gap: 5px;
    }

    .pricing-tab {
        padding: 8px;
        position: relative;
    }

    .tab-label {
        font-size: 0.9em;
    }

    .recommended-badge {
        position: absolute;
        top: -4px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.45em;
        padding: 1px 4px;
    }

    .pricing-right {
        padding: 20px 15px;
        /* Let parent handle scrolling for smaller mobile */
        overflow: visible;
        height: auto;
        max-height: none;
        min-height: auto;
    }

    .plan-title {
        font-size: 1.5em;
    }

    .price-amount {
        font-size: 2.5em;
    }

    .plan-description p {
        font-size: 1em;
    }

    .feature-item {
        font-size: 0.9em;
    }

    .order-button {
        padding: 15px 30px;
        font-size: 1em;
    }

    .plan-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        margin-top: 20px;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .delivery-info,
    .revision-info {
        display: flex !important;
        align-items: center;
        gap: 8px;
        color: #00bcd4 !important;
        font-size: 1em !important;
        font-weight: 600 !important;
        padding: 8px 0;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }

    .delivery-info i,
    .revision-info i {
        color: #00bcd4 !important;
        font-size: 1.1em !important;
        min-width: 16px;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .delivery-info span,
    .revision-info span {
        color: #00bcd4 !important;
        font-weight: 600 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Light theme adjustments for Reviews and Pricing */
body.light-theme .reviews-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    border-top-color: #ddd;
}

body.light-theme .reviews-section::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(33, 150, 243, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
}

body.light-theme .review-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-color: #e0e0e0;
    color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-theme .review-card::before {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
}

body.light-theme .review-card::after {
    background: linear-gradient(45deg, #2196F3, #4CAF50, #7289da, #2196F3);
}

body.light-theme .review-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .reviewer-name {
    background: linear-gradient(135deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .review-text {
    color: #555;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.light-theme .testimonials-text {
    color: #2196F3;
}

body.light-theme .client-reviews-title {
    background: linear-gradient(135deg, #2196F3 0%, #4CAF50 50%, #ff6b6b 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.3);
}

body.light-theme .review-project {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
}

body.light-theme .pricing-content {
    background: #f8f9fa;
}

body.light-theme .pricing-plan {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .pricing-plan:hover {
    border-color: #2196F3;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .plan-name {
    color: #333;
}

body.light-theme .amount {
    color: #333;
}

body.light-theme .plan-features li {
    color: #666;
}

/* Light theme for new pricing design */
body.light-theme .pricing-content {
    background: #f8f9fa;
}

/* Mobile Responsive Styles for Pricing Section */
@media (max-width: 1100px) {
    .pricing-container {
        flex-direction: column;
        min-height: auto;
        height: auto;
    }

    .pricing-left {
        width: 100%;
        padding: 30px 20px;
        order: 2;
    }

    .pricing-right {
        width: 100%;
        padding: 30px 20px 200px 20px;
        /* Added extra bottom padding for mobile scrolling */
        order: 1;
        overflow: visible;
        height: auto;
        min-height: 400px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .pricing-header {
        margin-bottom: 30px;
        text-align: center;
    }

    .pricing-main-title {
        font-size: 2.5em;
    }

    .pricing-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .pricing-tab {
        padding: 10px 15px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        touch-action: manipulation;
    }

    .pricing-tab.active {
        background: rgba(255, 107, 107, 0.2);
        border: 2px solid rgba(255, 107, 107, 0.5);
    }

    .pricing-tab:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
        transition: all 0.2s ease;
    }

    .pricing-tab:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    .tab-label {
        font-size: 1em;
    }

    .recommended-badge {
        margin-left: 6px;
        font-size: 0.5em;
        padding: 1px 6px;
    }
}

@media (max-width: 900px) {
    .pricing-content {
        height: auto;
        min-height: auto;
        overflow: visible;
        padding-bottom: 50px !important; /* Reduced extra scrolling for mobile */
    }

    .pricing-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .pricing-left {
        width: 100%;
        min-width: 100%;
        padding: 30px 20px;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .pricing-right {
        width: 100%;
        padding: 30px 20px 350px 20px;
        height: auto;
        overflow: visible;
        min-height: 400px;
    }

    .pricing-plan-content {
        height: auto;
        padding-bottom: 200px;
    }
}

@media (max-width: 600px) {
    .pricing-content {
        padding: 0;
    }

    .pricing-left {
        padding: 20px 15px;
    }

    .pricing-right {
        padding: 20px 15px 350px;
    }

    .pricing-plan-content {
        padding-bottom: 200px;
    }
}



@media (max-width: 600px) {
    .pricing-header {
        margin-bottom: 20px;
    }

    .pricing-main-title {
        font-size: 2em;
    }
}

@media (max-width: 1100px) {
    .pricing-tabs {
        gap: 10px;
    }

    .pricing-tab {
        padding: 8px 12px;
        flex: 1;
        min-width: 0;
        text-align: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        touch-action: manipulation;
    }

    .tab-label {
        font-size: 0.9em;
    }

    .recommended-badge {
        display: none;
    }

    .plan-title {
        font-size: 1.8em;
    }

    .plan-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-column {
        margin-bottom: 0;
    }
}


/* Additional mobile adjustments for very small screens */
@media (max-width: 600px) {
    .pricing-tabs {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .pricing-tab {
        width: 100%;
        padding: 12px 16px;
        font-size: 1.1em;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.1);
    }

    .pricing-tab.active {
        background: rgba(76, 175, 80, 0.3);
        border-color: rgba(76, 175, 80, 0.6);
        color: #fff;
    }

    .tab-dot {
        margin-right: 8px;
    }

    .recommended-badge {
        display: inline-block;
        margin-left: 6px;
        font-size: 0.55em;
    }
}

@media (max-width: 450px) {
    .taskbar-left .start-menu {
        font-size: 1em !important;
        padding: 4px 8px !important;
        min-width: 120px;
    }

    .taskbar-left .start-menu span {
        font-size: 0.9em !important;
        margin-left: 4px;
    }

    .taskbar-left .start-menu i {
        font-size: 16px !important;
    }
}

/* Contact Footer Policies */
/* Contact Footer Section */
.contact-footer-section {
    margin-top: 40px;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid #444;
    border-radius: 0 0 8px 8px;
}

.policy-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.policy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.policy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.policy-btn i {
    font-size: 14px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 30px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: #7289da;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

.footer-forums h4 {
    color: #00bcd4;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.forum-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forum-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-align: left;
}

.forum-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.forum-btn i {
    font-size: 1.1em;
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 0;
    border-top: 1px solid #444;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #888;
    font-size: 0.8em;
}

/* Policy Modal */
.policy-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 80%;
    background: #1e1e1e;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.policy-header {
    background: #2d2d2d;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.policy-header h3 {
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.policy-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    color: #e0e0e0;
    line-height: 1.6;
}

.policy-content h2 {
    color: #4CAF50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 15px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 8px;
}

/* Light theme policy modal styles */
body.light-theme .policy-container {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.light-theme .policy-header {
    background: #f8f9fa;
    border-bottom-color: #ddd;
}

body.light-theme .policy-header h3 {
    color: #2e7d32;
}

body.light-theme .policy-content {
    color: #333;
}

body.light-theme .policy-content h1 {
    color: #2e7d32 !important;
}

body.light-theme .policy-content h2 {
    color: #2e7d32 !important;
}

body.light-theme .policy-content h3 {
    color: #2e7d32 !important;
}

body.light-theme .policy-content h4 {
    color: #f57c00 !important;
}

body.light-theme .policy-content p {
    color: #333 !important;
}

body.light-theme .policy-content li {
    color: #333 !important;
}

body.light-theme .policy-content span[style*="color: #f22e2e"],
body.light-theme .policy-content span[style*="color: #f73434"],
body.light-theme .policy-content span[style*="color: #f23333"] {
    color: #d32f2f !important;
}

body.light-theme .policy-content span[style*="color: #ffff00"] {
    color: #f57c00 !important;
}

body.light-theme .policy-content span[style*="color: #f4f4f4"] {
    color: #333 !important;
}

/* Mobile responsive styles for policies */
@media (max-width: 1100px) {
    .policy-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .policy-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        min-width: auto;
        font-size: 12px;
        padding: 10px 16px;
    }

    .policy-container {
        width: 95%;
        height: 85%;
    }

    /* Policy close button styles for 768px breakpoint */
    .policy-close-btn {
        display: block !important;
        width: 100% !important;
        max-width: 250px !important;
        margin: 20px auto 0 auto !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 600px) {
    .contact-footer-policies {
        margin-top: 20px;
        padding: 20px 15px;
    }

    .policy-btn {
        font-size: 11px;
        padding: 8px 14px;
        min-width: auto;
        width: 100%;
        max-width: 220px;
    }

    .policy-container {
        width: 98%;
        height: 90%;
    }

    .policy-content {
        padding: 15px;
        font-size: 14px;
    }

    /* Mobile styles for policy close button */
    .policy-close-btn {
        display: block !important;
        width: 100% !important;
        max-width: 200px !important;
        margin: 20px auto 0 auto !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
        background: #f22e2e !important;
        color: #fff !important;
        border: none !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
        transition: background 0.2s !important;
    }

    .policy-close-btn:hover {
        background: #c41c1c !important;
    }

    /* Mobile responsive for footer at 480px */
    .contact-footer-section {
        margin-top: 20px;
        padding: 20px 0;
    }

    .footer-content {
        padding: 0 15px;
        gap: 25px;
    }

    .forum-buttons {
        gap: 10px;
    }

    .forum-btn {
        padding: 10px 16px;
        font-size: 0.85em;
    }

    .policy-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .policy-btn {
        padding: 10px 16px;
        font-size: 0.75em;
        justify-content: center;
    }
}

body.light-theme .pricing-left {
    background: #f8f9fa;
}

body.light-theme .pricing-main-title {
    color: #333;
}

body.light-theme .tab-dot {
    background: #fff;
}

body.light-theme .pricing-tab.active .tab-dot {
    background: #4CAF50;
}

body.light-theme .pricing-tab.recommended.active .tab-dot {
    background: #4CAF50;
}

body.light-theme .tab-label {
    color: #666;
}

body.light-theme .pricing-tab.active .tab-label {
    color: #333;
}

body.light-theme .pricing-right {
    background: #fff;
}

body.light-theme .plan-title {
    color: #ff8c00;
}

body.light-theme .plan-subtitle {
    color: #1976d2;
}

body.light-theme .price-amount {
    color: #ff8c00;
}

body.light-theme .plan-description p {
    color: #1976d2;
}

body.light-theme .feature-item {
    color: #555;
}

body.light-theme .delivery-info,
body.light-theme .revision-info {
    color: #1976d2;
}

body.light-theme .delivery-info i,
body.light-theme .revision-info i {
    color: #1976d2;
}

body.light-theme .order-button {
    background: linear-gradient(135deg, #ff8c00, #f57c00);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

body.light-theme .order-button:hover {
    background: linear-gradient(135deg, #f57c00, #e65100);
    
}

body.light-theme .plan-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .plan-features li {
    color: #555;
}

body.light-theme .plan-features li:before {
    color: #4CAF50;
}

/* Contact Section Styles - New Design */
.contact-content {
    padding: 20px 25px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
    height: 100%;
    overflow-y: auto;
    position: relative;
}

/* 3D Earth Sphere Container */
.earth-sphere-container {
    position: fixed;
    top: 50%;
    right: 5%;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    perspective: 1000px;
    z-index: 10;
    pointer-events: none;
    /* Fallback for visibility */
    background: radial-gradient(circle at 50% 50%, #1e3a8a 0%, #1e40af 100%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(30, 58, 138, 0.5);
}

/* 3D Earth Sphere */
.earth-sphere {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateEarth3D 40s linear infinite;
    /* Ensure visibility */
    z-index: 2;
    opacity: 1;
}

/* Earth Sphere Face */
.earth-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        /* Base ocean color */
        radial-gradient(circle at 50% 50%, #1e3a8a 0%, #1e40af 100%),
        /* Major continents */
        radial-gradient(ellipse at 20% 25%, #166534 0%, #15803d 8%, transparent 15%),
        radial-gradient(ellipse at 35% 30%, #166534 0%, #15803d 6%, transparent 12%),
        radial-gradient(ellipse at 45% 35%, #92400e 0%, #a16207 10%, transparent 18%),
        radial-gradient(ellipse at 60% 45%, #166534 0%, #15803d 12%, transparent 20%),
        radial-gradient(ellipse at 75% 35%, #92400e 0%, #a16207 8%, transparent 14%),
        radial-gradient(ellipse at 25% 60%, #166534 0%, #15803d 10%, transparent 16%),
        radial-gradient(ellipse at 40% 70%, #92400e 0%, #a16207 12%, transparent 19%),
        radial-gradient(ellipse at 65% 65%, #166534 0%, #15803d 9%, transparent 15%),
        radial-gradient(ellipse at 80% 75%, #92400e 0%, #a16207 7%, transparent 12%),
        /* Ocean details and currents */
        radial-gradient(ellipse at 30% 40%, #3b82f6 0%, #2563eb 5%, transparent 10%),
        radial-gradient(ellipse at 50% 50%, #0ea5e9 0%, #0284c7 4%, transparent 8%),
        radial-gradient(ellipse at 70% 55%, #3b82f6 0%, #2563eb 6%, transparent 11%),
        /* Cloud cover */
        radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, 0.4) 0%, transparent 6%),
        radial-gradient(ellipse at 65% 35%, rgba(255, 255, 255, 0.3) 0%, transparent 5%),
        radial-gradient(ellipse at 55% 60%, rgba(255, 255, 255, 0.35) 0%, transparent 7%),
        /* Polar ice caps */
        radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.7) 4%, transparent 8%),
        radial-gradient(circle at 50% 92%, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.7) 4%, transparent 8%),
        /* Atmospheric glow */
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 80%);
    box-shadow: 
        0 0 100px rgba(30, 58, 138, 0.5),
        0 0 150px rgba(37, 99, 235, 0.3),
        0 0 200px rgba(14, 165, 233, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.4);
    transform: rotateX(20deg) rotateY(0deg);
    z-index: 1;
}

/* 3D Earth Rotation Animation */
@keyframes rotateEarth3D {
    0% {
        transform: rotateX(20deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: rotateX(20deg) rotateY(90deg) rotateZ(0deg);
    }
    50% {
        transform: rotateX(20deg) rotateY(180deg) rotateZ(0deg);
    }
    75% {
        transform: rotateX(20deg) rotateY(270deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(20deg) rotateY(360deg) rotateZ(0deg);
    }
}

/* Earth Atmosphere Glow */
.earth-atmosphere {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(37, 99, 235, 0.05) 50%, 
        transparent 100%);
    animation: atmosphereGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes atmosphereGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes rotateEarth {
    0% {
        transform: translateY(-50%) rotateX(15deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-50%) rotateX(15deg) rotateY(90deg);
    }
    50% {
        transform: translateY(-50%) rotateX(15deg) rotateY(180deg);
    }
    75% {
        transform: translateY(-50%) rotateX(15deg) rotateY(270deg);
    }
    100% {
        transform: translateY(-50%) rotateX(15deg) rotateY(360deg);
    }
}



/* Add floating particles around the world */
.contact-content .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Individual particle styles */
.contact-content .floating-particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.contact-content .floating-particles .particle:nth-child(odd) {
    background: rgba(76, 175, 80, 0.6);
    animation-duration: 8s;
}

.contact-content .floating-particles .particle:nth-child(3n) {
    background: rgba(33, 150, 243, 0.6);
    animation-duration: 10s;
}

.contact-content .floating-particles .particle:nth-child(4n) {
    background: rgba(255, 193, 7, 0.6);
    animation-duration: 7s;
}

.contact-content .floating-particles .particle:nth-child(5n) {
    background: rgba(156, 39, 176, 0.6);
    animation-duration: 9s;
}

/* Additional particle effects */
.contact-content .floating-particles .particle:nth-child(6n) {
    background: rgba(255, 87, 34, 0.6);
    animation-duration: 11s;
}

.contact-content .floating-particles .particle:nth-child(7n) {
    background: rgba(0, 150, 136, 0.6);
    animation-duration: 5s;
}

/* Glowing effect for some particles */
.contact-content .floating-particles .particle:nth-child(8n) {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation-duration: 7s;
}

/* Pulsing effect */
.contact-content .floating-particles .particle:nth-child(9n) {
    animation: floatParticle 6s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

/* Ensure contact content appears above the 3D Earth */
.contact-content > *:not(.earth-sphere-container):not(.floating-particles):not(.snow-container):not(.python-logo-container) {
    position: relative;
    z-index: 20;
}

/* Snow Animation Styles */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-duration: 9s;
    animation-delay: 0.8s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-duration: 7s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-duration: 10s;
    animation-delay: 1.2s;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-duration: 8s;
    animation-delay: 3.5s;
}

.snowflake:nth-child(11) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 0.3s;
}

.snowflake:nth-child(12) {
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2.8s;
}

.snowflake:nth-child(13) {
    left: 45%;
    animation-duration: 10s;
    animation-delay: 1.8s;
}

.snowflake:nth-child(14) {
    left: 55%;
    animation-duration: 8s;
    animation-delay: 0.7s;
}

.snowflake:nth-child(15) {
    left: 65%;
    animation-duration: 9s;
    animation-delay: 3.2s;
}

.snowflake:nth-child(16) {
    left: 75%;
    animation-duration: 7s;
    animation-delay: 1.7s;
}

.snowflake:nth-child(17) {
    left: 85%;
    animation-duration: 11s;
    animation-delay: 0.9s;
}

.snowflake:nth-child(18) {
    left: 95%;
    animation-duration: 8s;
    animation-delay: 2.3s;
}

.snowflake:nth-child(19) {
    left: 5%;
    animation-duration: 9s;
    animation-delay: 1.4s;
}

.snowflake:nth-child(20) {
    left: 12%;
    animation-duration: 7s;
    animation-delay: 3.8s;
}

@keyframes snowfall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0.8;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Light theme snow adjustments */
body.light-theme .snowflake {
    background: #e0e0e0;
    opacity: 0.6;
}

/* Floating Python Logo Styles */
.python-logo-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.python-logo {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatPython 6s ease-in-out infinite;
}

.python-logo i {
    font-size: 3em;
    color: #3776ab;
    text-shadow: 0 0 20px rgba(55, 118, 171, 0.5);
    animation: rotatePython 8s linear infinite;
}

@keyframes floatPython {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(8px);
    }
}

@keyframes rotatePython {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Light theme Python logo adjustments */
body.light-theme .python-logo {
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

body.light-theme .python-logo i {
    color: #3776ab;
    text-shadow: 0 0 15px rgba(55, 118, 171, 0.3);
}

/* Mobile responsive Python logo */
@media (max-width: 1100px) {
    .python-logo {
        width: 60px;
        height: 60px;
        top: 15%;
        right: 10%;
    }
    
    .python-logo i {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .python-logo {
        width: 50px;
        height: 50px;
        top: 12%;
        right: 8%;
    }
    
    .python-logo i {
        font-size: 1.8em;
    }
}

/* Mobile responsive adjustments for 3D Earth */
@media (max-width: 1100px) {
    .earth-sphere-container {
        width: 300px;
        height: 300px;
        right: 2%;
        opacity: 0.6;
    }
}

@media (max-width: 600px) {
    .earth-sphere-container {
        width: 200px;
        height: 200px;
        right: 1%;
        opacity: 0.4;
    }
}

/* Particle animation keyframes */
@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift, 50px)) scale(0);
        opacity: 0;
    }
}

/* Keep the original pseudo-element particles as backup */
.contact-content .floating-particles::before,
.contact-content .floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticles 8s ease-in-out infinite;
}

.contact-content .floating-particles::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.contact-content .floating-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes floatParticles {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.contact-label {
    color: #7289da;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-main-title {
    color: #fff;
    font-size: 3.5em;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.contact-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

.contact-container {
    display: flex;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    flex: 1;
    min-height: 0;
    margin-bottom: 20px;
}

.contact-left {
    flex: 0 0 400px;
    z-index: 1;
    position: relative;
}

.contact-right {
    flex: 1;
    z-index: 1;
    position: relative;
    margin-bottom: 20px;
}

.contact-card {
    background: rgb(33, 36, 40);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(33, 36, 40);
    z-index: 1;
}

body.light-theme .contact-card::before {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
}



.contact-card>* {
    position: relative;
    z-index: 2;
}

.contact-avatar {
    margin-bottom: 30px;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.contact-name {
    color: #7289da;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.contact-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.contact-description {
    margin-bottom: 30px;
}

.contact-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.contact-details {
    margin-bottom: 30px;
    text-align: left;
}

.contact-detail-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    min-width: 60px;
    font-weight: 500;
}

.detail-value {
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.contact-footer {
    text-align: left;
}

.contact-me-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin: 0 0 15px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.contact-form {
    background: transparent;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.send-message-btn {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.send-message-btn:hover {
    background: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 1100px) {
    .contact-content {
        padding: 15px 20px;
    }

    .contact-main-title {
        font-size: 2.5em;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left {
        flex: none;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .avatar-image {
        width: 100px;
        height: 100px;
    }

    .contact-name {
        font-size: 1.8em;
    }

    /* Mobile responsive for footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .policy-links {
        justify-content: center;
    }
}

@media (max-width: p1600x) {
    .contact-content {
        padding: 15px 12px;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-main-title {
        font-size: 2em;
    }

    .contact-container {
        gap: 30px;
    }

    .contact-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .avatar-image {
        width: 80px;
        height: 80px;
    }

    .contact-name {
        font-size: 1.5em;
    }

    .contact-description p {
        font-size: 0.9em;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    .send-message-btn {
        padding: 15px 30px;
    }
}

/* Light Theme Styles */
body.light-theme .contact-content {
    background: #f8f9fa;
}

body.light-theme .contact-main-title {
    color: #333;
}

body.light-theme .contact-label {
    color: #7289da;
}

body.light-theme .form-group label {
    color: #666;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    background: rgba(0, 0, 0, 0.08);
    border-color: #00bcd4;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Blo
g Section Styles */
.blog-content {
    padding: 60px 50px 120px 50px;
    /* Added more bottom padding */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

/* Add overlay effect to blog content like other windows */
.blog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(114, 137, 218, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure blog content appears above the overlay */
.blog-content > * {
    position: relative;
    z-index: 1;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-label {
    color: #7289DA;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog-main-title {
    color: #fff;
    font-size: 3.5em;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.blog-description {
    color: #ccc;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: #252525;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #333;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #7289DA;
}

.blog-image {
    width: 180px;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    border-right: 1px solid #333;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content-area {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-date {
    color: #888;
    font-size: 0.85em;
}

.blog-category {
    background: #7289DA;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    color: #fff;
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-excerpt {
    color: #ccc;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Blog Read More Button - Similar to Project View Details Button */
.blog-read-more {
    background: linear-gradient(135deg, #7289DA 0%, #5B73C4 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(114, 137, 218, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    justify-content: center;
}

.blog-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 137, 218, 0.5);
    background: linear-gradient(135deg, #5B73C4 0%, #4A5FB8 100%);
}

.blog-read-more.sound-active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(114, 137, 218, 0.6);
}

/* Blog Card Footer for Button Centering */
.blog-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light Theme Blog Button */
body.light-theme .blog-read-more {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

body.light-theme .blog-read-more:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

body.light-theme .blog-card-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive Taskbar */
@media (max-width: 1100px) {

    /* Disable all animations on mobile for better performance */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .taskbar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 80px !important;
        z-index: 1000 !important;
        /* Prevent taskbar from moving up */
        transform: none !important;
        /* Fix for iOS Safari */
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    /* Ensure windows don't overlap taskbar on mobile */
    .windows-container {
        height: calc(100vh - 80px) !important;
        padding-bottom: 0 !important;
    }

    .window {
        height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
    }

    /* Disable main content fade-in on mobile */
    .main-content-fade-in {
        animation: none !important;
    }
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 10px;
    background: #2c2f36;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    min-width: 280px;
    max-width: 320px;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

/* Light Theme Mobile Nav Menu */
body.light-theme .mobile-nav-menu {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15) !important;
}

.mobile-nav-menu.active {
    display: block !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: #ccc;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0px;
}

/* Light Theme Mobile Nav Buttons */
body.light-theme .mobile-nav-btn {
    color: #666 !important;
}

body.light-theme .mobile-nav-btn:hover,
body.light-theme .mobile-nav-btn.active {
    background: #f0f0f0 !important;
    color: #333 !important;
}

.mobile-nav-btn:hover,
.mobile-nav-btn.active {
    background: #7289DA;
    color: #fff;
}

.mobile-nav-btn i {
    width: 24px;
    text-align: center;
    font-size: 1.2em;
}

.mobile-nav-divider {
    height: 1px;
    background: #444;
    margin: 10px 15px;
    transition: all 0.3s ease;
}

/* Light Theme Mobile Nav Divider */
body.light-theme .mobile-nav-divider {
    background: #ddd !important;
}

/* Green Glass Button (Mobile Menu Button) */
.green-glass-btn {
    padding: 6px 12px;
    margin-top: -10px;
    background: linear-gradient(135deg, rgba(0, 255, 128, 0.25) 0%, rgba(0, 255, 128, 0.15) 100%);
    border: none;
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
}

.green-glass-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 128, 0.35) 0%, rgba(0, 255, 128, 0.22) 100%);
}

.green-glass-btn .menu-line {
    display: block;
    width: 28px;
    height: 4px;
    background: linear-gradient(90deg, #00ff80 0%, #00e6a0 100%);
    margin: 0;
    transition: all 0.2s ease;
    border-radius: 2px;
}

/* Light Theme Green Glass Button */
body.light-theme .green-glass-btn {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.25) 0%, rgba(33, 150, 243, 0.15) 100%);
}

body.light-theme .green-glass-btn:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.35) 0%, rgba(33, 150, 243, 0.22) 100%);
}

body.light-theme .green-glass-btn .menu-line {
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
}

/* Mobile Control Buttons - DEPRECATED (now using mobile-menu-item) */
/*
.mobile-control-buttons {
    display: flex;
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

.mobile-control-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    margin: 0 2px;
}
*/

/* DEPRECATED - mobile-control-btn styles commented out
.mobile-control-btn:first-child {
    margin-left: 0;
}

.mobile-control-btn:last-child {
    margin-right: 0;
}

.mobile-control-btn i {
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-control-btn span {
    font-weight: 500;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-control-btn:hover {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.mobile-control-btn:hover i {
    transform: scale(1.1);
    color: #4CAF50;
}
*/

.mobile-control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

/* Individual button styling */
.mobile-control-btn:nth-child(1):hover {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.mobile-control-btn:nth-child(2):hover {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
}

.mobile-control-btn:nth-child(2):hover i {
    color: #2196F3;
}

.mobile-control-btn:nth-child(3):hover {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}

.mobile-control-btn:nth-child(3):hover i {
    color: #FFC107;
}

/* Light theme adjustments */
body.light-theme .mobile-control-buttons {
    border-top-color: #ddd;
}

body.light-theme .mobile-control-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

body.light-theme .mobile-control-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

body.light-theme .mobile-control-btn:hover i {
    color: #2e7d32;
}

body.light-theme .mobile-control-btn:nth-child(2):hover {
    background: rgba(33, 150, 243, 0.1);
    color: #1976D2;
}

body.light-theme .mobile-control-btn:nth-child(2):hover i {
    color: #1976D2;
}

body.light-theme .mobile-control-btn:nth-child(3):hover {
    background: rgba(255, 193, 7, 0.1);
    color: #F57C00;
}

body.light-theme .mobile-control-btn:nth-child(3):hover i {
    color: #F57C00;
}

/* Responsive adjustments for mobile control buttons */
@media (max-width: 600px) {
    .mobile-control-btn {
        padding: 12px 8px;
        gap: 6px;
        font-size: 11px;
    }

    .mobile-control-btn i {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .mobile-control-btn {
        padding: 10px 6px;
        gap: 4px;
        font-size: 10px;
    }

    .mobile-control-btn i {
        font-size: 14px;
    }

    .mobile-control-btn span {
        display: none;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.4);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin-left: 10px;
    backdrop-filter: blur(10px);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.menu-icon, .close-icon {
    font-size: 24px;
    color: #4CAF50;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(76, 175, 80, 0.4);
}

.mobile-menu-btn:hover .menu-icon,
.mobile-menu-btn:hover .close-icon {
    color: #66BB6A;
    transform: scale(1.1);
    text-shadow: 0 3px 6px rgba(76, 175, 80, 0.6);
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block !important;
    transform: rotate(180deg);
}

.mobile-menu-btn:active .menu-icon,
.mobile-menu-btn:active .close-icon {
    transform: scale(0.95);
}

/* Mobile Responsive Styles */
@media (max-width: 1100px) {
    .taskbar-center {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        order: 4;
    }

    .os-text {
        display: inline;
    }

    /* .control-buttons {
        display: none !important;
    } */

    .system-icons {
        display: flex;
        gap: 15px;
        order: 2;
    }

    .system-icon-btn {
        padding: 8px;
        font-size: 16px;
    }

    .time {
        order: 3;
        margin-right: 15px;
    }

    .system-tray {
        display: flex;
        align-items: center;
        position: relative;
    }

    .blog-content {
        padding: 40px 30px 50px 30px;
        /* Reduced extra bottom padding for better mobile scrolling */
        min-height: calc(100vh - 120px);
        /* Ensure minimum height for scrollable content */
        -webkit-overflow-scrolling: touch;
        /* Smooth touch scrolling on iOS */
        touch-action: pan-y;
        /* Optimize for vertical scrolling */
    }

    .blog-main-title {
        font-size: 2.5em;
    }

    .blog-grid {
        gap: 15px;
    }

    .blog-image {
        width: 120px;
        height: 120px;
    }

    .blog-content-area {
        padding: 25px;
    }
}

@media (max-width: 900px) {
    .taskbar-left .start-menu {
        font-size: 1.1em;
        padding: 6px 12px;
        height: 60px;
        min-width: auto;
    }

    .os-text {
    display: inline !important;
    font-size: 1.3em;
    font-weight: 600;
    letter-spacing: 0.02em;
}

    .taskbar-right {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        height: 80px;
        padding-right: 10px;
    }

    .system-tray {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 100%;
    }

    .system-icons {
        gap: 6px;
        order: 1;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Ensure sound button is visible in this media query too */
    .system-icons .system-icon-btn,
    #sound-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 16px;
        min-width: 44px;
        min-height: 44px;
        color: #4CAF50 !important;
        border-radius: 6px !important;
    }

    /* Ensure sound button icon is visible and centered in this media query too */
    #sound-btn i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        color: #4CAF50 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .system-icons i {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        color: #ccc;
    }

    .time {
        font-size: 13px;
        order: 2;
        margin: 0 8px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #ccc;
        white-space: nowrap;
        height: 20px;
        font-weight: 500;
    }

    .mobile-menu-btn {
        order: 4;
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
    }

    .mobile-nav-menu {
        right: 10px;
        min-width: 300px; /* Reasonable size */
        padding: 20px; /* Balanced padding */
        bottom: 90px; /* Adjusted for mobile taskbar */
        max-width: 85vw; /* Prevent overflow */
    }

    .mobile-nav-btn {
        padding: 15px 18px !important; /* Balanced padding */
        font-size: 1.1em !important; /* Readable size */
        margin-bottom: 3px !important;
    }

    .mobile-nav-btn i {
        width: 30px !important; /* Increased from 24px */
        font-size: 18px !important; /* Bigger icons */
    }

    .mobile-nav-divider {
        margin: 20px 0 !important; /* Increased spacing */
        height: 2px !important; /* Thicker divider */
    }

    .mobile-menu-item {
        padding: 20px 25px !important; /* Increased padding */
        font-size: 1.2em !important; /* Bigger font */
    }

    .mobile-menu-item i {
        width: 28px !important; /* Bigger icons */
        font-size: 16px !important;
    }


    .blog-content {
        padding: 30px 20px 30px 20px;
        /* Reduced bottom padding for smaller mobile */
    }

    .blog-header {
        margin-bottom: 40px;
    }

    .blog-main-title {
        font-size: 2em;
    }

    .blog-description {
        font-size: 1em;
    }

    .blog-grid {
        gap: 12px;
    }

    .blog-card {
        flex-direction: column;
        text-align: center;
    }

    .blog-image {
        width: 100%;
        height: 180px;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .blog-content-area {
        padding: 20px;
    }

    .blog-title {
        font-size: 1.2em;
    }
}

/* Light Theme Blog Styles */
body.light-theme .blog-content {
    background: #f8f9fa;
}

/* Light Theme Projects Styles */
body.light-theme .projects-content {
    background: #f8f9fa;
}

body.light-theme .blog-main-title {
    color: #333;
}

body.light-theme .blog-description {
    color: #666;
}

body.light-theme .blog-card {
    background: #fff;
    border-color: #ddd;
}

body.light-theme .blog-card:hover {
    border-color: #7289DA;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .blog-image {
    border-right-color: #ddd;
}

body.light-theme .blog-title {
    color: #333;
}

body.light-theme .blog-excerpt {
    color: #666;
}

body.light-theme .blog-date {
    color: #888;
}

body.light-theme .mobile-nav-menu {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Debug styles removed - mobile nav menu should work properly now */

body.light-theme .mobile-nav-btn {
    color: #666;
}

body.light-theme .mobile-nav-btn:hover,
body.light-theme .mobile-nav-btn.active {
    background: #7289DA;
    color: #fff;
}

body.light-theme .menu-line {
    background: #666;
}

body.light-theme .mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .mobile-menu-btn:active {
    background: rgba(0, 0, 0, 0.2);
}

/* Light theme styles for policy buttons */
body.light-theme .contact-footer-policies {
    border-top-color: #ddd;
    background: rgba(255, 255, 255, 0.1);
}

body.light-theme .policy-btn {
    background: #f5f5f5;
    border-color: #ddd;
    color: #333;
}

body.light-theme .policy-btn:hover {
    background: #4CAF50;
    border-color: #4CAF50;
    color: #fff;
}

/* Additional contact form spacing */
.contact-right form {
    margin-bottom: 30px;
}

.send-message-btn {
    margin-bottom: 20px;
}

/* New Contact Section Design - Exact Match */
.contact-content {
    padding: 20px 25px 20px 25px;
    /* Reduced extra bottom padding */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #16213e 75%, #1a1a2e 100%);
    height: calc(100% - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;
}

.contact-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(156, 39, 176, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-content>* {
    position: relative;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.contact-label {
    color: #7289da;
    font-size: 0.9em;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow:
        0 0 10px rgba(255, 107, 107, 0.5),
        0 0 20px rgba(255, 107, 107, 0.3),
        0 0 30px rgba(255, 107, 107, 0.1);
}

.contact-main-title {
    background: linear-gradient(135deg, #e0e0e0 0%, #b0bec5 50%, #90a4ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.2em;
    font-weight: 600;
    margin: 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    border-radius: 2px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left-section {
    display: flex;
    flex-direction: column;
}

.profile-card {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 50%, #1e88e5 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(79, 195, 247, 0.2);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(79, 195, 247, 0.3);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
}

.profile-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.illustration-container {
    position: relative;
    width: 180px;
    height: 140px;
}

.laptop-screen {
    position: absolute;
    top: 0;
    left: 20px;
    width: 120px;
    height: 80px;
    background: #2c3e50;
    border-radius: 8px;
    border: 3px solid #34495e;
}

.screen-content {
    padding: 8px;
    display: flex;
    gap: 4px;
}

.status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-icon.green {
    background: #2ecc71;
}

.status-icon.yellow {
    background: #f1c40f;
}

.status-icon.red {
    background: #e74c3c;
}

.character {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 100px;
}

.character-head {
    width: 50px;
    height: 50px;
    background: #fdbcb4;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 15px;
    border: 2px solid #e67e22;
}

.character-head::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30px;
    height: 25px;
    background: #8b4513;
    border-radius: 15px 15px 0 0;
}

.character-body {
    width: 40px;
    height: 45px;
    background: #3498db;
    position: absolute;
    bottom: 0;
    left: 20px;
    border-radius: 5px;
}

.character-tie {
    width: 8px;
    height: 25px;
    background: #e74c3c;
    position: absolute;
    bottom: 20px;
    left: 36px;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.profile-info {
    color: #ffffff;
    text-align: center;
}

.profile-name {
    color: #7289da;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.profile-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.profile-description {
    margin-bottom: 25px;
    text-align: left;
}

.profile-description p {
    color: #4dd0e1;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.contact-details {
    margin-bottom: 25px;
    text-align: left;
}

.contact-details p {
    margin: 0 0 5px 0;
    font-size: 0.85em;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.detail-value {
    color: #ffffff;
}

.contact-footer {
    text-align: left;
}

.contact-me-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    margin: 0 0 12px 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1em;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

.contact-right-section {
    display: flex;
    align-items: flex-start;
    padding-top: 0;
    background-color: rgb(33, 36, 40);
    border-radius: 18px;
}

.contact-form {
    width: 100%;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    color: #4CAF50;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    background: rgba(44, 47, 51, 0.8);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 15px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(44, 47, 51, 0.95);
    box-shadow:
        0 0 0 3px rgba(76, 175, 80, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.form-group input:focus+.form-focus-effect,
.form-group textarea:focus+.form-focus-effect {
    opacity: 1;
    transform: scaleX(1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: 'Poppins', sans-serif;
}

/* Enhanced Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #3d8b40 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(76, 175, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 12px 35px rgba(76, 175, 80, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow:
        0 6px 20px rgba(76, 175, 80, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.send-message-btn {
    background: #8a8a8a;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.send-message-btn:hover {
    background: #4dd0e1;
    transform: translateY(-1px);
}

/* Mobile Responsive Styles for New Contact Design */
@media (max-width: 1100px) {
    .contact-content {
        padding: 15px 15px 20px 15px;
        /* Reduced extra bottom padding for mobile */
    }

    .contact-main-title {
        font-size: 2.5em;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-card {
        padding: 25px;
    }

    .illustration-container {
        width: 150px;
        height: 120px;
    }

    .laptop-screen {
        width: 100px;
        height: 65px;
        left: 15px;
    }

    .character {
        width: 65px;
        height: 85px;
    }

    .character-head {
        width: 40px;
        height: 40px;
        left: 12px;
    }

    .character-body {
        width: 32px;
        height: 38px;
        left: 16px;
    }

    .profile-name {
        font-size: 1.6em;
    }
}

@media (max-width: 600px) {
    .contact-content {
        padding: 12px 10px 20px 10px;
        /* Added much more extra bottom padding for small mobile */
    }

    .contact-main-title {
        font-size: 2em;
    }

    .contact-layout {
        gap: 30px;
    }

    .profile-card {
        padding: 20px;
    }

    .illustration-container {
        width: 130px;
        height: 100px;
    }

    .laptop-screen {
        width: 85px;
        height: 55px;
        left: 12px;
    }

    .character {
        width: 55px;
        height: 70px;
    }

    .character-head {
        width: 35px;
        height: 35px;
        left: 10px;
    }

    .character-body {
        width: 28px;
        height: 32px;
        left: 13px;
    }

    .profile-name {
        font-size: 1.4em;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
    }

    .send-message-btn {
        padding: 10px 20px;
        width: 100%;
    }
}

/* Light Theme Styles for New Contact Design */
body.light-theme .contact-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

body.light-theme .contact-content::before {
    background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
}

body.light-theme .contact-main-title {
    background: linear-gradient(135deg, #333 0%, #555 50%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .contact-main-title {
    color: #495057;
}

body.light-theme .contact-label {
    color: #dc3545;
}

body.light-theme .profile-info {
    color: #ffffff;
}

body.light-theme .profile-name {
    color: #dc3545;
}

body.light-theme .profile-title {
    color: rgba(255, 255, 255, 0.9);
}

body.light-theme .profile-description p {
    color: #e3f2fd;
}

body.light-theme .detail-label {
    color: rgba(255, 255, 255, 0.7);
}

body.light-theme .detail-value {
    color: #ffffff;
}

body.light-theme .contact-me-text {
    color: rgba(255, 255, 255, 0.7);
}

body.light-theme .social-icon {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

body.light-theme .social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

body.light-theme .form-group label {
    color: #6c757d;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #ffffff;
    border-color: #dee2e6;
    color: #495057;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    border-color: #17a2b8;
    background: #ffffff;
}

body.light-theme .send-message-btn {
    background: #6c757d;
}

body.light-theme .send-message-btn:hover {
    background: #17a2b8;
}

/* C
ontact Section Animations */
@keyframes contactGlow {
    0% {
        box-shadow:
            0 0 20px rgba(76, 175, 80, 0.1),
            0 0 40px rgba(33, 150, 243, 0.05);
    }

    100% {
        box-shadow:
            0 0 30px rgba(76, 175, 80, 0.2),
            0 0 60px rgba(33, 150, 243, 0.1);
    }
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(10px) translateY(-5px);
    }

    50% {
        transform: translateX(-5px) translateY(10px);
    }

    75% {
        transform: translateX(-10px) translateY(-10px);
    }
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes labelGlow {
    0% {
        text-shadow:
            0 0 10px rgba(255, 107, 107, 0.5),
            0 0 20px rgba(255, 107, 107, 0.3),
            0 0 30px rgba(255, 107, 107, 0.1);
    }

    100% {
        text-shadow:
            0 0 15px rgba(255, 107, 107, 0.8),
            0 0 30px rgba(255, 107, 107, 0.5),
            0 0 45px rgba(255, 107, 107, 0.2);
    }
}

/* Enhanced Contact Card Styles */
.contact-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

/* Enhanced Social Icons */
.contact-socials a {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
}

.contact-socials a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-socials a:hover::before {
    opacity: 1;
}

.contact-socials a:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Policy Buttons Enhancement */
.policy-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
}

.policy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.policy-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.policy-btn:hover::before {
    left: 100%;
}

/*
 Top Pricing Selector Styles */
.pricing-top-selector {
    display: none;
    /* Hidden by default, shown on mobile */
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.pricing-header-mobile {
    text-align: center;
    margin-bottom: 10px;
}

.pricing-buttons-top {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 100px;
    position: relative;
    /* Enhanced mobile touch support */
    -webkit-tap-highlight-color: rgba(76, 175, 80, 0.3);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.pricing-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

.pricing-btn.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    color: #4CAF50;
    transform: translateY(-2px);
}

.pricing-btn .btn-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.pricing-btn .btn-price {
    font-size: 20px;
    font-weight: 700;
    color: #4CAF50;
}

.pricing-btn.recommended {
    border-color: #FF9800;
    background: rgba(255, 152, 0, 0.1);
}

.pricing-btn.recommended.active {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
}

.recommended-badge-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF9800;
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 1100px) {
    .pricing-top-selector {
        display: block !important;
        z-index: 10;
        position: relative;
    }

    .pricing-left {
        display: none !important;
    }

    .pricing-container {
        display: block;
    }

    .pricing-right {
        width: 100%;
    }

    .pricing-buttons-top {
        flex-direction: column;
        gap: 8px;
        padding: 0 5px;
    }

    .pricing-btn {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 15px;
        min-height: 50px;
        position: relative;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: #ccc;
        cursor: pointer;
    }

    .pricing-btn.active {
        background: rgba(76, 175, 80, 0.2);
        border-color: #4CAF50;
        color: #4CAF50;
    }

    .pricing-btn.active .btn-text,
    .pricing-btn.active .btn-price {
        color: #4CAF50;
    }
    
    /* Selection dot for mobile pricing buttons */
    .pricing-btn::before {
        content: '';
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #4CAF50;
        opacity: 0;
        transition: opacity 0.3s ease;
        box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
    }
    
    .pricing-btn.active::before {
        opacity: 1;
    }
    
    .pricing-btn.active .btn-text {
        margin-left: 32px;
    }

    .pricing-btn .btn-text {
        margin-bottom: 0;
        font-weight: 700 !important;
        font-size: 18px !important;
    }

    .pricing-btn .btn-price {
        font-weight: 800 !important;
        font-size: 20px !important;
        color: #4CAF50 !important;
    }
}

@media (max-width: 1150px) {
    .pricing-buttons-top {
        gap: 8px;
    }

    .pricing-btn {
        padding: 10px 12px;
        min-height: 45px;
    }

    .pricing-btn .btn-text {
        font-size: 15px;
    }

    .pricing-btn .btn-price {
        font-size: 18px;
    }
    
    /* Adjust dot position for smaller screens */
    .pricing-btn::before {
        left: 10px;
        width: 12px;
        height: 12px;
        box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
    }
    
    .pricing-btn.active .btn-text {
        margin-left: 28px;
    }
}

/* Light Theme Pricing Buttons */
body.light-theme .pricing-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #666;
}

body.light-theme .pricing-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.4);
}

body.light-theme .pricing-btn.active {
    background: rgba(76, 175, 80, 0.15);
    border-color: #2e7d32;
    color: #2e7d32;
}

body.light-theme .pricing-btn::before {
    background: #2e7d32;
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.4);
}

body.light-theme .pricing-btn .btn-price {
    color: #2e7d32;
}

body.light-theme .pricing-btn.recommended {
    border-color: #f57c00;
    background: rgba(245, 124, 0, 0.1);
}

body.light-theme .recommended-badge-btn {
    background: #f57c00;
    color: #fff;
}

/* E
xtra mobile styles for very small screens */
@media (max-width: 900px) {
    .delivery-info,
    .revision-info {
        font-size: 1.1em !important;
        padding: 10px 0 !important;
        font-weight: 700 !important;
    }

    .delivery-info i,
    .revision-info i {
        font-size: 1.2em !important;
        margin-right: 5px !important;
    }

    .pricing-plan-content {
        padding-bottom: 15px !important;
    }

    .pricing-right {
        padding-bottom: 100px !important;
    }
}

/* Project Modal Styles */
.project-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.project-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00d4ff;
    border-radius: 15px;
    max-width: 1100px;
    width: 90%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

body.light-theme .project-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #007bff;
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.2);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.project-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
}

body.light-theme .project-modal-header {
    border-bottom-color: rgba(0, 123, 255, 0.3);
    background: rgba(0, 123, 255, 0.1);
}

.project-modal-header h2 {
    color: #00d4ff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

body.light-theme .project-modal-header h2 {
    color: #007bff;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 38px;
    height: 38px;
    background: red;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,212,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s,
        box-shadow 0.25s,
        transform 0.18s;
    z-index: 10;
    font-size: 1.3rem;
    color: #00d4ff;
    outline: none;
}

.modal-close-btn:hover {
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,212,255,0.32);
    transform: scale(1.08) rotate(-8deg);
}

.modal-close-btn {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

body.light-theme .modal-close-btn {
    background: linear-gradient(135deg, rgba(0,123,255,0.10) 0%, rgba(0,86,179,0.08) 100%);
    color: #007bff;
    box-shadow: 0 2px 12px rgba(0,123,255,0.15);
}

body.light-theme .modal-close-btn:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,123,255,0.32);
}

.project-modal-body {
   
    align-items: center;
    padding: 30px;
    display:flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (max-width: 1150px) {
    .project-modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

#modal-image {
    width: 50%;
    height: 250px;
    object-fit:fill;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

body.light-theme #modal-image {
    border-color: rgba(0, 123, 255, 0.3);
}

#modal-image:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.project-details h3 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

body.light-theme .project-details h3 {
    color: #007bff;
}

#modal-rating {
    margin-bottom: 20px;
}

#modal-rating .star {
    color: #666;
    font-size: 1.5rem;
    margin-right: 5px;
}

#modal-rating .star.filled {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#modal-description {
    line-height: 1.6;
    margin-bottom: 25px;
    color: #b0b0b0;
    font-size: 1rem;
}

body.light-theme #modal-description {
    color: #555;
}

/* project-features removed */

/* modal-features styles removed */

.project-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.project-actions .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: red;
    color: wheat;
    border: 2px solid red;
    align-items: center;

}

/* Stylish Close Button */
.project-modal-close,
.modal-close,
.close-btn,
.btn-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 38px;
    height: 38px;
    background: red;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,212,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.25s,
        box-shadow 0.25s,
        transform 0.18s;
    z-index: 10;
    font-size: 1.3rem;
    color: #00d4ff;
    outline: none;
}

.project-modal-close:hover,
.modal-close:hover,
.close-btn:hover,
.btn-close:hover {
    background: red;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,212,255,0.32);
    transform: scale(1.08) rotate(-8deg);
}

body.light-theme .project-modal-close,
body.light-theme .modal-close,
body.light-theme .close-btn,
body.light-theme .btn-close {
    background: linear-gradient(135deg, rgba(0,123,255,0.10) 0%, rgba(0,86,179,0.08) 100%);
    color: #007bff;
    box-shadow: 0 2px 12px rgba(0,123,255,0.15);
}

body.light-theme .project-modal-close:hover,
body.light-theme .modal-close:hover,
body.light-theme .close-btn:hover,
body.light-theme .btn-close:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,123,255,0.32);
}

.project-modal-close:before,
.modal-close:before,
.close-btn:before,
.btn-close:before {
    content: '✕';
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.1em;
}

.project-modal-close span,
.modal-close span,
.close-btn span,
.btn-close span {
    display: none;
}

/* Scrollbar Styling for Modal */
.project-modal-content::-webkit-scrollbar {
    width: 8px;
}

.btn-secondary {
    background: red;
    color: #fff;
    border: none;
    padding: 16px 38px;
    border-radius: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 18px rgba(0,212,255,0.22);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    outline: none;
    margin: 0 10px;
}

.btn-secondary:hover, .btn-secondary:focus {
    background: red;
    color: wheat;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 20px rgba(0,212,255,0.32);
}

body.light-theme .btn-secondary {
    background: linear-gradient(135deg, #e9ecef 0%, #007bff 100%);
    color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.12);
}

body.light-theme .btn-secondary:hover,
body.light-theme .btn-secondary:focus {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,123,255,0.32);
}

.project-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-radius: 4px;
}

.project-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
}/* View
Details Button Styling */
.view-details-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
}

.view-details-btn.sound-active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.6);
}

body.light-theme .view-details-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

body.light-theme .view-details-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

/* Project Card Footer Styling */
.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .project-card-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.project-rating {
    display: flex;
    gap: 2px;
}

.project-rating .star {
    color: #ffd700;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Enhanced Project Card Hover Effects */
.project-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

body.light-theme .project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
}
* Blog Modal Styles */
.blog-modal-content {
    max-width: 900px;
    max-height: 90vh;
}

.blog-modal-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#blog-modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

body.light-theme #blog-modal-image {
    border-color: rgba(0, 123, 255, 0.3);
}

.blog-modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-modal-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .blog-modal-meta {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.blog-modal-meta span {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

#blog-modal-date {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.light-theme #blog-modal-date {
    background: rgba(0, 0, 0, 0.1);
    color: #555;
}

#blog-modal-category {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
}

body.light-theme #blog-modal-category {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

#blog-modal-read-time {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

body.light-theme #blog-modal-read-time {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

#blog-modal-content {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 1.05rem;
}

body.light-theme #blog-modal-content {
    color: #333;
}

#blog-modal-content p {
    margin-bottom: 20px;
}

#blog-modal-content strong {
    color: #00d4ff;
    font-weight: 600;
}

body.light-theme #blog-modal-content strong {
    color: #007bff;
}

#blog-modal-content em {
    color: #ffd700;
    font-style: italic;
}

body.light-theme #blog-modal-content em {
    color: #f57c00;
}

.blog-modal-actions {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .blog-modal-actions {
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* Enhanced Blog Read More Button */
.blog-read-more {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 212, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.blog-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #0099cc 0%, #007399 100%);
}

.blog-read-more.sound-active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.6);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

body.light-theme .blog-read-more {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

body.light-theme .blog-read-more:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

/* Mobile Responsive for Blog Modal */
@media (max-width: 1150px) {
    .blog-modal-body {
        padding: 20px;
        gap: 20px;
    }

    #blog-modal-image {
        height: 200px;
    }

    .blog-modal-meta {
        gap: 10px;
    }

    .blog-modal-meta span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    #blog-modal-content {
        font-size: 1rem;
    }
}

/* ==================== PAGINATION STYLES ==================== */

.pagination-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    border-color: #00d4ff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #888;
}

.pagination-btn.disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Light theme pagination styles */
body.light-theme .pagination-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .pagination-btn {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

body.light-theme .pagination-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%);
    border-color: rgba(0, 123, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

body.light-theme .pagination-btn.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

body.light-theme .pagination-btn.disabled {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #999;
}

body.light-theme .pagination-info {
    color: #666;
}

/* Mobile responsive pagination */
@media (max-width:900px) {
.pagination-container {
    position: relative;
    gap: 10px;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 35px;
        height: 35px;
    }
    
    .pagination-info {
        font-size: 12px;
        padding: 0 5px;
    }
    
    .pagination-nav {
        gap: 5px;
    }
}

@media (max-width: 900px) {
    .pagination-container {
        gap: 16px;
        padding: 15px 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        justify-content: center;
        min-height: 50px;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 30px;
        height: 30px;
    }
    
    .pagination-info {
        font-size: 12px;
        margin: 0 5px;
    }
}

/* Make all text selectable and copyable */
* {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Keep specific interactive elements non-selectable for better UX */
button,
.window-header,
.taskbar,
.tab,
.control-btn,
.system-icon-btn,
.mobile-menu-btn,
.client-category-tab,
.pagination-btn {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}
