:root {
    --mirex-blue: #4ABBF9;
    --mirex-purple: #9049EF;
    --mirex-gradient: linear-gradient(135deg, var(--mirex-blue), var(--mirex-purple));
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --bg-section: #0f0f16;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
}

.text-gradient {
    background: var(--mirex-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-muted-custom {
    color: #cccccc;
}

.bg-dark-custom {
    background-color: var(--bg-dark);
}

.section-dark {
    background-color: var(--bg-section);
}

.letter-spacing-custom {
    letter-spacing: 2px;
}

.btn-mirex {
    background: var(--mirex-gradient);
    color: white;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-mirex:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(144, 73, 239, 0.3);
}

.navbar-custom {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--mirex-blue);
}

.hero-bg {
    background-image: radial-gradient(circle at top right, rgba(144, 73, 239, 0.15), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(74, 187, 249, 0.15), transparent 40%);
}

.tech-stack-container {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white !important;
}

.tech-item span {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #aaa;
}

.tech-item img {
    max-height: 40px;
    filter: grayscale(100%) brightness(200%);
    transition: filter 0.3s ease;
}

.tech-item:hover img {
    filter: grayscale(0%) brightness(100%);
}

.code-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
}

.code-card code {
    font-family: monospace;
    font-size: 0.95rem;
    white-space: nowrap;
}

.code-keyword { color: var(--mirex-blue); }
.code-class { color: var(--mirex-purple); }
.code-string { color: #A3D188; }

.section-padding {
    padding: 100px 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--mirex-blue);
}

.footer-custom {
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-custom small {
    color: #666666;
}

.project-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--mirex-purple) !important;
    box-shadow: 0 15px 30px rgba(144, 73, 239, 0.15) !important;
}

.project-card .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #cccccc;
    transition: all 0.3s ease;
}

.project-card .btn-outline-light:hover {
    background: var(--mirex-gradient);
    border-color: transparent;
    color: white;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .tech-stack-container {
        margin-top: 3rem !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .lead.fs-4 {
        font-size: 1.1rem !important;
    }

    .tech-item img {
        max-height: 30px;
    }

    .tech-item span {
        font-size: 0.75rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .code-card code {
        font-size: 0.8rem;
    }
}
.navbar-logo {
    height: 38px;
    width: auto;
    margin-right: 8px; 
    object-fit: contain;
    transform: translateY(-2px); 
}