/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    padding: 50px 0 40px 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    min-height: 350px; /* Reduced from 450px for better mobile fit */
    flex-shrink: 0;
}

/* Animated Background Shapes - Simplified */
.footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* Footer Content - Using Bootstrap Grid */
.footer-content-row {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.footer-column {
    height: auto;
    min-height: 200px;
}

.footer-header {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    position: relative;
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 2px;
}

.footer-brand-content {
    text-align: left;
}

.footer-logo img {
    height: 36px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1);
}

.footer-description {
    color: #e0e7ef;
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-link {
    color: #e0e7ef;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #4fc3f7;
    text-decoration: none;
    transform: translateX(5px);
}

.trust-badges {
    margin: 0;
    padding: 0;
}

.trust-item {
    color: #e0e7ef;
    font-size: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    color: #4fc3f7;
    transform: translateX(5px);
}

.trust-item i {
    margin-right: 10px;
    font-size: 18px;
    width: 20px;
}

/* Footer Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e7ef, transparent);
    margin: 30px 0;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 10px;
}

.copyright-info {
    color: #e0e7ef;
    font-size: 14px;
}

/* Social Links */
.social-links-container {
    display: inline-flex;
    gap: 8px;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.2);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}

.social-link:hover {
    background: #4fc3f7;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
}

/* Responsive Design - Mobile First Approach */

/* Large Tablets and Small Desktops (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .site-footer {
        padding: 35px 0 30px 0;
        min-height: 280px;
    }
    main {
        margin-top: 70px;
        padding-bottom: 1.5rem;
    }
    .footer-column {
        min-height: auto;
        margin-bottom: 25px;
        text-align: left;
    }
    .footer-brand-content {
        text-align: left;
    }
    .footer-header {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    .footer-link, .trust-item {
        font-size: 14px;
    }
    .floating-shape {
        opacity: 0.5;
    }
    .shape-1 { width: 60px; height: 60px; }
    .shape-2 { width: 45px; height: 45px; }
    .shape-3 { width: 75px; height: 75px; }
}

/* Standard Tablets (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .site-footer {
        padding: 30px 0 25px 0;
        min-height: 240px;
    }
    main {
        margin-top: 68px;
        padding-bottom: 1rem;
    }
    .footer-column {
        min-height: auto;
        margin-bottom: 25px;
        text-align: center;
    }
    .footer-brand-content {
        text-align: center;
    }
    .footer-header {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    .footer-link, .trust-item {
        font-size: 14px;
    }
    .trust-item {
        justify-content: center;
    }
    .floating-shape {
        opacity: 0.3;
    }
    .shape-1 { width: 50px; height: 50px; top: 15%; left: 5%; }
    .shape-2 { width: 40px; height: 40px; top: 70%; right: 10%; }
    .shape-3 { width: 60px; height: 60px; bottom: 25%; left: 75%; }
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }
    .social-links-container {
        gap: 12px;
    }
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}

/* Mobile Devices (max-width: 575px) */
@media (max-width: 575px) {
    .site-footer {
        padding: 20px 0 15px 0;
        min-height: auto;
    }
    main {
        margin-top: 65px;
        padding-bottom: 0.5rem;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .floating-shape {
        display: none;
    }
    .footer-content-row {
        margin-bottom: 15px;
    }
    .footer-column {
        margin-bottom: 20px;
        text-align: center;
        min-height: auto;
    }
    .footer-brand-content {
        text-align: center;
        margin-bottom: 15px;
    }
    .footer-header {
        font-size: 15px !important;
        margin-bottom: 12px !important;
        color: #4fc3f7 !important;
    }
    .footer-header::after {
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
    }
    .footer-link, .trust-item {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .trust-item {
        justify-content: center;
        margin-bottom: 10px;
    }
    .trust-item i {
        margin-right: 8px;
        font-size: 16px;
    }
    .footer-divider {
        margin: 15px 0 10px 0;
    }
    .footer-bottom {
        padding-top: 10px;
        padding-bottom: 20px;
        margin-top: 5px;
    }
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }
    .copyright-info {
        font-size: 12px;
        margin-bottom: 15px;
        display: block;
    }
    .social-links-container {
        gap: 10px;
        margin-top: 10px;
    }
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Extra Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .site-footer {
        padding: 15px 0 10px 0;
    }
    main {
        margin-top: 60px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .footer-column {
        margin-bottom: 15px;
    }
    .footer-header {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
    .footer-link, .trust-item {
        font-size: 12px;
    }
    .trust-item {
        margin-bottom: 8px;
    }
    .footer-bottom {
        padding-bottom: 15px;
    }
    .copyright-info {
        font-size: 11px;
    }
    .powered-by-info {
        font-size: 10px;
    }
    .social-links-container {
        gap: 8px;
        margin-top: 8px;
    }
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* Powered by link styling */
.powered-by-info {
    color: #b3c5d1;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

.powered-by-link {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.powered-by-link:hover {
    color: #81d4fa;
    text-decoration: none;
    opacity: 1;
}