body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa !important;
    min-height: 100vh;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Page-specific header sections */
.experience-page .page-header,
.education-page .page-header,
.contact-page .page-header,
.privacy-page .page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #3498db 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

/* Remove the old page-specific background colors */
body.experience-page,
body.education-page,
body.contact-page,
body.privacy-page {
    background: #14151a !important;
}

/* Update container spacing for pages with headers */
.page-header + .container {
    margin-top: 0;
}

/* Overlay effect for page headers */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 10s infinite;
}

.portrait-img {
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Modern Card Styling */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
}

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

.card-body {
    padding: 2rem;
}

.skill-list {
    list-style: none;
    padding-left: 0;
}

.skill-list li {
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.skill-list li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #007bff;
}

/* Reset navbar-related styles only */
.navbar,
.navbar *,
.navbar-brand,
.navbar-nav,
.nav-item,
.nav-link {
    margin: 0 !important;
    padding: 0 !important;
}

/* Navbar base styles */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #3498db 100%) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 35px !important;
    min-height: 35px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 2rem !important;
    height: 100%;
    padding: 0 10px !important;
    max-width: 1200px !important;
    position: relative !important;
}

/* Update navbar favicon styles */
.brand-icon-wrap {
    display: inline-flex;
    align-items: center;
    margin-right: 12px; /* Increased from 8px to 12px for larger gap */
    width: 20px;
    height: 20px;
}

.navbar-favicon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px); /* Changed from -1px to -2px to move up slightly more */
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.brand-text {
    display: inline-block;
    line-height: 1;
}

