/********** Template CSS **********/
:root {
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --primary-light: #333333;
    --secondary: #FFD700;
    --secondary-dark: #FFC000;
    --secondary-light: #FFEB3B;
    --light: #FFFFFF;
    --dark: #000000;
    --yellow: #FFD700;
    --yellow-bright: #FFED4E;
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #FFD700 100%);
    --gradient-secondary: linear-gradient(135deg, #FFD700 0%, #FFC000 100%);
    --gradient-accent: linear-gradient(135deg, #FFEB3B 0%, #FFD700 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.3);
    --shadow-yellow: 0 4px 20px rgba(255, 215, 0, 0.4);
    --shadow-yellow-lg: 0 8px 32px rgba(255, 215, 0, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-dark: rgba(0, 0, 0, 0.7);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #000000;
    color: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
    transition: transform 0.4s ease;
    transform: translateX(-100%);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn.btn-primary {
    color: #FFFFFF;
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn.btn-secondary {
    color: #FFFFFF;
    background: var(--gradient-secondary);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}


/*** Navbar ***/
.navbar {
    background: var(--glass-dark) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.fixed-top {
    display: none;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link {
    padding: 20px 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: var(--shadow-yellow);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.navbar-brand {
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link::after {
        bottom: 5px;
        left: 0;
    }

    .navbar .navbar-nav .nav-link:hover::after,
    .navbar .navbar-nav .nav-link.active::after {
        width: 40px;
    }
}


/*** Header ***/
#home {
    margin-bottom: 6rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%),
                url(../img/bg-header.png) left top no-repeat;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

#home .container {
    position: relative;
    z-index: 1;
}

#home h1, #home h2, #home h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.typed-cursor {
    font-size: 30px;
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** About ***/
#about .years {
    background: var(--gradient-secondary);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-yellow-lg);
    color: black;
    transition: all 0.4s ease;
}

#about .years:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 50px rgba(255, 215, 0, 0.7);
}

#about .years .display-1 {
    font-size: 10rem;
    line-height: 9rem;
    font-weight: 800;
    text-shadow: none;
    filter: none !important;
    -webkit-text-fill-color: #000000;
    color: #000000;
}

#about .years h5 {
    letter-spacing: 30px;
    margin-right: -30px;
    font-weight: 600;
}

#about img {
    border-radius: 20px;
    box-shadow: var(--shadow-yellow);
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 215, 0, 0.3);
}

#about img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-yellow-lg);
    border-color: var(--yellow);
}


/*** Skills ***/
#skill .progress {
    height: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

#skill .progress .progress-bar {
    width: 0px;
    border-radius: 20px;
    transition: width 3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-yellow);
}

#skill .progress .progress-bar.bg-primary {
    background: var(--gradient-secondary) !important;
}

#skill .progress .progress-bar.bg-warning {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 100%) !important;
}

#skill .progress .progress-bar.bg-danger {
    background: linear-gradient(135deg, #FFC000 0%, #FFD700 100%) !important;
}

#skill .progress .progress-bar.bg-dark {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
}

#skill .progress .progress-bar.bg-info {
    background: var(--gradient-accent) !important;
}

#skill .skill {
    padding: 16px;
    border-radius: 12px;
    background: var(--glass-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

#skill .skill:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-yellow);
    border-color: var(--yellow);
}

#skill .nav-pills {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-yellow);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

#skill .nav-pills .nav-link {
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

#skill .nav-pills .nav-link.active {
    color: #000000;
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-yellow);
}

#skill .tab-content hr {
    width: 50px;
    height: 4px;
    background: var(--gradient-secondary);
    opacity: 1;
    border-radius: 2px;
}


/*** Service ***/
.service-item {
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: var(--shadow-yellow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 0.1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-yellow-lg);
    border-color: var(--yellow);
}

.service-item > * {
    position: relative;
    z-index: 1;
}

.service-item .bg-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-yellow);
    transition: all 0.4s ease;
}

.service-item:hover .bg-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-yellow-lg);
}

.service-item .bg-icon i {
    color: black !important;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    padding: 8px 16px;
    border-radius: 8px;
}

#portfolio-flters li:hover {
    color: var(--yellow);
    background: rgba(255, 215, 0, 0.1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

#portfolio-flters li.active {
    color: black;
    background: var(--gradient-secondary);
    border-color: transparent;
    box-shadow: var(--shadow-yellow);
}

.portfolio-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(255, 215, 0, 0.3) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}

.portfolio-btn .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-btn .btn {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-item:hover .portfolio-btn .btn:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-btn .btn:nth-child(2) {
    transition-delay: 0.2s;
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    opacity: .7;
}

.team-item .team-text {
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    right: 30px;
    opacity: 1;
}

.team-item .team-text div {
    transition: .5s;
}

.team-item:hover .team-text div {
    margin-left: 30px;
}


/*** Testimonial ***/
.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px solid var(--secondary);
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel .testimonial-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--secondary);
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border: 2px solid var(--secondary);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 5px;
    left: 5px;
    border-radius: 16px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}
/*** Modern Enhancements ***/
/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.display-1, .display-3, .display-5 {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

/* Contact Section */
#contact .btn-square {
    background: var(--gradient-secondary);
    border: none;
    transition: all 0.4s ease;
}

#contact .btn-square:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-yellow-lg);
}

/* Modern Cards */
.card, .rounded {
    border-radius: 20px !important;
}

