/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #0fe0ff;
    --primary-glow: 0 0 10px #0fe0ff, 0 0 20px #0fe0ff, 0 0 30px #0fe0ff;
    --secondary-color: #ff36f9;
    --secondary-glow: 0 0 10px #ff36f9, 0 0 20px #ff36f9, 0 0 30px #ff36f9;
    --accent-color: #f5ff00;
    --accent-glow: 0 0 10px #f5ff00, 0 0 20px #f5ff00, 0 0 30px #f5ff00;
    --dark-color: #121212;
    --darker-color: #0a0a14;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --neon-text-shadow: 0 0 5px rgba(15, 224, 255, 0.7), 0 0 10px rgba(15, 224, 255, 0.5), 0 0 15px rgba(15, 224, 255, 0.3);
    --mobile-scale: 0.85; /* New variable for mobile scaling */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--dark-color);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(15, 224, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 54, 249, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    background-attachment: fixed;
    position: relative;
}

/* ===== PARTICLES ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20vh) translateX(10vw) rotate(90deg);
    }
    50% {
        transform: translateY(-10vh) translateX(20vw) rotate(180deg);
    }
    75% {
        transform: translateY(10vh) translateX(10vw) rotate(270deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
    }
}

/* ===== NEON GLOW EFFECT ===== */
.neon-glow {
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        box-shadow: 0 0 10px rgba(15, 224, 255, 0.5), 0 0 20px rgba(15, 224, 255, 0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(15, 224, 255, 0.8), 0 0 30px rgba(15, 224, 255, 0.5), 0 0 40px rgba(15, 224, 255, 0.3);
    }
}

/* ===== NEON TEXT EFFECT ===== */
.neon-text {
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 238, 255, 0.7),
                 0 0 10px rgba(0, 238, 255, 0.5),
                 0 0 15px rgba(0, 238, 255, 0.3);
    transition: all 0.3s ease;
}

.neon-text-secondary {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.7),
                 0 0 10px rgba(255, 0, 255, 0.5),
                 0 0 15px rgba(255, 0, 255, 0.3);
    transition: all 0.3s ease;
}

.neon-text-accent {
    color: #fff;
    text-shadow: 0 0 5px rgba(245, 255, 0, 0.7), 0 0 10px rgba(245, 255, 0, 0.5), 0 0 15px rgba(245, 255, 0, 0.3);
}

/* ===== NEON BORDER EFFECT ===== */
.neon-border {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(15, 224, 255, 0.5), inset 0 0 10px rgba(15, 224, 255, 0.5);
}

.neon-border-secondary {
    border: 1px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 54, 249, 0.5), inset 0 0 10px rgba(255, 54, 249, 0.5);
}

.neon-border-accent {
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(245, 255, 0, 0.5), inset 0 0 10px rgba(245, 255, 0, 0.5);
}

/* ===== NEON GRID BACKGROUND ===== */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(15, 224, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 224, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
    animation: gridPulse 4s infinite alternate;
}

@keyframes gridPulse {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.4;
    }
}

/* ===== NEON ANIMATIONS ===== */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px rgba(15, 224, 255, 0.5), 0 0 10px rgba(15, 224, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 10px rgba(15, 224, 255, 0.7), 0 0 20px rgba(15, 224, 255, 0.5), 0 0 30px rgba(15, 224, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 5px rgba(15, 224, 255, 0.5), 0 0 10px rgba(15, 224, 255, 0.3);
    }
}

.profile-img, .timeline-icon, .contact-item .icon {
    animation: neonPulse 3s infinite;
}

.skill-badge:hover i, .project-card:hover h4, .timeline-content:hover h4 {
    animation: neonPulse 2s infinite;
}

/* Glowing cursor effect */
.typed-cursor {
    color: var(--secondary-color);
    text-shadow: var(--secondary-glow);
    font-size: 1.8rem;
}

/* ===== NEON FLICKER ANIMATION ===== */
@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.4;
    }
}

.hero h1 {
    animation: flicker 6s infinite alternate;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: var(--neon-text-shadow);
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), var(--accent-color), transparent);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== HOVER EFFECTS ===== */
.project-card::before, .skill-badge::before, .timeline-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 0;
    height: 0;
    background: transparent;
    border: 2px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    box-sizing: border-box;
    z-index: 1;
    transition: all 0.5s ease;
}

