
/* Navbar Styles */
.navbar {padding:5px 25px!important; background-color: #15136d;
    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
}
@supports ((position:-webkit-sticky) or (position:sticky)) {
  .sticky-top {
    position: -webkit-sticky;
    position: sticky!important;
    top: 0!important;
    z-index: 1020;
  }
}

.navbar a{color: #000;text-decoration: none;}
.navbar.scrolled {
    padding: 0.8rem 5%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand img{width:100px;z-index: 1111!important}

/*.logo a img {
    width:28%;
    transition: color 0.3s ease;
}*/

.logo a:hover {
    color: #00a8cc;
    text-shadow: 0 0 10px rgba(0, 168, 204, 0.3);
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff!important;
    text-decoration: none;
    font-size: 13.5px!important;
    transition: all 0.3s ease;
    padding: 0px 0 5px 0px;
    position: relative;margin: 5px auto;
}

.nav-link:hover {
    color: #d4002a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #d4002a;
}

.nav-link.active::after {
    width: 100%;
    background-color: #fff;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}




/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }    .nav-menu {
        position: absolute;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background: #15136d;
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: left!important;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
        gap: 0;
        padding: 2rem 0;
        max-height:600px!important;
        border-radius: 0 0 10px 0;
        overflow-y: auto;
    }    .nav-item {
        margin: 5px 0;
    }

    .nav-menu.active {
        left: 0;
        border-left:3px solid #fff;
    }


@media screen and (max-width: 480px) {
    .navbar {
        padding: 1rem 4%;
    }

    .logo a {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.cont-top{margin-left: 45px!important}

/* Additional padding for sections to account for fixed navbar */
#about, #services, #portfolio, #contact {
    padding-top: 100px; /* Navbar height + some extra space */
}
