:root {
    --terminal-bg: #0c0f13;
    --terminal-panel: #1a1f24;
    --terminal-green: #00ff99;
    --terminal-blue: #33aaff;
    --terminal-gray: #aab2bf;
}

.navbar {
    background: var(--terminal-panel);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== HEADER ===== */
.main-header .navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 15px 0;
    z-index: 1000;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

    .navbar-brand:hover {
        color: #00c896;
    }

/* Navbar Links */
.nav-link {
    color: #ddd;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s ease, transform 0.2s;
}

    .nav-link:hover,
    .nav-link.active {
        color: #00c896;
        transform: translateY(-2px);
    }

/* Toggler Icon */
.navbar-toggler {
    border: none;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

/* Add shadow after scroll */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 15px;
        border-radius: 10px;
    }

    .nav-link {
        display: block;
        padding: 10px 0;
        text-align: center;
    }
}


/* === GLOBAL === */
body {
    background: var(--terminal-bg);
    color: var(--terminal-green);
    font-family: 'Fira Code', 'Courier New', monospace;
}

.text-accent {
    color: #00c896;
}

.bg-gradient {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
}

.btn-accent {
    background: var(--terminal-green);
    color: var(--terminal-bg);
    border-radius: 0;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background: #00b080;
        transform: translateY(-2px);
    }

.section-title {
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        display: block;
        height: 3px;
        width: 60%;
        background: var(--terminal-green);
        margin: 8px auto 0;
    }

/* === HERO SECTION === */
.hero-section, #about, #skills, #projects, #current-project, #enterprise, #contact {
    background: #0c0f13;
    color: #00ff99;
}
h1, h2, h5, p, li {
    font-family: 'Fira Code', monospace;
}
.hero-section {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #1f2833, #0b0c10);
    position: relative;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

    .scroll-down span {
        display: block;
        width: 2px;
        height: 30px;
        background: #00c896;
        animation: scrollAnim 1s infinite alternate;
    }

@keyframes scrollAnim {
    from {
        transform: translateY(0);
        opacity: 0.7;
    }

    to {
        transform: translateY(10px);
        opacity: 0.2;
    }
}
.skill-card, .project-card, .current-project-card, .feature-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00ff99;
    color: #00ff99;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

    .skill-card:hover, .project-card:hover, .current-project-card:hover, .feature-card:hover {
        box-shadow: 0 0 15px #00ff99;
    }

/* === SKILL CARDS === */
.skill-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

    .skill-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 15px rgba(0,200,150,0.4);
    }

/* === PROJECT CARDS === */
.project-card.glass {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .project-card.glass:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(0,200,150,0.3);
    }

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}
/* ===== CURRENT PROJECT SECTION ===== */
.current-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .current-project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 20px rgba(0,200,150,0.4);
    }

.project-preview img {
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.project-preview:hover img {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0,200,150,0.4);
}

.project-status {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.bg-accent {
    background-color: #00c896 !important;
}

/* ===== ABOUT HERO ===== */
.about-hero {
    /* fallback gradient */
    background: linear-gradient(135deg, #0b0c10, #1f2833);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .about-hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
    }

.text-accent {
    color: #00c896 !important;
}

.btn-accent {
    background-color: #00ff99;
    color: #0c0f13;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00cc77;
        transform: translateY(-2px);
    }

/* ===== SKILLS CARDS ===== */
.skill-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .skill-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(0, 200, 150, 0.3);
    }

/* Smooth scroll for section links */
html {
    scroll-behavior: smooth;
}



/* ===== PROJECTS HERO ===== */
.projects-hero {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
    min-height: 80vh;
    position: relative;
    text-align: center;
}

    .projects-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .projects-hero > div {
        position: relative;
        z-index: 1;
    }

/* ===== PROJECT CARD ===== */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 30px rgba(0, 200, 150, 0.3);
    }

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* ===== BUTTON ACCENT ===== */
.btn-accent {
    background-color: #00c896;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00b584;
        transform: translateY(-2px);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .projects-hero h1 {
        font-size: 2rem;
    }

    .project-img {
        height: 200px;
    }
}


