
        .projects-accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-header:hover {
    background: rgba(255, 140, 0, 0.05);
}

.header-left { display: flex; align-items: center; gap: 15px; }
.proj-icon { font-size: 1.5rem; }
.proj-title { font-weight: 600; color: #fff; }

.header-right { display: flex; align-items: center; gap: 20px; }
.proj-tag { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    color: var(--accent); 
    border: 1px solid var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
}

.chevron { 
    transition: transform 0.3s ease; 
    color: var(--text-secondary); 
}

/* Open State */
.accordion-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.1);
}
.accordion-item.active .chevron { transform: rotate(180deg); color: var(--accent); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-inner {
    padding: 25px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-stack {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-stack span {
    background: rgba(0, 68, 204, 0.2);
    color: #8bb6ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 68, 204, 0.3);
}
        .project-card h3 {
    margin-top: 10px;
    font-size: 1.1rem;
}

.project-card p {
    font-size: 0.85rem;
    margin-top: 5px;
}

.project-overlay p {
    color: #fff !important; /* Ensure readability on the blue/orange overlay */
    padding: 0 15px;
}

/* Specific styling for the tech tags */
.project-content p {
    letter-spacing: 1px;
    font-weight: 600;
}
        .service-list {
    list-style: none;
    margin-top: 15px;
    text-align: left;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Highlight the Emerging Tech Card */
.glass-card:last-child {
    background: linear-gradient(135deg, rgba(255,140,0,0.1), rgba(0,68,204,0.05));
    box-shadow: 0 0 20px rgba(255,140,0,0.1);
}
        /* * CORE VARIABLES & RESET 
         */
        :root {
            --bg-color: #180d7b;
            --bg-gradient: linear-gradient(to right, #24243e, #302b63, #0b072a);
            --text-color: #ffffff;
            --text-secondary: #b0b0b0;
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
            --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            --accent: #00f2ff;
            --accent-glow: rgba(0, 242, 255, 0.5);
            --card-hover: rgba(255, 255, 255, 0.1);
            --nav-bg: rgba(15, 12, 41, 0.8);
            --card-bg: rgba(255,255,255,0.05);

            /* Transitions */
            --transition-speed: 0.3s;
        }

:root[data-theme="light"] {
    --bg-color: #d1d7dc;
    --bg-gradient: linear-gradient(135deg, #c8cdd2, #e5edf8);

    --text-color: #1a1a1a;
    --text-secondary: #121111;

    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(0,0,0,0.08);
    --glass-shadow: 0 8px 32px rgba(0,0,0,0.08);

    --accent: #0066ff;
    --accent-glow: rgba(0,102,255,0.25);
    --card-hover: rgba(0,102,255,0.08);
    --nav-bg: rgba(255,255,255,0.85);
    --card-bg: rgba(255,255,255,0.7);
}



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            scroll-behavior: smooth;
        }

        body {
            
            background-image: var(--bg-gradient);
            color: var(--text-color);
            overflow-x: hidden;
            transition: background 0.5s ease, color 0.5s ease;
        }

        /* * CANVAS & BACKGROUNDS 
         */
        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        /* * NAVIGATION 
         */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: var(--nav-bg);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--glass-border);
        }
        /* Hamburger Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px; /* below nav */
        right: -100%; /* hide offscreen */
        height: calc(100% - 70px);
        width: 250px;
        background: var(--bg-color);
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: flex-start;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0; /* slide in */
    }

    .nav-btn {
        width: 100%;
        text-align: left;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .theme-toggle {
        align-self: flex-start;
    }
}


        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px var(--accent-glow);
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-btn {
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            font-size: 1rem;
            position: relative;
            transition: color var(--transition-speed);
        }

        .nav-btn::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent);
            transition: width var(--transition-speed);
        }

        .nav-btn:hover::after {
            width: 100%;
        }

        /* Theme Toggle */
        .theme-toggle {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            padding: 8px 12px;
            border-radius: 20px;
            cursor: pointer;
            color: var(--text-color);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            background: var(--accent);
            color: #da3535;
        }

        /* * HERO SECTION 
         */
        header {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
            position: relative;
        }

        .hero-title {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #fff, var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeInDown 1s ease-out;
        }

        body.light-mode .hero-title {
            background: linear-gradient(45deg, #333, var(--accent));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--text-secondary);
            margin-bottom: 40px;
            min-height: 1.5em; /* Prevent layout shift */
        }

        .typing-cursor {
            display: inline-block;
            width: 3px;
            background-color: var(--accent);
            animation: blink 1s step-end infinite;
        }

        .cta-container {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
            animation: fadeInUp 1.5s ease-out;
        }

        .btn {
            padding: 12px 30px;
            border-radius: 30px;
            border: 1px solid var(--accent);
            background: transparent;
            color: var(--accent);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn-fill {
            background: var(--accent);
            color: #000;
        }

        body.light-mode .btn-fill {
            color: #fff;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 20px var(--accent-glow);
            background: var(--accent);
            color: #000;
        }
        
        body.light-mode .btn:hover {
            color: #fff;
        }

        /* * SECTIONS COMMON 
         */
        section {
            padding: 100px 10%;
            position: relative;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--accent);
            margin: 10px auto 0;
            border-radius: 2px;
        }

        /* * WAVE ANIMATION 
         */
        .wave-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
        }

        .wave-svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 100px;
        }

        .wave-shape {
            fill: var(--bg-color); /* Blends into next section or same bg */
            opacity: 0.5;
        }
        
        /* * GLASS CARDS (Services & Projects)
         */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 30px;
            box-shadow: var(--glass-shadow);
            transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
            overflow: hidden;
            position: relative;
        }

        .glass-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
            border-color: var(--accent);
            background: var(--card-hover);
        }

        .glass-card h3 {
            margin-bottom: 15px;
            color: var(--accent);
        }

        .glass-card p {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* * SKILLS 
         */
        .skill-wrapper {
            margin-bottom: 20px;
        }
        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .skill-bar {
            width: 100%;
            height: 10px;
            background: var(--glass-border);
            border-radius: 5px;
            overflow: hidden;
        }
        .skill-fill {
            height: 100%;
            background: var(--accent);
            width: 0;
            transition: width 1.5s cubic-bezier(0.1, 0.7, 1.0, 0.1);
            box-shadow: 0 0 10px var(--accent-glow);
        }

        /* * PROJECT REVEAL 
         */
        .project-card {
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            cursor: pointer;
        }

        .project-content {
            position: relative;
            z-index: 2;
        }

        .project-overlay {
            position: absolute;
            bottom: -100%; /* Hidden */
            left: 0;
            width: 100%;
            height: 100%;
            background: #c52a2acc;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            transition: bottom 0.4s ease;
            padding: 20px;
        }
        
       body.light-mode
 .project-overlay {
            background: hsl(29, 100%, 50%);
        }

        .project-card:hover .project-overlay {
            bottom: 0;
        }

        .project-icon {
            font-size: 3rem;
            margin-bottom: 10px;
            color: var(--accent);
        }

        /* * CONTACT FORM 
         */
        .contact-container {
            max-width: 600px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            border-radius: 8px;
            color: var(--text-color);
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        .form-input:focus, .form-textarea:focus {
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.1);
        }

        .form-status {
            margin-top: 15px;
            font-weight: bold;
            text-align: center;
            min-height: 20px;
        }

        /* * FLOATING WHATSAPP 
         */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #25d366;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 9999;
            text-decoration: none;
            transition: transform 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        /* * FOOTER 
         */
        footer {
            text-align: center;
            padding: 30px;
            background: rgba(0,0,0,0.2);
            border-top: 1px solid var(--glass-border);
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        /* * ANIMATIONS 
         */
        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes blink {
            50% { opacity: 0; }
        }

        /* * RESPONSIVENESS 
         */
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; }
            nav { padding: 15px; flex-direction: column; gap: 10px; }
            .nav-links { gap: 15px; }
            section { padding: 60px 5%; }
        }
        .contact-hub {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 140, 0, 0.1);
}

