/* ===== FOOTER STYLES ===== */
.custom-footer {
    background: #0a2a43;
    color: white;
}

.footer-main {
    padding: 60px 0 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    margin-right: 12px;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.footer-description {
    color: #b0b7c3;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-achievements {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4dbfff;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4dbfff;
    transform: translateY(-3px);
}

.widget-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b7c3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #4dbfff;
}

.footer-links i {
    color: #4dbfff;
    width: 16px;
}

.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #b0b7c3;
}

.footer-contact-item i {
    color: #4dbfff;
    margin-top: 2px;
    width: 16px;
}

.footer-contact-item a {
    color: #b0b7c3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: #4dbfff;
}

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.newsletter h6 {
    color: white;
    margin-bottom: 10px;
    font-size: 1rem;
}

.newsletter p {
    color: #b0b7c3;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Fixed Newsletter Input Styles */
.newsletter-input-group {
    display: flex;
    width: 100%;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    min-width: 0; /* Prevents flex item from overflowing */
}

.newsletter-input::placeholder {
    color: #b0b7c3;
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 12px 20px;
    background: #4dbfff;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.9rem;
}

.newsletter-btn:hover {
    background: #3aa0e0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.copyright {
    color: #b0b7c3;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: #b0b7c3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4dbfff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }

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

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

    /* Mobile newsletter layout */
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 6px;
        overflow: visible;
        background: transparent;
        border: none;
        gap: 10px;
    }

    .newsletter-input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        padding: 14px 15px;
    }

    .newsletter-btn {
        border-radius: 6px;
        padding: 14px 20px;
    }
}

@media (max-width: 576px) {
    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-description {
        text-align: center;
    }

    .widget-title {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .newsletter {
        padding: 15px;
    }

    .newsletter-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}