/* === FOOTER === */
.page-footer {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.footer {
    background: linear-gradient(135deg,
        #2C4A6B 0%,
        rgba(44, 74, 107, 0.95) 70%,
        rgba(139, 157, 122, 0.9) 100%);
    padding: 3rem 2rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    color: #F4F1E8;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(192, 152, 83, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(192, 152, 83, 0.06) 0%, transparent 60%);
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2rem 6rem;
    margin-bottom: 2.5rem;
}

.footer-company {
    text-align: left;
    padding-right: 1.5rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #C09853;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-logo-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    color: #C09853;
    transform: translateY(-2px);
}

.footer-tagline {
    font-size: 1rem;
    font-style: italic;
    color: rgba(244, 241, 232, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(244, 241, 232, 0.7);
    line-height: 1.6;
}

.footer-links h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #C09853;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(244, 241, 232, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #C09853;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C09853;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}

.contact-item a {
    color: rgba(244, 241, 232, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #C09853;
}

.footer-social h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #C09853;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-bottom: 2rem;
    max-width: 200px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(192, 152, 83, 0.1);
    border: 2px solid rgba(192, 152, 83, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C09853;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #C09853;
    transition: left 0.4s ease;
    z-index: -1;
}

.social-icon:hover::before {
    left: 0;
}

.social-icon:hover {
    color: #2C4A6B;
    border-color: #C09853;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(192, 152, 83, 0.3);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.875rem;
    font-size: 0.9rem;
    color: rgba(244, 241, 232, 0.8);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    margin-right: 0.8rem;
    color: #C09853;
}

.footer-bottom {
    border-top: 1px solid rgba(192, 152, 83, 0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(244, 241, 232, 0.6);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: rgba(244, 241, 232, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #C09853;
}

/* === RESPONSIVE BREAKPOINTS === */

@media (max-width: 1024px) {
    .footer {
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-company {
        text-align: center;
        padding-right: 0;
    }

    .footer-logo {
        font-size: 2.2rem;
    }

    /* Create two-column layout for links and social */
    .footer-sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-item {
      justify-content: center;

    }

    .footer-links {
        text-align: center;
    }

    .footer-social{
        text-align: center;
    }

    .social-icons {
        margin: 0 auto 1.5rem auto;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        max-width: 180px;
        justify-items: start;
    }

    .social-icons .social-icon:nth-child(7) {
        grid-column: 2;
    }

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

    .footer-bottom {
        margin-top: 2rem;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Footer Phablet Breakpoint - IMPROVED */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.25rem 1.25rem 1.25rem;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .footer-tagline {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .footer-links a,
    .contact-item a {
        font-size: 0.9rem;
    }

    .footer-links {
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    .social-icons {
        max-width: 160px;
        gap: 0.625rem;
        margin: 0 auto 1.75rem auto;
        justify-items: center;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        padding-top: 1.75rem;
        gap: 1.25rem;
    }

    .footer-copyright,
    .footer-legal a {
        font-size: 0.8rem;
    }

    .footer-legal {
        gap: 1.5rem;
    }
}

/* Footer Mobile Breakpoint - ENHANCED */
@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-sections {
        gap: 1.5rem;
    }

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

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-description {
        font-size: 0.8rem;
    }

    .footer-links h3,
    .footer-social h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-copyright,
    .footer-legal a {
        font-size: 0.75rem;
    }
}