.project-card::after, .skill-badge::after, .timeline-content::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 0;
    height: 0;
    background: transparent;
    border: 2px solid transparent;
    border-bottom-color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    box-sizing: border-box;
    z-index: 1;
    transition: all 0.5s ease;
}

.project-card:hover::before, .skill-badge:hover::before, .timeline-content:hover::before,
.project-card:hover::after, .skill-badge:hover::after, .timeline-content:hover::after {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
}

.project-card, .skill-badge, .timeline-content {
    position: relative;
    overflow: hidden;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-color), var(--primary-color));
}

/* ===== SELECTION COLOR ===== */
::selection {
    background-color: rgba(15, 224, 255, 0.3);
    color: #fff;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 100px;
        text-align: center;
        min-height: auto;
        padding-bottom: 60px;
        margin: 10px;
        border-radius: 15px;
    }
    
    .profile-img {
        margin: 40px auto 0;
        width: 250px;
        height: 250px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-icon {
        left: 6px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-icon {
        left: 6px;
    }
    
    /* Improved spacing for mobile */
    .section-divider {
        margin: 40px 0;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Better project card layout */
    .project-card {
        height: auto;
        margin-bottom: 30px;
    }
    
    .stats-counter {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .stat-item {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .typed-text-output {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item .icon {
        margin: 0 auto 15px;
    }
    
    /* Improved skill badges */
    .skill-badge {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    /* Better spacing for about section */
    #about .col-lg-6:first-child {
        margin-bottom: 30px;
    }
    
    /* Adjust social icons size and center them */
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    /* Make buttons larger for easier tapping */
    .btn {
        padding: 10px 25px;
        min-height: 44px; /* Minimum recommended touch target size */
    }
    
    /* Increase spacing between nav items for easier tapping */
    #mainNav .navbar-nav .nav-item .nav-link {
        padding: 15px !important;
        margin: 0 5px;
    }
    
    /* Improve form elements for touch */
    input, textarea, select, button {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
    
    /* Enhance profile image for mobile */
    .profile-img.empty::before {
        font-size: 3rem; /* Larger initials on mobile */
    }
    
    /* Improve project cards for touch */
    .project-card {
        margin-bottom: 25px;
        padding: 15px;
    }
    
    /* Enhance skill badges for mobile */
    .skill-badge {
        min-height: 120px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    /* Enhanced neon effect for mobile */
    .neon-text {
        text-shadow: 0 0 4px rgba(0, 238, 255, 0.9),
                     0 0 8px rgba(0, 238, 255, 0.7),
                     0 0 12px rgba(0, 238, 255, 0.5);
    }
    
    .neon-text-secondary {
        text-shadow: 0 0 4px rgba(255, 0, 255, 0.9),
                     0 0 8px rgba(255, 0, 255, 0.7),
                     0 0 12px rgba(255, 0, 255, 0.5);
    }
    
    /* Section titles with enhanced visibility */
    .section-title h2.neon-text {
        font-size: 2rem;
        text-shadow: 0 0 5px rgba(0, 238, 255, 0.9),
                     0 0 10px rgba(0, 238, 255, 0.7),
                     0 0 15px rgba(0, 238, 255, 0.5);
    }
    
    /* Line divider with stronger glow */
    .line {
        background: linear-gradient(90deg, transparent, #00eeff, transparent);
        box-shadow: 0 0 10px rgba(0, 238, 255, 0.8),
                    0 0 20px rgba(0, 238, 255, 0.5);
    }
}

@media (max-width: 575.98px) {
    .hero {
        margin: 5px;
        border-radius: 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .typed-text-output {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    /* Smaller profile image for very small screens */
    .profile-img {
        width: 200px;
        height: 200px;
        margin: 30px auto 0;
    }
    
    /* Adjust neon rings for smaller profile image */
    .neon-ring:nth-child(1) {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }
    
    .neon-ring:nth-child(2) {
        top: -16px;
        left: -16px;
        right: -16px;
        bottom: -16px;
    }
    
    .neon-ring:nth-child(3) {
        top: -24px;
        left: -24px;
        right: -24px;
        bottom: -24px;
    }
    
    /* Improved form elements */
    .contact-form .form-control {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* Better spacing for timeline */
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    /* Adjust project cards */
    .project-content {
        padding: 15px;
    }
    
    .project-content h4 {
        font-size: 1.1rem;
    }
    
    .tech-stack span {
        font-size: 0.7rem;
        padding: 3px 8px;
        margin: 0 3px 3px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        font-size: 1rem;
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    
    .hero .btn-container {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .hero .btn {
        margin-right: 10px;
        width: auto;
    }
    
    .hero .btn:last-child {
        margin-right: 0;
    }
}

/* Add a new breakpoint for very small devices */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .typed-text-output {
        font-size: 1rem;
    }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    /* Update button styles to keep them on a single line */
    .btn {
        display: inline-block;
        width: auto;
        margin-bottom: 10px;
    }
    
    .hero .btn {
        margin-right: 10px !important;
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .hero .btn:last-child {
        margin-right: 0 !important;
    }
    
    .hero .btn-container {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icons a {
        font-size: 1rem;
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: var(--neon-text-shadow);
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: var(--neon-text-shadow);
}

.line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    box-shadow: var(--primary-glow);
}

.btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: var(--primary-glow);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: var(--primary-glow);
}

/* Updated Navbar Styles */
#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(15, 224, 255, 0.1);
}

#mainNav .navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: all 0.3s ease;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--primary-color);
}

#mainNav .navbar-nav .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: var(--primary-glow);
}

#mainNav.navbar-shrink {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(10, 10, 20, 0.95);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Theme Switch */
.theme-switch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--primary-glow);
    transition: all 0.3s ease;
}

.theme-switch i {
    color: var(--dark-color);
    font-size: 0.8rem;
}

.theme-switch:hover {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--darker-color);
    overflow: hidden;
    padding: 100px 0;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 0 30px rgba(15, 224, 255, 0.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(15, 224, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 54, 249, 0.05) 0%, transparent 40%);
    z-index: 0;
}

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

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.typed-text-output {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: var(--secondary-glow);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(15, 224, 255, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: var(--primary-glow);
    transform: translateY(-3px);
}

/* Updated Profile Image */
.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--primary-glow);
    position: relative;
    background-color: rgba(15, 224, 255, 0.05);
    animation: neonPulse 3s infinite;
    z-index: 1;
    box-shadow: 
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color),
        inset 0 0 15px var(--primary-color);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.profile-img:hover img {
    transform: scale(1.05);
}

/* Stats Counter Section */
.stats-counter {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(15, 224, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--neon-text-shadow);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number span {
    font-size: 2rem;
    margin-right: 5px;
}

.stat-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== ABOUT SECTION ===== */
#about {
    padding: 100px 0;
    background-color: rgba(18, 18, 18, 0.7);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 54, 249, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.about-info .info-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-title {
    min-width: 120px;
    font-weight: 700;
    color: var(--primary-color);
}

.info-value {
    color: #fff;
}

/* Enhanced About Section Styles */
.dev-principles {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.dev-principles li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.dev-principles li:before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.principle-title {
    color: var(--primary-color);
    font-weight: 600;
}

.tech-stack-container {
    margin-bottom: 20px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: rgba(15, 224, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(15, 224, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(15, 224, 255, 0.5);
}

.personal-info h4, .tech-stack-container h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(15, 224, 255, 0.3);
}

.info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-title {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
}

.info-value {
    color: #fff;
}

@media (max-width: 767.98px) {
    .tech-tags {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .info-title {
        margin-bottom: 5px;
    }
}

/* ===== SKILLS SECTION ===== */
#skills {
    padding: 100px 0;
    background-color: rgba(18, 18, 18, 0.9);
    position: relative;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(15, 224, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.skill-item {
    margin-bottom: 25px;
}

.skill-item h6 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.progress {
    height: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(15, 224, 255, 0.5);
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
}

.skill-badge {
    background-color: rgba(18, 18, 18, 0.7);
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(15, 224, 255, 0.3);
}

.skill-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: var(--neon-text-shadow);
}

.skill-badge h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.skill-badge p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* ===== EDUCATION & EXPERIENCE TIMELINE ===== */
.timeline-section {
    position: relative;
    padding: 60px 0;
}

.timeline-section h2 {
    margin-bottom: 50px;
}

.vertical-timeline {
    position: relative;
    padding: 0;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    box-shadow: var(--primary-glow);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-end;
}

.timeline-content {
    width: 45%;
    padding: 25px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(15, 224, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(15, 224, 255, 0.1);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    top: 0;
    background: var(--dark-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: var(--primary-glow);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content .date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(15, 224, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Timeline Styles */
@media (max-width: 991.98px) {
    .vertical-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start !important;
        margin-left: 60px;
        width: calc(100% - 60px);
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-icon {
        left: 30px;
    }
}

/* New Mobile Timeline Design (Vertical Card Style) */
@media (max-width: 767.98px) {
    .vertical-timeline {
        margin-left: 15px;
    }
    
    .vertical-timeline::before {
        left: 15px;
        background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
        width: 3px;
        box-shadow: 0 0 15px var(--primary-color);
        animation: timelineGlow 3s infinite alternate;
    }
    
    .timeline-item {
        margin-left: 0;
        width: 100%;
        margin-bottom: 60px;
    }
    
    .timeline-content {
        width: calc(100% - 30px);
        margin-left: 30px;
        background: rgba(10, 10, 20, 0.7);
        border-radius: 10px;
    }
    
    .timeline-icon {
        left: 15px;
        width: 40px;
        height: 40px;
        background: var(--darker-color);
        border: 2px solid var(--primary-color);
        box-shadow: 0 0 15px var(--primary-color);
        z-index: 3;
    }
    
    .timeline-content h3 {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .timeline-content h4 {
        color: var(--primary-color);
        font-size: 1rem;
    }
    
    .timeline-content .date {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

/* ===== PROJECTS SECTION ===== */
#projects {
    padding: 100px 0;
    background-color: rgba(18, 18, 18, 0.9);
    position: relative;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(15, 224, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.project-card {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(15, 224, 255, 0.4);
}

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(18, 18, 18, 0.8) 100%);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
    text-align: center;
}

.project-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.project-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.tech-stack {
    margin-bottom: 20px;
}

.tech-stack span {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    border: 1px solid rgba(15, 224, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-stack span:hover {
    background-color: rgba(15, 224, 255, 0.1);
    box-shadow: 0 0 10px rgba(15, 224, 255, 0.3);
}

/* Project Links Container */
.project-links {
    display: flex;
    flex-direction: row; /* Force horizontal layout */
    justify-content: center;
    align-items: center;
    gap: 25px; /* Default space between buttons */
    margin-top: 25px;
    width: 100%;
}

/* Button Base Styles */
.project-links .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-width: 2px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto;
    min-width: 120px;
    cursor: pointer !important; /* Fo /* Force cursor to be pointer */
    z-index: 500000;    
}

/* Live Demo Button */
.project-links .btn-outline-primary {
    color: #00eeff;
    border-color: #00eeff;
    background-color: transparent;
    transition: all 0.3s ease;
    margin-right: 5px; /* Additional spacing */
}

.project-links .btn-outline-primary:hover,
.project-links .btn-outline-primary:focus,
.project-links .btn-outline-primary:active {
    color: #000;
    background-color: #00eeff;
    border-color: #00eeff;
    box-shadow: 0 0 15px #00eeff, 0 0 25px #00eeff;
}

/* GitHub Button */
.project-links .btn-outline-secondary {
    color: #ff00ff;
    border-color: #ff00ff;
    background-color: transparent;
    transition: all 0.3s ease;
    margin-left: 5px; /* Additional spacing */
}

.project-links .btn-outline-secondary:hover,
.project-links .btn-outline-secondary:focus,
.project-links .btn-outline-secondary:active {
    color: #000;
    background-color: #ff00ff;
    border-color: #ff00ff;
    box-shadow: 0 0 15px #ff00ff, 0 0 25px #ff00ff;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .project-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 30px; /* Increased gap on medium screens */
    }
    
    .project-links .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .project-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 40px; /* Significantly increased gap on phone screens */
        width: 100%;
        padding: 0 15px;
        margin-top: 30px; /* More space above buttons */
        margin-bottom: 15px; /* More space below buttons */
    }
    
    .project-links .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        min-width: 110px;
    }
    
    /* Additional margin for buttons on phone */
    .project-links .btn-outline-primary {
        margin-right: 10px;
    }
    
    .project-links .btn-outline-secondary {
        margin-left: 10px;
    }
}

/* Project Card Content - Ensure enough space for buttons */
.project-content {
    padding: 20px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .project-content {
        padding: 20px 15px; /* Increased padding */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Add more space between project description and buttons */
    .project-content p {
        margin-bottom: 20px;
    }
    
    /* Add more space between tech stack and buttons */
    .tech-stack {
        margin-bottom: 25px;
    }
}

/* ===== EXPERIENCE SECTION ===== */
#experience {
    background: linear-gradient(to bottom right, rgba(10, 10, 20, 0.95), rgba(15, 15, 30, 0.95)), 
                url('../img/experience-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(15, 224, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 54, 249, 0.05) 0%, transparent 50%);
    z-index: 0;
}

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

/* ===== CONTACT SECTION ===== */
#contact {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background-color: rgba(10, 10, 10, 0.7);
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 40%, rgba(15, 224, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

.contact-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: stretch; /* Make both columns the same height */
}

.contact-col-info {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    display: flex;
}

.contact-col-form {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    display: flex;
}

.contact-form {
    background-color: rgba(25, 25, 25, 0.95);
    border: 3px solid #00eeff;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.4), inset 0 0 15px rgba(0, 238, 255, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info {
    background-color: rgba(25, 25, 25, 0.95);
    border: 3px solid #a64dff;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 0 30px rgba(166, 77, 255, 0.4), inset 0 0 15px rgba(166, 77, 255, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    color: #00eeff;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
    letter-spacing: 1px;
}

.contact-info h3 {
    color: #a64dff;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(166, 77, 255, 0.5);
    letter-spacing: 1px;
}

/* Form styling */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    background-color: rgba(40, 40, 40, 0.95);
    border: 2px solid #444;
    border-radius: 6px;
    color: #fff;
    padding: 14px 18px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 20px;
}

.form-control:focus {
    background-color: rgba(50, 50, 50, 0.95);
    border-color: #00eeff;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.4);
    color: #fff;
}

.form-control::placeholder {
    color: #bbb;
    opacity: 1;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Contact info styling */
.contact-info-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

/* Direct Icon Positioning Method */
.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(25, 25, 25, 0.95);
    border: 2px solid #a64dff;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(166, 77, 255, 0.4);
    position: relative;
}

/* Remove all default icon positioning */
.contact-info-icon i {
    position: absolute;
    color: #a64dff;
    font-size: 1.5rem;
}

/* Position each icon individually */
.contact-info-icon .fa-map-marker-alt {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

.contact-info-icon .fa-envelope {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info-icon .fa-phone-alt {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info-icon .fa-globe {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h5 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info-content p {
    color: #ddd;
    font-size: 1.05rem;
    word-break: break-word;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-col-info,
    .contact-col-form {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .contact-form, 
    .contact-info {
        padding: 30px 25px;
    }
    
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.6rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .btn-contact {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
    
    .contact-info-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .contact-info-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .contact-form, 
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-form h3,
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .contact-info-item {
        margin-bottom: 25px;
    }
    
    .contact-info-content h5 {
        font-size: 1.2rem;
    }
    
    .contact-info-content p {
        font-size: 1rem;
    }
}

/* Light theme adjustments */
.light-theme .contact-form {
    background-color: rgba(245, 245, 245, 0.9);
    border-color: #0bceeb;
    box-shadow: 0 0 25px rgba(11, 206, 235, 0.2);
}

.light-theme .contact-info {
    background-color: rgba(245, 245, 245, 0.9);
    border-color: #a64dff;
    box-shadow: 0 0 25px rgba(166, 77, 255, 0.2);
}

.light-theme .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: #ddd;
    color: #333;
}

.light-theme .form-control:focus {
    background-color: #fff;
    border-color: #0bceeb;
    color: #333;
}

.light-theme .form-control::placeholder {
    color: #777;
}

.light-theme .contact-info-content h5 {
    color: #333;
}

.light-theme .contact-info-content p {
    color: #555;
}

.light-theme .btn-contact:hover, 
.light-theme .btn-contact:focus {
    color: #fff;
}

/* ===== FOOTER ===== */
footer {
    background-color: rgba(18, 18, 18, 0.95);
    color: #fff;
    border-top: 1px solid rgba(15, 224, 255, 0.2);
}

footer .social-icons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

footer .social-icons a {
    margin: 0 10px;
}

/* ===== NEON ANIMATIONS ===== */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px rgba(15, 224, 255, 0.5), 0 0 10px rgba(15, 224, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 10px rgba(15, 224, 255, 0.7), 0 0 20px rgba(15, 224, 255, 0.5), 0 0 30px rgba(15, 224, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 5px rgba(15, 224, 255, 0.5), 0 0 10px rgba(15, 224, 255, 0.3);
    }
}

.profile-img, .timeline-icon, .contact-item .icon {
    animation: neonPulse 3s infinite;
}

.skill-badge:hover i, .project-card:hover h4, .timeline-content:hover h4 {
    animation: neonPulse 2s infinite;
}

/* ===== NEON RINGS ===== */
.neon-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    box-shadow: var(--primary-glow);
    z-index: -1;
    transition: all 0.3s ease;
}

.neon-ring:nth-child(1) {
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

.neon-ring:nth-child(2) {
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.neon-ring:nth-child(3) {
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

/* Add a pulsing glow to the empty profile image */
.profile-img.empty {
    background: radial-gradient(circle at center, rgba(15, 224, 255, 0.2) 0%, rgba(15, 224, 255, 0.1) 50%, rgba(15, 224, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: profilePulse 3s infinite;
}

@keyframes profilePulse {
    0% {
        box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), inset 0 0 15px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 15px var(--primary-color), 0 0 30px var(--primary-color), inset 0 0 20px var(--primary-color);
    }
    100% {
        box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), inset 0 0 15px var(--primary-color);
    }
}

/* Optimize animations for mobile to improve performance */
@media (max-width: 767.98px) {
    @keyframes neonCirclePulse {
        0% {
            box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
        }
        50% {
            box-shadow: 0 0 10px var(--primary-color), 0 0 15px var(--primary-color);
        }
        100% {
            box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
        }
    }
    
    /* Reduce animation intensity for better performance */
    .neon-glow {
        animation: neonGlow 2s ease-in-out infinite alternate;
    }
    
    @keyframes neonGlow {
        from {
            box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
        }
        to {
            box-shadow: 0 0 10px var(--primary-color), 0 0 15px var(--primary-color);
        }
    }
}

/* Light Theme Styles */
.light-theme {
    --dark-color: #f8f9fa;
    --darker-color: #e9ecef;
    --light-color: #212529;
}

.light-theme body {
    background-color: var(--dark-color);
    color: #333;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(15, 224, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 54, 249, 0.05) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.light-theme #mainNav {
    background-color: rgba(248, 249, 250, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.light-theme #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(33, 37, 41, 0.7);
}

.light-theme .hero {
    background-color: rgba(248, 249, 250, 0.5);
}

.light-theme .hero h1,
.light-theme .hero h2 {
    color: #333;
}

.light-theme .hero p {
    color: #555;
}

.light-theme .stat-text {
    color: rgba(33, 37, 41, 0.7);
}

.light-theme .section-divider {
    background-color: rgba(15, 224, 255, 0.1);
}

.light-theme .btn-outline-light {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.light-theme .btn-outline-light:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.light-theme .social-icons a {
    background-color: rgba(15, 224, 255, 0.05);
    color: var(--primary-color);
}

.light-theme .social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Additional light theme styles */
.light-theme .section-title h2,
.light-theme h3.neon-text-secondary {
    color: #333;
}

.light-theme .neon-text {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(15, 224, 255, 0.3);
}

.light-theme .neon-text-secondary {
    color: var(--secondary-color);
    text-shadow: 0 0 5px rgba(255, 54, 249, 0.3);
}

.light-theme .about-info {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.light-theme .skill-badge,
.light-theme .project-card,
.light-theme .timeline-content {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 224, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.light-theme .progress {
    background-color: rgba(0, 0, 0, 0.05);
}

.light-theme .contact-form {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.light-theme .contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(15, 224, 255, 0.2);
    color: #333;
}

.light-theme .contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 224, 255, 0.25);
}

.light-theme footer {
    background-color: rgba(248, 249, 250, 0.9);
    color: #333;
}

.light-theme .dev-principles li:before {
    color: var(--primary-color);
}

.light-theme .principle-title {
    color: var(--primary-color);
}

.light-theme p {
    color: #555;
}

.light-theme .about-image::before {
    opacity: 0.4;
}

.light-theme .about-image::after {
    opacity: 0.3;
}

/* Additional styles for the vertical timeline to match the image */
@media (max-width: 767.98px) {
    .light-theme .timeline-content {
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .light-theme .timeline-content h3 {
        color: #333;
    }
}

/* Fix button spacing in hero section */
.hero .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero .btn:last-child {
    margin-right: 0;
}

/* Improve button container */
.hero .btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

@media (max-width: 575.98px) {
    .hero .btn-container {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    
    .hero .btn {
        margin-right: 10px;
        width: auto;
    }
    
    .hero .btn:last-child {
        margin-right: 0;
    }
}

/* About Image Styles */
.about-image-container {
    margin-top: 25px;
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(15, 224, 255, 0.5), 0 0 40px rgba(15, 224, 255, 0.2);
    transition: all 0.5s ease;
    border: 2px solid var(--primary-color);
    z-index: 1;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--secondary-color), transparent, var(--primary-color));
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    opacity: 0.7;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at 50% 50%, rgba(15, 224, 255, 0.3), transparent 70%);
    z-index: -2;
    animation: pulseGlow 4s ease-in-out infinite;
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(15, 224, 255, 0.7), 0 0 50px rgba(15, 224, 255, 0.3);
}

.about-image img {
    transition: all 0.5s ease;
    width: 100%;
    border-radius: 8px;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    color: var(--primary-color);
    font-style: italic;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(15, 224, 255, 0.5);
    margin-top: 15px;
}

.image-caption i {
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .about-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

.light-theme .timeline-content {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 224, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.light-theme .timeline-content h3 {
    color: #333;
}

.light-theme .timeline-content h4 {
    color: var(--primary-color);
}

.light-theme .timeline-content .date {
    color: var(--secondary-color);
}

.light-theme .timeline-icon {
    background-color: #fff;
}

.light-theme .vertical-timeline::before {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0.5;
}

@media (max-width: 767.98px) {
    .light-theme .timeline-content {
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .light-theme .timeline-content h3 {
        color: #333;
    }
}

/* Project Card Content */
.project-content {
    padding: 20px;
    text-align: center;
}

@media (max-width: 575.98px) {
    .project-content {
        padding: 20px 15px; /* Increased padding */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Add more space between project description and buttons */
    .project-content p {
        margin-bottom: 20px;
    }
    
    /* Add more space between tech stack and buttons */
    .tech-stack {
        margin-bottom: 25px;
    }
}

/* Submit Button - Softer and Lighter */
.btn-contact {
    background-color: rgba(0, 238, 255, 0.8); /* More transparent cyan */
    color: #121212; /* Dark but not pure black text */
    border: 2px solid rgba(0, 238, 255, 0.9); /* Thinner border */
    padding: 14px 30px;
    font-size: 1.1rem; /* Slightly smaller font */
    font-weight: 600; /* Less bold */
    letter-spacing: 1px;
    border-radius: 8px; /* Slightly more rounded */
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Softer, more diffused glow */
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.5), 
                0 0 25px rgba(0, 238, 255, 0.3);
    cursor: pointer;
}

.btn-contact:hover, 
.btn-contact:focus {
    background-color: rgba(51, 245, 255, 0.85); /* Slightly lighter on hover */
    color: #121212;
    /* Gentle enhanced glow on hover */
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.6), 
                0 0 30px rgba(0, 238, 255, 0.4);
    transform: translateY(-2px); /* Subtle lift */
}

/* Softer pulsing animation */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 15px rgba(0, 238, 255, 0.5), 
                    0 0 25px rgba(0, 238, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 18px rgba(0, 238, 255, 0.55), 
                    0 0 28px rgba(0, 238, 255, 0.35);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 238, 255, 0.5), 
                    0 0 25px rgba(0, 238, 255, 0.3);
    }
}

.btn-contact {
    animation: buttonPulse 3s infinite ease-in-out; /* Slower, gentler pulse */
}

/* Subtle shine effect */
.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.btn-contact:hover::before {
    left: 100%;
}

/* Button container */
.submit-button-container {
    text-align: center;
    margin-top: 10px;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .btn-contact {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .btn-contact {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
} 