body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* FIXED NAVBAR STYLES */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1400; /* Higher than default */
    background:transparent;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
}


.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.584);
    backdrop-filter: blur(6px);
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}


/* SCROLL MARGINS FOR SECTIONS */
section {
    scroll-margin-top: 100px; /* Prevent anchor links from hiding behind navbar */
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: white !important;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.hero {
    background: url('hero1.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 2; /* Make sure text is above the overlay */
}



.hero h1 {
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: #7e3ff2;
    border-color: #7e3ff2;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #6931cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline-light {
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

html {
    scroll-behavior: smooth;
}
/* Add these at the bottom of your CSS file */

/* Section padding for non-hero sections */
#about, #projects, #contact {
    padding: 120px 0;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Adjust section padding for mobile */
@media (max-width: 768px) {
    #about, #projects, #contact {
        padding: 100px 0;
        min-height: auto;
    }
}

/* Timeline styles */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #7e3ff2;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #7e3ff2;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #7e3ff2;
}

/* Skill badges */
.skill-badge {
    display: inline-block;
    background: rgba(126, 63, 242, 0.1);
    color: #7e3ff2;
    padding: 5px 15px;
    border-radius: 30px;
    margin: 0 5px 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Project card styles */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-tag {
    display: inline-block;
    background: rgba(126, 63, 242, 0.1);
    color: #7e3ff2;
    padding: 3px 10px;
    border-radius: 30px;
    margin: 0 5px 5px 0;
    font-size: 0.8rem;
}

/* Contact info styles */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(126, 63, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #7e3ff2;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(126, 63, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #7e3ff2;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7e3ff2;
    color: white;
    transform: translateY(-3px);
}
.text-purple {
    color: #7e3ff2 !important;
}
.btn-outline-purple {
    border: 2px solid #7e3ff2;
    color: #7e3ff2;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background: #7e3ff2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem auto;
        max-width: 300px;
    }
    
    section {
        scroll-margin-top: 70px;
    }

}

/* Blog Section Styles */
.blogs {
    background-color: #f8f9fa;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

/* Work Section Styles */
.work-content {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-showcase {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

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

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

/* Services Section Styles */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(126, 63, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-features .badge {
    margin: 0 5px 5px 0;
    font-weight: 500;
}
/* Blog Section Styles */
.blogs {
    background-color: #f8f9fa;
    overflow: hidden;
}

.blog-slider-container {
    padding: 0 50px;
}

.blog-slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    will-change: transform;
}


.blog-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
}

.blog-slider-arrow {
    background: rgba(126, 63, 242, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-slider-arrow:hover {
    background: #7e3ff2;
    transform: scale(1.1);
}

.blog-slider-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}
.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* optional */
}

.product-img {
    max-width: 75%;
    max-height: 100%;
    object-fit: contain; /* show full image */
    display: block;
}
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
    color: #6c757d;
}
@media (max-width: 768px) {
    .navbar {
        background-color: #000 !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .navbar.scrolled {
        background-color: #000 !important;
        backdrop-filter: none !important;
    }
}
@media (max-width: 768px) {
    .blog-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .blog-slider-container {
        padding: 0 15px;
    }
}
.blog-spacer {
    flex: 0 0 32px;
    min-width: 32px;
    max-width: 32px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .blog-spacer {
        flex: 0 0 20px;
        min-width: 20px;
        max-width: 20px;
    }
}
.project-card img {
    height: 300px;
    width: 100%;
}
.hero.d-flex.align-items-center {
  padding-top: 100px !important;
}
