/* 1. General Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Smooth scroll for browsers that support it natively */
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0b;
    color: #fff;
    line-height: 1.6;
    /* 2. Fade-in on Load Animation */
    opacity: 0;
    animation: fadeInPage 1.8s ease-out forwards;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Navigation & Logo Badge */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100px;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* background: #fff; White badge for the logo */
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-3d {
    height: 150px;
    width: auto;
    object-fit: contain;
    transform: rotateY(-10deg);
    transition: all 0.4s ease;
}

.logo-3d:hover {
    transform: rotateY(0deg) scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li { 
    margin-left: 30px; 
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* 4. Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}



#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}




.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(10,10,11,0.7),
        rgba(10,10,11,0.9)
    );
    z-index: -1;
}

@media (max-width:768px){
    .hero{
        height: 100dvh;
    }
}



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    max-height: 200px;
    margin-top: 500px;
    padding: 0 20px;
}


/* Reduced size for the main tagline */
.hero-content h1 {
    font-size: 2.5rem; 
    margin-bottom: 15px;
    line-height: 1.2;
}

.top-tagline {
    font-size: 0.50rem;
    letter-spacing: 3px;
    color: #00d4ff;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.highlight { color: #00d4ff; }

.btn-secondary {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 25px;
    border: 2px solid #00d4ff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.4s;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #000;
}

/* 5. Services Section */
.services {
    padding: 120px 10% 80px 10%; 
    text-align: center;
    background-color: #0a0a0b;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #16161a;
    padding: 40px;
    border-radius: 10px;
    border-bottom: 4px solid #00d4ff;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* 6. Mobile Adjustments */
@media (max-width: 768px) {
    .hero { 
        padding-top: 100px; 
    }
    
    .hero-content h1 { 
        font-size: 2rem; 
    }

    #hero-video { 
        width: 95%; 
        max-height: 40vh; 
    }

    .navbar {
        padding: 0 5%; 
        height: 70px;
    }

    .nav-links { 
        display: flex; 
        gap: 15px; 
    }

    .nav-links li { 
        margin-left: 0; 
    }

    .nav-links a {
        font-size: 0.7rem; 
    }

    .logo-container {
        padding: 5px 10px; 
    }

    .logo-3d {
        height: 30px;
    }
}