.navbar-brand:hover .navbar-favicon {
    transform: rotate(-10deg);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

.navbar-brand {
    display: grid;
    grid-template-columns: auto 1fr;  /* more flexible */
    align-items: center;
    gap: 10px; /* Reduced from 10px to 8px for smaller gap */
    align-items: center;
    font-size: 1.1rem;
    height: 35px;
    margin-right: 2rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
}

/* Brand hover animation */
.navbar-brand:hover {
    transform: scale(1.1) rotate(-2deg);
    text-shadow: 0 0 8px rgba(74, 158, 255, 0.8);
}

/* Ensure brand text is fully white */
.navbar-brand,
.navbar-brand a {
    color: #ffffff !important;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4a9eff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.navbar-brand:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-content {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 0 1 auto !important;
    width: auto !important;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    height: 100%;
    width: auto !important;
    flex-wrap: nowrap !important;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 0.25rem !important; /* Reduced margin for better spacing */
}

.nav-link {
    height: 35px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    padding: 0 15px !important;
    min-width: max-content;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #4a9eff !important;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #4a9eff !important;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4a9eff 33%, transparent 33%, transparent 66%, #4a9eff 66%);
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease, background-position 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active:hover::after {
    transform: scaleX(1);
    background-position: 100% 0;
}

.nav-link.active::after {
    transform: scaleX(0.8);
    background: #4a9eff;
    opacity: 0.7;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    margin-top: -1px;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    padding: 0.5rem 0;
}

/* Privacy page adjustments */
.navbar .nav-item:last-child {
    margin-left: 0.5rem !important;
}

@media (max-width: 768px) {
    /* Basic navbar setup */
    .navbar {
        height: 40px !important;
        min-height: 40px !important;
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
    }

    .navbar .container {
        justify-content: center !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Navigation items */
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-item {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    /* Navbar layout tweaks: keep brand and privacy link visible */

    /* Keep all other nav items visible */
    .nav-link {
        height: 40px !important;
        padding: 0 0.75rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
    }

    /* Content adjustments */
    body {
        padding-top: 40px !important;
    }

    .page-container {
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        height: 45px !important;
        min-height: 45px !important;
    }

    .navbar .container {
        height: 45px !important;
        padding: 0 5px;
    }

    .nav-link {
        height: 45px !important;
        padding: 0 0.75rem !important;
    }

    body {
        padding-top: 45px !important;
    }
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(45deg, #4a9eff, #2c3e50);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Footer and page layout */
.page-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.content-wrap {
    flex: 1;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
    background: inherit;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #1a1a1a !important;
    color: #fff;
    padding: 10px 0;
    z-index: 100 !important;
    margin-top: auto;
}

.footer .container {
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .text-muted {
    font-size: 0.9rem;
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    pointer-events: auto !important;
    cursor: pointer;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease, height 0.3s ease;
}

.footer a:hover::after {
    background: rgba(255, 255, 255, 0.5);
    height: 1px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 40px;
    opacity: 0;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #4a9eff, #2c3e50);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(-10px);
}

.back-to-top:hover {
    transform: translateY(-15px);
}

.sticky-top {
    transition: all 0.3s ease;
}

.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #3498db 100%);
    color: white;
    padding: 100px 0;
    margin-top: 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 10s infinite;
}

.hero-content {
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tech-icon {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    padding: 3px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block !important;
    flex: 0 0 48px !important;
}

.tech-icon:hover {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.container {
    margin-top: 4rem; /* Add spacing between navbar and content */
}

.container:not(.hero-section .container) {
    padding-top: 2rem; /* Add padding to containers except within hero section */
}

/* Certification Styles */
.certification-category {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 2rem;
}

.certification-category:last-child {
    border-bottom: none;
}

.cert-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

/* Add consistent sizing for school logos */
.school-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.certification-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.5);
}

.certification-item:hover {
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Enhanced Certification Styles */
.cert-content {
    flex: 1;
}

.cert-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.skills-tags {
    margin: 0.5rem 0;
}

.skills-tags .badge {
    font-weight: 400;
    padding: 0.5em 0.8em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: rgba(0,0,0,0.05) !important;
    color: #666 !important;
    border: 1px solid rgba(0,0,0,0.1);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.module-item {
    background: rgba(0,0,0,0.02);
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.module-item:hover {
    background: rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

/* Enhanced Module Grid Styles */
.cert-modules {
    margin-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.module-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4a9eff, #3b7fd1);
    border-radius: 2px;
}

.module-item:hover {
    transform: translateY(-3px) translateX(3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: linear-gradient(145deg, #ffffff, #f0f3f6);
}

.module-item h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 0.8rem;
}

.module-item .small {
    color: #6c757d;
    padding-left: 0.8rem;
}

.module-item .btn-outline-secondary {
    width: 100%;
    margin-top: 0.8rem;
    border-color: #4a9eff;
    color: #4a9eff;
    transition: all 0.3s ease;
}

.module-item .btn-outline-secondary:hover {
    background: #4a9eff;
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Programming Hub Certifications */
.programming-hub-certs {
    margin-top: 2rem;
}

.cert-list {
    margin: 0.5rem 0;
}

.cert-list li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.02);
}

.cert-list li:hover {
    background: rgba(0,0,0,0.04);
    transform: translateX(5px);
}

.cert-list a {
    color: #4a9eff;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.cert-list a:hover {
    color: #2c3e50;
}

/* Skills Section Styles */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.skill-category {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.skill-category h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.skill-category h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #4a9eff;
    border-radius: 2px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-tags .badge {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.skills-tags .badge:hover {
    background: #4a9eff;
    color: white;
    border-color: #4a9eff;
    transform: translateY(-2px);
}

/* Add these styles */
body.skills-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #3498db 100%) !important;
    min-height: 100vh;
}

.skills-page .page-container {
    background: transparent;
}

.skills-page .content-wrap {
    background: transparent;
}

/* Contact page specific styles */
.contact-icon-wrap {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9eff, #3b7fd1);
    border-radius: 12px;
    margin-right: 1rem;
    color: white !important;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.contact-icon {
    color: white !important;
    opacity: 1 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-link {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2c3e50;
    text-decoration: underline;
}

#contactForm .form-control {
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 0 0.2rem rgba(74, 158, 255, 0.25);
}

/* Contact Page Styles */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon-wrap {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9eff, #3b7fd1);
    border-radius: 12px;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-details strong {
    color: #2c3e50;
    font-size: 1rem;
}

.contact-details span,
.contact-details a {
    color: #6c757d;
    font-size: 0.95rem;
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    padding: 1rem;
    height: auto;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: #4a9eff;
    box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.1);
}

.form-floating > label {
    padding: 1rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
   
    .glass-card {
        padding: 1.5rem;
    }
}

/* Timeline and Card Styles */
.timeline .card {
    border: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.timeline .card::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4a9eff, #3b7fd1);
    border-radius: 2px;
}

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

.timeline .card-body {
    padding: 2rem;
}

.timeline .card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline .badge.bg-primary {
    background: linear-gradient(135deg, #4a9eff, #3b7fd1) !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.achievements {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4a9eff;
}

.skills-tags .badge {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.skills-tags .badge:hover {
    background: rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* Community Service Section */
.service-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a9eff, #3b7fd1);
}

/* Ensure terminal skill-category uses dark theme and is always visible */
.skills-page .terminal-container .skill-category {
    background: rgba(15, 25, 15, 0.6) !important;
    border: 1px solid rgba(51, 255, 51, 0.3) !important;
    color: #33ff33 !important;
    box-shadow: none !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
