body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #00274D;
    color: #fff;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

.logo {
    height: 80px;
    width: 200px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}
nav ul li a:hover{
    background-color: skyblue;
    color: #00274D;
}
nav ul li a.live {
    background-color: red;
    color: #fff;
    border-radius: 5px;
    padding: 8px 15px;
}
.hero {
    text-align: center;
    margin: 20px 0;
}

.hero-image {
    width: 500px;
    height: 500px;
}

.info-section {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
}
.upcoming-events {
    display: grid;
    background-color: beige;
    text-align: center;
    color: #00274D;
    width: 45%;
    box-shadow: 0 0 100px skyblue; 
}
.upcoming-events li p strong{
    color: green;
}
.salat-timings{
    display: grid;
    background-color:beige;
    text-align: center;
    color: #00274D;
    width: 45%;
    box-shadow: 0 0 100px skyblue;
}
.salat-timings li p strong{
    color: red;
}
.quick-links {
    text-align: center;
    margin: 20px 0;
}
.button {
    display: inline-block;
    margin: 10px 5px;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.button.donate {
    background-color: #7B1FA2;
}

.button.renew {
    background-color: #007B83;
}

footer {
    background-color: #00274D;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}
body {
    background-color: white;
    font-family: Arial, sans-serif;
    color: black;
}
.footer {
    display: flex;
    justify-content: space-around;
    background-color: beige;
    color: #00274D;
    padding: 20px;
    border-radius: 10px;
    max-width: 900px;
    margin: 50px auto;
    box-shadow: 0 0 200px skyblue;
}
.footer div {
    flex: 1;
    text-align: center;
}
.footer a {
    display: block;
    text-decoration: none;
    color: #007bff;
    margin: 5px 0;
}
.footer img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.map {
    width: 100%;
    max-width: 200px;
}
/* Responsive Styles */

/* Ensure images scale properly */
img {
    max-width: 100%;
    height: auto;
}

/* Make header responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }
}

/* Responsive Hero Image */
@media (max-width: 768px) {
    .hero-image {
        width: 90%;
        height: auto;
    }
}

/* Make Info Section Responsive */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
        padding: 20px 5%;
    }

    .salat-timings,
    .upcoming-events {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Make Quick Links Responsive */
@media (max-width: 768px) {
    .quick-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 90%;
        max-width: 300px;
        text-align: center;
    }
}

/* Make Footer Responsive */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .footer div {
        width: 100%;
        margin-bottom: 20px;
    }
}
.container {
    width:400px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 100px skyblue;
    border-radius: 8px;
    text-align: center;  /* Centering text and elements */
}

/* Ensure Form is Centered */
form {
    background-color: beige;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 50px skyblue;
    text-align: center;  /* Center form content */
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center align inputs */
    width: 80%; /* Adjust width */
    margin: auto; /* Centering */
}
.error {
    color: red;
}

.success {
    color: green;
}
button {
    margin-top: 20px;
    background: #28a745;
    color: white;
    border: none;
    width: max-content;
    cursor: pointer;
}

button:hover {
    background: #218838;
}
/* Ensure Inputs Are Properly Sized */
form label {
    width: 100%;
    text-align: center; 
}

form input, form select, form textarea {
    width: 100%; /* Ensures input fields take full width */
    max-width: 400px; /* Prevents stretching too much */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.main h2 {
    background-color: skyblue;
    color: #00274D;
    font-size: 65px;
    text-align: center;
    }
.main button{
    background: #28a745;
    color: white;
    width: max-content;
    font-size: 16px;
    cursor: pointer;
}
/* ===============================
   FULL SCREEN CURTAIN
================================ */

#launchScreen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    overflow: hidden;
    background: #111;
}


/* ===============================
   CURTAIN
================================ */

.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 10;

    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.10) 0px,
            rgba(255,255,255,0.02) 12px,
            rgba(0,0,0,0.15) 25px,
            rgba(255,255,255,0.04) 38px
        ),
        #8b101f;

    transition: transform 2s cubic-bezier(.77,0,.18,1);
}

.curtainLeft {
    left: 0;
}

.curtainRight {
    right: 0;
}


/* ===============================
   LAUNCH BUTTON
================================ */

#launchButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 100;

    padding: 16px 45px;

    background: white;
    color: #8b101f;

    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0,0,0,0.3);

    transition: transform 0.3s ease;
}

#launchButton:hover {
    transform: translate(-50%, -50%) scale(1.08);
}


/* ===============================
   OPEN CURTAIN
================================ */

#launchScreen.open .curtainLeft {
    transform: translateX(-100%);
}

#launchScreen.open .curtainRight {
    transform: translateX(100%);
}


/* Hide button after click */

#launchScreen.open #launchButton {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}


/* Remove launch screen */

#launchScreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease;
}


/* ===============================
   MOBILE
================================ */

@media (max-width: 600px) {

    #launchButton {
        padding: 14px 35px;
        font-size: 14px;
    }

}