/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #020024 0%, #090979 35%, #00d4ff 100%);
    padding: 0px 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
}
/* Blinking effect for Registration button */
.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    50% {
        color: #c6542a; /* Change to desired blink color */
        text-shadow: 0 0 10px #c06b41, 0 0 20px #efeceb, 0 0 30px #eb1212, 0 0 40px #e61818;
    }
}

/* NAVBAR UL */
.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between; /* Distributes items evenly */
    width: 100%; /* Makes the nav full width */
    margin: 0 0px; /* Adjust margin to fit nicely within page */
}

/* EACH LIST ITEM TAKES EQUAL SPACE */
.navbar li {
    flex-grow: 5; /* Ensures all items grow equally */
    text-align: center; /* Centers text inside each list item */
}

/* TEXT WITH GLOWING HOVER EFFECT */
.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    display: block;
    padding: 0px 0;
    transition: color 0.10s ease;
    text-transform: uppercase;
}

/* UNDERLINE EFFECT ON HOVER */
.navbar a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 0;
    background-color: #8ccce5;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.navbar a:hover:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover {
    color: #fff700;
    text-shadow: 0 0 10px #fff700, 0 0 20px #ff8b00, 0 0 30px #ff8b00, 0 0 40px #ff8000;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 2px;
    }
    
    .navbar a {
        font-size: 6px;
    }
}

/* Hero Section */
.hero {
    background-image: url('Img/pixelcut-export (1).jpeg'); /* Ensure this path is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90%;
   
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
   /* Full viewport height */
    color: white;
    padding: 20px;
}

.hero-content {
    position: relative; /* Keeps content in the foreground */
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Footer Styling */
.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #1e3629;
    color: #c1d9d7;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 0.3em 2em;
    font-weight: 800px;
}

.footer-left, .footer-center, .footer-right {
    flex: 1 1 30%;
    min-width: 200px;
}

.footer a {
    color: #c6e85d; /* Amber link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffd700; /* Gold hover color */
}

.footer p {
    margin: 0.5em 0;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    padding-top: 0em;
    border-top: 1px solid #f1efef;
    margin-top: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-center, .footer-right {
        width: 100%;
        padding: 0.5em 0;
    }
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #FFD7C4, #b4e4ef);
    height: 100vh;
    overflow-y: auto;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 18px;
}

.navbar .login-buttons button {
    background: #cfd6de;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    transition: background 0.3s ease;
}

.navbar .login-buttons button:hover {
    background: #f2f3f4;
    color: white;
}

/* Form Container */
.container {
    width: 70%;
    max-width: 800px;
    margin: 50px auto;
    background: rgba(228, 220, 220, 0.811);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(247, 246, 246, 0.918);
    backdrop-filter: blur(10px);
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
    
}

label {
    display: block;
    font-size: 20px;
    font-family: 'Times New Roman', 'Times New Roman', Times, serif;
    letter-spacing: -0.8px;
    word-spacing: 0.6px;
    margin-bottom: 10px;
    color: rgba(10, 10, 10, 0.929);
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(240, 238, 238, 0.873);
    color: rgb(9, 9, 9);
    font-family: 'Times New Roman', 'Times New Roman', Times, serif;
    font-size: 18px;
    margin-top: 5px;
    transition: background 0.3s;
}

input:focus, textarea:focus {
    background: rgba(217, 214, 214, 0.929);
    outline: none;

}

button {
    width: 100%;
    padding: 15px;
    background: #0984e3;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #74b9ff;
}
/* Additional Styling for Forms */
.age-group input {
    width: 30%;
    margin-right: 10px;
}

textarea, select {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(18, 17, 17, 0.884);
    border: none;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 400;
    border-radius: 8px;
    padding: 12px;
    margin-top: 5px;
    transition: background 0.3s;
}

textarea:focus, select:focus {
    background: rgba(230, 227, 227, 0.904);
    outline: none;
}
/* Reset and Font */
* {
    background-color: 6A9C89;
    margin: 10;
    padding: 10;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* About Section Styling */
.about {
    background-color: 6A9C89;
    padding: 60px 20px;
    text-align: center;
    margin-top: 10px; /* Slight overlap with the parallax section */
    animation: fadeIn 1.5s ease-out;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    color: #dad5d5;
}

.about h2, .about h3 {
    color: #030303;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease forwards;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.about h3 {
    font-size: 4em;
    margin: 30px 0 10px;
    animation-delay: 0.5s;
}

.about p {
    font-size: 1.1em;
    color: #424445ef;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease forwards;
    animation-delay: 0.2s;
}

/* Keyframe Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Announcement Slider Styling */
.announcement-slider {
    background: linear-gradient(to right, #f1dcd1, #9decec);
    background-color: #9decec; /* Red background */
    color: rgb(20, 20, 20);
    font-weight: bold;
    padding: 2px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    z-index: 10;
    display: flex;
    align-items: center;
}

.announcement-slider p {
    display: inline-block;
    white-space: nowrap;
    font-size: 1.2rem;
    animation: scrollText 20s linear infinite;
    padding-left: 100%; /* Start the text from outside the screen */
}

/* Keyframes for scrolling text */
@keyframes scrollText {
    100% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-90%);
    }
}



