@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
 :root {
    --primary-color: #00E4FF;
    --secondary-color: #00A6BF;
    --background-dark: #0A192F;
    --text-light: #F0F8FF;
    --accent-color: #00FFC2;
    --card-bg: #112240;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* Particle Background Canvas */

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}


/* Hero Animation */

.hero-text-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-img {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@media only screen and (max-width: 767px) {
    .hero-img img {
        max-width: 70%;
    }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Section Transitioning */

.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    padding-top: 5rem;
    padding-bottom: 5rem;
    min-height: 100vh;
}

.page-section.active {
    display: block;
    opacity: 1;
}


/* Scroll Animations for Sections */

.animate-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Custom styling */
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-custom .custom {
    background-color: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid var(--primary-color);
    box-shadow: none;
    border-radius: 50px;
    padding-inline: 20px;
}

@media screen and (max-width: 992px) {
    .custom .navbar-collapse {
        padding-inline: 20px;
    }
}

@media screen and (max-width: 550px) {
    .navbar-custom .custom {
        margin-inline: 10px;
    }
}

.nav-link.custom-link {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light) !important;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-link.custom-link .nav-icon {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-link.custom-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link.custom-link:hover .nav-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link.custom-link.active-link {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px var(--primary-color);
}

.navbar-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    gap: 5px;
}

.navbar-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    transform-origin: center;
}

.navbar-icon.cross span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-icon.cross span:nth-child(2) {
    opacity: 0;
}

.navbar-icon.cross span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--background-dark) !important;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

.btn-primary-custom.nav-link:hover {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 228, 255, 0.8);
}

.card-custom {
    background-color: var(--card-bg);
    border: 1px solid var(--secondary-color);
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary-color);
    border-color: var(--primary-color);
}

.portfolio-item {
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 255, 194, 0.3);
}

.btn-portfolio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--secondary-color);
    background-color: transparent;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-portfolio.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-dark) !important;
    box-shadow: 0 0 15px rgba(0, 228, 255, 0.6);
    transform: translateY(-2px);
}

.btn-portfolio:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: var(--background-dark) !important;
    box-shadow: 0 0 15px rgba(0, 228, 255, 0.6);
    transform: translateY(-2px);
}

.collapse-container {
    border: 1px solid var(--secondary-color);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #0E1F3B;
    box-shadow: inset 0 0 10px rgba(0, 228, 255, 0.2);
}

.contact-form .form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--secondary-color);
    color: var(--text-light);
    box-shadow: inset 0 0 5px rgba(0, 228, 255, 0.1);
}

.contact-form .form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 228, 255, 0.25);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
}

strong {
    font-weight: 450 !important;
}

.badge {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.section-heading {
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px var(--accent-color);
}

.animated-heading {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animated-heading.visible {
    opacity: 1;
    transform: scale(1);
}

.navbar-toggler-icon-custom {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--text-light);
    transition: all 0.3s ease;
}

.navbar-toggler-icon-custom.open {
    background-image: none;
    transform: rotate(45deg);
}

.navbar-toggler i {
    transition: transform 0.3s ease;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.btn-project {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-project:hover {
    background-color: var(--primary-color) !important;
    color: var(--background-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 228, 255, 0.6);
}

.card-footer-custom {
    background-color: transparent;
    border-top: 1px solid var(--secondary-color);
    padding: 1rem;
}

footer {
    background-color: var(--background-dark);
    padding: 10px 0;
    box-shadow: 0 -2px 30px rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 100%;
}

.copyright {
    font-size: 1.1rem;
}

.social-links li a {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.social-links li a:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

@media screen and (max-width: 550px) {
    .task-span {
        min-width: 100%;
    }
    .btn-container {
        width: 100%;
        justify-content: flex-end;
    }
}

