.temple-banners-container {
    display: flex;
    justify-content: center;
  gap:20px !important;
    margin-bottom: 20px;
    font-family: "Marcellus", Sans-serif !important;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    height: 152px; /* Fixed height for all banners */
}

.temple-banners-container .banner-left,
.temple-banners-container .banner-center,
.temple-banners-container .banner-right {
    flex: 0 0 25%; /* Left and right banners */
    max-width: 25%; /* Left and right banners */
    height: 100%; /* Ensures all banners match the container height */
    position: relative;
    overflow: hidden;
}

.temple-banners-container .banner-center {
    flex: 0 0 50%; /* Center banner takes 50% width */
    max-width: 50%; /* Center banner takes 50% width */
}

.temple-banners-container a {
    display: block;
    width: 100%;
    height: 100%; /* Ensures the anchor fills the container */
    text-decoration: none;
}

.temple-banners-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px !important;
    object-fit: fill;
   
    transition: transform 0.3s ease;
    font-family: "Marcellus", Sans-serif !important;
}

.temple-banners-container img:hover {
    transform: scale(1.05);
}


/* form */
.temple-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: black !important;
    border-radius: 10px;
    font-family: "Marcellus", Sans-serif !important;
}

.temple-form-container h1 {
    color: #333;
    text-align: center;
    font-size: 50px !important;
    color: black !important;
    margin-bottom: 20px;
    font-family: "Marcellus", Sans-serif !important;
}

.temple-form-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.temple-form-container th,
.temple-form-container td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.temple-form-container label {
    font-family: "Marcellus", Sans-serif !important;
    color: black !important;
    font-size: 17px !important;
}

.temple-form-container h3 {
    font-size: 40px !important;
    font-family: "Marcellus", Sans-serif !important;
    color: black !important;
}

.temple-form-container input[type="text"],
.temple-form-container input[type="email"],
.temple-form-container input[type="tel"],
.temple-form-container input[type="url"],
.temple-form-container textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: "Marcellus", Sans-serif !important;
    font-size: 17px !important;
    color: black !important;
}

.temple-form-container input[type="file"] {
    font-family: "Marcellus", Sans-serif !important;
    font-size: 18px !important;
    color: black !important;
}

.temple-form-container input[type="submit"] {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: "Marcellus", Sans-serif !important;
}

.temple-form-container input[type="submit"]:hover {
    background: #0056b3;
}

.success-popup {
    position: fixed;
    top: 50px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px;
    border-radius: 5px;
    display: none;
    z-index: 99999999 !important;
}

.success-popup.show {
    display: block;
}


@media screen and (max-width: 768px) {
    .temple-banners-container {
        flex-direction: column; /* Stack banners vertically */
        height: auto; /* Remove fixed height to accommodate stacked banners */
        gap: 10px; /* Adjust gap for vertical stacking */
    }

    .temple-banners-container .banner-left,
    .temple-banners-container .banner-center,
    .temple-banners-container .banner-right {
        flex: 0 0 100%; /* Each banner takes full width */
        max-width: 100%; /* Full width for each banner */
       min-height: 153px;
    }

    .temple-banners-container img {
        height: 152px !important; /* Maintain height for images */
        object-fit: fill; /* Ensure images cover the area */
    }

    .temple-form-container {
        padding: 10px; /* Slightly reduce padding for smaller screens */
    }

    .temple-form-container h1 {
        font-size: 36px !important; /* Adjust heading size for mobile */
    }

    .temple-form-container h3 {
        font-size: 28px !important; /* Adjust subheading size for mobile */
    }

    .temple-form-container label,
    .temple-form-container input[type="text"],
    .temple-form-container input[type="email"],
    .temple-form-container input[type="tel"],
    .temple-form-container input[type="url"],
    .temple-form-container textarea,
    .temple-form-container input[type="file"] {
        font-size: 16px !important; /* Slightly smaller font size for mobile */
    }

    .temple-form-container input[type="submit"] {
        padding: 8px 16px; /* Slightly smaller padding for submit button */
    }

    .success-popup {
        top: 20px; /* Adjust position for mobile */
        right: 10px;
        padding: 10px;
        font-size: 14px; /* Smaller font for mobile */
    }
}

