.hero img {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
    display: block;
}

.gradient-effect {
    height: 30px;
    background: linear-gradient(to bottom, #111111 0%, rgb(218, 30, 30) 50%, #0D0D0D 100%);
    position: relative;
    overflow: hidden;
}

.gradient-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    opacity: 0; /* hidden until active */
}

/* Only animate when active */
.gradient-effect.active::after {
    animation: shimmer 4s linear forwards;
    opacity: 1;
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
}


body h1, h2, h4, p {
    color: #C7C7C7;
}

.about-novacraft {
    margin: 0;
    background-color: #0D0D0D;
    /* padding: 60px 20px; */
}

.about-novacraft p {
    line-height: 1.75;
    margin-bottom: 28px;
}

.about-novacraft h2 {
    color: #D8D8D8;
    letter-spacing: 0.5px;
}


.cta-section button {
    align-items: center;
    padding: auto;
}
 
.footer p {
    margin: 0;
    text-align: center;
    background-color: #0D0D0D;
    color: #C7C7C7;
    padding: 40px 20px;
}



@media (max-width: 768px) {
    body {
        background-image: url('../global-images/.hero');
    }

    .hero-overlay {
        justify-content: flex-end;
        padding-bottom: 80px;
    }
    
    .gradient-effect {
        height: 10px;
    }
}

.about-novacraft {
    margin: 0 auto;

    background-color: #0D0D0D;
    padding: 80px 20px;
    text-align: center;
}

.about-novacraft h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #E6E6E6;
    letter-spacing: 1px;
}

.about-novacraft p {
    line-height: 1.8;
    margin-bottom: 26px;
    font-size: 1.1rem;
    color: #C7C7C7;
}

.services-section {
    background-color: #0D0D0D;
    padding: 80px 20px;
    text-align: center;
}

.services-section h2 {
    color: #E6E6E6;
    margin-bottom: 50px;
    font-size: 2rem;
    letter-spacing: 1px;
}

.services-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #111;
    border: 1px solid #222;
    border-radius: 10px;
    width: 260px;
    padding: 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #E6E6E6;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card p {
    color: #C7C7C7;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hover effect */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.25);
}

/* DESKTOP NAV (unchanged) */
.sub-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

/* MOBILE STACKED NAV */
@media (max-width: 768px) {
    .sub-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
        width: 100%;
    }

    .sub-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 20px;
        border-bottom: 1px solid rgba(0,255,255,0.2);
    }

    .sub-nav a:last-child {
        border-bottom: none;
    }
}
