* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.footer {
    background: linear-gradient(135deg, #1a3b2a 0%, #2d4b3b 50%, #3a5f4c 100%);
    padding: 60px 80px 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Top Section */
.footer-top {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.brand {
    max-width: 500px;
}

.brand h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transform: translateZ(0);
}

.brand h2 span {
    color: #a8d5ba;
    margin-right: 4px;
}

.brand p {
    margin: 15px 0 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 15px;
}

.btn {
    background: linear-gradient(135deg, #5b8d7d 0%, #4a7b6b 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #6ba08a 0%, #5b8d7d 100%);
    transform: translateY(-3px) translateZ(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.col {
    transform-style: preserve-3d;
}

.col h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #a8d5ba, transparent);
    border-radius: 2px;
}

.col ul {
    list-style: none;
}

.col ul li {
    margin-bottom: 12px;
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

.col ul li:hover {
    transform: translateX(5px) translateZ(5px);
}

.col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.col ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #a8d5ba;
}

.col ul li a:hover {
    color: #a8d5ba;
    padding-left: 20px;
}

.col ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.col p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.8;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.col p:hover {
    color: #a8d5ba;
}

.col i {
    margin-right: 12px;
    color: #a8d5ba;
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.col p:hover i {
    transform: scale(1.2);
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    font-size: 14px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.policy {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.policy a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.policy a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #a8d5ba;
    transition: width 0.3s ease;
}

.policy a:hover {
    color: #a8d5ba;
}

.policy a:hover::after {
    width: 100%;
}

.policy span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* =========================
   RESPONSIVE FOOTER
========================= */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 50px 25px;
    }

    .footer-links {
        gap: 35px;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .brand {
        max-width: 100%;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .footer {
        padding: 40px 30px 25px;
    }

    .footer-top {
        margin-bottom: 35px;
        text-align: center;
    }
    
    .brand {
        margin: 0 auto;
        text-align: center;
    }

    .brand p {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        text-align: center;
    }

    .col {
        width: 100%;
    }
    
    .col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .col ul li:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .col ul li a::before {
        display: none;
    }
    
    .col ul li a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .policy {
        justify-content: center;
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer {
        padding: 35px 20px 20px;
    }

    .brand h2 {
        font-size: 26px;
    }

    .brand p {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn {
        padding: 11px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 250px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .col h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .col ul li a,
    .col p {
        font-size: 14px;
    }
    
    .col ul li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 25px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .policy {
        flex-direction: column;
        gap: 8px;
    }
    
    .policy span {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .footer {
        padding: 30px 15px 20px;
    }
    
    .brand h2 {
        font-size: 24px;
    }
    
    .col h4 {
        font-size: 15px;
    }
}
