/* Modern Footer Styling - Based on ScienceSoft Design */
.site-footer-modern {
    background: linear-gradient(135deg, #1a2b4a 0%, #0f1729 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-icon i {
    font-size: 18px;
    color: #ffffff !important;
}

/* LinkedIn */
.social-icon[aria-label="LinkedIn"] {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icon[aria-label="LinkedIn"] i {
    color: #ffffff !important;
}

.social-icon[aria-label="LinkedIn"]:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

/* Twitter/X */
.social-icon[aria-label="Twitter"] {
    background: #383838 !important;
    border-color: #383838 !important;
}

.social-icon[aria-label="Twitter"] i {
    color: #ffffff !important;
}

.social-icon[aria-label="Twitter"]:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Facebook */
.social-icon[aria-label="Facebook"] {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon[aria-label="Facebook"] i {
    color: #ffffff !important;
}

.social-icon[aria-label="Facebook"]:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* YouTube */
.social-icon[aria-label="YouTube"] {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icon[aria-label="YouTube"] i {
    color: #ffffff !important;
}

.social-icon[aria-label="YouTube"]:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.contact-item i {
    color: #ffffff;
    margin-top: 4px;
    min-width: 20px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.footer-cta-btn:hover {
    background: #ffffff;
    color: #1a2b4a;
    transform: translateY(-2px);
}

.footer-middle {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links-list li a:hover {
    opacity: 0.8;
}

.footer-credentials-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.footer-badges-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-items: left !important;
    gap: 0px;
    width: 82%;
    max-width: 77%;
}

.footer-badges-items::before {
    content: '';
    display: none;
}

/* Empty placeholder to center the last 3 items in second row */
.footer-badges-spacer {
    grid-column: 4;
}

.footer-badges-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex: 0 0 auto;
}

.footer-badges-items a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-badges-items img {
    width: auto;
    height: 170px;
    display: block;
    object-fit: contain;
}

.footer-badges-financial-times img {
    height: 170px;
    width: auto;
}

.footer-badges-most-reliable img {
    height: 170px;
    width: auto;
}

.footer-badges-bbb img {
    height: 170px;
    width: auto;
}

.footer-badges-clutch {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 170px;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 5px;
}

.footer-badges-clutch iframe {
    border: none !important;
    width: 200px;
    height: 170px;
}

@media (max-width: 1200px) {
    .footer-badges-items {
        grid-template-columns: repeat(6, 1fr);
        justify-items: left !important;
        gap: 0px;
        width: 82%;
        max-width: 77%;
    }
    
    .footer-badges-items img {
        height: 150px;
    }
    
    .footer-badges-clutch {
        height: 150px;
    }
    
    .footer-badges-clutch iframe {
        width: 180px;
        height: 150px;
    }
}

@media (max-width: 992px) {
    .footer-badges-items {
        grid-template-columns: repeat(3, 1fr);
        justify-items: left !important;
        gap: 0px;
        width: 82%;
        max-width: 77%;
    }
    
    .footer-badges-items img {
        height: 130px;
    }
    
    .footer-badges-clutch {
        height: 130px;
    }
    
    .footer-badges-clutch iframe {
        width: 160px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .footer-badges-items {
        grid-template-columns: repeat(3, 1fr);
        justify-items: left !important;
        gap: 0px;
        width: 82%;
        max-width: 77%;
    }
    
    .footer-badges-items img {
        height: 100px;
    }
    
    .footer-badges-clutch {
        height: 100px;
    }
    
    .footer-badges-clutch iframe {
        width: 140px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .footer-badges-items {
        grid-template-columns: repeat(2, 1fr);
        justify-items: left !important;
        gap: 0px;
        width: 82%;
        max-width: 77%;
    }
    
    .footer-badges-items img {
        height: 90px;
    }
    
    .footer-badges-clutch {
        height: 90px;
    }
    
    .footer-badges-clutch iframe {
        width: 120px;
        height: 90px;
    }
}

.credential-badge {
    background: #ffffff;
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 10px;
}

.credential-ft {
    background: #ffffff;
    border: 1px solid #000000;
}

.credential-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.credential-logo-text {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.credential-title {
    font-size: 6px;
    color: #000000;
    font-weight: 600;
    text-align: right;
    line-height: 1.1;
    max-width: 60%;
}

.credential-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.credential-champion {
    font-size: 5px;
    color: #000000;
    font-weight: 500;
}

.credential-statista {
    font-size: 5px;
    color: #666666;
    text-transform: lowercase;
}

.credential-newsweek {
    background: linear-gradient(135deg, #1a2b4a 0%, #0f1729 100%);
    border: 1.5px solid #d4af37;
    color: #ffffff;
    padding: 6px;
}

.credential-stars {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 3px;
}

.credential-stars i {
    color: #d4af37;
    font-size: 6px;
}

.credential-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.credential-title-newsweek {
    font-size: 6px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

.credential-year {
    font-size: 8px;
    font-weight: 700;
    color: #ffffff;
}

.credential-newsweek-banner {
    background: #c41e3a;
    color: #ffffff;
    padding: 1px 3px;
    font-size: 5px;
    font-weight: 600;
    display: inline-block;
    margin-top: 2px;
}

.credential-newsweek .credential-statista {
    color: #ffffff;
    font-size: 5px;
    margin-top: 2px;
}

.credential-bbb {
    background: linear-gradient(135deg, #0f4c81 0%, #083d6b 100%);
    color: #ffffff;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.credential-bbb-logo {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1;
}

.credential-bbb-text {
    font-size: 6px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.credential-rating {
    background: #ffffff;
    border: 1px solid #000000;
    text-align: center;
}

.rating-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 3px;
}

.rating-score i {
    color: #c41e3a;
    font-size: 10px;
}

.rating-score span {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
}

.rating-reviews {
    font-size: 8px;
    color: #0f4c81;
    margin-bottom: 2px;
    font-weight: 500;
}

.rating-source {
    font-size: 5px;
    color: #666666;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-dmca-badge {
    display: inline-block;
    line-height: 0;
}

.footer-dmca-badge img {
    display: block;
    width: 121px;
    height: 24px;
    max-width: 100%;
    height: auto;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-scroll-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f4c81;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-scroll-top:hover {
    background: #083d6b;
    transform: translateY(-2px);
}

.footer-language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-language-selector:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.footer-language-selector img {
    width: 20px;
    height: auto;
}

.footer-language-selector span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 1199px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-middle {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-credentials-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .site-footer-modern {
        padding: 40px 0 20px;
    }
    
    .footer-top {
        gap: 25px;
        padding-bottom: 30px;
    }
    
    .footer-middle {
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-credentials-section {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom-right {
        width: 100%;
        justify-content: flex-start;
    }
}

