/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /* background: linear-gradient(135deg, #f786ca 0%, #f0f7fa 100%); */
    /* background-image: url(Images/back/back\ \ \(2\).jpg);
    background-size: cover; */
    color: #333;
    overflow-x: hidden;
    
}

header {
    width: 100%;
    background-image: url(Images/back/back\ \ \(4\).jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header .wt {
    color: rgb(0, 0, 0);
    margin-top: -15px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.ayat {
    font-size: 40px;
}

.mw {
    font-size: 37px;
    color: #333;
    margin-top: -20px;
    white-space: nowrap;
    position: absolute;
    width: 100%;
    color: rgb(255, 25, 0);
    animation: moveCentreLeftRight 10s linear infinite;
}

@keyframes moveCentreLeftRight {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5%); }
    50% { transform: translateX(0); }
    75% { transform: translateX(5%); }
    100% { transform: translateX(0); }
}
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: black;
}


.contact-form {
    max-width: 90%; /* Adjusted for smaller screens */
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form p {
    font-size: 1.1em;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.form-group textarea {
    resize: vertical;
    min-height: 150px; /* Ensures textarea is usable on mobile */
}

button {
    width: 100%;
    padding: 12px; /* Larger padding for better touch targets */
    background-color: #cc3263;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #a82a52;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    border-top: 1px solid #e9ecef;
    color: white;
}

.social-links {
    margin-top: 10px;
}

.social-icon {
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em; /* Smaller heading for mobile */
    }

    nav ul {
        flex-direction: column; /* Stack navigation links vertically */
        gap: 10px;
    }

    nav ul li a {
        font-size: 1.1em; /* Slightly larger for easier tapping */
    }

    .contact-form {
        padding: 15px;
        max-width: 100%; /* Full width on small screens */
    }

    .contact-form h2 {
        font-size: 1.8em; /* Smaller heading for mobile */
    }

    .contact-form p {
        font-size: 1em; /* Smaller text for mobile */
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9em; /* Smaller font size for inputs */
    }

    button {
        font-size: 1em; /* Smaller button text for mobile */
    }

    footer p {
        font-size: 0.9em; /* Smaller footer text for mobile */
    }

    .social-links a {
        margin: 0 5px; /* Reduce spacing between social icons */
    }
}