/* ===== CONTACT HERO ===== */
.contact-hero {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
    min-height: 80vh;
    position: relative;
}

    .contact-hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .contact-hero .container {
        position: relative;
        z-index: 1;
    }

/* ===== INQUIRY FORM ===== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.inquiry-card input,
.inquiry-card textarea {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
}

    .inquiry-card input::placeholder,
    .inquiry-card textarea::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .inquiry-card input:focus,
    .inquiry-card textarea:focus {
        border: 1px solid #00c896;
        box-shadow: 0 0 5px #00c896;
        outline: none;
    }

/* ===== SOCIAL ICONS ===== */
.social-links a {
    transition: color 0.3s ease, transform 0.3s ease;
}

    .social-links a:hover {
        color: #00c896;
        transform: translateY(-3px);
    }

/* ===== BUTTON ACCENT ===== */
.btn-accent {
    background-color: #00c896;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00b584;
        transform: translateY(-2px);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
}
/* ===== CURRENT PROJECT SECTION ===== */
.current-project-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .current-project-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(0, 200, 150, 0.3);
    }

.project-preview {
    max-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Scrollable large image container */
.screenshot-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00c896 rgba(255, 255, 255, 0.1);
}

    .screenshot-container::-webkit-scrollbar {
        width: 6px;
    }

    .screenshot-container::-webkit-scrollbar-thumb {
        background-color: #00c896;
        border-radius: 10px;
    }

    .screenshot-container::-webkit-scrollbar-track {
        background-color: rgba(255, 255, 255, 0.05);
    }


/* ===== NAVBAR BRAND IMAGE ===== */
.brand-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00c896; /* Accent border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .brand-img:hover {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(0, 200, 150, 0.6);
    }

/* Adjust brand name spacing */
.navbar-brand {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
/* === Projects Section (Dark Theme Match) === */
#projects {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
}

/* Glass card matching global style */
.project-card.glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

    .project-card.glass:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(0, 200, 150, 0.4);
    }

/* Scrollable image area with mint accent scrollbar */
.image-scroll-container .screenshot-container {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00ff99 rgba(0,0,0,0.3);
}

    .image-scroll-container::-webkit-scrollbar {
        width: 6px;
    }

    .image-scroll-container::-webkit-scrollbar-thumb {
        background-color: #00c896;
        border-radius: 10px;
    }

    .image-scroll-container::-webkit-scrollbar-track {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .image-scroll-container img {
        transition: transform 0.4s ease, box-shadow 0.3s ease;
    }

    .image-scroll-container:hover img {
        transform: scale(1.03);
        box-shadow: 0 0 15px rgba(0, 200, 150, 0.4);
    }

/* Accent Button Reuse (you already defined this) */
.btn-accent {
    background-color: #00c896;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00b584;
        transform: translateY(-2px);
    }

/* Smooth entrance animation */
[data-aos] {
    transition: transform 0.6s ease, opacity 0.6s ease;
}


// #projects {
    background: linear-gradient(135deg, #0b0c10, #1f2833);
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

    .glass:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 25px rgba(0, 200, 150, 0.4);
    }

.btn-accent {
    background-color: #00c896;
    color: #000;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00b584;
        transform: translateY(-2px);
    }

.btn-outline-accent {
    border-color: #00c896;
    color: #00c896;
    border-radius: 50px;
    transition: all 0.3s ease;
}

    .btn-outline-accent:hover {
        background-color: #00c896;
        color: #000;
    }

.text-accent {
    color: #00c896 !important;
}

.image-scroll-container {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00c896 rgba(255, 255, 255, 0.1);
}

    .image-scroll-container::-webkit-scrollbar {
        width: 6px;
    }

    .image-scroll-container::-webkit-scrollbar-thumb {
        background-color: #00c896;
        border-radius: 10px;
    }

    .image-scroll-container::-webkit-scrollbar-track {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .image-scroll-container img {
        transition: transform 0.4s ease, box-shadow 0.3s ease;
    }

    .image-scroll-container:hover img {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0, 200, 150, 0.4);
    }

.pagination .page-item.active .page-link {
    background-color: #00c896;
    border-color: #00c896;
    color: #000;
}

.pagination .page-link {
    background: transparent;
    color: #00c896;
    border-radius: 30px;
    margin: 0 3px;
    border: 1px solid #00c896;
}

    .pagination .page-link:hover {
        background-color: #00c896;
        color: #000;
    }

/* Scrollable image container */
.image-scroll-container {
    max-height: 250px; /* Adjust height as needed */
    overflow-y: auto;
    border-radius: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #00c6ff #e0e0e0;
}

    .image-scroll-container::-webkit-scrollbar {
        width: 8px;
    }

    .image-scroll-container::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #00c6ff, #0072ff);
        border-radius: 10px;
    }

    .image-scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

