/* Footer specific styles */
footer .text-primary {
    color: #3B82F6 !important;
}

footer .bg-primary {
    background-color: #3B82F6 !important;
}

/* Footer layout */
footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 60px;
    padding-bottom: 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Footer heading underline */
footer h3 {
    padding-bottom: 10px;
    position: relative;
    font-weight: 700;
    margin-bottom: 20px;
}

footer h3 span {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 40px;
    background-color: #3B82F6;
}

/* Social icons styling */
footer .social-icons a {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

footer .social-icons a:hover {
    transform: translateY(-3px);
    background-color: #2563EB !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

footer .social-icons svg {
    color: white !important;
    fill: currentColor !important;
    stroke: none !important;
    transition: all 0.3s ease;
}

footer .social-icons a:hover svg {
    transform: scale(1.1);
}

/* Arrow icon for list items */
footer ul li svg {
    min-width: 12px;
    color: #3B82F6 !important;
    stroke: currentColor !important;
}

/* Footer links hover effect */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #3B82F6 !important;
    text-decoration: none;
    padding-left: 2px;
}

/* Logo styling */
footer .logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

footer img {
    transition: all 0.3s ease;
}

footer .flex items-center:hover img {
    transform: translateX(-2px);
}

/* Newsletter section */
footer .newsletter-section {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

footer .newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
    z-index: 0;
}

footer .newsletter-section > div {
    position: relative;
    z-index: 1;
}

footer .newsletter-section button {
    background-color: #3B82F6;
    transition: all 0.3s ease;
    font-weight: 600;
}

footer .newsletter-section button:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

footer .newsletter-section input {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

footer .newsletter-section input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    border-color: #3B82F6;
}

/* Copyright section */
footer .border-t {
    border-color: rgba(229, 231, 235, 0.8);
}

/* Quick links and popular exams spacing */
footer .quick-links,
footer .popular-exams {
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer .newsletter-section form {
        flex-direction: column;
    }
    
    footer .copyright-section {
        flex-direction: column;
        text-align: center;
    }
}
