/* ========================================
   SIMPLE & SMOOTH FOOTER
========================================= */
.body
{
    margin: 0px;
}

.footer {
    background: #1a3a44;
    color: #fff;
    margin-top: 60px;
    font-family: 'Inter', sans-serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   MAIN FOOTER
========================================= */

.footer-main {
    padding: 50px 0 30px;
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Footer Columns */
.footer-col {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: #2a9d8f;
    animation: softPulse 2s infinite;
}

@keyframes softPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.footer-logo span {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

/* Footer Text */
.footer-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #2a9d8f;
    transform: translateY(-3px);
}

/* Headings */
.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #2a9d8f;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2a9d8f;
    transform: translateX(5px);
}

/* Contact Info */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.contact-info i {
    width: 20px;
    color: #2a9d8f;
    font-size: 16px;
}

/* ========================================
   BOTTOM FOOTER
========================================= */

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.bottom-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.bottom-links a:hover {
    color: #2a9d8f;
}

/* ========================================
   BACK TO TOP BUTTON
========================================= */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: #2a9d8f;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(42,157,143,0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #21867a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42,157,143,0.4);
}

/* ========================================
   RESPONSIVE DESIGN
========================================= */

/* Tablet */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-main {
        padding: 35px 0 20px;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .bottom-links {
        justify-content: center;
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-logo span {
        font-size: 20px;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    .footer-col h4 {
        font-size: 17px;
    }
    
    .footer-links a,
    .contact-info p {
        font-size: 14px;
    }
    
    .bottom-content p,
    .bottom-links a {
        font-size: 13px;
    }
    
    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* ========================================
   SMOOTH ADDITIONAL ANIMATIONS
========================================= */

/* Link hover animation */
.footer-links a {
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a9d8f;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

/* Social icons animation */
.social-links a {
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-links a:hover::before {
    width: 100px;
    height: 100px;
}

/* Contact items animation */
.contact-info p {
    transition: transform 0.3s ease;
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info p:hover i {
    color: #fff;
}

/* Footer bottom links */
.bottom-links a {
    position: relative;
}

.bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a9d8f;
    transition: width 0.3s ease;
}

.bottom-links a:hover::after {
    width: 100%;
}