.bg-white {
    background: var(--glass-dark) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Section Backgrounds */
.bg-light {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.8) 100%) !important;
}

.bg-dark {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

/* Experience/Education Cards */
#skill .tab-content .col-sm-6 {
    padding: 20px;
    border-radius: 16px;
    background: var(--glass-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

#skill .tab-content .col-sm-6:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-yellow);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.9) 100%);
    border-color: var(--yellow);
}

/* Loading Spinner */
.spinner-border {
    border-color: var(--yellow);
    border-right-color: transparent;
}

/* Improved hover effects for links */
a {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

/* Profile Image */
#home img {
    filter: drop-shadow(0 20px 40px rgba(255, 215, 0, 0.4));
    transition: all 0.4s ease;
}

#home img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 25px 50px rgba(255, 215, 0, 0.6));
}

/* Social Media Icons */
.d-flex .btn-square {
    margin: 5px;
    background: var(--glass-dark);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: var(--yellow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.d-flex .btn-square:hover {
    background: var(--gradient-secondary);
    color: black;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-yellow-lg);
}

/* Copyright Section */
.container-fluid.bg-dark.text-white {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* Smooth Animations */
.wow {
    visibility: hidden;
}

.wow.fadeIn,
.wow.fadeInUp,
.wow.fadeInDown {
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 10px;
    box-shadow: var(--shadow-yellow);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .display-1 {
        font-size: 4rem !important;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    #about .years .display-1 {
        font-size: 6rem !important;
        line-height: 5rem !important;
    }
}

/*** Multi-Image Portfolio Item ***/
.portfolio-item.reactjs {
    position: relative;
}

.portfolio-item .row.g-3 {
    margin: 0;
}

.portfolio-item .row.g-3 img {
    border-radius: 15px;
    transition: all 0.4s ease;
}

.portfolio-item:hover .row.g-3 img {
    transform: scale(1.02);
}

.project-title h5 {
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-title p {
    font-size: 14px;
    margin: 0;
}

/* Responsive adjustments for multi-image projects */
@media (max-width: 768px) {
    .portfolio-item.reactjs .col-md-8,
    .portfolio-item.reactjs .col-md-4 {
        width: 100%;
    }
    
    .portfolio-item.reactjs .row.g-3 {
        flex-direction: column;
    }
}

/*** Developer-Themed Hero Section ***/
/* Binary Code Background Animation */
.binary-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.1;
}

.binary-bg::before {
    content: '01010101 10101010 01110011 10001110 01010101 10101010 01110011 10001110 01010101 10101010 01110011 10001110 01010101 10101010 01110011 10001110';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--yellow);
    line-height: 1.5;
    word-wrap: break-word;
    animation: binaryRain 20s linear infinite;
}

@keyframes binaryRain {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50%);
    }
}

/* Code Lines Background */
.code-lines {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.03) 50%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

.code-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 215, 0, 0.5),
        transparent
    );
    animation: lineMove 3s ease-in-out infinite;
}

@keyframes lineMove {
    0%, 100% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(100%);
    }
}

/* Code Brackets */
.code-bracket-open,
.code-bracket-close {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    color: var(--yellow);
    font-weight: 600;
    margin: 10px 0;
    opacity: 0.7;
    animation: fadeInOut 3s ease-in-out infinite;
}

.code-bracket-open {
    animation-delay: 0s;
}

.code-bracket-close {
    animation-delay: 1.5s;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

/* Code Comment */
.code-comment {
    font-family: 'Courier New', monospace;
    font-style: italic;
    opacity: 0.9;
}

/* Developer Name with Brackets */
.dev-name {
    position: relative;
    display: inline-block;
}

.bracket-symbol {
    color: var(--yellow);
    font-weight: 700;
    font-size: 1.2em;
    animation: pulse 2s ease-in-out infinite;
    margin: 0 10px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Code Line Styling */
.code-line {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    line-height: 2;
    color: #ffffff;
}

.code-keyword {
    color: #FFD700;
    font-weight: 700;
}

.code-variable {
    color: #ffffff;
    font-weight: 600;
}

.code-string {
    color: #00ff00;
}

.code-symbol {
    color: var(--yellow);
}

/* Profile Container */
.profile-container {
    position: relative;
    display: inline-block;
    padding: 20px;
}

/* Binary Circle Animation */
.binary-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: rotateBinary 20s linear infinite;
}

.binary-circle::before {
    content: '0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateBinaryText 20s linear infinite reverse;
}

@keyframes rotateBinary {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateBinaryText {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* Profile Image Enhancement */
.profile-img {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: 5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: profileGlow 3s ease-in-out infinite;
}

@keyframes profileGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(255, 215, 0, 0.2),
            inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 80px rgba(255, 215, 0, 0.3),
            inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

/* Floating Code Symbols */
.code-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-symbol {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow);
    opacity: 0.6;
    animation: floatSymbol 4s ease-in-out infinite;
}

.symbol-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.symbol-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.symbol-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.8;
    }
}

/* Enhanced Home Section */
#home {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
}

#home .container {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .code-line {
        font-size: 1rem;
    }
    
    .float-symbol {
        font-size: 1.5rem;
    }
    
    .binary-circle {
        width: 100%;
        height: 100%;
    }
    
    .bracket-symbol {
        margin: 0 5px;
        font-size: 1em;
    }
}