/* Card hover effect */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.btn-accent, .btn-outline-accent {
    border-color: #fff;
    color: #fff;
}

    .btn-accent:hover, .btn-outline-accent:hover {
        background: linear-gradient(90deg, #00c6ff, #0072ff);
        color: #fff;
        border-color: transparent;
    }

.text-accent {
    color: #0072ff;
}


#enterprise {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
    color: #fff;
    border-radius: 2rem 2rem 0 0;
    position: relative;
    overflow: hidden;
}

    #enterprise::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 70%);
        animation: rotate-bg 20s linear infinite;
        z-index: 0;
    }

@keyframes rotate-bg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#enterprise .container {
    position: relative;
    z-index: 1;
}

.feature-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

.btn-accent {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background: linear-gradient(90deg, #0072ff, #00c6ff);
        box-shadow: 0 0 15px rgba(0, 114, 255, 0.5);
    }

.text-accent {
    color: #00c6ff;
}

.orbit-wrapper {
    width: 420px;
    height: 420px;
    pointer-events: none;
    z-index: 1;
}

.orbit-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotateOrbit 25s linear infinite;
}

.orbit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem; /* adjust size of icons */
    transform-origin: -160px;
    transform: rotate(calc(36deg * var(--i))) translateX(160px) rotate(calc(-36deg * var(--i)));
    transition: transform 0.3s ease, color 0.3s ease;
    color: #00c896; /* accent color for icons */
    opacity: 0.8;
}

    .orbit-icon:hover {
        opacity: 1;
        transform: scale(1.3) rotate(calc(36deg * var(--i))) translateX(160px);
        color: #fff;
    }

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Ensure the container text is above the icons */
#home .container {
    position: relative;
    z-index: 3;
}

/* Responsive */
@media (max-width: 768px) {
    .orbit-wrapper {
        width: 280px;
        height: 280px;
    }

    .orbit-icon {
        font-size: 1.5rem;
        transform-origin: -110px;
        transform: rotate(calc(36deg * var(--i))) translateX(110px) rotate(calc(-36deg * var(--i)));
    }
}
.terminal-line {
    font-family: 'Fira Code', monospace;
    color: #00ff99;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #00ff99;
    animation: typing 3s steps(30) 1s 1 normal both, blink 1s step-end infinite alternate;
    margin-bottom: 1rem;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 22ch;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.image-scroll-container::-webkit-scrollbar-track,
.screenshot-container::-webkit-scrollbar-track {
    background-color: rgba(0,0,0,0.3);
}
@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.hero-section {
    animation: flicker 1.5s infinite;
}
.project-card, .skill-card, .current-project-card {
    background: var(--terminal-panel);
    border: 1px solid var(--terminal-green);
    color: var(--terminal-green);
}
.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}