.newsletter-section {
    background-color: #0099ff;
    border-radius: 15px;
    padding: 15px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    max-width: 900px;
    position: relative;
    top: 80px;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-image {
    flex: 1;
    max-width: 40%;
}

.newsletter-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.newsletter-content {
    flex: 1;
    padding-left: 40px;
}

.newsletter-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-button {
    background-color: white;
    color: #0099ff;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.footer-main {
    background-color: #003366;
    padding: 30px 0 20px;
    color: white;
    margin-top: 0px;
}

.footer-section {
    margin-bottom: 25px;
}

.footer-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background-color: #0099ff;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    line-height: 1.6;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    color: white;
    text-decoration: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-social a:hover {
    background-color: #0099ff;
    border-color: #0099ff;
    transform: translateY(-2px);
}

.goc-logo {
    max-width: 110px;
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.contact-info i {
    color: #0099ff;
    font-size: 14px;
}

@media (max-width: 991px) {
    .newsletter-section {
        flex-direction: column;
        padding: 30px;
        top: 60px;
    }

    .newsletter-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .newsletter-content {
        padding-left: 0;
        text-align: center;
    }

    .footer-main {
        padding-top: 120px;
    }
}

@media (max-width: 576px) {
    .newsletter-section {
        margin: 0 15px;
        padding: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
    }
    
    /* Mobile Footer Layout Changes */
    .footer-main {
        padding-top: 30px; /* Reduced from 120px for mobile */
    }
    
    /* Force Top Links and Collaborate to be in one row */
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        float: left;
    }
    
    /* Force Help & Support and Don't Miss Out to be in one row */
    .footer-section:nth-child(4),
    .footer-section:nth-child(5) {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        float: left;
    }
    
    /* Clear floats for proper row separation */
    .footer-section:nth-child(3)::after,
    .footer-section:nth-child(5)::after {
        content: '';
        display: table;
        clear: both;
    }
    
    /* Adjust spacing for mobile footer sections */
    .footer-section {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    /* Reduce logo top margin on mobile */
    .goc-logo {
        margin-bottom: 10px;
    }
    
    /* Adjust footer titles for mobile */
    .footer-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* Adjust footer links for mobile */
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    /* Adjust contact info for mobile */
    .contact-info p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    /* Adjust social icons for mobile */
    .footer-social {
        gap: 8px;
        margin-top: 15px;
    }
    
    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Extra small devices - ensure proper spacing */
@media (max-width: 480px) {
    .footer-main {
        padding-top: 70px;
    }
    
    .footer-section {
        padding: 0 5px;
    }
    
    .footer-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-links a {
        font-size: 11px;
    }
    
    .contact-info p {
        font-size: 11px;
    }
} 