body {
    font-family: 'Roboto', sans-serif;
    background-color: #0A0A23;
    color: #FFFFFF;
    scroll-behavior: smooth;
}
html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.navbar-brand,
.nav-link {
    font-family: 'Poppins', sans-serif;
}

.navbar {
    background-color: #0A0A23;
    box-shadow: 0 2px 10px rgba(50, 255, 106, 0.2);
    padding: 1.2rem 0;
}

.nav-link {
    color: #FFFFFF !important;
    margin-right: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #32FF6A;
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #32FF6A !important;
}

.navbar-brand {
    color: #32FF6A !important;
    font-weight: 600;
}

.navbar .btn-contact {
    background-color: #32FF6A;
    color: #0A0A23;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.navbar .btn-contact:hover {
    background-color: #28cc57;
}
/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transition: transform 1s ease, opacity 1s ease, visibility 1s ease;
}

/* Particles background */
#preloader-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Glowing text with animation */
.loader-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #eaf1ee;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeScaleIn 1.5s ease forwards, glowPulse 2s ease-in-out infinite alternate;
    z-index: 2;
}

/* Entrance animation */
@keyframes fadeScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse glow effect */
@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px #00ff80, 0 0 10px #00ff80, 0 0 20px #00ff80;
    }

    100% {
        text-shadow: 0 0 20px #00ff80, 0 0 40px #00ff80, 0 0 60px #00ff80;
    }
}

/* Exit animation */
#preloader.hide {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero .typing {
    font-size: 1.5rem;
    color: #32FF6A;
    height: 40px;
    position: relative;
}

.typing::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero .hero-buttons {
    margin-top: 30px;
}

.hero .btn-custom {
    margin: 0 10px;
    padding: 10px 20px;
    font-weight: 500;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
}

.btn-green {
    background-color: #32FF6A;
    color: #0A0A23;
}

.btn-white {
    background-color: #FFFFFF;
    color: #0A0A23;
}

.btn-green:hover,
.btn-white:hover {
    background-color: #0A0A23;
    color: #32FF6A;
    border: 2px solid #32FF6A;
    box-shadow: 0 0 10px #32FF6A;
}
.scroll-down-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #32FF6A;
    padding: 10px;
    border-radius: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: #0A0A23;
}

.about-img-wrapper {
    display: inline-block;
    border: 4px solid #32FF6A;
    border-radius: 50%;
    padding: 5px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 15px #32FF6A;
}

.about-img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #32FF6A, 0 0 40px #32FF6A;
}

.about-img {
    border-radius: 50%;
    width: 100%;
    max-width: 250px;
    height: auto;
}

.skill-card {
    background-color: #10103a;
    border-radius: 12px;
    padding: 30px 20px;
    color: #fff;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(50, 255, 106, 0.1);
}

.skill-card:hover {
    border-color: #32FF6A;
    box-shadow: 0 0 20px #32FF6A;
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 40px;
    color: #32FF6A;
    margin-bottom: 15px;
}

.skill-card h5 {
    margin-bottom: 10px;
}

.skill-card .progress {
    height: 18px;
    background-color: #1f1f3f;
    border-radius: 10px;
    overflow: hidden;
}

.skill-card .progress-bar {
    background-color: #32FF6A;
    font-weight: 500;
    line-height: 18px;
}

/* Projects Section */
#projects {
    background-color: #0B0B26;
    padding: 80px 0;
}

#projects h2 {
    color: #32FF6A;
    font-weight: 600;
    margin-bottom: 60px;
}

#projects img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(50, 255, 106, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#projects img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(50, 255, 106, 0.3);
}

/* Text Area */
#projects h3 {
    color: #32FF6A;
    font-weight: 600;
    font-size: 1.5rem;
}

#projects p {
    color: #ccc;
    font-size: 1rem;
    margin-top: 10px;
}

/* Buttons */
#projects .btn-group .btn {
    border-color: #32FF6A;
    color: #32FF6A;
    transition: 0.3s ease;
    margin-right: 10px;
}

#projects .btn-group .btn:hover {
    background-color: #32FF6A;
    color: #0B0B26;
    border-color: #32FF6A;
    box-shadow: 0 0 12px #32FF6A;
}

@media (max-width: 767px) {
    #projects h3 {
        font-size: 1.3rem;
    }

    #projects p {
        font-size: 0.95rem;
    }
}
.project-card-blob {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 10px;
    background: radial-gradient(circle at 30% 30%, rgba(50, 255, 106, 0.2), transparent 70%);
    transition: transform 0.4s ease;
    box-shadow: 0 0 20px rgba(50, 255, 106, 0.25);
}
.project-card {
    display: block !important; 
}


