﻿:root {
    --primary-green-co: #089f1a;
    --primary-blue: #1976d2;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: 80px;
    /* نفس ارتفاع القائمة العلوية */
}


/* Footer Styles */

.footer {
    background-color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-column h3 {
    color: var(--primary-green-co);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-column p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-green-co);
    padding-right: 0.5rem;
}

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

.social-links a {
    color: var(--primary-green-co);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.copyright .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.copyright .logo-img {
    height: 60px;
    width: auto;
}

.copyright p {
    color: #666;
    margin: 0;
}


/* WhatsApp Button */

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
}


/* Footer Bottom Section */

.footer-bottom {
    background: #0f1f2e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    flex: 1;
    text-align: right;
}

.footer-copyright p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-logo {
    flex: 0 0 auto;
    text-align: center;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(1) invert(0);
    transform: scale(1.05);
}

.footer-developer {
    flex: 1;
    text-align: left;
}

.footer-developer p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.footer-developer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-developer a:hover {
    color: #81C784;
    text-decoration: underline;
}


/* Responsive Design */

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    .footer-grid {
        gap: 2rem;
    }
    .footer-column h3 {
        font-size: 1.3rem;
    }
    .copyright .logo-img {
        height: 50px;
    }
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .main-content {
        padding-top: 56px !important;
    }
    /* Footer Bottom Responsive */
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-copyright,
    .footer-developer {
        flex: none;
        text-align: center;
    }
    .footer-logo-img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    .footer-grid {
        gap: 1.5rem;
    }
    .footer-column h3 {
        font-size: 1.2rem;
    }
    .copyright .logo-img {
        height: 40px;
    }
    .whatsapp-button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 1rem;
        left: 1rem;
    }
    .footer-bottom {
        padding: 1rem 0;
    }
    .footer-bottom-content {
        padding: 0 1rem;
        gap: 1rem;
    }
    .footer-copyright p,
    .footer-developer p {
        font-size: 0.8rem;
    }
    .footer-logo-img {
        height: 40px;
    }
}


/* Payment Logos Images in Footer */

.payments-images-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.payment-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.5) brightness(0.95);
    transition: filter 0.3s, transform 0.3s;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 4px 12px;
}

.payment-logo-img:hover {
    filter: grayscale(0) brightness(1.1) drop-shadow(0 2px 8px #1976d2aa);
    transform: scale(1.07);
}

@media (max-width: 600px) {
    .payments-images-logo {
        gap: 1rem;
    }
    .payment-logo-img {
        height: 28px;
        padding: 2px 6px;
    }
}


/* Footer Bottom Bar */

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0f1f2e;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-bar p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
    flex: 1;
}

.copyright-text {
    text-align: right;
}

.developer-info {
    text-align: left;
}

.developer-info a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.developer-info a:hover {
    color: #81C784;
}

.footer-bar-logo {
    flex-shrink: 0;
}

.footer-bar-logo img {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-bar-logo:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }
    .copyright-text,
    .developer-info {
        text-align: center;
        flex-basis: auto;
    }
    .copyright-text {
        order: 2;
    }
    .developer-info {
        order: 3;
    }
    .footer-bar-logo {
        order: 1;
    }
    .footer-bar-logo img {
        height: 45px;
    }
}


/* Newsletter Separate Section */

.newsletter-separate {
    margin-bottom: 4rem;
    margin-top: 2rem;
    background: none !important;
}

@media (max-width: 768px) {
    .newsletter-separate {
        margin-bottom: 2.5rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .newsletter-separate {
        margin-bottom: 1.5rem;
        margin-top: 1rem;
    }
}


/* Newsletter Contact Section - Like Contact Section */

.newsletter-contact-section {
    padding: 4.5rem 0 3.5rem 0;
    background: none;
    display: flex;
    justify-content: center;
}

.newsletter-contact-content {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.10);
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    border: 1.5px solid #e0e0e0;
}

.newsletter-contact-icon-lg {
    width: 90px;
    height: 90px;
    background: #2E7D32;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
    margin: 0 auto 1.7rem auto;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.10);
}

.newsletter-contact-title-lg {
    font-size: 2.3rem;
    color: #2E7D32;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.newsletter-contact-lead-lg {
    color: #388e3c;
    font-size: 1.18rem;
    margin-bottom: 2.2rem;
    font-weight: 500;
    line-height: 1.8;
}

.newsletter-contact-form-lg {
    margin-bottom: 0.5rem;
}

.newsletter-contact-form-lg .row {
    align-items: stretch;
}

.newsletter-contact-input-lg {
    font-size: 1.15rem;
    padding: 1.1rem 1.5rem;
    border-radius: 50px;
    border: 1.5px solid #2E7D32;
    background: #fff;
    color: #222;
    transition: border 0.2s;
    height: 100%;
    min-height: 56px;
    box-sizing: border-box;
}

