/* 
==============================================
TABLE OF CONTENTS
==============================================
1. General Styles
2. Theme Colors
3. Header & Navigation
4. Hero Section
5. About Section
6. Skills Section
7. Projects Section
8. Contact Section
9. Footer
10. Modals
11. Animations
12. Media Queries
==============================================
*/

/* ====================== 1. General Styles ====================== */
:root {
    /* Light Theme Colors */
    --primary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
    --secondary-gradient: linear-gradient(135deg, #a777e3, #6e8efb);
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --card-bg: #fff;
    --border-color: #eaeaea;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --primary-rgb: 78, 84, 200;
    --secondary-rgb: 143, 148, 251;
    
    /* Transition */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
}

.primary-btn:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ====================== 2. Theme Colors ====================== */
.dark-theme {
    --primary-gradient: linear-gradient(135deg, #a777e3, #6e8efb);
    --secondary-gradient: linear-gradient(135deg, #6e8efb, #a777e3);
    --text-color: #f0f0f0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #2d2d2d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(18, 18, 18, 0.95);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --primary-rgb: 143, 148, 251;
    --secondary-rgb: 78, 84, 200;
}

.dark-theme .navbar-brand {
    color: rgba(255, 255, 255, 0.9);
}

.dark-theme .quote {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.dark-theme .brand-icon {
    box-shadow: 0 4px 10px rgba(143, 148, 251, 0.2);
}

/* ====================== 3. Header & Navigation ====================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative !important;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    width: 100%;
    justify-content: center;
    height: 100%;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.code-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 1px rgba(110, 142, 251, 0.2);
}

.quote-wrapper {
    display: none;
}

@media (min-width: 992px) {
    .quote-wrapper {
        display: block;
        overflow: hidden;
        max-width: 300px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    
    .quote {
        font-size: 1rem;
        font-style: italic;
        opacity: 0.9;
        color: var(--text-color);
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    }
}

/* Gooey Effect for Nav Links */
.nav-item {
    margin: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    z-index: 1;
    opacity: 0.9;
    margin: 0 2px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-text {
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    letter-spacing: 0.3px;
}

/* Gooey Blob Effect */
.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(
        135deg,
        rgba(110, 142, 251, 0.2),
        rgba(167, 119, 227, 0.2)
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    filter: blur(8px);
    opacity: 0;
    pointer-events: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(110, 142, 251, 0.1),
        rgba(167, 119, 227, 0.1)
    );
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.nav-link:hover::before {
    width: 120%;
    height: 180%;
    opacity: 1;
}

.nav-link:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.nav-link:hover .nav-text {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-link.active::before {
    width: 120%;
    height: 180%;
    opacity: 1;
    background: linear-gradient(
        135deg,
        rgba(110, 142, 251, 0.3),
        rgba(167, 119, 227, 0.3)
    );
}

.nav-link.active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.nav-link.active .nav-text {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Dark Theme Adjustments */
.dark-theme .nav-link::before {
    background: linear-gradient(
        135deg,
        rgba(110, 142, 251, 0.25),
        rgba(167, 119, 227, 0.25)
    );
}

.dark-theme .nav-link::after {
    background: linear-gradient(
        135deg,
        rgba(110, 142, 251, 0.15),
        rgba(167, 119, 227, 0.15)
    );
}

.dark-theme .nav-link:hover .nav-text,
.dark-theme .nav-link:active .nav-text,
.dark-theme .nav-link.active .nav-text {
    color: #fff;
}

.dark-theme .nav-link:focus .nav-text {
    color: #fff;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .header {
        height: auto;
    }

    .navbar {
        padding: 10px 0;
        height: auto;
    }
    
    .navbar-collapse {
        background: var(--glass-bg);
        margin-top: 10px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: var(--glass-shadow);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dark-theme .navbar-collapse {
        background: rgba(25, 25, 25, 0.95);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav {
        gap: 5px;
        height: auto;
    }

    .nav-item {
        margin: 3px 0;
        width: 100%;
        height: auto;
    }

    .nav-link {
        padding: 8px 12px;
        height: auto;
    }

    .nav-text {
        font-size: 0.9rem;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
        margin: 3px auto;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .code-icon {
        font-size: 1.2rem;
    }
}

/* Theme Toggle Button Refinements */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(110, 142, 251, 0.1),
        rgba(167, 119, 227, 0.1)
    );
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    margin-left: 15px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, 
        rgba(110, 142, 251, 0.15),
        rgba(167, 119, 227, 0.15)
    );
    color: var(--primary-color);
}

/* Dark Theme Adjustments */
.dark-theme .theme-toggle {
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, 
        rgba(110, 142, 251, 0.15),
        rgba(167, 119, 227, 0.15)
    );
}

.dark-theme .theme-toggle:hover {
    color: #fff;
    background: linear-gradient(135deg, 
        rgba(110, 142, 251, 0.2),
        rgba(167, 119, 227, 0.2)
    );
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
        margin-right: 0;
    }

    .hero-section {
        padding-top: 80px;
    }
    
    .profile-container {
        margin-top: 15px;
    }
}

/* ====================== 4. Hero Section ====================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.typing-container {
    position: relative;
    margin-bottom: 1.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 2.5rem;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

.profile-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: visible;
    animation: slideInProfile 1s ease forwards;
    z-index: 2;
}

@keyframes slideInProfile {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: var(--primary-gradient);
    z-index: -1;
    animation: pulseLight 3s infinite alternate;
}

.profile-image-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--bg-color);
    z-index: -1;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    transition: var(--transition);
    opacity: 1;
    z-index: 10;
}

.scroll-down a {
    color: var(--text-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.scroll-down a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.scroll-down.hidden {
    opacity: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ====================== 5. About Section ====================== */
.about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.05), rgba(167, 119, 227, 0.05));
}

.about-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    aspect-ratio: 3/4;
    background: var(--card-bg);
    max-width: 400px;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(315deg, #00ccff, #d400d4, #00ccff, #5600ff, #ff0058);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    border-radius: 20px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(var(--primary-color-rgb), 0.1),
        transparent 60%);
    animation: pulseLight 3s ease-in-out infinite;
    z-index: 1;
    mix-blend-mode: overlay;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
    padding: 12px;
    border-radius: 15px;
}