.hub-item {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.hub-label {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent); /* Orange */
    font-weight: 800;
}

.hub-number {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s;
}

.hub-number:hover {
    color: #0066ff; /* High-grade Blue */
}

.hub-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

.whatsapp-trigger img {
    width: 35px;
    height: 35px;
    margin-left: 15px;
    filter: drop-shadow(0 0 5px #25D366);
    transition: transform 0.3s;
}

.whatsapp-trigger:hover img {
    transform: scale(1.2) rotate(10deg);
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .contact-hub {
        width: 90%;
        padding: 10px;
        bottom: 15px;
    }
    .hub-label { display: none; }
    .hub-number { font-size: 0.8rem; }
}
.status-widget {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.status-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 700;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #ff4444; /* Red dot to simulate 'recording/live' */
    border-radius: 50%;
    animation: blink 1s infinite;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.led-green {
    width: 12px;
    height: 12px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    animation: pulse-green 2s infinite;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-info .label {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
}

.status-info .value {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status-footer {
    font-size: 0.6rem;
    color: #555;
    text-align: right;
    margin-top: 10px;
}

/* Animations */
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.main-hero-logo {
    width: 150px; /* Adjust size as needed */
    height: auto;
    animation: neuralPulse 4s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.2));
}

@keyframes neuralPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.2));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.6));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.2));
    }
}
/* 1. Global Responsive Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Tablet & Mobile Optimizations (Below 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem; /* Smaller font for smaller screens */
        padding: 0 15px;
    }

    .main-hero-logo {
        width: 120px; /* Scaled down logo */
    }

    .nav-links {
        display: none; /* Hide standard nav for a mobile menu */
    }

    .glass-card {
        margin: 10px;
        padding: 20px;
    }
}

