/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal overflow */
    box-sizing: border-box;
}

/* Header Styles */
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); }
}

/* Navigation Styles */
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;
}

/* Hero Section */
.hero {
    border-radius: 50px;
    height: 470px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    object-fit: cover;
}

/* Content Section */
.content {
    padding: 20px;
    margin: 20px;
    background-color: rgb(220, 220, 220);
    border-radius: 8px;
    text-align: center;
}

.content h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.content p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.image-gallery a img {
    width: 230px;
    height: 300px;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery a:hover img {
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Overview */
.services-overview {
    padding: 20px;
    margin: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    text-align: center;
}

.services-overview h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.services-overview .service img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.services-overview .service img:hover {
    transform: scale(1.05);
}

.services-overview .service h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.services-overview .service p {
    font-size: 1em;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.testimonials .testimonial {
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Call to Action Section */
.cta {
    background-image: url(Images/back/back\ \ \(3\).jpg);
    background-size: cover;
    background-position: bottom;
    text-align: center;
    padding: 50px 20px;
    color: white;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta .cta-button {
    background-color: white;
    color: #4CAF50;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.cta .cta-button:hover {
    background-color: #e0f7fa;
    color: #333;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    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) {
    .hero {
        height: auto;
    }

    .hero img {
        height: auto;
    }

    .mw {
        font-size: 28px;
    }

    .ayat {
        font-size: 29px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .content, .services-overview, .testimonials {
        margin: 10px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mw {
        font-size: 24px;
    }

    .ayat {
        font-size: 22px;
    }

    .hero img {
        height: 250px;
    }

    .cta h2 {
        font-size: 2em;
    }

    .cta p {
        font-size: 1em;
    }
}