.elementor-191 .elementor-element.elementor-element-0704b18 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-46cc56d *//* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

:root {
    --footer-bg: #0f172a; 
    --accent-blue: #1363DF;
    --accent-hover: #0a4bbd;
    --text-gray: #94a3b8;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

.iblaagh-footer {
    direction: rtl;
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 80px 5% 40px;
    font-family: 'Noto Nastaliq Urdu', serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Desktop: 4 Columns */
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Headers Styling */
.footer-column h3 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    display: inline-block; /* Alignment fix for underline */
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 10px;
}

/* Brand Section */
.footer-logo {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
}
.footer-logo span { color: var(--accent-blue); }

.brand-info p {
    color: var(--text-gray);
    line-height: 2.2;
    font-size: 15px;
    margin-bottom: 25px;
    text-align: justify; /* Text block looks professional */
}

/* Social Links Alignment */
.social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

/* Lists Styling */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 15px;
    display: block;
}

.footer-column ul li a:hover {
    color: var(--accent-blue);
    padding-right: 8px; /* RTL Specific Nudge */
}

/* Newsletter Fix */
.subscribe-form {
    display: flex;
    margin-top: 20px;
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--white);
    font-size: 14px;
}

.subscribe-form button {
    padding: 10px 20px;
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.subscribe-form button:hover {
    background: var(--accent-hover);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

/* --- MEDIA QUERIES (Enhanced Responsiveness) --- */

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
    .newsletter { grid-column: span 3; margin-top: 10px; }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .brand-info { grid-column: span 2; text-align: center; }
    .social-links { justify-content: center; }
    .newsletter { grid-column: span 2; }
    
    /* Center underlines on mobile */
    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 480px) {
    .iblaagh-footer { text-align: center; padding: 50px 5% 30px; }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .brand-info, .newsletter { grid-column: span 1; }
    
    .subscribe-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    
    .subscribe-form input {
        background: var(--glass-bg);
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    
    .subscribe-form button {
        border-radius: 10px;
        width: 100%;
        padding: 15px;
    }
}/* End custom CSS */