.newsletter-contact-input-lg:focus {
    outline: none;
    border: 1.5px solid #388e3c;
}

.newsletter-contact-btn-lg {
    background: #2E7D32;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.10);
    height: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-contact-btn-lg:hover {
    background: #fff;
    color: #2E7D32;
    border: 1.5px solid #2E7D32;
}

@media (max-width: 768px) {
    .newsletter-contact-content {
        padding: 2rem 0.7rem 1.5rem 0.7rem;
        max-width: 98vw;
    }
    .newsletter-contact-title-lg {
        font-size: 1.5rem;
    }
    .newsletter-contact-lead-lg {
        font-size: 1rem;
    }
    .newsletter-contact-icon-lg {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .newsletter-contact-btn-lg,
    .newsletter-contact-input-lg {
        min-height: 48px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .newsletter-contact-content {
        padding: 1.2rem 0.2rem 1rem 0.2rem;
    }
    .newsletter-contact-title-lg {
        font-size: 1.1rem;
    }
    .newsletter-contact-lead-lg {
        font-size: 0.95rem;
    }
    .newsletter-contact-icon-lg {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .newsletter-contact-form-lg .row {
        flex-direction: column;
    }
    .newsletter-contact-form-lg .col-md-8,
    .newsletter-contact-form-lg .col-md-4 {
        width: 100%;
        max-width: 100%;
    }
    .newsletter-contact-btn-lg,
    .newsletter-contact-input-lg {
        min-height: 44px;
        font-size: 0.97rem;
    }
}


/* Newsletter Compact Section */

.newsletter-compact-section {
    padding: 3.5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.newsletter-compact-title {
    color: var(--primary-green, #2E7D32);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
}

.newsletter-compact-desc {
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-compact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    margin: 0 auto;
    gap: 0;
    /* No gap for seamless look */
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
}

.newsletter-compact-input {
    flex-grow: 1;
    border: none;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    min-width: 200px;
}

.newsletter-compact-input:focus {
    outline: none;
}

.newsletter-compact-btn {
    background: var(--primary-green, #2E7D32);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    border-left: 1px solid #fff;
    /* Separator */
}

.newsletter-compact-btn:hover {
    background-color: var(--primary-blue, #1976d2);
}

@media (max-width: 576px) {
    .newsletter-compact-form {
        flex-direction: column;
        border-radius: 15px;
        gap: 0.75rem;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .newsletter-compact-input,
    .newsletter-compact-btn {
        width: 100%;
        border-radius: 50px !important;
        border: 1px solid #ddd;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
}


/* Newsletter Compact Standalone Section */

.newsletter-compact-standalone {
    padding: 2.5rem 0 2.5rem 0;
    background: none;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.newsletter-compact-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(46, 125, 50, 0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 370px;
    margin: 0 auto;
    text-align: center;
    border: 1.5px solid #e0e0e0;
}

.newsletter-compact-icon {
    width: 48px;
    height: 48px;
    background: #2E7D32;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.10);
}

.newsletter-compact-title {
    font-size: 1.15rem;
    color: #2E7D32;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.newsletter-compact-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.newsletter-compact-input {
    flex: 1;
    border: 1.5px solid #2E7D32;
    border-radius: 50px;
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border 0.2s;
}

.newsletter-compact-input:focus {
    outline: none;
    border: 1.5px solid #388e3c;
}

.newsletter-compact-btn {
    background: #2E7D32;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.10);
}

.newsletter-compact-btn:hover {
    background: #fff;
    color: #2E7D32;
    border: 1.5px solid #2E7D32;
}

@media (max-width: 600px) {
    .newsletter-compact-box {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        max-width: 98vw;
    }
    .newsletter-compact-form {
        flex-direction: column;
        gap: 0.7rem;
    }
    .newsletter-compact-input,
    .newsletter-compact-btn {
        width: 100%;
        border-radius: 50px;
    }
}

.newsletter-compact-guide {
    color: #388e3c;
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
    margin-top: -0.5rem;
    font-weight: 500;
    line-height: 1.7;
}

.newsletter-compact-box-lg {
    max-width: 500px;
    padding: 2.7rem 2rem 2.2rem 2rem;
}

.newsletter-compact-icon-lg {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
}

.newsletter-compact-title-lg {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.newsletter-compact-form-lg {
    margin-bottom: 1.5rem;
}

.newsletter-compact-input-lg {
    font-size: 1.15rem;
    padding: 0.9rem 1.5rem;
}

.newsletter-compact-btn-lg {
    font-size: 1.15rem;
    padding: 0.9rem 2.2rem;
}

.newsletter-compact-guide-lg {
    font-size: 1.08rem;
    color: #388e3c;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.8;
}