:root {
    --primary-green: #006A4E;
    /* Mosque Green */
    --dark-green: #004d36;
    --light-green: #a9dfbf;
    --accent-green: #1abc9c;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --background-light: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

.logo h1 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-links a.active-link {
    color: var(--primary-green) !important;
    font-weight: 700;
    border-bottom: 2.5px solid var(--primary-green);
    transition: color 0.25s, border-bottom 0.25s;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 106, 78, 0.85), rgba(0, 106, 78, 0.85)),
        url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 350px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
    padding: 5rem 1rem;
}

section h2 {
    color: var(--primary-green);
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
    text-align: center;
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    text-align: center;
    font-size: 1.2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.stat i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Sustainability Section */
.sustainability-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sustainability-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--light-green);
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-icon-link,
.footer-link.legal-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.08em;
    font-weight: 500;
    color: var(--text-light);
    background: none !important;
    opacity: 1 !important;
    text-decoration: none;
    padding-bottom: 2px;
    border: none;
    transition: color 0.3s;
}

.contact-icon-link::after {
    display: none !important;
}

.contact-icon-link:hover,
.contact-icon-link:focus {
    color: var(--text-light);
    background: none !important;
    opacity: 1 !important;
    text-decoration: none;
    border: none;
}

.contact-icon-link:hover i,
.contact-icon-link:focus i {
    color: var(--primary-green);
}

.contact-plain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.08em;
    font-weight: 500;
    color: #fff;
    background: none !important;
    opacity: 1 !important;
    text-decoration: none;
    border: none;
    transition: none;
}

.contact-plain-link i {
    color: #fff;
    font-size: 1.15em;
    transition: none;
}

.contact-plain-link:hover,
.contact-plain-link:focus {
    color: #fff;
    background: none !important;
    opacity: 1 !important;
    text-decoration: none;
    border: none;
    animation: none !important;
    transform: none !important;
}

.contact-plain-link:hover i,
.contact-plain-link:focus i {
    color: #fff;
    animation: none !important;
    transform: none !important;
}

