* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;


}

.demo-content {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--olivewood);
}

.demo-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bark);
}

.demo-content p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.footer {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-green) 100%); */

    /* background: linear-gradient(135deg, var(--primary-green) 0%, #9d6026 100%); */
    background-color: black;
    color: var(--parchment);
    padding: 4rem 0 2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(245,240,232,0.05)"/><circle cx="80" cy="80" r="1" fill="rgba(245,240,232,0.05)"/><circle cx="40" cy="60" r="1" fill="rgba(245,240,232,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #e4e4e4 0%, #C1A78E 100%);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    transform: translateX(-10px);
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.footer-section ul li:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section ul li:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section ul li:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section ul li:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.footer-section ul li a::after {
    color: var(--primary-green);
    content: '→';
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-section ul li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.corporate-info {
    background: var(--light-olive);
    /* matches light bg with rose-gold olive tone */
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    border-left: 4px solid var(--primary-green);
    backdrop-filter: blur(10px);
}

.corporate-info h4 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.corporate-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-section .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: left;
    margin-top: 2rem;
}
.footer-section .social-icons p{
    color: #ffffff;
}

.footer-section .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--light-olive);
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.footer-section .social-icons a:hover {
    background: var(--primary-green);
    color: var(--body-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--primary-green);
    color: white;
    font-size: 0.95rem;
}


@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive - 2x2 Grid */
@media (max-width: 768px) {
    .demo-content h1 {
        font-size: 2rem;
    }

    .footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-sections {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h3 {
        font-size: 1.4rem;
    }

    .footer-section ul li a {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }

    .corporate-info {
        grid-column: 1 / -1;
        padding: 1.5rem;
    }

    .footer-section .social-icons {
        gap: 0.8rem;
    }

    .footer-section .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-section ul li a {
        font-size:1.1rem;
        padding: 0.3rem 0.6rem;
    }

    .corporate-info {
        padding: 1.2rem;
    }

    .corporate-info h4 {
        font-size: 1.2rem;
    }

    .corporate-info p {
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section ul li a {
        font-size: 1.2rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-sections {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .corporate-info {
        grid-column: 1 / -1;
    }
}

/* Desktop View */
@media (min-width: 1025px) {
    .footer-sections {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .corporate-info {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}