/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Body */
body {
    background-color: #0F172A;
    color: white;
    text-align: center;
}

/* Header */

header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes left and right sections apart */
    padding: 10px 20px; /* Adjust as needed */
    background-color: #0b1120; /* Adjust as per your theme */
  }
  
  .left-section {
    display: flex;
    align-items: center;
  }
  
  .logo-img {
    height: 40px; /* Adjust as needed */
    width: auto;
    margin-right: 10px;
  }
  
  .title {
    font-size: 20px;
    font-weight: bold;
    color: #ffc107; /* Adjust color if needed */
  }
  



/* Register Button */
.register-btn {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(255, 65, 108, 0.4);
}

.register-btn:hover {
    background: linear-gradient(135deg, #FF4B2B, #FF5733);
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(255, 65, 108, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    background: url('/images/background.jpeg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Dark overlay for better readability */
.overlay {
    background: rgba(0, 0, 0, 0.75);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #FACC15;
    text-shadow: 3px 3px 8px rgba(255, 204, 0, 0.7);
    animation: fadeIn 1.5s ease-in-out;
}

.hero-content p {
    font-size: 20px;
    color: #F8F8F8;
    opacity: 0.9;
    animation: fadeIn 2s ease-in-out;
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, #1E90FF, #007AFF);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(30, 144, 255, 0.5);
}

.btn:hover {
    background: linear-gradient(135deg, #007AFF, #0051FF);
    transform: scale(1.05);
    box-shadow: 0px 6px 14px rgba(30, 144, 255, 0.7);
}

/* Floating Marquee */
.marquee {
    font-size: 18px;
    font-weight: bold;
    color: #FACC15;
    background: rgba(255, 204, 0, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    animation: fadeIn 2s ease-in-out;
}

/* Scroll Animation for Header */
window.addEventListener("scroll", function() {
    var header = document.querySelector("header");
    header.classList.toggle("scrolled", window.scrollY > 50);
});

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 30px;
    }

    .hero {
        height: 90vh;
    }

    .hero-content {
        width: 90%;
    }

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

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

    .btn {
        padding: 12px 20px;
        font-size: 16px;
        width: 80%;
        margin: auto;
    }

    .logo {
        font-size: 22px;
    }
}