/* 3. Small Phone Optimizations (Below 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .cta-container {
        flex-direction: column; /* Stack buttons vertically */
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%; /* Full-width buttons are easier to tap */
        margin-bottom: 10px;
    }
    
    .ai-chat-widget {
        width: 100%;
        height: 60vh;
        bottom: 0;
        right: 0;
        border-radius: 15px 15px 0 0;
    }
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Desktop Style (Default) */
.floating-contact-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column; /* Vertical on desktop */
    gap: 15px;
    z-index: 9999;
}

/* Mobile Adaptive Style (Below 768px) */
@media (max-width: 768px) {
    .floating-contact-hub {
        bottom: 20px;
        right: 20px;
        left: 20px; /* Stretch across the bottom */
        flex-direction: row; /* Horizontal on mobile for thumb access */
        justify-content: center;
        gap: 10px;
    }

    .hub-item {
        flex: 1; /* Equal width buttons */
        justify-content: center;
        padding: 12px;
        border-radius: 12px;
    }

    .hub-label {
        display: none; /* Hide text on small screens to save space; keep only icons */
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .hub-item {
        padding: 15px; /* Larger tap targets for fingers */
    }
}
/* 1. Define Light Mode Variables */

/* 2. Style the Toggle Button */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.theme-switch {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 54px;
}

.theme-switch input { display: none; }

.slider {
    background-color: #222;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.slider.round:before {
    background-color: var(--accent);
    bottom: 4px;
    content: "";
    height: 22px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 22px;
    border-radius: 50%;
}

input:checked + .slider { background-color: #ddd; }
input:checked + .slider:before { transform: translateX(24px); }

/* 3. Apply variables to your elements */

.glass-card {
    background: var(--card-bg);
    color: var(--text-color);
}
/* FUTURISTIC BUTTON STYLES */
.btn-glitch {
    position: relative;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--accent);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s;
    border-radius: 2px;
    backdrop-filter: blur(5px);
}

.btn-glitch:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

.btn-pulse {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* Styling the WhatsApp Float */
.wa-float-mobile {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background: rgba(37, 211, 102, 0.15); /* Subtle WhatsApp Green */
    backdrop-filter: blur(10px); /* Matches your glassmorphism */
    border: 1px solid rgba(37, 211, 102, 0.5);
    padding: 8px 8px 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.wa-text {
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.wa-icon-circle {
    background: #25d366;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-icon-circle img {
    width: 20px;
    height: 20px;
}

/* MOBILE SPECIFIC FIXES */
@media (max-width: 768px) {
    .wa-float-mobile {
        bottom: 15px; /* Adjust if it hits your footer monitor */
        right: 15px;
        padding: 6px 6px 6px 12px;
    }
    
    .wa-text {
        font-size: 12px;
    }

    /* If you want ONLY the icon on very small phones */
    
}
@media (max-width: 400px) {
    .wa-text {
        display: none;
    }

    .wa-float-mobile {
        padding: 8px;
    }
}

/* WhatsApp FAB Styling */
.whatsapp-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-content {
    display: flex;
    align-items: center;
    background: rgba(37, 211, 102, 0.1); /* Subtle green tint */
    backdrop-filter: blur(12px); /* Glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 6px 6px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fab-text {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-right: 12px;
    letter-spacing: 0.5px;
}

.fab-circle {
    background: #25d366;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.fab-circle img {
    width: 22px;
    height: 22px;
}

/* MOBILE FIX: Scale down and hide text on very small screens */
@media (max-width: 480px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-text {
        display: none; /* Hide text to avoid blocking UI on mobile */
    }
    
    .fab-content {
        padding: 6px; /* Turn into a perfect circle */
        background: rgba(255, 255, 255, 0.05);
    }
    
    .fab-circle {
        width: 45px;
        height: 45px;
    }
}
/* Fix mobile overlap and polish glassmorphism */
@media (max-width: 768px) {
    .contact-hub {
        display: none; /* Hides the top support bar on mobile to save space */
    }
    
    .whatsapp-fab {
        bottom: 15px;
        right: 15px;
    }
}

/* Enhanced Glassmorphism for all cards */
.glass-card, .accordion-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.main-hero-logo {
    width: 100%;           /* Scale with container */
    max-width: 320px;      /* Maximum size on desktop */
    height: auto;          /* Maintain proportions */
    display: block;
    margin: 0 auto 20px;   /* Center it and add space below */
}

/* Mobile specific adjustment */
@media (max-width: 480px) {
    .main-hero-logo {
        max-width: 220px;  /* Slightly smaller on very small phones */
    }
}
@media (hover: none) {
    .glass-card:active {
        transform: scale(0.98); /* Slight shrink to show it was pressed */
        border-color: var(--accent) !important;
        background: rgba(255, 140, 0, 0.1) !important;
    }
}
/* Update the base card first */
.glass-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
    cursor: pointer;
}

/* The Hover State */
.glass-card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    border-color: var(--accent) !important; /* Changes border to your accent color */
    box-shadow: 0 15px 45px rgba(0, 150, 255, 0.2); /* Soft glow behind the card */
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); /* The "Secret Sauce" for smooth accordions */
}

.accordion-item.active .accordion-content {
    max-height: 1000px; /* Large enough to fit content */
    transition: max-height 1s ease-in-out;
}
/* Show a clean glow when navigating with a keyboard */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Footer Contact Terminal Upgrade */
.contact-terminal h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 25px;
    text-align: center;
}

.contact-item span {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    font-family: 'Courier New', monospace; /* Gives it a tech/terminal feel */
}

/* Hover/Touch Effect */
.contact-item:hover, .contact-item:active {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.1);
}

