/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background-color: var(--navy);
    color: #ffffff;
    padding: 60px 20px 30px;
}
/* Newsletter bar */
.footer-newsletter-wrapper {
    max-width: 1200px;
    margin: 0 auto 32px;
}

.footer-newsletter {
    padding: 24px 20px;
    border-radius: 12px;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-newsletter h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    width: 100%;
}
.newsletter-form { display: flex; gap: 10px; justify-content: flex-end; width: 100%; }
.newsletter-input {
    height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.3);
    background: #fff; color: #111; min-width: 260px;
}
.newsletter-submit {
    height: 44px; padding: 0 16px; border-radius: 8px; border: none; cursor: pointer; font-weight: 700;
    background: #165DFF; color: #fff;
}

/* Success message */
.newsletter-success-message {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
}
.success-icon {
    font-size: 24px;
    color: #4caf50;
    font-weight: bold;
}
.success-text {
    margin: 0;
    color: #e8f5e9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-newsletter { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; flex-direction: column; }
    .newsletter-input { min-width: 100%; }
    .footer-newsletter h3{
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    width: 100%;
/*     text-align: justify; */
    font-weight: 400;
    }
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Logo & Socials Section */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Links Section */
.footer-links ul,
.footer-community ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a,
.footer-community a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-community a:hover {
    opacity: 0.8;
}

.badge {
    display: inline-block;
    background-color: #ffffff;
    color: var(--navy-second);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 8px;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 500;
}

.contact-item p {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}

/* SEBI Section */
.footer-sebi-section {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sebi-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.sebi-column h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.sebi-column p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    color: #ffffff;
}

/* Disclaimer */
.footer-disclaimer {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.footer-disclaimer p {
    margin-bottom: 15px;
    overflow-wrap: break-word;
}

.footer-disclaimer a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sebi-details {
        grid-template-columns: 1fr;
    }
    
    .footer-section h4,
    .sebi-column h5 {
        font-size: 18px;
    }
    
    .footer-links a,
    .footer-community a,
    .contact-label,
    .contact-item p,
    .sebi-column p,
    .footer-disclaimer {
        font-size: 16px;
    }
}