.about-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-color);
}

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

.about-img:hover::before {
    filter: blur(12px);
    opacity: 0.9;
}

/* Add floating particles effect */
.about-img .particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.about-img .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle 6s infinite;
}

/* Add new keyframe animations */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseLight {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

/* Dark theme adjustments */
.dark-theme .about-img::before {
    opacity: 0.6;
}

.dark-theme .about-img::after {
    mix-blend-mode: lighten;
}

.about-content {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.about-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.info-item {
    position: relative;
    margin-bottom: 0;
    padding: 15px 45px 15px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Diagonal flowing effect - enhanced visibility */
.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0) 0%,
        rgba(var(--primary-rgb), 0.2) 25%,
        rgba(var(--primary-rgb), 0.35) 50%,
        rgba(var(--primary-rgb), 0.2) 75%,
        rgba(var(--primary-rgb), 0) 100%
    );
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.info-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(var(--secondary-rgb), 0.15) 25%,
        rgba(var(--secondary-rgb), 0.25) 50%,
        rgba(var(--secondary-rgb), 0.15) 75%,
        transparent 100%
    );
    z-index: -1;
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

.info-item:hover::before {
    opacity: 1;
}

.info-item:hover::after {
    animation: diagonalFlow 2s infinite linear;
}

@keyframes diagonalFlow {
    0% {
        transform: rotate(45deg) translateY(100%);
    }
    100% {
        transform: rotate(45deg) translateY(-100%);
    }
}

/* Dark theme adjustments with enhanced visibility */
.dark-theme .info-item::before {
    background: linear-gradient(
        135deg,
        rgba(var(--primary-rgb), 0) 0%,
        rgba(var(--primary-rgb), 0.25) 25%,
        rgba(var(--primary-rgb), 0.4) 50%,
        rgba(var(--primary-rgb), 0.25) 75%,
        rgba(var(--primary-rgb), 0) 100%
    );
}

.dark-theme .info-item::after {
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(var(--secondary-rgb), 0.2) 25%,
        rgba(var(--secondary-rgb), 0.35) 50%,
        rgba(var(--secondary-rgb), 0.2) 75%,
        transparent 100%
    );
}

/* Enhanced hover effect */
.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.05);
}

/* Icon rotation effect */
.info-item:hover span::after {
    transform: translateY(-50%) scale(1.2) rotate(360deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .info-item::before,
    .info-item::after {
        transition: none;
        animation: none;
    }
}

/* Text styles */
.info-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
    display: block;
    position: relative;
    z-index: 2;
}

.info-item p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
    padding-right: 30px;
    line-height: 1.4;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

/* Icon styles */
.info-item span::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.4s ease;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

