/* Basic Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000; /* Background color black */
    color: #f08080; /* Primary text color dark pink */
    direction: ltr; /* For English language (Left-to-Right) */
    text-align: left; /* Align text to the left */
}

/* General Layout */
.content-section {
    width: 85%; /* Slightly increased width for sections */
    margin: 40px auto;
    padding: 30px;
    background-color: #1a1a1a; /* Content section background color (slightly darker black) */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




.section-title {
    color: #ff69b4; /* Vibrant pink for main section titles */
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    padding-bottom: 10px;
    border-bottom: 2px solid #f08080; /* Elegant bottom border */
    display: inline-block; /* To make the bottom border span only the text width */
    width: auto; /* To make the bottom border span only the text width */
}

h1, h2, h3 {
    color: #ff69b4; /* Vibrant pink for headings */
    margin-bottom: 20px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
}

a {
    color: #87cefa; /* Light blue for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: #000;
    color: #ff69b4;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f08080; /* Dark pink bottom border */
    position: sticky; /* Make header sticky on scroll */
    top: 0;
    z-index: 1000; /* Ensure it appears above content */
}

header .logo img {
    height: 60px; /* Logo size */
    margin-left: 20px; /* Margin on the left for LTR */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 20px; /* Margin on the right for LTR */
}

nav ul li {
    margin-right: 25px; /* Space between list items */
}

nav ul li a {
    color: #f08080;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ff69b4;
    color: #000;
}

/* Hero Section - Slider */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero section */
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents slides from shrinking */
}

.slide img {
    width: 25%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area without distortion */
    opacity: 0.7; /* Make text more visible over image */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* White text color on slides */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
    padding: 25px 40px;
    border-radius: 10px;
    max-width: 90%;
}

.slide-content h2 {
    color: #ff69b4;
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slide-content p {
    font-size: 1.8em;
    margin-bottom: 0;
    color: #f08080;
}

.prev-button, .next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 105, 180, 0.7); /* Transparent vibrant pink */
    color: #000; /* Button text color black */
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 2.5em;
    border-radius: 50%;
    z-index: 100;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 60px; /* Fixed size for circular buttons */
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.prev-button:hover, .next-button:hover {
    background-color: #ff69b4; /* Vibrant pink without transparency on hover */
    transform: translateY(-50%) scale(1.1);
}

.prev-button {
    left: 20px; /* Previous button on the left in LTR */
}

.next-button {
    right: 20px; /* Next button on the right in LTR */
}

/* About Us Section */
.about-section {
    background-color: #000; /* Black background */
    color: #f08080; /* Dark pink text */
    padding: 80px 0; /* Large inner spacing */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    .about-section::before {
    content: "";
    background-image: url('http://googleusercontent.com/image_collection/image_retrieval/8627223502699020135'); /* استخدم هذا الرابط الجديد هنا */
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* للحفاظ على الشفافية */
    z-index: 0;
}
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Slight transparency for background image */
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1; /* To place content above the transparent background image */
    width: 70%;
    margin: 0 auto;
    background-color: rgba(26, 26, 26, 0.8); /* Semi-transparent background for text content */
    padding: 30px;
    border-radius: 10px;
}

.about-content .tagline {
    font-size: 1.8em;
    color: #ff69b4; /* Vibrant pink */
    margin-bottom: 10px;
    font-weight: bold;
}

.about-content .section-title {
    color: #f08080; /* Dark pink */
    font-size: 2.2em;
    margin-top: 0;
    border-bottom: none; /* Remove bottom border here */
}
.about-content p {
    font-size: 1.1em;
    color: #ccc; /* Slightly lighter color for text */
    text-align: justify; /* Justify text */
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.service-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333; /* Light border */
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 105, 180, 0.3); /* Pink shadow on hover */
}

.service-item .icon-container {
    font-size: 3em;
    color: #ff69b4; /* Icons in vibrant pink */
    margin-bottom: 20px;
}

.service-item h3 {
    color: #f08080; /* Service titles in dark pink */
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-item p {
    color: #ccc; /* Service text in light gray */
    font-size: 0.95em;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.testimonial-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ff69b4; /* Pink border for image */
}

.testimonial-item h3 {
    color: #f08080;
    margin-bottom: 10px;
}

.testimonial-item p {
    font-style: italic;
    color: #ccc;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.testimonial-item cite {
    display: block;
    font-size: 0.85em;
    color: #aaa;
    margin-bottom: 15px;
}

.testimonial-item .more-button {
    background-color: #ff69b4;
    color: #000;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.testimonial-item .more-button:hover {
    background-color: #f08080;
}


/* Gallery Section */
.gallery-grid img {
    width: 100%;
    height: 250px; /* Fixed height for gallery images */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Contact Us Form */
.contact-section {
    text-align: center;
    color: #ccc;
}

.form-group {
    margin-bottom: 15px;
    text-align: left; /* Align to the left for form fields */
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #f08080;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: calc(100% - 20px); /* Keep it wide for longer fields */
    padding: 12px;
    border: 1px solid #f08080; /* Dark pink border */
    background-color: #333; /* Input field background */
    color: #fff; /* Input field text color */
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width calculation */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff69b4; /* Vibrant pink on focus */
    box-shadow: 0 0 5px rgba(255, 105, 180, 0.5);
}

button[type="submit"] {
    background-color: #ff69b4; /* Submit button vibrant pink */
    color: #000; /* Button text black */
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #f08080; /* Dark pink on hover */
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000;
    color: #f08080;
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #f08080;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-section {
        width: 90%;
        padding: 20px;
    }
    .about-content {
        width: 90%;
    }
    .slide-content h2 {
        font-size: 2.5em;
    }
    .slide-content p {
        font-size: 1.2em;
    }
    .prev-button, .next-button {
        font-size: 2em;
        padding: 12px;
        width: 50px;
        height: 50px;
    }
    /* Make form fields full width on smaller screens */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        width: calc(100% - 10px); /* Adjusting width for padding */
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0; /* Adjust for LTR */
        margin-top: 15px;
    }
    nav ul li {
        margin: 10px 0;
    }
    .hero-section {
        height: 450px;
    }
    .slide-content h2 {
        font-size: 2em;
    }
    .slide-content p {
        font-size: 1em;
    }
    .prev-button, .next-button {
        font-size: 1.5em;
        padding: 10px;
        width: 40px;
        height: 40px;
    }
    .section-title {
        font-size: 2em;
    }
    .about-content .tagline {
        font-size: 1.5em;
    }
    .about-content .section-title {
        font-size: 1.8em;
    }
    .about-content p {
        font-size: 1em;
    }
    .service-item, .testimonial-item {
        padding: 20px;
    }
    .form-group input, .form-group textarea {
        width: calc(100% - 10px);
    }
}

@media (max-width: 480px) {
    header .logo img {
        height: 50px;
    }
    nav ul li a {
        font-size: 0.9em;
    }
    .hero-section {
        height: 300px;
    }
    .slide-content {
        padding: 15px 20px;
    }
    .slide-content h2 {
        font-size: 1.5em;
    }
    .slide-content p {
        font-size: 0.8em;
    }
    .prev-button, .next-button {
        padding: 8px;
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .service-item .icon-container {
        font-size: 2.5em;
    }
    .service-item h3 {
        font-size: 1.3em;
    }
    .testimonial-item img {
        width: 80px;
        height: 80px;
    }
    button[type="submit"] {
        padding: 10px 20px;
        font-size: 1em;
    }
}