/* Mobile Alignment */
@media (max-width: 768px) {
    .contact-item {
        justify-content: flex-start;
        padding: 15px; /* Larger hit area for mobile */
    }
}

/* Live Monitor Container */
.system-monitor-section { padding: 60px 0; }

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* The Live Pulse Orb */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 20px;
}

.pulse-orb {
    width: 10px; height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: orbPulse 1.5s infinite;
}

@keyframes orbPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.status-text { font-size: 0.7rem; color: #00ff00; font-weight: bold; letter-spacing: 1px; }

/* The Dashboard Grid */
.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.monitor-card {
    padding: 25px;
    border-left: 3px solid var(--accent); /* Brand accent line */
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    color: #fff;
}

.stat-label { font-size: 0.8rem; color: #666; text-transform: uppercase; margin-bottom: 15px; }

/* Progress Bar Visuals */
.progress-bar { height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; }
.progress-fill { height: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: width 0.5s ease; }

/* Mobile Balancing */
@media (max-width: 480px) {
    .monitor-header { justify-content: center; }
    .stat-value { font-size: 1.8rem; }
    .monitor-card { padding: 20px; }
}
/* --- Controlled Logo Sizing --- */
.main-hero-logo {
    display: block;
    margin: 0 auto 20px;
    
    /* Desktop size: reduced from 350px to a cleaner 220px */
    width: 220px; 
    height: auto; /* Keeps the logo proportional */
    
    /* Smooth animation stays active */
    animation: neuralPulse 4s ease-in-out infinite;
    will-change: transform;
    transition: width 0.3s ease;
}

/* --- Mobile Specific Size --- */
@media (max-width: 480px) {
    .main-hero-logo {
        /* Even smaller for tiny phone screens to prevent clutter */
        width: 160px; 
    }
}
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle divider line */
}

.footer-bottom p {
    color: #666; /* Muted gray so it doesn't distract from main content */
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Makes the legal text look "official" */
}

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.75rem; /* Slightly smaller for mobile phones */
        padding: 0 20px;
    }
}
/* ===============================
   FUTURISTIC SYSTEM MONITOR
================================ */