/* Specific icons for each info item */
.info-item.email span::after {
    content: '\f0e0';
}

.info-item.expertise span::after {
    content: '\f7d9';
}

.info-item.experience span::after {
    content: '\f19d';
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-img {
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .about-content h3 {
        font-size: 24px;
    }
    
    .about-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-buttons {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .about-img {
        max-width: 300px;
    }
    
    .about-content h3 {
        font-size: 22px;
    }
    
    .info-item {
        padding: 12px 40px 12px 12px;
    }
    
    .info-item span {
        font-size: 12px;
    }
    
    .info-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .about-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item {
        padding: 10px 35px 10px 10px;
    }
    
    .info-item span::after {
        font-size: 1rem;
        right: 10px;
    }
    
    .info-item p {
        font-size: 13px;
        padding-right: 20px;
    }
    
    .about-buttons .primary-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Enhanced About Buttons */
.about-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
}

.about-buttons::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.about-buttons .primary-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-origin: center;
}

.about-buttons .primary-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(110, 142, 251, 0.3);
}

.about-buttons .primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2), 
        transparent, 
        rgba(255, 255, 255, 0.2)
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.about-buttons .primary-btn:hover::before {
    transform: translateX(100%);
}

/* Enhanced Progress Bar Styles */
.skill-bar {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
    width: 0;
    position: relative;
    transition: width 1.5s ease-out;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmerProgress 2s infinite;
}

@keyframes shimmerProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced Contact Form Styles */
.contact-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.contact-form .form-control {
    height: 50px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form .form-control::placeholder {
    color: rgba(45, 52, 54, 0.7);
    transition: var(--transition);
}

/* Dark Theme Form Styles */
.dark-theme .contact-form .form-control {
    background-color: #1e1e1e !important;
    border-color: var(--border-color);
    color: #ffffff;
}

.dark-theme .contact-form .form-control:focus,
.dark-theme .contact-form .form-control:active,
.dark-theme .contact-form .form-control:-webkit-autofill,
.dark-theme .contact-form .form-control:-webkit-autofill:hover,
.dark-theme .contact-form .form-control:-webkit-autofill:focus,
.dark-theme .contact-form .form-control:-webkit-autofill:active {
    background-color: #1e1e1e !important;
    -webkit-box-shadow: 0 0 0 30px #1e1e1e inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    color: #ffffff;
    border-color: var(--primary-color);
}

.dark-theme .contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form textarea.form-control {
    height: 150px;
    resize: none;
}

.contact-info .contact-item {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.contact-info .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.contact-info .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(110, 142, 251, 0.1), rgba(167, 119, 227, 0.1));
    border-radius: 10px;
}

