/* General Styles */
:root {
    --primary-color: #FFB800;
    --secondary-color: #FFD700;
    --dark-color: #1A1A1A;
    --darker-color: #000000;
    --light-color: #FFFFFF;
    --accent-color: #FFB800;
    --gradient-start: rgba(255, 184, 0, 0.8);
    --gradient-end: rgba(255, 215, 0, 0.8);
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --card-bg: rgba(26, 26, 26, 0.95);
    --gold-gradient: linear-gradient(45deg, #FFB800, #FFD700);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow-x: hidden;
    background-color: var(--darker-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

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

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Navigation */
.navbar {
    background: rgba(18, 18, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(18, 18, 18, 0.98) !important;
    height: 70px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--light-color) !important;
}

.nav-link::after {
    background: var(--primary-color);
}

@media (max-width: 991px) {
    .navbar {
        height: auto;
        padding: 0.5rem 0;
    }

    .navbar.scrolled {
        height: auto;
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background: rgba(18, 18, 18, 0.98);
        padding: 0.75rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1964&q=80') 
        no-repeat center center/cover;
    color: white;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.8));
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 1s ease-out;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-buttons {
    animation: fadeIn 1s ease-out 1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: center;
    }

    .hero-buttons .btn + .btn {
        margin-top: 0.9rem;
    }
}

/* About Section */
#about {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

#about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

#about .row {
    --bs-gutter-x: 2rem;
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
}

#about .row > [class*='col-'] {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

#about .position-relative {
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    margin-bottom: 2rem;
}

#about .about-text {
    padding: 1rem;
}

#about img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.5s ease;
    filter: grayscale(0.2) contrast(1.1);
}

#about img:hover {
    transform: scale(1.02);
    filter: grayscale(0) contrast(1.2);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

/* Skills Section */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.5s ease;
    border-radius: 16px;
    overflow: hidden;
    color: var(--light-color);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.card:hover i {
    transform: scale(1.2) rotate(360deg);
}


/* Projects Section */
.project-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 500px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 10rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/background.jpg') center/cover;
    opacity: 0.05;
}

.project-header .section-title {
    padding-top: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #FFB800, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 2s ease-in-out infinite alternate;
    line-height: 1.2;
}

.project-header .section-title::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFB800, #FFD700, #FFB800);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 2px;
}

.project-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #FFB800;
    border-radius: 2px;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 184, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.8));
    }
}

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

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

.header-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.header-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-image img {
    transition: transform 0.3s ease;
}

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

