/* Custom CSS Variables */
:root {
    --primary-color: #000000;
    --primary-dark: #0a0a0a;
    --primary-light: #1a1a1a;
    --dark-color: #ffffff;
    --light-color: #000000;
    --bg-light: #0d0d0d;
    --accent-color: #a5b4fc;
    --gradient-primary: linear-gradient(135deg, #000000, #1a1a1a);
    --gradient-dark: linear-gradient(135deg, #000000, #1a1a1a);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    --box-shadow-hover: 0 8px 25px rgba(165, 180, 252, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #e5e5e5;
    background-color: #000000;
}

/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #e5e5e5;
}

.section-title {
    position: relative;
    font-weight: 700;
    color: #ffffff;
}

p, .lead {
    color: #e5e5e5;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

.text-muted {
    color: #b0b0b0 !important;
}

.bg-light {
    background-color: #0a0a0a !important;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(165, 180, 252, 0.1);
    border-bottom: 1px solid rgba(165, 180, 252, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98) !important;
    box-shadow: 0 4px 30px rgba(165, 180, 252, 0.3);
    border-bottom: 1px solid rgba(165, 180, 252, 0.3);
}

.logo-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: var(--primary-color);
    transition: var(--transition);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.navbar-brand:hover .logo-container {
    transform: rotate(5deg);
    box-shadow: 0 4px 8px rgba(165, 180, 252, 0.4);
}

.navbar-brand {
    color: #ffffff !important;
}

.navbar-brand:hover {
    color: #a5b4fc !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    color: #e5e5e5;
}

.navbar-nav .nav-link:hover {
    color: #a5b4fc;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.85) 40%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.3) 100%);
}

/* Animated Gradient Text */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #e5e5e5, #a5b4fc, #6b7fcc, #e5e5e5);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Typing Animation */
.hero .lead {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    border-right: 3px solid rgba(165, 180, 252, 0.8);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.tracking-wider {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(165, 180, 252, 0.9);
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: rgba(165, 180, 252, 0.8);
    }
}

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

.hero .btn-primary {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 2.5rem;
}

.hero .btn-outline-dark {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero .btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Enhanced Button Effects */
.btn-primary {
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    border: none;
    box-shadow: 0 4px 15px rgba(165, 180, 252, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    color: #000000;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(165, 180, 252, 0.6);
}

/* Hero Profile Image */
.hero-profile-container {
    position: relative;
    display: inline-block;
}

.hero-profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(165, 180, 252, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    animation: profileFloat 3s ease-in-out infinite;
}

.hero-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(165, 180, 252, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

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

.btn-outline-dark {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero h1 {
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.social-links a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

/* About Section */
.about img {
    transition: var(--transition);
    border: 3px solid #a5b4fc;
    padding: 5px;
    background: #000000;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.about img:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 0 8px 25px rgba(165, 180, 252, 0.4);
}

.progress {
    height: 12px;
    background-color: rgba(165, 180, 252, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    background: linear-gradient(90deg, #a5b4fc, #6b7fcc);
    position: relative;
    overflow: hidden;
    transition: width 1.5s ease-out;
    box-shadow: 0 2px 8px rgba(165, 180, 252, 0.5);
}

/* Animated skill bars - start at 0 */
.skill-item .progress-bar {
    width: 0 !important;
}

/* Class added by JavaScript when in view */
.skill-item.animate .progress-bar {
    width: var(--skill-width) !important;
}

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

@keyframes progressShine {
    100% {
        left: 100%;
    }
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    font-weight: 500;
    color: #e5e5e5;
}

.skill-percent {
    color: #a5b4fc;
}

.section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Services Section */
.service-card {
    transition: var(--transition);
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(165, 180, 252, 0.2);
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: #0d0d0d;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(165, 180, 252, 0.3);
    border-color: #a5b4fc;
    background: #1a1a1a;
}

.service-card .card-body {
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3.5rem;
    color: #a5b4fc;
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(360deg);
    transition: transform 0.6s ease;
}

.service-card .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card .card-text {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Projects Section */
.project-card {
    transition: var(--transition);
    overflow: hidden;
    border-radius: 8px;
    background: #0d0d0d;
    position: relative;
    border-left: 4px solid #a5b4fc;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(165, 180, 252, 0.3);
    background: #1a1a1a;
    border-color: #a5b4fc;
}

.project-card img {
    transition: var(--transition);
    height: 250px;
    object-fit: cover;
}

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

.project-card .card-body {
    position: relative;
    padding: 2rem;
    background: #0d0d0d;
}

.project-card:hover .card-body {
    background: #1a1a1a;
}

.project-card .card-title {
    color: #ffffff;
}

.project-card .card-text {
    color: #b0b0b0;
}

.project-card .btn-outline-primary {
    border-width: 2px;
    border-color: #a5b4fc;
    color: #a5b4fc;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.project-card .btn-outline-primary:hover {
    background-color: #a5b4fc;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(165, 180, 252, 0.4);
}

.service-card .service-icon,
.project-card .text-success {
    color: #a5b4fc;
}

/* Testimonials Section */
.testimonial-card {
    background: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 1.5rem;
}

/* Contact Section */
.contact-form .form-control {
    border: 1px solid rgba(165, 180, 252, 0.3);
    padding: 0.75rem;
    background: #0d0d0d;
    color: #e5e5e5;
}

.contact-form .form-control:focus {
    border-color: #a5b4fc;
    box-shadow: 0 0 0 0.2rem rgba(165, 180, 252, 0.25);
    background: #1a1a1a;
}

.contact-form label {
    color: #b0b0b0;
}

.contact .text-primary {
    color: #a5b4fc !important;
}

.contact p {
    color: #e5e5e5;
}

/* Footer */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #a5b4fc;
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Button Styles */
.btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0952d9;
    border-color: #0952d9;
    transform: translateY(-2px);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: -0.5px;
        margin-bottom: 1rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        border-right-width: 2px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    .tracking-wider {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .hero-profile-img {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem auto;
    }
    
    @keyframes profileFloat {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }
    
    .hero .btn-primary,
    .hero .btn-outline-dark {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
    
    .project-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
    }
    
    .hero .lead {
        font-size: 1rem;
        white-space: normal;
        border-right: none;
        animation: none;
        text-align: center;
        max-width: 90%;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .tracking-wider {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
    
    .hero .btn-primary,
    .hero .btn-outline-dark {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 5.5rem;
    }
    
    .hero .lead {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 800px;
    }
}

/* ============ NEW ENHANCEMENTS ============ */

/* 1. Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.2s ease-out;
    box-shadow: 0 2px 10px rgba(10, 31, 68, 0.5);
}

/* 2. Loading Animation / Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #000000, #0d0d0d);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#preloader::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(74, 123, 167, 0.1) 0%, transparent 70%);
    animation: rotateBackground 20s linear infinite;
}

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

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.loader-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(165, 180, 252, 0.5));
}

.loader-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e5e5e5, #a5b4fc, #6b7fcc, #e5e5e5);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(165, 180, 252, 0.5);
    line-height: 1.2;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #e5e5e5, #a5b4fc, #6b7fcc, #e5e5e5);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite, gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(165, 180, 252, 0.5);
    line-height: 1;
}

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

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(165, 180, 252, 0.2);
    border-top: 5px solid #a5b4fc;
    border-right: 5px solid #6b7fcc;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(165, 180, 252, 0.3);
}

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

/* Responsive Preloader */
@media (max-width: 768px) {
    .loader-logo-img {
        width: 100px;
        height: 100px;
        margin-bottom: 1.2rem;
    }
    
    .loader-name {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .loader-logo {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 4px;
    }
}

@media (max-width: 576px) {
    .loader-logo-img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .loader-name {
        font-size: 1.75rem;
        margin-bottom: 1.2rem;
    }
    
    .loader-logo {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .loader-spinner {
        width: 45px;
        height: 45px;
        border-width: 3px;
    }
}

@media (max-width: 400px) {
    .loader-logo-img {
        width: 70px;
        height: 70px;
        margin-bottom: 0.8rem;
    }
    
    .loader-name {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .loader-logo {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

/* 4. Statistics Counter Section */
.stats {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
    color: white;
    border-top: 1px solid rgba(165, 180, 252, 0.1);
    border-bottom: 1px solid rgba(165, 180, 252, 0.1);
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 1rem;
    background: rgba(165, 180, 252, 0.05);
    border-radius: 12px;
    margin: 0.5rem;
    border: 1px solid rgba(165, 180, 252, 0.1);
}

.stat-icon {
    font-size: 3rem;
    opacity: 1;
    color: #a5b4fc;
    text-shadow: 0 3px 15px rgba(165, 180, 252, 0.5);
    filter: drop-shadow(0 0 10px rgba(165, 180, 252, 0.4));
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(165, 180, 252, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e5e5e5;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 5. Tech Stack Visualization */
.tech-item {
    background: rgba(165, 180, 252, 0.05);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(165, 180, 252, 0.1);
    cursor: pointer;
}

.tech-item i {
    font-size: 3rem;
    color: #a5b4fc;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.tech-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e5e5e5;
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: #a5b4fc;
    box-shadow: 0 10px 30px rgba(165, 180, 252, 0.3);
    background: rgba(165, 180, 252, 0.1);
}

.tech-item:hover i {
    transform: rotateY(360deg);
    color: #6b7fcc;
}

/* GitHub Stats Section */
.github-stats {
    background: #0a0a0a;
    position: relative;
    border-top: 1px solid rgba(165, 180, 252, 0.1);
}

.github-card {
    background: #0d0d0d;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid rgba(165, 180, 252, 0.1);
}

.github-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(165, 180, 252, 0.2);
    border-color: rgba(165, 180, 252, 0.3);
}

.github-card img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.github-stats .section-title {
    color: var(--primary-color);
}

.github-stats .btn-primary {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* 6. Journey Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: #000000;
    border: 4px solid #a5b4fc;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px #0a0a0a, 0 0 0 8px rgba(165, 180, 252, 0.3);
}

.timeline-content {
    background: #0d0d0d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: calc(50% - 40px);
    position: relative;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-content h4 {
    color: #a5b4fc;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #b0b0b0;
}

/* 7. Enhanced Project Cards */
.project-img-wrapper {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 31, 68, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badges .badge {
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    color: #000000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
}

/* 8. Testimonials/Reviews Section */
.review-form-card {
    border: 2px solid rgba(165, 180, 252, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.review-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(165, 180, 252, 0.1), transparent);
    transition: 0.5s;
}

.review-form-card:hover::before {
    left: 100%;
}

.review-form-card:hover {
    border-color: #a5b4fc;
    box-shadow: 0 15px 50px rgba(165, 180, 252, 0.4) !important;
    transform: translateY(-5px);
}

.review-form-card .text-center i {
    animation: pulse 2s infinite;
}

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

.rating-input {
    flex-wrap: wrap;
}

.review-form-card h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-form-card .form-label {
    color: #e5e5e5;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-form-card .form-label::before {
    content: '●';
    color: #a5b4fc;
    font-size: 0.5rem;
}

.review-form-card .form-control,
.review-form-card .form-select {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(165, 180, 252, 0.2);
    color: #e5e5e5;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.review-form-card .form-control::placeholder {
    color: rgba(229, 229, 229, 0.4);
}

.review-form-card .form-control:focus,
.review-form-card .form-select:focus {
    background: #1a1a1a;
    border-color: #a5b4fc;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.1);
    transform: translateY(-2px);
}

.review-form-card .form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a5b4fc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.review-form-card .text-muted {
    color: #b0b0b0 !important;
    font-size: 0.85rem;
}

.review-form-card .text-muted i {
    color: #a5b4fc;
}

.review-form-card .btn-primary {
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    border: none;
    box-shadow: 0 5px 20px rgba(165, 180, 252, 0.3);
    transition: all 0.3s ease;
}

.review-form-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(165, 180, 252, 0.5);
}

.rating-input .btn-outline-warning {
    border: 2px solid rgba(255, 193, 7, 0.3);
    color: #FFC107;
    background: rgba(255, 193, 7, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.rating-input .btn-outline-warning:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.rating-input .btn-check:checked + .btn-outline-warning {
    background: linear-gradient(135deg, #FFC107, #FFB300);
    border-color: #FFC107;
    color: #000000;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.5);
    transform: scale(1.05);
}

/* 9. Contact Form Enhancements */
.contact-form {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(165, 180, 252, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.contact-form:hover {
    border-color: #a5b4fc;
    box-shadow: 0 15px 50px rgba(165, 180, 252, 0.3);
    transform: translateY(-5px);
}

.contact-form .form-label {
    color: #e5e5e5;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .form-label::before {
    content: '●';
    color: #a5b4fc;
    font-size: 0.5rem;
}

.contact-form .form-control {
    background: rgba(10, 10, 10, 0.8) !important;
    border: 2px solid rgba(165, 180, 252, 0.2) !important;
    color: #e5e5e5 !important;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .form-control::-webkit-input-placeholder {
    color: rgba(229, 229, 229, 0.3) !important;
}

.contact-form .form-control:-moz-placeholder {
    color: rgba(229, 229, 229, 0.3) !important;
}

.contact-form .form-control::-moz-placeholder {
    color: rgba(229, 229, 229, 0.3) !important;
}

.contact-form .form-control:-ms-input-placeholder {
    color: rgba(229, 229, 229, 0.3) !important;
}

.contact-form .form-control::placeholder {
    color: rgba(229, 229, 229, 0.3);
}

.contact-form .form-control:focus {
    background: #1a1a1a !important;
    border-color: #a5b4fc !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(165, 180, 252, 0.1);
    transform: translateY(-2px);
}

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

.contact-form .btn-primary {
    background: linear-gradient(135deg, #a5b4fc, #6b7fcc);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(165, 180, 252, 0.5);
}

.contact-form .btn-primary .button-text,
.contact-form .btn-primary .spinner-border {
    position: relative;
    z-index: 1;
}

#form-status {
    border-radius: 10px;
    animation: slideInUp 0.5s ease;
    font-weight: 500;
}

#form-status.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border-left: 4px solid #28a745;
    color: #4ade80;
}

#form-status.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-left: 4px solid #ef4444;
    color: #f87171;
}

#reviewSuccess {
    border-left: 4px solid #28a745;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Cards */
.contact .col-md-4 {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact .col-md-4:hover {
    transform: translateY(-10px);
}

.contact .col-md-4 i {
    transition: all 0.3s ease;
    color: #a5b4fc;
}

.contact .col-md-4:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #6b7fcc;
}

.contact .col-md-4 p {
    color: #e5e5e5;
    font-weight: 500;
    margin-top: 0.5rem;
}

.testimonial-card {
    background: #0d0d0d;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(165, 180, 252, 0.3);
    border-color: #a5b4fc;
}

.stars {
    color: #FFC107;
}

.testimonial-text {
    font-style: italic;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* 9. Contact Form Enhancements */
.contact-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(10, 31, 68, 0.1);
}

.contact-form .form-control.is-valid {
    border-color: #10b981;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.contact-form .form-control.is-invalid {
    border-color: #ef4444;
}

/* Success Confetti Animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    z-index: 9999;
    animation: confetti-fall 3s linear forwards;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .tech-item i {
        font-size: 2.5rem;
    }
}