/* ====================== 6. Skills Section ====================== */
.skill-category {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.skill-category:last-child {
    margin-bottom: 0;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

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

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.percent {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

/* Progress Bar Styles */
.skill-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    width: 0;
    position: relative;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmerProgress 2s infinite;
}

@keyframes shimmerProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ====================== 7. Projects Section ====================== */
.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: var(--transition);
    margin-bottom: 20px;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

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

.project-img img {
    transition: var(--transition);
}

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

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 15px;
    color: var(--text-color);
    opacity: 0.8;
}

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

.project-tags span {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ====================== 8. Contact Section ====================== */
.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

/* Social Links Container */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.social-links a:hover::before {
    transform: translateY(0);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    height: 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form textarea.form-control {
    height: auto;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 84, 200, 0.25);
    color: var(--text-color);
}

.contact-form .submit-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.contact-form .submit-button-wrapper .btn {
    min-width: 180px;
    padding: 12px 30px;
}

/* ====================== 9. Footer ====================== */
.footer {
    background-color: var(--card-bg);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ====================== 10. Modals ====================== */
.modal-content {
    background-color: var(--bg-color);
    border: none;
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.modal-title {
    color: var(--primary-color);
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.modal-body h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-body h5 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.modal-body li {
    margin-bottom: 5px;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* ====================== 11. Animations ====================== */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 84, 200, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 84, 200, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 84, 200, 0);
    }
}

@keyframes neonGlow {
    0% {
        background-position: 0% 50%;
        filter: blur(5px) brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: blur(5px) brightness(1.2);
    }
    100% {
        background-position: 0% 50%;
        filter: blur(5px) brightness(1);
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Fade-in animations for AOS */
[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="fade-left"] {
    transform: translateX(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
    opacity: 1;
}

/* ====================== 12. Media Queries ====================== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--glass-bg);
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: var(--glass-shadow);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dark-theme .navbar-collapse {
        background: rgba(25, 25, 25, 0.95);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-item {
        margin: 8px 0;
    }

    .nav-link {
        display: flex;
        justify-content: center;
        padding: 12px 20px;
    }

    .nav-item:last-child {
        margin-top: 10px;
    }

    .theme-toggle {
        width: 45px;
        height: 45px;
        margin: 0 auto;
        transform-origin: center;
    }

    .navbar-collapse.collapse:not(.show) .theme-toggle {
        display: none;
    }

    .navbar-collapse.collapsing .theme-toggle {
        display: none;
    }

    .profile-container {
        margin-bottom: 20px;
    }

    .profile-image-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero-content {
        text-align: center;
        margin-top: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .typing-container {
        justify-content: center;
    }

    .profile-image-wrapper {
        animation: floatMobile 6s ease-in-out infinite;
    }

    @keyframes floatMobile {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0px);
        }
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }
    
    .profile-container {
        margin-top: 20px;
    }
    
    .profile-image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .typing-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .profile-image-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .typing-text {
        font-size: 1.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        margin: 5px 0;
        width: 100%;
        max-width: 200px;
    }
}

/* Additional mobile optimization */
@media (max-width: 480px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .profile-container {
        margin-bottom: 15px;
    }
    
    .profile-image-wrapper {
        width: 160px;
        height: 160px;
    }
}

/* Add icons to info items */
.info-item.name span::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.2;
}

.info-item.email span::after {
    content: '\f0e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.2;
}

.info-item.expertise span::after {
    content: '\f7d9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.2;
}

.info-item.experience span::after {
    content: '\f19d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.2;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Quote Container Styles */
.quote-container {
    position: relative;
    height: 24px;
    overflow: hidden;
}

.quote-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rotateQuotes 8s infinite;
    opacity: 0;
    transform: translateY(100%);
}

.quote-text:nth-child(1) { animation-delay: 0s; }
.quote-text:nth-child(2) { animation-delay: 2s; }
.quote-text:nth-child(3) { animation-delay: 4s; }
.quote-text:nth-child(4) { animation-delay: 6s; }

@keyframes rotateQuotes {
    0%, 20% {
        opacity: 0;
        transform: translateY(100%);
    }
    25%, 45% {
        opacity: 1;
        transform: translateY(0);
    }
    50%, 100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* Enhanced Info Item Icons */
.info-item span::after {
    opacity: 0.7;
    transition: all 0.4s ease;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.info-item:hover span::after {
    transform: translateY(-50%) scale(1.2) rotate(360deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    opacity: 1;
}

/* Updated Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.social-links a:hover::before {
    transform: translateY(0);
}

/* Add will-change for performance optimization */
.info-item {
    will-change: transform;
    transform: translateZ(0);
}

.about-buttons .primary-btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Adjust Project Section Margin */
.project-card {
    margin-bottom: 20px;
}

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

/* Add spacing control for skills section specifically */
.skills-section {
    margin-bottom: -10px;
}

/* Glass Card and Download CV Button Styles */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
}

.dark-theme .glass-card {
    background: rgba(18, 18, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card-btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 30px;
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
}

.glass-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

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

.glass-card-btn:hover::before {
    transform: translateX(100%);
}

.dark-theme .glass-card-btn {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme .glass-card-btn:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Profile Thread Container */
.profile-thread {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.profile-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.5s ease;
    transform-origin: top center;
}

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

/* Enhanced Navbar Toggler Styles */
.navbar-toggler {
    padding: 8px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-right: 15px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Custom Toggler Icon */
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* Toggler Animation */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Hover effect - only change border and icon color */
.navbar-toggler:hover {
    border-color: var(--secondary-color);
}

.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after {
    background-color: var(--secondary-color);
}

/* Prevent hover effect from showing middle line when expanded */
.navbar-toggler[aria-expanded="true"]:hover .navbar-toggler-icon {
    background-color: transparent !important;
}

/* Dark Theme Adjustments */
.dark-theme .navbar-toggler {
    border-color: var(--primary-color);
}

.dark-theme .navbar-toggler-icon,
.dark-theme .navbar-toggler-icon::before,
.dark-theme .navbar-toggler-icon::after {
    background-color: var(--text-color);
}

/* Enhanced Navbar Collapse Styles */
.navbar-collapse {
    background: var(--glass-bg);
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Center align nav items in mobile view */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        margin: 5px 0;
    }
}
