/* ========================================
   FOOTER STYLES
   ======================================== */

.footer-wrapper {
    width: 100%;
    /* background: #f6f8f4; */
    font-family: 'Noto Sans', sans-serif;
    color: #222;
    margin-top: 40px;
    padding-bottom: 0;
}

.footer-main {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 56px 24px 40px 24px;
    gap: 64px;
    width: 100%;
}

.footer-contact, .footer-links, .footer-center {
    flex: 1;
    align-items: center;
    text-align: center;
    /* min-width: 220px; */
}

/* .footer-contact {
    width: 336px;
    min-width: 336px;
    max-width: 336px;
} */

.footer-contact h3,
.footer-links h3 {
    color: #0E2767;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 16px;
    gap: 15px;
}

/* Email link styling to match footer theme */
.footer-contact-item a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #0E2767;
    text-decoration: underline;
    color: #222;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.footer-contact-item .icon-location img,
.footer-contact-item .icon-phone img,
.footer-contact-item .icon-email img,
.footer-contact-item .icon-globe img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) invert(13%) sepia(80%) saturate(7476%) hue-rotate(210deg) brightness(90%) contrast(100%);
    /* This filter makes the icon #0E2767 */
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    justify-content: center;
    height: 100%;
    width: 369px;
    min-width: 369px;
    max-width: 369px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}

.footer-center-text {
    color: #0E2767;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.footer-center-text strong {
    color: #0E2767;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-top: 8px;
}

.footer-links {
    width: 156px;
    min-width: 156px;
    max-width: 156px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #222;
    font-size: 16px;
    transition: color 0.2s;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    display: block;
}

