:root {
    --dark-green: #1a472a;
    --medium-green: #2d5a3c;
    --light-green: #3d6b4f;
    --accent-color: #4caf50;
    --text-color: #ffffff;
    --light-text: #f0f0f0;
}

.footer-section {
    background: var(--footer-bg, var(--dark-green, #1a472a)) !important;
    border-top: 3px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 3rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 2rem 0 !important;
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.footer-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0.05) 100%) !important;
    pointer-events: none !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-section h3,
.footer-section h5 {
    color: var(--text-color) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 0.5rem !important;
}

.footer-section p,
.footer-section small {
    color: var(--light-text) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.8rem !important;
}

.footer-links a {
    position: relative !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 0 !important;
    font-size: 0.95rem !important;
    color: var(--light-text) !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
    font-weight: 500 !important;
}

.footer-links a:hover {
    color: var(--text-color) !important;
    transform: translateX(-5px) !important;
}

.footer-links a::before {
    content: "›" !important;
    margin-left: 0.5rem !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
}

.footer-links a:hover::before {
    transform: translateX(-3px) !important;
    opacity: 1 !important;
}

.btn-social {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 1.1rem !important;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFFFFF;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-social.facebook:hover { color: #3b5998 !important; }
.btn-social.twitter:hover { color: #1da1f2 !important; }
.btn-social.instagram:hover { color: #e4405f !important; }
.btn-social.linkedin:hover { color: #0077b5 !important; }
.btn-social.youtube:hover { color: #ff0000 !important; }

.footer-logo {
    height: 50px !important;
    filter: brightness(1.1) !important;
    transition: all 0.3s ease !important;
}

.footer-logo:hover {
    transform: scale(1.05) !important;
}

.scroll-top-btn {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
}

.scroll-top-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.copyright-section {
    background: rgba(0, 0, 0, 0.2) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1rem 0 !important;
    margin-top: 2rem !important;
}

.copyright-section p {
    color: var(--light-text) !important;
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    opacity: 0.9 !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.footer-grid-wide {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    border-left: 3px solid var(--accent-color) !important;
}

.contact-info i {
    color: var(--accent-color) !important;
    margin-left: 0.5rem !important;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.slogan-text {
    font-size: 1rem;
    color: var(--light-text);
    opacity: 0.9;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-grid-wide {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-section h3,
    .footer-section h5 {
        font-size: 1.1rem !important;
    }

    .footer-links a {
        font-size: 0.9rem !important;
    }

    .btn-social {
        width: 40px !important;
        height: 40px !important;
    }

    .footer-logo {
        height: 45px !important;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid-wide {
        grid-template-columns: 1fr !important;
    }
}
