
/* Modern Footer Styles */
#colophon {
    background: linear-gradient(135deg, rgba(200, 20, 31, 0.9), rgba(0, 139, 69, 0.9)),
                url('../uploads/images/images-B4F7LPU.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-width-fixer {
    width: 100%;
}


.modern-footer-content {
    width: 100%;
}

/* First Row: Four Sections */
.footer-first-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* Reduced from 40px */
    margin-bottom: 30px; /* Reduced from 50px */
}

.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-section.links-section {
    margin-left: 30px;
}

.map-container {
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
}



@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section 1: Contact */
.contact-section .section-logo {
    margin-bottom: 20px; /* Reduced from 25px */
}

.logo-text {
    font-size: 2.2rem; /* Reduced from 2.5rem */
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    line-height: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Reduced from 15px */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px; /* Reduced from 15px */
    padding: 8px 12px; /* Reduced from 15px 20px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 40px; /* Reduced from 45px */
    height: 40px; /* Reduced from 45px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.contact-text {
    color: #fff;
    font-size: 15px; /* Reduced from 16px */
    font-weight: 500;
    line-height: 1.4;
}

/* Section Titles */
.footer-section-title {
    font-size: 1.2rem; /* Reduced from 1.3rem */
    font-weight: 700;
    margin-bottom: 15px; /* Reduced from 20px */
    color: #fff !important;
    position: relative;
    padding-bottom: 8px; /* Reduced from 10px */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-section:hover .footer-section-title::after {
    width: 60px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px; /* Reduced from 10px */
}

.footer-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-size: 14px; /* Reduced from 15px */
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 0; /* Reduced from 8px 0 */
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.footer-link:hover {
    color: #fff;
    padding: 15px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.footer-link:hover::before {
    width: 10px;
}

/* Section 4: Social & Newsletter */
.social-icons {
    display: flex;
    gap: 10px; /* Reduced from 12px */
    margin-bottom: 20px; /* Reduced from 25px */
    flex-wrap: wrap;
}

.social-icon {
    width: 40px; /* Reduced from 45px */
    height: 40px; /* Reduced from 45px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px; /* Reduced from 20px */
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.newsletter-text {
    color: #fff;
    font-size: 13px; /* Reduced from 14px */
    font-weight: 500;
    margin: 0 0 12px 0; /* Reduced from 15px */
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 12px; /* Reduced from 12px 15px */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px; /* Reduced from 14px */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.newsletter-btn {
    width: 40px; /* Reduced from 45px */
    height: 40px; /* Reduced from 45px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Copyright Section */
.copyright-section {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px; /* Reduced from 25px */
    text-align: center;
}

.copyright-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px; /* Reduced from 14px */
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-first-row {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
}

@media (max-width: 768px) {
    #colophon {
        overflow-x: hidden;
    }

    .elementor-element-fa63adb {
        padding: 30px 0 15px !important; /* Reduced from 60px 0 20px */
    }

    .e-con-inner {
        padding: 0 15px;
    }

    .modern-footer-content {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-first-row {
        grid-template-columns: 1fr;
        gap: 35px;
        width: 100%;
    }

    .contact-section {
        text-align: left;
    }

    .contact-item {
        flex-direction: row !important;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }

    .logo-text {
        font-size: 2rem; /* Reduced from 2.2rem */
    }

    .social-icons {
        justify-content: center;
    }

    .footer-section.links-section {
        margin-left: 0;
    }

    .footer-links li {
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .footer-section-title::after {
        left: 0;
    }

    .newsletter-text {
        text-align: left;
    }

    .footer-section:last-child {
        margin-left: -20px !important;
        margin-right: -20px !important;
        width: calc(100% + 40px) !important;
        max-width: none !important;
    }

    .map-container {
        height: 400px !important;
        border-radius: 0;
        width: 100%;
    }

    .contact-section,
    .footer-links li,
    .newsletter-text,
    .social-icons {
        text-align: left !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .contact-text {
        word-break: break-all;
        padding-right: 10px;
    }

}

@media (max-width: 480px) {

    .modern-footer-content {
        padding: 0 15px;
    }

    .contact-item {
        padding: 10px;
    }

    .footer-link:hover {
        padding-left: 0;
        padding-top: 5px;
    }

    .footer-link::before {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        height: 40px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .contact-text {
        font-size: 14px;
        word-break: break-word;
    }

    .map-container {
        height: 350px !important;
    }

    footer-section:last-child {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }


}






