*{
    margin: 0px;
    padding: 0px;
    font-family:Arial, Helvetica, sans-serif;
    border: 0;
    outline: 0;
    box-sizing: border-box;
   

}


.main-nav {
    background-color: rgba(71, 166, 221, 0.9);
    width: 100%;
    padding: 15px 0;
    margin-bottom: 20px;
    
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    font-family: 'Dancing Script', cursive;
}

nav ul{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Dancing Script', cursive;
}

nav ul li {
    list-style-type: none;
    font-family: 'Dancing Script', cursive;
    text-decoration: none;
}

nav {
    width: 90%;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;

}
.nav-link {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
    transition: background-color 0.3s ease;
    font-family: 'Dancing Script', cursive;
    

}

.nav-link:hover {
    background-color: rgba(173, 216, 230, 0.5);
    border-radius: 10px;
}

.nav-menu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    width: 90%;
}


.nav-link::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after{
    width: 80%;
}



.nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hamburger {
    display: none;
    background-color: rgba(71, 166, 221, 0.9);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.hamburger-container {
    display: none;
}

.close-menu {
    display: none;
}

.social-links {
    display: flex;
   justify-content: flex-start;
   gap: 15px;
   margin-right: 0px;
   margin-left: 20px;

}

.social-link {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background-color: rgba(173, 216, 230, 0.5);
    border-radius: 50%;
    transform: scale(1.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 90%;
}

.nav-menu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    width: 90%;
}

.main-nav li {
    margin: 0 20px;
}

.nav-link {
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    position: relative;
    transition: background-color 0.3s ease;
    font-family: 'Dancing Script', cursive;
}

.nav-link:hover {
    background-color: rgba(173, 216, 230, 0.5);
    border-radius: 10px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

header {
    background-image: url('../images1/IMG_2854[1].jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 60vh;
    width: 100%;

}

.prayer-form-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: gold; 
    border-radius: 10px;
    text-align: center;
    font-family: 'Dancing Script', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); 
}

.prayer-form-section h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 30px;
   border-bottom: 3px double black;
}

.prayer-form-section p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 40px;
}

.prayer-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
    
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    border-top: 2px solid black;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    resize: vertical;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    
}

.form-group textarea {
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-size: 1.2rem;
}

.submit-button {
    background-color: white;
    color: black;
    padding: 10px 10px;
    font-size: 1.6rem;
    font-family: 'Dancing Script', cursive;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
   
}

.submit-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    transform: scale(1.05);
}

