/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    background-color: #fff;
    min-width: 320px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact-link:hover {
    color: #f35821;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: #f35821;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(243, 88, 33, 0.8), rgba(254, 195, 4, 0.8)), url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=1920&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    word-wrap: break-word;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #f35821;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #fec304;
    color: #333;
    transform: translateY(-2px);
}

/* Company Section */
.company-section {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100%;
}

.company-header {
    text-align: center;
    margin-bottom: 3rem;
}

.company-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.company-header h3 {
    font-size: 1.5rem;
    color: #f35821;
    font-weight: 400;
    word-wrap: break-word;
}

.company-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.company-text {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.company-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    word-wrap: break-word;
}

.company-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f35821, #fec304);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-item h4 {
    color: #333;
    font-size: 1.1rem;
    word-wrap: break-word;
}

/* Service Section */
.service-section {
    padding: 80px 0;
    background: #fff;
    width: 100%;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.service-header h3 {
    font-size: 1.5rem;
    color: #f35821;
    font-weight: 400;
    word-wrap: break-word;
}

.service-form {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f35821, #fec304);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(243, 88, 33, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-form h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.service-form p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    word-wrap: break-word;
}

.service-button {
    background: #fff;
    color: #f35821;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-button:hover {
    background: #fec304;
    color: #333;
    transform: translateY(-2px);
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-caption {
    padding: 1rem;
    text-align: center;
}

.gallery-caption h4 {
    color: #333;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.view-all-button {
    background: linear-gradient(135deg, #f35821, #fec304);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    white-space: nowrap;
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 88, 33, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #fff;
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f35821;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: #555;
    line-height: 1.8;
    font-style: italic;
    word-wrap: break-word;
}

.testimonial-author {
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
}

.author-info h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.author-info span {
    color: #f35821;
    font-size: 0.9rem;
    word-wrap: break-word;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
    width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
    word-wrap: break-word;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f35821, #fec304);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #333;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}

.contact-details p {
    color: #666;
    word-wrap: break-word;
}

.contact-button {
    background: linear-gradient(135deg, #f35821, #fec304);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 88, 33, 0.3);
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f35821;
}

.submit-button {
    background: linear-gradient(135deg, #f35821, #fec304);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 88, 33, 0.3);
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    word-wrap: break-word;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
    max-width: 100%;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    word-wrap: break-word;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

.footer-links a:hover {
    color: #fec304;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover {
    background: linear-gradient(135deg, #f35821, #fec304);
    transform: translateY(-3px);
}

.newsletter h5 {
    margin-bottom: 1rem;
    color: #fff;
    word-wrap: break-word;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #f35821, #fec304);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 88, 33, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
    word-wrap: break-word;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f35821, #fec304);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 88, 33, 0.3);
}

.back-to-top.show {
    display: flex;
}

/* Mobile Menu Styles */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    gap: 0;
    width: 100%;
}

.nav-menu.active .nav-link {
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
}

.nav-menu.active .nav-link:last-child {
    border-bottom: none;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .company-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .header-top {
        display: none;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-logo .logo {
        height: 50px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .company-header h2,
    .service-header h2,
    .section-header h2,
    .contact-header h2 {
        font-size: 2rem;
    }

    .company-header h3,
    .service-header h3 {
        font-size: 1.2rem;
    }

    .service-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .company-text,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .company-header h2,
    .service-header h2,
    .section-header h2,
    .contact-header h2 {
        font-size: 1.5rem;
    }

    .company-header h3,
    .service-header h3 {
        font-size: 1rem;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .company-section,
    .service-section,
    .gallery-section,
    .testimonials-section,
    .contact-section {
        padding: 40px 0;
    }

    .company-text,
    .contact-form,
    .contact-info {
        padding: 1rem;
    }

    .service-form {
        padding: 1.5rem;
        margin: 0;
    }

    .feature-item {
        padding: 1rem;
    }

    .testimonial-item {
        padding: 1rem;
    }

    .gallery-item img {
        height: 180px;
    }

    .cta-button,
    .service-button,
    .view-all-button,
    .contact-button,
    .submit-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .newsletter-form input {
        min-width: 150px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .company-header h2,
    .service-header h2,
    .section-header h2,
    .contact-header h2 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 8px;
    }

    .newsletter-form input {
        min-width: 120px;
    }
}