.futuristic-monitor {
    padding: 100px 5%;
}

.system-state {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00ff9c;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff9c;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px #00ff9c; }
    50% { box-shadow: 0 0 20px #00ff9c; }
    100% { box-shadow: 0 0 5px #00ff9c; }
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.monitor-tile {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 18px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,255,255,0.05);
}

.monitor-tile.wide {
    grid-column: span 2;
}

.tile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.tile-value {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.tile-value.success {
    color: #00ff9c;
}

.tile-sub {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.neon-bar {
    margin-top: 15px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.neon-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00f2ff, #00ff9c);
    box-shadow: 0 0 15px rgba(0,255,255,0.6);
    transition: width 1s ease;
}

.uptime-display {
    text-align: center;
    margin-top: 10px;
}

.uptime-display span {
    font-size: 3rem;
    color: #00ff9c;
    font-family: 'Courier New', monospace;
}

.uptime-display small {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
}
/* ===============================
   FUTURISTIC MONITOR – MOBILE FIX
================================ */

@media (max-width: 768px) {

    .futuristic-monitor {
        padding: 70px 6%;
    }

    .monitor-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Disable wide tile on mobile */
    .monitor-tile.wide {
        grid-column: span 1;
    }

    .monitor-tile {
        padding: 20px;
        border-radius: 16px;
    }

    .tile-header {
        font-size: 0.95rem;
    }

    .tile-value {
        font-size: 1.6rem;
    }

    .tile-sub {
        font-size: 0.8rem;
    }

    .neon-bar {
        height: 5px;
    }

    .uptime-display span {
        font-size: 2.2rem;
    }

    .system-state {
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
        margin-top: 15px;
    }

    .monitor-header {
        text-align: center;
    }
}

/* Ultra-small phones */
@media (max-width: 420px) {

    .tile-value {
        font-size: 1.4rem;
    }

    .uptime-display span {
        font-size: 2rem;
    }

    .monitor-tile {
        padding: 16px;
    }
}
/* ===============================
   LIVE SYSTEM ANIMATIONS
================================ */

/* Scanline background */
.monitor-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
    animation: scanMove 6s linear infinite;
    z-index: 1;
}

@keyframes scanMove {
    from { background-position: 0 0; }
    to   { background-position: 0 100%; }
}

/* Ensure content is above scanlines */
.futuristic-monitor .container {
    position: relative;
    z-index: 2;
}

/* Bar breathing animation */
.neon-bar span {
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0% { filter: brightness(0.9); }
    50% { filter: brightness(1.4); }
    100% { filter: brightness(0.9); }
}

/* Tile glow drift */
.monitor-tile::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(0,255,255,0.15), transparent);
    opacity: 0;
    animation: tileGlow 4s infinite;
}

@keyframes tileGlow {
    0% { opacity: 0; }
    50% { opacity: 0.4; }
    100% { opacity: 0; }
}
.futuristic-monitor {
    position: relative;
    overflow: hidden;
}

.monitor-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.04),
        rgba(255,255,255,0.04) 1px,
        transparent 1px,
        transparent 5px
    );
    animation: scanMove 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes scanMove {
    from { background-position: 0 0; }
    to   { background-position: 0 100%; }
}