.project-categories {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.project-categories .nav-pills {
    gap: 1rem;
}

.project-categories .nav-link {
    color: var(--light-color);
    border: 1px solid var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-categories .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-categories .nav-link:hover::before,
.project-categories .nav-link.active::before {
    opacity: 1;
}

.project-categories .nav-link:hover,
.project-categories .nav-link.active {
    color: var(--dark-color);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dark-color);
    border: 1px solid rgba(255, 184, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    padding-top: 66.67%; /* Maintain 3:2 aspect ratio for all images */
    overflow: hidden;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.project-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-card .card-text {
    flex-grow: 1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-links {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.project-links .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-stack .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: var(--gold-gradient);
    color: var(--dark-color);
    border-radius: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .project-card .card-title {
        font-size: 1.1rem;
    }
    
    .project-card .card-text {
        font-size: 0.9rem;
    }
    
    .tech-stack .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-links .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact-form {
    position: relative;
    z-index: 1;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
}

.contact-info-card {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info .info-item {
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

.contact-info .info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-info-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(18, 18, 18, 0.7);
    color: var(--light-color);
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    border-color: var(--secondary-color);
    background: rgba(18, 18, 18, 0.9);
}

.form-floating label {
    padding: 1rem;
    color: var(--light-color);
}

.form-floating > textarea.form-control {
    height: 200px;
    resize: none;
}

/* Add this to ensure the row has equal height columns */
.row.contact-row {
    display: flex;
    flex-wrap: wrap;
}

.row.contact-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 576px) {
    .contact-card .card-body {
        padding: 1.75rem 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    #contactForm .form-floating {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 2rem;
        height: auto;
    }
    
    .contact-info .info-item {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info-card .card-title {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .form-floating > textarea.form-control {
        height: 150px;
    }
}

/* Social Links */
.social-links {
    padding-top: 1rem;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    margin: 0 1.5rem;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
}

.social-links a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .social-links {
        padding-top: 0.75rem;
    }
    
    .social-links a {
        font-size: 1.6rem;
        margin: 0 1rem;
    }
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.btn-primary {
    background: var(--gold-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: var(--text-dark);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
    background: linear-gradient(45deg, #FFD700, #FFB800);
    color: var(--text-dark);
}

.btn-outline-light {
    border-width: 2px;
    position: relative;
    z-index: 1;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Additional Styles for New Features */

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse-wrapper {
    display: block;
    text-decoration: none;
}

.mouse {
    width: 26px;
    height: 46px;
    border: 2px solid #fff;
    border-radius: 13px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    animation: mouseWheel 1.5s infinite;
}

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

/* Experience Badge */
.experience-badge {
    position: absolute;
    top: -25px;
    right: -25px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 184, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

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

/* Skill Progress Bars */
.skill-progress {
    margin-top: 2rem;
}

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

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

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

.progress-bar {
    background: var(--gold-gradient);
    position: relative;
    overflow: hidden;
}

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

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

/* Project Cards */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 184, 0, 0.9),
        rgba(26, 26, 26, 0.95)
    );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

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

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

/* Contact Info Card */
.contact-info-card {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.form-floating {
    position: relative;
}

.form-floating .form-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    z-index: 2;
}

.form-floating textarea ~ .form-icon {
    top: 2rem;
}

.form-floating .form-control:focus ~ .form-icon {
    color: var(--secondary-color);
}

.form-floating .form-control {
    padding-right: 3rem;
}

.text-center i {
    vertical-align: middle;
    position: relative;
    display: inline-flex;
    align-items: center;
}


@media (max-width: 768px) {
    .form-floating .form-icon {
        font-size: 1.1rem;
        right: 0.8rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .project-header {
        padding: 100px 0 40px;
    }

    .project-header .section-title {
        font-size: 2rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 767px) {
    .project-header {
        padding: 80px 0 30px;
    }

    .project-header .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-color);
        color: var(--light-color);
    }

    .card {
        background: rgba(18, 18, 18, 0.9);
    }

    .form-control {
        background: rgba(18, 18, 18, 0.7);
        color: var(--light-color);
    }

    .form-control:focus {
        background: rgba(18, 18, 18, 0.9);
        color: var(--light-color);
    }

    .progress {
        background-color: rgba(255, 255, 255, 0.05);
    }

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

/* Additional Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.card:hover i {
    transform: scale(1.2) rotate(360deg);
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-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));
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 0.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Resume Section */
#resume {
    position: relative;
    background: #000000;
    padding: 6rem 0;
    overflow: hidden;
}

#resume::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 184, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.resume-card {
    position: relative;
    z-index: 1;
    background: rgba(18, 18, 18, 0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.resume-preview {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.resume-preview img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resume-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 215, 0, 0.9),
        rgba(30, 144, 255, 0.9)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.resume-preview:hover .resume-overlay {
    opacity: 1;
}

.resume-preview:hover img {
    transform: scale(1.1);
}

.resume-actions {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.resume-preview:hover .resume-actions {
    transform: translateY(0);
}

/* Make resume buttons align and same width on mobile */
@media (max-width: 576px) {
    .resume-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .resume-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.resume-info {
    padding: 2rem;
    color: var(--light-color);
}

.highlight-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.highlight-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.highlight-item p {
    margin-bottom: 0;
    color: var(--light-color);
}

/* Add to existing media queries */
@media (max-width: 768px) {
    .resume-preview img {
        height: 300px;
    }
    
    .resume-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Section backgrounds */
.bg-light {
    background-color: var(--dark-color) !important;
}

.bg-dark {
    background-color: var(--darker-color) !important;
}

/* Contact Info Card */
.contact-info-card {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.contact-info-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info .info-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info .info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-info .info-item h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info .info-item p {
    color: var(--light-color);
    font-size: 0.95rem;
}

.contact-info .info-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .info-item a:hover {
    color: var(--primary-color) !important;
}


.footer-contact {
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-color);
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 2rem;
    }
    
    .contact-info .info-item {
        padding: 0.8rem;
    }
    
    .contact-info .info-item h4 {
        font-size: 1rem;
    }
    
    .contact-info .info-item p {
        font-size: 0.9rem;
    }
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Professional Journey Section */
#experience {
    position: relative;
    background-image: url('./assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-y;
    overflow: hidden;
    padding: 6rem 0;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.timeline-item {
    background: rgba(18, 18, 18, 0.97);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.15);
}

/* Remove the pattern from timeline items */
.timeline-item::before {
    display: none;
}

/* Adjust the timeline dot */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: var(--darker-color);
    top: 2.5rem;
    left: -26px;
    transition: all 0.4s ease;
}

.timeline-item:hover::after {
    background: var(--primary-color);
    transform: scale(1.2);
}

.timeline-content {
    position: relative;
}

.timeline-content .date {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    background: rgba(255, 184, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .date {
    background: var(--gold-gradient);
    color: var(--dark-color);
    transform: translateX(5px);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.timeline-item:hover h3 {
    transform: translateX(5px);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.timeline-content .company {
    font-size: 1.1rem;
    color: var(--light-color);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .company {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.timeline-content .location {
    color: var(--light-color);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .location {
    transform: translateX(5px);
    opacity: 1;
}

.timeline-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timeline-details .badge {
    padding: 0.4rem 1rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-details .badge:hover {
    background: var(--gold-gradient);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.2);
}

@media (max-width: 768px) {
    .timeline {
        padding: 1rem;
    }

    .timeline-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content .company {
        font-size: 1rem;
    }

    .timeline-content .date {
        font-size: 0.9rem;
    }

    .timeline-details .badge {
        font-size: 0.85rem;
    }
}

/* Add a subtle animation for the cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.8s;
}

.timeline-item:nth-child(6) {
    animation-delay: 1s;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 1rem;
}

.contact-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
}

@media (max-width: 768px) {
    .contact-social-icons {
        gap: 2rem;
    }
    
    .contact-social-icons a {
        font-size: 2rem;
    }
}

.submit-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--gold-gradient);
    border: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.3);
    background: linear-gradient(45deg, #FFD700, #FFB800);
    color: var(--text-dark);
}

.submit-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.submit-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .submit-btn {
        padding: 0.8rem 2.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .submit-btn i {
        font-size: 1rem;
    }
}

/* Projects Page Styles */
.project-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.project-row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
    position: relative;
    z-index: 2;
}

.project-col {
    flex: 0 0 calc(33.333% - 2rem);
    margin: 1rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .project-col {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .project-col {
        flex: 0 0 calc(100% - 2rem);
    }
    
    .project-header {
        padding-top: 100px;
    }
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dark-color);
    border: 1px solid rgba(255, 184, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.project-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 184, 0, 0.1);
}

.project-info {
    text-align: center;
    color: var(--light-color);
    padding: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h5 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.project-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.tech-stack .badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-stack .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .project-categories .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .project-image img {
        height: 200px;
    }

    .project-info h5 {
        font-size: 1.1rem;
    }

    .project-info p {
        font-size: 0.85rem;
    }

    .tech-stack .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .project-categories .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

    .project-categories .nav-item {
        flex: 1 1 100%;
    }

    .project-categories .nav-link {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        text-align: center;
        white-space: normal;
    }
}

.project-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    width: 100%;
    margin: 0.5rem auto;
    opacity: 1;
    visibility: visible;
}

.project-card .btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1;
    margin: 0;
    vertical-align: middle;
}

.project-card .btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

.project-card:nth-child(4) {
    animation-delay: 0.6s;
}

.project-card:nth-child(5) {
    animation-delay: 0.8s;
}

.project-card:nth-child(6) {
    animation-delay: 1s;
}

/* Gallery Styles */
.gallery-section {
    margin-top: 5rem;
    background-color: var(--dark-color);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-info h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.gallery-info p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--light-color);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
}

.lb-data .lb-details {
    width: 100%;
    text-align: center;
}

.lb-closeContainer {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-info h5 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.85rem;
    }
}

/* Gallery Header Styles */
.project-header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 120px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/background.jpg') center/cover;
    opacity: 0.05;
}

.project-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #FFB800, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 2s ease-in-out infinite alternate;
    line-height: 1.2;
}

.project-header .section-title::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFB800, #FFD700, #FFB800);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 2px;
}

.project-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #FFB800;
    border-radius: 2px;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 184, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.8));
    }
}

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

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

.header-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.header-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-image img {
    transition: transform 0.3s ease;
}

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

/* Gallery Filter Buttons */
.gallery-filters {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
}

/* Gallery Section Styles */
.gallery-section {
    background: #1a1a1a;
    padding: 4rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.gallery-info h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .project-header {
        padding: 100px 0 40px;
    }

    .project-header .section-title {
        font-size: 2rem;
        letter-spacing: 0.8px;
    }

    .header-stats {
        margin-top: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .header-image {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .project-header {
        padding: 80px 0 30px;
    }

    .project-header .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .header-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
} 
