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


body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #fff;
    /*background: #1a1a2e; */
}

/* Navbar */
.navbar {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgb(71, 81, 146);
}
.mobile-menu-btn {
    display: none;
}

.logo-img {
    width: 70px;
    height: 70px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: black;
    text-decoration: none;
}

.dropdown {
    position: relative;
}


/* Hero Section */
.hero {
    min-height: 80vh;
    background-image: url('../IMAGES/developer-portfolio.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 43, 94, 0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: #fff;
    color: #2b2b5e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
}

.background-wrapper{
    position: relative;
    width: 100%;
    background: linear-gradient(35deg,#1a1a2e 0%,#2b2b5e 100%);
}

.background{
    position: relative;
    z-index: 2; 
    background: url('../IMAGES/background.png')repeat;
    background-size: cover;
    background-attachment:fixed; 
}

.portfolio-hero {
    min-height: 60vh;
    background-image: url('../IMAGES/developer-portfolio.jpg');
}

.services-section {
    padding: 4rem 10%;
    text-align: center;
   /* background: linear-gradient(135deg, #1f1f4e 0%, #2d2d7a 100%); */
   background: none;
}

.section-title {
    color: white;
    font-size: 32px;
    margin: 60px 0 40px;
}

.service-item {
    margin-bottom: 60px;
}

.service-item h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.project-card {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: white;
}

.image-carousel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.project-card:hover {
    transform: translateY(-5px);
}

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

.project-info {
    padding: 1.5rem;
    background: rgba(43, 43, 94, 0.9);
    color: #fff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: 2rem auto;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.image-info {
    color: #fff;
    padding: 1rem;
    margin-top: 1rem;
}

/* Fullscreen Modal Styles */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
}

.fullscreen-modal .modal-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-modal .modal-image {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}


.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    z-index: 1001;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

.footer {
    /*background: #2b2b5e;*/
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-services a,
.footer-contact a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

#footerHeading{
    color: black;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.prev { left: 15px; }
.next { right: 15px; }


/* Responsive Design */
@media (max-width: 768px) {
    /* Responsive Design */

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 250px;
        height: 100vh;
        background-color: rgba(71, 81, 146, 1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 99;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        display: block;
        margin: 10px 0;
        padding: 10px;
    }

    


    
     .dropdown-menu {
        position: static; /* Change from absolute to static */
        width: 100%;
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
    }
    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 3px;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .services-container {
        flex-direction: column;
    }

    .services-list {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .nav-btn {
        padding: 0.5rem;
        font-size: 18px;
    }
    html {
        scroll-behavior: smooth;
    }
