/* Footer Base Styling */
.footer-compact {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
    padding: 30px 0 20px 0; /* Reduced height */
}

/* Main footer content container */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

/* Left section: Logo and company info */
.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand .logo {
    line-height: 1;
    margin-bottom: 15px;
}

.footer-brand .logo img {
    max-height: 60px;
    transform: scale(2.3);      /* Double the size */
    /*margin-right: 50px;*/
    margin-left: 30px;
}

/* Center the logo on small screens */
@media (max-width: 576px) {
    .footer-brand .logo {
        display: flex;
        justify-content: center; /* Center the logo container */
    }

    .footer-brand .logo img {
        margin-left: 0;          /* Remove left margin */
        margin-right: 0;         /* Remove right margin */
        transform-origin: center; /* Center the transform origin */
    }
}

@media (max-width: 768px) {
    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }

    .footer-brand .logo img {
        margin-left: 0;
        margin-right: 0;
        transform-origin: center;
    }
}

@media (max-width: 991px) {
    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        display: flex;
        justify-content: center;
    }

    .footer-brand .logo img {
        margin-left: 0;
        margin-right: 0;
        transform-origin: center;
    }

    .footer-info {
        justify-content: center;
    }
}


.footer-brand .logo span {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Horizontal contact information */
.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.footer-info .location-info {
    font-size: 14px;
    font-family: var(--heading-font);
    color: var(--default-color);
    white-space: nowrap;
    /*margin-top: 20px;*/
}

.footer-info .contact-info {
    font-size: 14px;
    font-family: var(--heading-font);
    color: var(--default-color);
    white-space: nowrap;
}

.footer-info strong {
    color: var(--heading-color);
    font-weight: bold;
    margin-right: 5px;
}

/* Center section: Horizontal links */
.footer-links {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 250px;
}

.links-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.links-horizontal a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
    white-space: nowrap;
}

.links-horizontal a:hover {
    color: var(--accent-color);
}

/* Right section: Backed by and social */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 200px;
    gap: 10px;
}

.backed-by {
    text-align: right;
}

.backed-label {
    font-size: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: block;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.credits {
    font-size: 13px;
    color: var(--default-color);
    font-family: var(--heading-font);
}

.credits a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

.credits a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/* Social links - using original footer styling */
.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-info {
    font-size: 14px;
    color: var(--default-color);
    text-align: center;
    margin-bottom: 0;
}

/* Email styling - bigger and prominent */
.footer-email {
    font-size: 40px;
    color: var(--default-color);
    font-family: var(--heading-font);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.footer-email:hover {
    color: var(--accent-color);
}

/* Update footer-right gap for better spacing */
.footer-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 200px;
    gap: 15px; /* Increased from 10px to 15px */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-brand,
    .footer-links,
    .footer-right {
        min-width: auto;
        width: 100%;
    }

    .footer-right {
        align-items: center;
    }

    .backed-by {
        text-align: center;
    }

    .footer-info {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .footer-compact {
        padding: 25px 0 15px 0;
    }

    .footer-info {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .links-horizontal {
        gap: 15px;
        justify-content: center;
    }

    .links-horizontal a {
        font-size: 14px;
    }

    .footer-content {
        gap: 20px;
    }

    .social-links a {
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .footer-info .location-info,
    .footer-info .contact-info {
        font-size: 14px;
    }

    .links-horizontal {
        flex-direction: column;
        gap: 10px;
    }

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