/* Footer Styles */
.footer {
    background-color: #1B365D;
    color: #fff;
    padding: 60px 0 30px;
    font-family: var(--font-family);
    overflow-x: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Footer Sections Grid */
.footer-sections {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    box-sizing: border-box;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Links Styling */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

/* Contact Information */
.contact-info {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.contact-address {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 20px;
}

.contact-address p {
    margin-bottom: 15px;
}

.contact-address strong {
    color: #fff;
    opacity: 0.9;
}

/* Company Registration */
.company-registration {
    margin-top: 20px;
}

.reg-info {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 4px;
}

.reg-info strong {
    color: #fff;
    opacity: 0.9;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
}

/* Newsletter Form */
.newsletter-form .input-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: #2B4B7E;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a5d94;
}

/* Quick Links Section */
.footer-quick-links {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-quick-links h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    color: #fff;
}

.quick-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
}

.quick-links-grid a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 5px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.quick-links-grid a:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.separator {
    opacity: 0.4;
}

.copyright {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-sections {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .quick-links-grid {
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .footer-sections {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .contact-address {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        overflow-x: hidden;
    }
    
    .footer-content {
        padding: 0 15px;
        max-width: 100%;
    }

    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section {
        min-width: 0;
        overflow-wrap: break-word;
    }
    
    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-section a {
        font-size: 13px;
        word-wrap: break-word;
    }
    
    .contact-info {
        font-size: 13px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .contact-address {
        font-size: 11px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .reg-info {
        font-size: 11px;
        padding: 8px;
        word-wrap: break-word;
    }
    
    .quick-links-grid {
        gap: 12px;
        max-width: 100%;
    }
    
    .quick-links-grid a {
        font-size: 13px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
        overflow-x: hidden;
        width: 100%;
    }
    
    .footer-content {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .footer-section ul {
        text-align: center;
        width: 100%;
    }
    
    .footer-section a {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-info {
        text-align: center;
        font-size: 14px;
        word-wrap: break-word;
    }
    
    .contact-address {
        text-align: center;
        font-size: 12px;
        word-wrap: break-word;
    }
    
    .social-icons {
        justify-content: center;
        width: 100%;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
        box-sizing: border-box;
    }
    
    .newsletter-form button {
        width: 100%;
        box-sizing: border-box;
    }
    
    .quick-links-grid {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .quick-links-grid a {
        font-size: 14px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .footer-quick-links {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .footer-quick-links h3 {
        text-align: center;
        word-wrap: break-word;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 20px;
        width: 100%;
        max-width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .separator {
        display: none;
    }
    
    .company-registration {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .reg-info {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 320px) {
    .footer {
        padding: 25px 0 15px;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-section h3 {
        font-size: 15px;
    }
    
    .footer-section a {
        font-size: 13px;
    }
    
    .contact-info {
        font-size: 13px;
    }
    
    .contact-address {
        font-size: 11px;
    }
    
    .quick-links-grid a {
        font-size: 13px;
    }
    
    .reg-info {
        font-size: 10px;
        padding: 6px;
    }
}

/* Form Validation Styles */
.newsletter-form input:invalid {
    box-shadow: none;
}

.newsletter-form input:focus {
    outline: 1px solid rgba(255, 255, 255, 0.3);
}