/* ========================================
   IMPROVED FOOTER DESIGN
   ======================================== */

:root {
    --footer-bg: #0B3D2E;
    --footer-text: #E2F0E8;
    --footer-accent: #D4AF37;
    --footer-hover: #3A7B5C;
    --footer-light-text: #B7D9C5;
}

.footer-section {
    background: linear-gradient(135deg, var(--footer-bg) 0%, #162329 100%);
    color: var(--footer-text);
    padding: 80px 0 0;
    position: relative;
    margin-top: 100px;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.footer-section > .container {
    position: relative;
    z-index: 1;
}

/* ========================================
   Newsletter Section
   ======================================== */

.footer-newsletter {
    background: linear-gradient(135deg, var(--footer-accent) 0%, #b8941d 100%);
    padding: 50px 40px;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    color: var(--footer-bg);
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.newsletter-text p {
    color: rgba(11, 61, 46, 0.8);
    margin: 0;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    min-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 6px 0 0 6px;
    background: white;
    color: var(--footer-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(11, 61, 46, 0.5);
}

.newsletter-form input:focus {
    box-shadow: 0 0 10px rgba(11, 61, 46, 0.2);
}

.btn-subscribe {
    padding: 14px 25px;
    background: var(--footer-bg);
    color: var(--footer-accent);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-subscribe:hover {
    background: rgba(11, 61, 46, 0.8);
    transform: translateX(3px);
}

.footer-newsletter .newsletter-message {
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.footer-newsletter .newsletter-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.15);
    color: #145a32;
    border: 1px solid rgba(46, 204, 113, 0.35);
}

.footer-newsletter .newsletter-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    color: #922b21;
    border: 1px solid rgba(231, 76, 60, 0.35);
}

/* ========================================
   Footer Content Grid
   ======================================== */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.footer-logo .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.1);
}

.footer-logo .logo-text h3 {
    margin: 0;
    font-size: 18px;
    color: var(--footer-accent);
    font-weight: 700;
}

.footer-logo .logo-text p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: var(--footer-light-text);
}

.footer-description {
    color: var(--footer-light-text);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
}

/* ========================================
   Social Links
   ======================================== */

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-accent);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: var(--footer-accent);
    color: var(--footer-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ========================================
   Footer Column Headers & Lists
   ======================================== */

.footer-column h4 {
    color: var(--footer-accent);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.footer-column h4 i {
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.footer-column ul li a {
    color: var(--footer-light-text);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--footer-accent);
    padding-left: 5px;
}

.footer-column ul li a i {
    font-size: 10px;
    opacity: 0.6;
}

/* ========================================
   Contact Items
   ======================================== */

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--footer-accent);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 18px;
    color: var(--footer-accent);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: var(--footer-light-text);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-value {
    color: var(--footer-text);
    margin: 5px 0 0 0;
    font-size: 14px;
}

.contact-value a {
    color: var(--footer-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value a:hover {
    text-decoration: underline;
}

/* ========================================
   Footer Divider
   ======================================== */

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin: 50px 0;
}

/* ========================================
   Footer Bottom
   ======================================== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 0;
    min-height: 60px;
}

.footer-bottom p {
    color: var(--footer-light-text);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--footer-light-text);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-links a:hover {
    color: var(--footer-accent);
    background: rgba(212, 175, 55, 0.1);
}

.footer-links .divider {
    color: rgba(212, 175, 55, 0.3);
}

/* ========================================
   Scroll to Top Button
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--footer-accent) 0%, #b8941d 100%);
    color: var(--footer-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 99;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #b8941d 0%, var(--footer-accent) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* ========================================
   Responsive Footer
   ======================================== */

@media (max-width: 768px) {
    .footer-section {
        padding: 60px 0 0;
        margin-top: 60px;
    }

    .footer-newsletter {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .newsletter-content {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-text h3 {
        font-size: 22px;
    }

    .newsletter-form {
        width: 100%;
        min-width: auto;
    }

    .newsletter-form input,
    .btn-subscribe {
        padding: 12px 16px;
        font-size: 13px;
    }

    .footer-content {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom p,
    .footer-links {
        width: 100%;
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .contact-item {
        gap: 12px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 40px 0 0;
    }

    .footer-newsletter {
        padding: 20px 15px;
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .newsletter-text h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .newsletter-text p {
        font-size: 12px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-divider {
        margin: 30px 0;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* ========================================
   Animation on Scroll
   ======================================== */

.footer-column {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
v
/* ========================================
   Hover Effects
   ======================================== */

.footer-section a {
    position: relative;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover::before {
    width: 100%;
}