.main-card {
    width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: gold;
    border-radius: 10px;
    text-align: center;
    font-family: 'Dancing Script', cursive;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-card h1 {
    font-size: 2.5rem;
    color: #47a6dd;
    margin-bottom: 10px;
}

.main-card p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

.testimonials-section {
    width: 90%;
    margin: 40px auto;
    text-align: center;
    margin-top: 200px;
}

.testimonials-section h2 {
    font-size: 4rem;
    color: #47a6dd;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 2rem;
    color: #47a6dd;
    font-family: 'Dancing Script', cursive;
    text-align: right;
}

.amen-section {
    width: 100%;
    background-color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.amen-section h2 {
    font-size: 3rem;
    color: gold;
    font-family: 'Grenze Gotisch', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

figure {
    background-color: gold;
    max-height: 300px;
   

}
figure img {
    display: block;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    max-height: 500px;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    margin-bottom: 100px;
    border: 8px double white;

}


@media (max-width: 768px) {
    .prayer-form-section {
        margin: 20px;
        padding: 15px;
    }

    .prayer-form-section h1 {
        font-size: 2rem;
    }

    .prayer-form-section p {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-button {
        font-size: 1.2rem;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 10px 0;
        justify-content: flex-start;
    }

    .hamburger-container {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 101;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60vh;
        background-color: rgba(71, 166, 221, 0.9);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        justify-content: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: gold;
        color: black;
        border-radius: 10px;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1rem;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .close-menu:hover {
        transform: scale(1.1);
    }

    .social-links {
        margin: 10px 0;
        justify-content: center;
    }

    .social-link {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav li {
        margen: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 10px;
        color: black;
        display: block;
    }

    .nav-link:hover {
        background-color: gold;
    }

     .contact-footer {
                margin-left: 10px;
                margin-top: 5px;
            }
            .contact-footer h2 {
                font-size: 1.5rem;
            }

            .contact-footer p {
                font-size: 0.9rem;

            }
}

@media (max-width: 768px) {
    .prayer-form-section {
      
        margin: 20px;
        padding: 15px;
    }

    .prayer-form-section h1 {
        font-size: 2rem;
    }

    .prayer-form-section p {
        font-size: 1rem;
    }

    .form-group label {
        font-size: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
    }

    .submit-button {
        font-size: 1.2rem;
        padding: 8px 15px;
    }

    .main-card {
        margin: 20px;
        padding: 15px;
    }

    .main-card h1 {
        font-size: 2rem;
    }

    .main-card p {
        font-size: 1rem;
    }

    .testimonials-section {
        margin: 20px;
    }

    .testimonials-section h2 {
        font-size: 1.8rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
    }

    .amen-section h2 {
        font-size: 2rem;
    }

    .main-nav {
        padding: 10px 0;
        justify-content: flex-start;
    }

 .hamburger-container {
        display: block;
        position: absolute;
        top: 50%; 
        right: 20px;  
        z-index: 101;
    }

    .hamburger {
        
        background-color: rgba(71, 166, 221, 0.9);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
        font-size: 1.5rem;
       
        
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60vh;
        background-color: rgba(71, 166, 221, 0.9);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        justify-content: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: gold;
        color: black;
        border-radius: 10px;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1rem;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .close-menu:hover {
        transform: scale(1.1);
    }

    .social-links {
        margin: 10px 0;
        justify-content: center;
    }

    .social-link {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 10px;
        color: black;
        display: block;
    }

    .nav-link:hover {
        background-color: gold;
    }
}

@media (max-width: 1024px) {
    /* Tablet-specific styles (1024px and below) */
    .nav-link {
        font-size: 1.5rem; /* Shrink nav links */
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .main-card h1 {
        font-size: 2rem; /* Shrink heading */
    }

    .main-card p {
        font-size: 1rem; /* Shrink text */
    }

    .testimonials-section h2 {
        font-size: 3rem; /* Shrink heading */
    }

    .testimonial-text {
        font-size: 0.9rem; /* Shrink text */
    }

    .testimonial-author {
        font-size: 1.5rem; /* Shrink author text */
    }

    .amen-section h2 {
        font-size: 2.5rem; /* Shrink heading */
    }

    figure img {
        max-height: 400px; /* Shrink image for tablets */
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 10px 0;
        justify-content: center; /* Centered navigation */
    }

    .hamburger-container {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 101;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60vh;
        background-color: rgba(71, 166, 221, 0.9);
        flex-direction: column;
        padding: 20px;
        z-index: 1000;
        justify-content: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background-color: gold;
        color: black;
        border-radius: 10px;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 1rem;
        z-index: 1001;
        transition: transform 0.3s ease;
    }

    .close-menu:hover {
        transform: scale(1.1);
    }

    .social-links {
        margin: 10px 0;
        justify-content: center;
    }

    .social-link {
        width: 30px;
        height: 30px;
        margin: 0 5px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .main-nav li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid white;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.2rem; /* Further shrink nav links */
        padding: 10px;
        color: black;
        display: block;
    }

    .nav-link:hover {
        background-color: gold;
    }

    .main-card {
        margin: 20px;
        padding: 15px;
    }

    .main-card h1 {
        font-size: 1.5rem; /* Further shrink heading */
    }

    .main-card p {
        font-size: 0.9rem; /* Further shrink text */
    }

    .testimonials-section {
        margin: 20px;
        margin-top: 100px; /* Reduced margin for mobile */
    }

    .testimonials-section h2 {
        font-size: 1.5rem; /* Further shrink heading */
    }

    .testimonials-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-text {
        font-size: 0.8rem; /* Further shrink text */
    }

    .testimonial-author {
        font-size: 0.8rem; /* Further shrink author text */
    }

    .amen-section h2 {
        font-size: 1.8rem; /* Further shrink heading */
    }

    figure img {
        max-height: 250px; /* Further shrink image for mobile */
        max-width: 90%; /* Responsive width */
    }
}