/* footer.css - FIXED: All content VISIBLE, No Scroll, Perfect Fit */
.footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #111827 100%);
    padding: 1.75rem 0 1rem;
    position: relative;
}

/* MAIN CONTAINER */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* MAIN DIV - Perfect container */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    min-height: 180px; /* FIXED: Slightly taller for all content */
    align-items: stretch;
}

/* LEFT DIV - Quick Links (ALL VISIBLE, No Scroll) */
.footer-links-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    flex-shrink: 0;
}

.footer-links-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* FIXED: Tighter spacing */
}

.footer-links-box li {
    margin: 0;
}

.footer-links-box a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.84rem; /* FIXED: Smaller font */
    padding: 0.25rem 0.4rem; /* FIXED: Less padding */
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.25; /* FIXED: Tighter line height */
}

.footer-links-box a:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.2);
    padding-left: 0.6rem;
    transform: translateX(2px);
}

/* RIGHT DIV - Newsletter (ALL VISIBLE) */
.footer-newsletter-box {
    background: rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.newsletter-text {
    color: #e5e7eb;
    font-size: 0.78rem; /* FIXED: Smaller font */
    margin-bottom: 0.5rem; /* FIXED: Less margin */
    line-height: 1.3;
    font-weight: 400;
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
    align-items: center;
}

.footer-newsletter-box input {
    flex: 1;
    padding: 0.5rem 0.65rem; /* FIXED: Smaller padding */
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 0.82rem;
    outline: none;
    font-family: inherit;
    min-height: 28px; /* FIXED: Smaller height */
}

.footer-newsletter-box input::placeholder {
    color: rgba(255,255,255,0.55);
}

.footer-newsletter-box button {
    padding: 0.5rem 0.85rem; /* FIXED: Smaller padding */
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 28px; /* FIXED: Smaller height */
}

.footer-newsletter-box button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102,126,234,0.4);
}

/* FOOTER BOTTOM */
.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
}

.footer-bottom-left p {
    color: #9ca3af;
    font-size: 0.82rem;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.78rem;
}

.footer-legal span {
    color: #6b7280;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #60a5fa;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .footer-newsletter-box input {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 1.25rem 0 0.75rem;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-main {
        padding: 1rem;
        gap: 1rem;
    }
}
