

.main-footer {
    background-color: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    direction: rtl; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-bio {
    color: var(--text-sec);
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: #f7f9f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-teal);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-cyan);
    color: #fff;
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 15px;
    color: var(--text-sec);
}

.footer-links a {
    text-decoration: none;
    color: var(--text-sec);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-right: 5px;
}

.footer-contact i {
    color: var(--primary-cyan);
    margin-left: 10px;
}

.footer-bottom {
    position: relative;
    padding: 30px 0 120px 0; 
    text-align: center;
    background: transparent;
    overflow: visible;
    border-top: none;
}

.bottom-content p {
    color: var(--text-sec);
    font-size: 0.95rem;
    font-weight: 800;
    position: relative;
    z-index: 10;
}

.footer-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250%;
    background: linear-gradient(to top, 
        rgba(20, 229, 209, 0.35) 0%,     
        rgba(231, 240, 220, 0.4) 40%,    
        rgba(255, 255, 255, 0.1) 75%,    
        rgba(255, 255, 255, 0) 100%      
    );
    z-index: 1;
    pointer-events: none;
}

.footer-cloud {
    position: absolute;
    bottom: -15px;
    right: -50px;
    width: clamp(250px, 35vw, 500px);
    opacity: 1 !important;
    filter: brightness(1.1) contrast(1.05);
    z-index: 3;
    pointer-events: none;
    pointer-events: none;
    transition: all 0.5s ease;
}

.cloud-right {
    right: -40px;
}

.cloud-left {
    left: -40px;
    right: auto;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-bio { margin: 0 auto 25px auto; }
    .footer-socials { justify-content: center; }
    .footer-cloud {
        width: 180px; 
        bottom: -10px;
    }
    
    .cloud-right { right: -30px; }
    .cloud-left { left: -30px; }
    
    .footer-bottom {
        padding: 40px 0 80px 0;
    }
}