* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF8C00, #FFA500, #FFD700);
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 140, 0, 0.1);
}

.footer-column img {
    max-width: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #FF8C00;
    padding: 5px;
    transition: all 0.5s ease;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
    animation: pulse 2s infinite;
}

.footer-column img:hover {
    transform: rotate(360deg);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #FF8C00;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: #FF8C00;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 100px;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.footer-column ul li:hover {
    transform: translateX(-5px);
}

.footer-column ul li i {
    margin-left: 10px;
    color: #FF8C00;
    width: 20px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 1px;
    background: #FF8C00;
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: #FF8C00;
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a i {
    color: white;
    font-size: 1.2rem;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.2);
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
    position: relative;
}

.copyright::before {
    content: '✿';
    color: #FF8C00;
    margin-left: 5px;
}

.copyright::after {
    content: '✿';
    color: #FF8C00;
    margin-right: 5px;
}

/* Developer Credit Styles */
.developer-credit {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.developer-credit:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.developer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.developer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.developer-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.developer-link:hover::before {
    opacity: 1;
}

.developer-icon {
    margin-left: 10px;
    font-size: 1.3rem;
    transition: transform 0.5s ease;
}

.developer-link:hover .developer-icon {
    transform: rotate(360deg);
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #2c3e50, #4a6491);
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAB Styles - Fixed for RTL */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FF8C00, #FFA500);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.5);
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 140, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .developer-badge {
        padding: 6px 14px;
    }
    
    .developer-link {
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .developer-icon {
        font-size: 1.1rem;
        margin-left: 8px;
    }
}