.project-image {
    width: 100% !important;
    min-height: 200px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}
.image-wrapper {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px; 
}

.floating-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.floating-tags span {
    background-color: #32FF6A;
    color: #0B0B26;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 5px;
    animation: floatTag 2s ease-in-out infinite alternate;
}

@keyframes floatTag {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-5px);
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid #32FF6A;
        padding: 10px;
        border-radius: 10px;
        animation: bounce 2s infinite;
        /* Hidden by default */
        transition: opacity 0.3s, transform 0.3s;
}

#scrollTopBtn:hover {
    background-color: #29cc56;
    transform: scale(1.1);
}

/* Terminal icon overlay */
.overlay-launch {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #0B0B26;
    color: #32FF6A;
    border: 2px solid #32FF6A;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.overlay-launch:hover {
    background-color: #32FF6A;
    color: #0B0B26;
    box-shadow: 0 0 10px #32FF6A;
}
.category-btn {
    background-color: transparent;
    color: #32FF6A;
    border: 2px solid #32FF6A;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #32FF6A;
    color: #0B0B26;
    box-shadow: 0 0 10px #32FF6A;
}
.project-category-group {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-category-group.d-none {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.project-category-group:not(.d-none) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


/* ===== GRAPHIC DESIGN PROJECTS ===== */
.graphic-card {
    background: #10103a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(50, 255, 106, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.graphic-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.graphic-img {
    width: 100%;
    height: 300px;
    /* Fixed height for consistency */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.graphic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 38, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.graphic-card:hover .graphic-overlay {
    opacity: 1;
}

.graphic-card:hover .graphic-img {
    transform: scale(1.05);
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: white;
}

.overlay-content h5 {
    color: #32FF6A;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.overlay-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.graphic-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-preview,
.btn-download {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-preview {
    background: transparent;
    border: 2px solid #32FF6A;
    color: #32FF6A;
}

.btn-download {
    background: #32FF6A;
    border: 2px solid #32FF6A;
    color: #0B0B26;
}

.btn-preview:hover {
    background: #32FF6A;
    color: #0B0B26;
}

.btn-download:hover {
    background: transparent;
    color: #32FF6A;
}
/* Polaroid-style effect */
.graphic-card {
    padding: 15px 15px 30px 15px;
    background: #10103a;
    border: 1px solid rgba(50, 255, 106, 0.2);
    display: flex;
    flex-direction: column;
}

.graphic-img {
    border: 10px solid #0B0B26;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.graphic-img-wrapper {
    flex-grow: 1;
}

.flip-card {
    background: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    backface-visibility: hidden;
    border: 2px solid #32FF6A;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    background-color: #121233;
    box-shadow: 0 8px 24px rgba(50, 255, 106, 0.1);
}

.flip-card-front i {
    color: #32FF6A;
}

.flip-card-front h5 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #1D1D40;
}
.glass-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #32FF6A33;
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    color: #FFFFFF;
    font-weight: 500;
    transition: 0.3s ease;
}

.glass-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(50, 255, 106, 0.3);
}

/* Testimonials Section */
.testimonial-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #32FF6A33;
    padding: 30px 25px;
    border-radius: 15px;
    color: #fff;
    font-style: italic;
    max-width: 700px;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(50, 255, 106, 0.2);
}

.testimonial-box:hover {
    box-shadow: 0 0 30px rgba(50, 255, 106, 0.4);
    transform: scale(1.02);
}

.testimonial-box h6 {
    margin-top: 20px;
    color: #32FF6A;
    font-style: normal;
    font-size: 1rem;
}
.carousel-btn {
    background-color: transparent;
    border: none;
    color: #32FF6A;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
/* Contact Section */
.contact-form {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #32FF6A33;
    box-shadow: 0 0 15px rgba(50, 255, 106, 0.15);
    transition: all 0.3s ease-in-out;
}

.contact-form:hover {
    box-shadow: 0 0 30px rgba(50, 255, 106, 0.3);
}

.glow-input {
    background-color: #0A0A23;
    border: 1px solid #32FF6A33;
    color: #fff;
}

.glow-input:focus {
    border-color: #32FF6A;
    box-shadow: 0 0 8px #32FF6A;
    background-color: #0A0A23;
    color: #fff;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: 0.3s;
}
.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #32FF6A;
    text-decoration: underline;
}

.social-icons a:hover {
    color: #32FF6A !important;
}