.futuristic-monitor .container {
    position: relative;
    z-index: 2;
}

.neon-bar span {
    display: block;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, #00f2ff, #00ff9c);
    transition: width 0.8s ease;
}
/* ===============================
   FOOTER SOCIALS
================================ */

.footer-socials {
    text-align: center;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.social-label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--accent);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,255,255,0.15);
}

.social-icons a:hover {
    background: rgba(0,255,255,0.15);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0,255,255,0.5);
}

/* Mobile spacing */
@media (max-width: 600px) {
    .social-icons {
        gap: 14px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ===============================
   FOOTER COPYRIGHT
================================ */

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}
/* =====================================
   THEME TOGGLE – MOBILE VISIBILITY FIX
===================================== */

/* Ensure toggle is always visible */
#theme-toggle {
    position: fixed;
    z-index: 9999;
}

/* Mobile behavior */
@media (max-width: 768px) {
    #theme-toggle {
        bottom: 16px;
        right: 16px;
        top: auto;
        left: auto;

        /* Make it thumb friendly */
        min-width: 44px;
        min-height: 44px;

        /* Prevent overlap issues */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    #theme-toggle {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* =====================================
   THEME TOGGLE – MOBILE VISIBILITY FIX
===================================== */

/* Base safety */
#theme-btn {
    cursor: pointer;
    user-select: none;
}

/* MOBILE OVERRIDE */
@media (max-width: 768px) {
    #theme-btn {
        position: fixed !important;
        bottom: 16px !important;
        right: 16px !important;
        top: auto !important;
        left: auto !important;

        display: flex !important;
        align-items: center;
        gap: 8px;

        padding: 10px 14px;
        font-size: 0.85rem;

        background: rgba(0, 0, 0, 0.75);
        color: #ffffff;
        border-radius: 999px;
        z-index: 10000;

        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    body.light-mode #theme-btn {
        background: rgba(255, 255, 255, 0.9);
        color: #111111;
        border: 1px solid rgba(0,0,0,0.15);
    }

    #theme-btn span {
        font-size: 1rem;
        line-height: 1;
    }
}
@media (max-width: 768px) {
    .theme-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}
.btn-consult {
  margin-top: 14px;
  background: linear-gradient(135deg, #31aed1, #0c93d2);
  color: #0b0c10;
  font-weight: 600;
  border: none;
}

.btn-consult:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px rgba(50, 113, 215, 0.6);
}
