* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 22px;
    color: #333;
    display: flex;
    align-items: center;
}

.logo i {
    color: #007bff;
    margin-right: 8px;
}

.auth-buttons {
    display: flex;
    gap: 8px;
}

.auth-buttons .btn {
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-primary {
    background: #007bff;
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
}

/* Hero Section */
.hero {
    height: 100vh; /* Ensures full viewport height */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/remote\ 1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect for larger screens */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px; /* Adds space below fixed header */
}

.hero-content {
    max-width: 700px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.auth-container h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.auth-footer a {
    color: #007bff;
    text-decoration: none;
}

/* Responsive Design */

/* Laptops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        height: 100vh; /* Maintain full height */
        padding-top: 70px; /* Adjust for smaller header */
    }

    .hero-content h1 {
        font-size: 32px;
    }

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

    .modal-content {
        max-width: 90%;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 12px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .auth-buttons {
        gap: 6px;
    }

    .auth-buttons .btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .hero {
        height: 100vh; /* Maintain full height */
        background-attachment: scroll; /* Avoid fixed background issues */
        padding-top: 60px; /* Adjust for header height */
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Small Devices (Android Phones, 480px and below) */
@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 8px 12px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .auth-buttons {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .auth-buttons .btn {
        flex: 1;
        padding: 8px;
        font-size: 12px;
    }

    .hero {
        height: 100vh; /* Ensure full viewport height */
        background-size: cover;
        background-position: center;
        padding-top: 80px; /* Space for header */
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .btn-lg {
        padding: 8px 16px;
        font-size: 13px;
    }

    .modal-content {
        margin: 20px auto;
        padding: 15px;
        max-width: 95%;
    }

    .auth-container h2 {
        font-size: 20px;
    }

    .form-group input {
        padding: 8px;
        font-size: 13px;
    }

    .btn-block {
        padding: 10px;
        font-size: 14px;
    }
}