/* Footer */
footer {
    background: linear-gradient(120deg, #006A4E 60%, #009e6d 100%);
    color: var(--text-light);
    padding: 4rem 1rem 1rem;
    border-top: 4px solid #004d36;
    box-shadow: 0 0 32px 0 rgba(0, 0, 0, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    padding: 2.5rem 2rem 1.5rem 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 1.1em;
    font-weight: 700;
    opacity: 0.92;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.7em;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s, transform 0.2s, box-shadow 0.2s;
    opacity: 1 !important;
    background: none !important;
    border-radius: 6px;
    padding: 0.1em 0.4em;
}

@keyframes shake {

    10%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    80% {
        transform: translateX(4px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-6px);
    }

    40%,
    60% {
        transform: translateX(6px);
    }
}

.footer-section ul li a:hover,
.footer-link:hover {
    color: #fff !important;
    opacity: 1 !important;
    background: none !important;
    animation: shake 0.4s;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.footer-social a:hover {
    background: none;
    color: #fff !important;
    animation: zoomout 0.38s;
    box-shadow: 0 6px 24px 0 rgba(0, 106, 78, 0.18);
    z-index: 2;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s, transform 0.2s, box-shadow 0.2s;
    opacity: 1 !important;
    background: none !important;
}

.footer-link:hover {
    color: #fff !important;
    opacity: 1 !important;
    background: none !important;
    transform: scale(1.12);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.footer-social a {
    font-size: 2.2em;
    padding: 0.3em 0.5em;
    border-radius: 50%;
    background: none;
    color: var(--text-light);
    transition: color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.2s;
    opacity: 1 !important;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1em;
    opacity: 0.85;
}

.footer-link,
.footer-social a {
    transition: color 0.3s, background 0.3s, transform 0.2s, box-shadow 0.2s;
    opacity: 1 !important;
    background: none !important;
}

.footer-link:hover,
.footer-social a:hover {
    color: #fff !important;
    opacity: 1 !important;
    background: none !important;
    transform: scale(1.18);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.footer-social a:hover.whatsapp-link {
    color: #25D366 !important;
    box-shadow: 0 4px 16px 0 #25D36644;
}

.footer-social a:hover.insta-link {
    color: #E1306C !important;
    box-shadow: 0 4px 16px 0 #E1306C44;
}

.footer-social a:hover.linkedin-link {
    color: #0077b5 !important;
    box-shadow: 0 4px 16px 0 #0077b544;
}

.legal-section {
    background: #f9f9f9;
    color: #2c3e50;
    padding: 2rem 1rem;
    margin: 0 auto;
    max-width: 900px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.legal-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.legal-section a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .sustainability-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 1.5em;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    pointer-events: auto !important;
}

.modal-content {
    background: #fff;
    color: #2c3e50;
    margin: 5% auto;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    text-align: left;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #2c3e50;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem 0.7rem;
        max-width: 95vw;
    }
}

.about-modern {
    padding-right: 1.5em;
}

.about-modern h3 {
    font-size: 1.25em;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #fff;
    margin-bottom: 0.7em;
    text-transform: uppercase;
    opacity: 0.92;
}

.about-mission {
    font-size: 1.13em;
    font-weight: 500;
    margin-bottom: 1.2em;
    color: #e0f2ef;
    line-height: 1.5;
}

.about-link {
    display: inline-block;
    margin-top: 0.2em;
    font-size: 1em;
    font-weight: 600;
    color: #fff;
    border-bottom: 2px solid #fff2;
    letter-spacing: 0.04em;
    transition: color 0.3s, border-color 0.3s, transform 0.2s;
}

.about-link:hover {
    color: #006A4E;
    border-color: #006A4E;
    transform: translateX(4px) scale(1.08);
}

.footer-section {
    min-width: 200px;
}

.footer-section ul li a.legal-link,
.footer-link.legal-link {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
    border-bottom: 2px solid transparent;
}

.footer-section ul li a.legal-link:hover,
.footer-link.legal-link:hover {
    color: #fff !important;
    border-bottom: 2px solid #fff;
    background: none !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Testimonial Section */
.testimonials-section {
    background: #f9f9f9;
    padding: 4rem 1rem 3rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-swiper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 3.5rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    box-sizing: border-box;
}

/* Hide navigation arrows but keep clickable areas */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Add clickable areas on sides */
.testimonial-swiper::before,
.testimonial-swiper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.testimonial-swiper::before {
    left: 0;
}

.testimonial-swiper::after {
    right: 0;
}

/* Smooth transition for slides */
.swiper-slide {
    transition: opacity 0.8s ease, transform 0.8s ease;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0, 106, 78, 0.07);
    margin: 1rem;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 700px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-quote {
    font-size: 1.25em;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 1.5em;
    line-height: 1.7;
}

.testimonial-name {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 0.03em;
}

.testimonial-role {
    display: block;
    color: #6bbfa7;
    font-size: 1em;
    font-weight: 500;
    margin-top: 0.2em;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 1.2rem;
    margin: 0;
    width: auto;
    padding-bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    background: none;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cceee2;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-green);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-swiper {
        padding: 1rem 0;
    }

    .testimonial-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    /* Adjust clickable areas for mobile */
    .testimonial-swiper::before,
    .testimonial-swiper::after {
        width: 25%;
    }

    .swiper-pagination {
        margin-top: 2rem;
    }
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.7em;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.7em;
    font-size: 1.08em;
    transition: color 0.3s;
}

.footer-contact-link:hover .footer-icon-circle {
    background: #fff;
}

.footer-contact-link:hover .footer-icon-circle i {
    color: var(--primary-green);
}

.footer-contact-link .footer-icon-circle i {
    color: #fff;
    transition: color 0.3s;
}

.footer-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1em;
    height: 2.1em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 1.2em;
    transition: background 0.3s, color 0.3s;
}

.legal-modern .footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.7em;
    margin-bottom: 1.2em;
    font-size: 0.98em;
    opacity: 0.85;
}

.footer-legal-divider {
    color: #fff7;
    font-size: 1.1em;
}

.footer-link.legal-link {
    color: #e0f2ef;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.footer-link.legal-link:hover {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
}

.footer-social-modern {
    display: flex;
    align-items: center;
    gap: 0.7em;
    margin-top: 0.5em;
}

.footer-social-label {
    font-size: 0.98em;
    opacity: 0.7;
    margin-right: 0.7em;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 1.3em;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social-icon:hover {
    background: #fff;
    color: var(--primary-green);
    transform: scale(1.13);
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social-icon.whatsapp-link:hover {
    color: #25D366;
}

.footer-social-icon.insta-link:hover {
    color: #E1306C;
}

.footer-social-icon.linkedin-link:hover {
    color: #0077b5;
}

.contact-modern p {
    margin-bottom: 1.1em;
}

.products-section {
    background: #f9f9f9;
    padding: 4rem 1rem 3rem 1rem;
    text-align: center;
}

.products-section h2 {
    /* Remove section-specific h2 styling to avoid duplication */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(0, 106, 78, 0.08);
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s, box-shadow 0.25s;
    min-height: 340px;
}

.product-card img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
    background: #f4f8f7;
}

.product-card h3 {
    color: var(--primary-green);
    font-size: 1.18rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-card p {
    color: #2c3e50;
    font-size: 1.04rem;
    opacity: 0.88;
}

.product-card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(0, 106, 78, 0.13);
}

@media (max-width: 700px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        min-height: 260px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .product-card img {
        width: 100px;
        height: 100px;
    }
}

#contact-form,
#contact-form input,
#contact-form textarea,
#contact-form button {
    pointer-events: auto !important;
    opacity: 1 !important;
    background: initial;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}