/* Reset */

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

body{
    background:#f5f5f5;
}

/* Registration Page */

.container{
    width:90%;
    max-width:1200px;
    min-height:650px;
    background:white;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,0.2);

    display:flex;
    justify-content:center;
    align-items:center;
}


.register-box{
    width:80%;
    max-width:400px;
    text-align:center;
}

.logo{
    width:180px;
    margin-bottom:20px;
}

.register-box h1{
    color:#8B0000;
    margin-bottom:25px;
    font-size:40px;
}

.register-box input{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:5px;
    margin-bottom:15px;
    font-size:16px;
}

.register-box button{
    width:100%;
    padding:12px;
    background:#8B0000;
    color:white;
    border:none;
    border-radius:5px;
    font-size:18px;
    cursor:pointer;
}

.register-box button:hover{
    background:#a50000;
}

/* Home Page */

header{
    background:#8B0000;
    color:white;
    padding:20px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.home-logo{
    width:120px;
}

.hero{
    background:#8B0000;
    color:white;
    text-align:center;
    padding:50px 20px;
}

.hero h1{
    font-size:45px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
}

.event-grid{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 0 15px rgba(0,0,0,0.15);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    text-align:center;
    padding:15px;
    color:#8B0000;
}

.card a{
    display:block;
    width:150px;
    margin:0 auto 20px;
    text-align:center;
    padding:10px;
    background:#8B0000;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

/* Event Page */

.event-header{
    background:#8B0000;
    color:white;
    text-align:center;
    padding:30px;
}

.gallery{
    width:90%;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

.form-container{
    width:90%;
    max-width:700px;
    margin:30px auto;
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 0 15px rgba(0,0,0,0.15);
}

.form-container h2{
    text-align:center;
    color:#8B0000;
    margin-bottom:20px;
}

.form-container input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:5px;
}

.form-container button{
    width:100%;
    padding:12px;
    background:#8B0000;
    color:white;
    border:none;
    border-radius:5px;
    cursor:pointer;
}

.form-container button:hover{
    background:#a50000;
}
.whatsapp-btn{
background:green;
color:white;
padding:15px 20px;
text-decoration:none;
border-radius:5px;
}

#message{
    text-align:center;
    margin-top:20px;
    color:green;
    font-weight:bold;
}

/* Footer */

footer{
    background:#8B0000;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:50px;
}

footer a{
    color:white;
    text-decoration:none;
    margin:0 15px;
}

/* Mobile */

@media(max-width:768px){

    .container{
        flex-direction:column;
        height:auto;
    }

    .left-section{
        height:250px;
    }

    .hero h1{
        font-size:30px;
    }

    header{
        flex-direction:column;
        gap:15px;
    }

}
