* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Keeps screen perfectly fixed */
}

body {
    background-image: linear-gradient( 90deg, rgba(1,12,35,0.92) 0%, rgba(1,12,35,0.60) 45%, rgba(1,12,35,0.15) 70%, rgba(1,12,35,0.00) 100% ), url('/images/homepage1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* NAVBAR */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .logo img {
        width: 55px;
    }

    .logo h2 {
        font-size: 28px;
        font-weight: 600;
    }

.nav-links {
    display: flex;
    gap: 35px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        transition: 0.3s;
    }

        .nav-links a:hover {
            color: #61d6ff;
        }

/* MAIN CONTAINER */
.container {
    width: 100%;
    height: 100vh;
    display: flex;
    /* Changed from center to flex-start to pull content back up toward the top */
    align-items: flex-start;
    justify-content: flex-start;
    /* Reduced left padding from 60px to 30px to pull everything closer to the left wall */
    /* Increased top padding slightly to 120px to cleanly clear your absolute navbar */
    padding: 55px 20px 10px 10px;
    overflow: hidden;
}

/* LEFT SECTION */
.left-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    /* Controls the precise gap between your logo, text, cards, and button */
    gap: 35px;
}

/* SMALL LOGO AREA (Made Smaller) */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px; /* Reduced from 45px */
    color: #ffc400;
}

.logo-text {
    font-size: 28px; /* Reduced from 38px */
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-subtitle {
    color: #d7d7d7;
    letter-spacing: 1.5px;
    font-size: 10px; /* Reduced from 12px */
}

/* HERO TEXT (Kept Large & Prominent) */
.hero-text h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 5px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1;
    background: linear-gradient( 90deg, #48a6ff, #71dcff );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.line {
    width: 220px;
    height: 4px;
    background: linear-gradient( 90deg, #48a6ff, #ffc400 );
    border-radius: 50px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 18px;
    color: #ececec;
    line-height: 1.4;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* FEATURE CARDS (Made Tighter & Smaller) */
.features {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.card {
    width: 125px; /* Reduced from 145px */
    height: 125px; /* Reduced from 145px */
    padding: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    flex-shrink: 0;
}

    .card:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,0.10);
    }

.icon {
    font-size: 26px; /* Reduced from 34px */
    margin-bottom: 6px;
}

.card h3 {
    font-size: 14px; /* Reduced from 15px */
    margin-bottom: 2px;
    text-align: center;
}

.card p {
    font-size: 10px; /* Reduced from 11px */
    color: #d6d6d6;
    line-height: 1.2;
    text-align: center;
}

/* LOGIN BUTTON */
.login-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 12px;
    font-size: 16px;
    background: linear-gradient( 90deg, #0066ff, #4fa3ff );
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,102,255,0.28);
    }

@media (max-width: 900px) {
    .navbar {
        padding: 22px 28px;
    }

    .nav-links {
        gap: 20px;
    }

    .container {
        padding: 100px 28px 24px;
    }

    .hero-text h1 {
        font-size: 60px;
    }

    .features {
        flex-wrap: wrap;
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    html,
    body {
        overflow-y: auto;
    }

    .navbar {
        padding: 18px 20px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .container {
        min-height: 100vh;
        height: auto;
        padding: 92px 20px 28px;
    }

    .left-section {
        gap: 28px;
    }

    .hero-text h2 {
        font-size: 26px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .features {
        gap: 10px;
    }

    .card {
        width: calc(50% - 5px);
        height: 116px;
    }
}
