body {
    background-color: #0a0a0c;
    color: #f8fafc;
    overflow-x: hidden;
}

.parallax-container {
    position: relative;
    overflow: hidden;
}

/* Optimized Parallax Layer */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for scroll movement */
    z-index: -1;
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: brightness(0.4);
}

#hero-bg {
    background-image: url('../images/hero/bannerprinicpal.png');
}

#coverage-bg {
    background-image: url('../images/cases/screen.png');
    transform: scale(1.1);
}

#contact-bg {
    background-image: url('../images/backgrounds/footer.png');
    filter: brightness(0.8);
}

.carbon-pattern {
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

/* Gradient Overlays */
.overlay-vignette {
    background: radial-gradient(circle, transparent 20%, rgba(10, 10, 12, 0.8) 100%);
}

@media (max-width: 768px) {
    .parallax-bg {
        height: 100% !important;
        transform: none !important;
        background-position: center right 25% !important;
        /* Focus on the subject */
    }
}

.glass-card {
    background: rgb(10 10 65 / 60%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: #0d6cf2;
    transform: translateY(-5px);
    background: rgba(28, 28, 36, 0.8);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d6cf2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Hero Responsive Height */
.hero-section {
    height: 100vh;
    min-height: 600px;
}

@media (max-width: 640px) {
    .hero-section {
        height: auto;
        min-height: 80vh;
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

/* Animated Blob */
.blob-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 44/40;
    margin: 0 auto;
}

.blob-wrapper {
    height: 100%;
    width: 100%;
    clip-path: url('#blob');
    animation: rotateRight 15s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blob-img {
    height: 125%;
    width: 125%;
    object-fit: cover;
    object-position: center;
    animation: rotateLeft 15s linear infinite;
}

@keyframes rotateRight {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateLeft {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}