@font-face {
    font-family: 'FiraCode Nerd Font';
    src: url('/fonts/FiraCodeNerdFont-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'FiraCode Nerd Font';
    src: url('/fonts/FiraCodeNerdFont-Regular') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'FiraCode Nerd Font';
    src: url('/fonts/FiraCodeNerdFont-Retina.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
:root {
    --dark-color: #0B0C10;
    --dark-gray-blue: #1F2833;
    --light-gray: #C5C6C7;
    --bright-cyan: #66FCF1;
    --muted-teal: #45A29E;
    --text-color: var(--light-gray);
    --shiny-red: #FF4C4C;
}

body {
    background: linear-gradient(135deg, #0b0c10 0%, #1f2833 100%);
    color: var(--text-color);
    font-family: 'FiraCode Nerd Font', monospace;
    font-weight: 500;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}
a {
    color: var(--bright-cyan);
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--shiny-red);
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--bright-cyan);
}

/* Navbar */
.navbar {
    background-color: var(--dark-gray-blue);
    box-shadow: 0 2px 10px rgba(102, 252, 241, 0.2);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    color: var(--bright-cyan) !important;
}

.nav-link {
    color: var(--light-gray) !important;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--bright-cyan) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--bright-cyan);
    border-color: var(--bright-cyan);
    color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--muted-teal);
    border-color: var(--muted-teal);
}

/* Cards */
.card {
    background: rgba(31, 40, 51, 0.25); /* semi-transparent base using your --dark-gray-blue */
    border: 1px solid rgba(69, 162, 158, 0.4); /* softened --muted-teal border */
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 252, 241, 0.15); /* brighter glass glow */
    backdrop-filter: blur(12px); /* blur for the glass effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    transition: all 0.3s ease-in-out;

    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 0 25px rgba(102, 252, 241, 0.2);
    transform: translateY(-5px);
}

.project-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, opacity 0.4s ease-out;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
}

.project-card .btn {
    margin-top: auto;
}

.project-card.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Badges */
.badge {
    font-size: 0.8em;
    margin-right: 5px;
    margin-bottom: 5px;
}


/* Skills Section */
.skills-container {
    position: relative; /* Reference point for dynamic positioning */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-group h4 {
    color: var(--bright-cyan);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.skills-column {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.skills-column li {
    list-style-type: none; /* Removes bullet points */
    margin: 0; /* Optional: Removes default margins */
    padding: 0; /* Optional: Removes default padding */
}

.skills-column li img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    position: absolute; /* Required for dynamic positioning */
    transition: transform 0.3s ease;
    cursor: grab;
}

.skills-column img.dragging {
    cursor: grabbing;
    opacity: 0.8;
    z-index: 1000;
}

.skills-column img:hover {
    transform: scale(1.1);
}

.about-me-text p {
    position: relative; /* Ensure paragraphs have a bounding box */
    margin: 10px 0;
}

#reset-layout {
    margin-top: 1rem;
    background-color: #FF4C4C;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
#reset-layout:hover {
    background-color: #e53e3e;
}



/* Footer */
.footer {
    background-color: var(--dark-gray-blue);
    box-shadow: 0 -2px 10px rgba(102, 252, 241, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer p {
    margin: 0;
    color: var(--light-gray);
}

/* Fade-In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: var(--muted-teal);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bright-cyan);
}

/* Project Filtering */
.filter-btn {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: var(--dark-gray-blue);
    color: var(--light-gray);
    border: 1px solid var(--muted-teal);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--bright-cyan);
    color: var(--dark-color);
}

/* Modal Styles */
.modal-content {
    background-color: var(--dark-gray-blue);
    color: var(--light-gray);
}

.modal-header,
.modal-footer {
    border-color: var(--muted-teal);
}

.modal-title {
    color: var(--bright-cyan);
}


@keyframes shimmerGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 252, 241, 0.1), 0 0 20px rgba(102, 252, 241, 0.05);
        border-color: rgba(69, 162, 158, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 252, 241, 0.3), 0 0 40px rgba(102, 252, 241, 0.1);
        border-color: rgba(102, 252, 241, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(102, 252, 241, 0.1), 0 0 20px rgba(102, 252, 241, 0.05);
        border-color: rgba(69, 162, 158, 0.3);
    }
}

.card.shimmer {
    animation: shimmerGlow 3s ease-in-out infinite;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .navbar-nav .nav-item {
        margin-left: 0.5rem;
    }
}
.blog-post {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 768px;
    margin: auto;
}

.blog-post h1, .blog-post h2, .blog-post h3 {
    color: var(--bright-cyan);
    margin-top: 2rem;
}

.blog-post ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.blog-post .lottie {
    display: flex;
    justify-content: center;
}
@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-nav .nav-item {
        margin-left: 0.25rem;
    }

    .nav-link {
        padding: 0.25rem 0.5rem;
    }

    .skills-column {
        gap: 8px; /* Reduce spacing for smaller screens */
        justify-content: center; /* Center-align items */
    }

    .skills-column li {
        margin: 3px; /* Reduce spacing for smaller screens */
    }
}