.footer-links ul li a:hover {
    color: #4b7c4b;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 0 16px;
    background: transparent;
    font-size: 16px;
    color: #222;
    text-align: center;
    gap: 4px;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-designed {
    color: #222;
    margin-top: 4px;
}

.footer-finerr {
    color: #1C48B2;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}



.footer-darkbar {
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 12px 0 10px 0;
    font-size: 16px;
    margin-top: 0;
}

.footer-bottom-bar {
    width: 100%;
    height: 0;
    border-top: 1.5px solid #4b7c4b;
    margin: 0 0 16px 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}



/* ========================================
   RESPONSIVE FOOTER DESIGN
   ======================================== */

/* Desktop Styles - 1200px and above */
@media (min-width: 1201px) {
    .footer-main {
        max-width: 1600px;
        padding: 56px 24px 40px 24px;
        gap: 64px;
    }
    
    .footer-contact {
      
        
        max-width: 33.33% !important;
    }
    
    .footer-center {
        width: 369px;
        min-width: 369px;
        max-width: 369px;
    }
    
    .footer-links {
        width: 156px;
        min-width: 156px;
        max-width: 156px;
    }
    
    .footer-bottom {
        padding: 24px 16px 0 16px;
        font-size: 16px;
        max-width: 1600px;
        margin: 0 auto;
    }
    
    .footer-bottom span {
        display: inline;
        margin-bottom: 0;
    }
    
    .footer-designed {
        margin-top: 4px;
        font-size: 16px;
    }
    
    .footer-bottom-bar {
        margin: 0 0 16px 0;
        border-top: 1.5px solid #4b7c4b;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Large Tablet Styles - 1024px to 1200px */
@media (max-width: 1200px) and (min-width: 1025px) {
    .footer-main {
        max-width: 98vw;
        padding: 48px 20px 32px 20px;
        gap: 48px;
        justify-content: center;
    }
    
    .footer-contact {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }
    
    .footer-center {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
    }
    
    .footer-links {
        width: 140px;
        min-width: 140px;
        max-width: 140px;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 18px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .footer-contact-item {
        font-size: 13px;
        margin-bottom: 14px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-center-text {
        font-size: 16px;
    }
    
    .footer-center-text strong {
        font-size: 16px;
    }
    
    .footer-links ul li a {
        font-size: 13px;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 20px 20px 0 20px;
        font-size: 15px;
        max-width: 98vw;
        margin: 0 auto;
    }
    
    .footer-bottom span {
        display: inline;
        margin-bottom: 0;
    }
    
    .footer-designed {
        margin-top: 4px;
        font-size: 15px;
    }
    
    .footer-bottom-bar {
        margin: 0 0 14px 0;
        border-top: 1.5px solid #4b7c4b;
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablet Styles - 900px to 1024px */
@media (max-width: 1024px) and (min-width: 901px) {
    .footer-main {
        max-width: 100vw;
        padding: 40px 16px 24px 16px;
        gap: 32px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-contact {
        width: 45%;
        min-width: 280px;
        max-width: none;
        flex: 1;
    }
    
    .footer-center {
        width: 100%;
        flex: 1;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        width: 45%;
        min-width: 140px;
        max-width: none;
        flex: 1;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 17px;
        margin-bottom: 14px;
        text-align: center;
    }
    
    .footer-contact-item {
        font-size: 12px;
        margin-bottom: 12px;
        justify-content: center;
        text-align: center;
    }
    
    .footer-center-text {
        font-size: 15px;
    }
    
    .footer-center-text strong {
        font-size: 15px;
    }
    
    .footer-links ul li a {
        font-size: 12px;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 18px 16px 0 16px;
        font-size: 14px;
        max-width: 100vw;
        margin: 0 auto;
    }
    
    .footer-bottom span {
        display: inline;
        margin-bottom: 0;
    }
    
    .footer-designed {
        margin-top: 4px;
        font-size: 14px;
    }
    
    .footer-bottom-bar {
        margin: 0 0 12px 0;
        border-top: 1.5px solid #4b7c4b;
        max-width: 100vw;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile Styles - 900px and below */
@media (max-width: 900px) {
    .footer-wrapper {
        margin-top: 30px;
    }
    
    .footer-main {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 20px 20px 20px;
        gap: 25px;
        max-width: 100vw;
        text-align: center;
    }
    
    .footer-contact,
    .footer-center,
    .footer-links {
        width: 100%;
        min-width: auto;
        max-width: none;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #0E2767;
        font-weight: 700;
    }
    
    .footer-contact-item {
        font-size: 14px;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
        line-height: 1.4;
    }
    
    .footer-contact-item .icon-location img,
    .footer-contact-item .icon-phone img,
    .footer-contact-item .icon-email img,
    .footer-contact-item .icon-globe img {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .footer-center {
        order: 1;
        margin-bottom: 10px;
    }
    
    .footer-center img {
        height: 80px;
        width: auto;
        margin-bottom: 15px;
    }
    
    .footer-center-text {
        font-size: 16px;
        line-height: 1.5;
        color: #0E2767;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-center-text strong {
        font-size: 16px;
        font-weight: 700;
        color: #0E2767;
        display: block;
        margin-top: 8px;
    }
    
    .footer-links {
        order: 2;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .footer-links ul li {
        margin-bottom: 0;
    }
    
    .footer-links ul li a {
        font-size: 14px;
        font-weight: 600;
        color: #222;
        padding: 8px 16px;
        border-radius: 20px;
        transition: all 0.3s ease;
        display: inline-block;
    }
    
    .footer-links ul li a:hover {
        color: #4b7c4b;
        background-color: #f0f8f0;
        transform: translateY(-2px);
    }
    
    .footer-contact {
        order: 3;
    }
    
    .footer-bottom {
        padding: 20px 20px 0 20px;
        font-size: 14px;
        text-align: center;
        gap: 8px;
    }
    
    .footer-bottom span {
        display: block;
        margin-bottom: 5px;
    }
    
    .footer-designed {
        margin-top: 8px;
        font-size: 13px;
    }
    
    .footer-finerr {
        color: #1C48B2;
        font-weight: 700;
        text-decoration: none;
    }
    
    .footer-finerr:hover {
        color: #CC338D;
        text-decoration: underline;
    }
    
    .footer-bottom-bar {
        margin: 0 20px 20px 20px;
        border-top: 2px solid #4b7c4b;
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small Mobile Styles - 480px and below */
@media (max-width: 480px) {
    .footer-wrapper {
        margin-top: 20px;
    }
    
    .footer-main {
        padding: 25px 15px 15px 15px;
        gap: 20px;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-contact-item {
        font-size: 13px;
        margin-bottom: 10px;
        gap: 6px;
    }
    
    .footer-contact-item .icon-location img,
    .footer-contact-item .icon-phone img,
    .footer-contact-item .icon-email img,
    .footer-contact-item .icon-globe img {
        width: 16px;
        height: 16px;
    }
    
    .footer-center img {
        height: 70px;
        margin-bottom: 12px;
    }
    
    .footer-center-text {
        font-size: 14px;
    }
    
    .footer-center-text strong {
        font-size: 14px;
    }
    
    .footer-links ul li a {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .footer-bottom {
        padding: 15px 15px 0 15px;
        font-size: 13px;
    }
    
    .footer-designed {
        font-size: 12px;
    }
    
    .footer-bottom-bar {
        margin: 0 15px 15px 15px;
        border-top: 2px solid #4b7c4b;
        max-width: calc(100vw - 30px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   TINY MOBILE STYLES - 320px to 480px
   ======================================== */
@media (max-width: 480px) and (min-width: 321px) {
    .footer-wrapper {
        margin-top: 15px;
    }
    
    .footer-main {
        padding: 20px 12px 12px 12px;
        gap: 15px;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-contact-item {
        font-size: 11px;
        margin-bottom: 8px;
        gap: 4px;
    }
    
    .footer-contact-item .icon-location img,
    .footer-contact-item .icon-phone img,
    .footer-contact-item .icon-email img,
    .footer-contact-item .icon-globe img {
        width: 14px;
        height: 14px;
    }
    
    .footer-center img {
        height: 60px;
        margin-bottom: 10px;
    }
    
    .footer-center-text {
        font-size: 12px;
    }
    
    .footer-center-text strong {
        font-size: 12px;
    }
    
    .footer-links ul li a {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .footer-bottom {
        padding: 12px 12px 0 12px;
        font-size: 11px;
    }
    
    .footer-designed {
        font-size: 10px;
    }
    
    .footer-bottom-bar {
        margin: 0 12px 12px 12px;
        border-top: 1.5px solid #4b7c4b;
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* ========================================
   ULTRA SMALL MOBILE STYLES - 320px and below
   ======================================== */
@media (max-width: 320px) {
    .footer-wrapper {
        margin-top: 10px;
    }
    
    .footer-main {
        padding: 15px 10px 10px 10px;
        gap: 12px;
    }
    
    .footer-contact h3,
    .footer-links h3 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .footer-contact-item {
        font-size: 9px;
        margin-bottom: 6px;
        gap: 3px;
    }
    
    .footer-contact-item .icon-location img,
    .footer-contact-item .icon-phone img,
    .footer-contact-item .icon-email img,
    .footer-contact-item .icon-globe img {
        width: 12px;
        height: 12px;
    }
    
    .footer-center img {
        height: 50px;
        margin-bottom: 8px;
    }
    
    .footer-center-text {
        font-size: 10px;
    }
    
    .footer-center-text strong {
        font-size: 10px;
    }
    
    .footer-links ul li a {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .footer-bottom {
        padding: 10px 10px 0 10px;
        font-size: 9px;
    }
    
    .footer-designed {
        font-size: 8px;
    }
    
    .footer-bottom-bar {
        margin: 0 10px 10px 10px;
        border-top: 1px solid #4b7c4b;
        max-width: calc(100vw - 20px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Finerr logo styling */
.finerr-logo {
    height: 20px;
    width: auto;
    margin-left: 8px;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.footer-finerr:hover .finerr-logo {
    opacity: 0.8;
} 