/* --- StarHost Premium Footer Styles --- */
:root {
    --f-gold: #ff9900;
    --f-black: #0a0a0a;
    --f-dark: #141414;
    --f-text: #b0b0b0;
}

.sh-main-footer {
    background: var(--f-black) !important;
    color: var(--f-text) !important;
    padding: 80px 0 30px !important;
    border-top: 3px solid var(--f-gold) !important;
    font-family: 'Inter', sans-serif;
    position: relative;
    width: 100%;
    clear: both;
}

/* کالمز کو لائن میں سیٹ کرنے کے لیے */
.sh-footer-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 40px;
}

.sh-footer-col {
    flex: 1;
    min-width: 250px;
}

.sh-footer-about {
    flex: 1.5 !important;
}

.sh-footer-logo {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.sh-footer-logo span {
    color: var(--f-gold);
}

.sh-footer-about p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.sh-footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.sh-footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--f-gold);
}

/* کوئیک لنکس اور انڈر لائن ایفیکٹ */
.sh-footer-links {
    list-style: none;
    padding: 0;
}

.sh-footer-links li {
    margin-bottom: 15px;
}

.sh-footer-links li a {
    color: var(--f-text);
    text-decoration: none;
    font-size: 15px;
    position: relative;
    transition: 0.3s ease;
}

.sh-footer-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--f-gold);
    transition: width 0.3s ease-in-out;
}

.sh-footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.sh-footer-links li a:hover::after {
    width: 100%;
}

/* رابطہ کی معلومات */
.sh-contact-info {
    list-style: none;
    padding: 0;
}

.sh-contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.sh-contact-info i {
    color: var(--f-gold);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* سوشل میڈیا آئیکنز */
.sh-social-icons {
    display: flex;
    gap: 12px;
}

.sh-social-icons a {
    width: 40px;
    height: 40px;
    background: var(--f-dark);
    color: var(--f-gold);
    border: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.4s;
    font-size: 16px;
}

.sh-social-icons a:hover {
    background: var(--f-gold);
    color: #000;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
}

/* پیمنٹ کارڈز */
.sh-pay-icons {
    display: flex;
    gap: 10px;
}

.sh-pay-card {
    background: #ffffff;
    padding: 5px;
    border-radius: 6px;
    width: 90px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.sh-pay-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sh-pay-card:hover {
    border-color: var(--f-gold);
    transform: scale(1.05);
}

/* فوٹر کا نچلا حصہ */
.sh-footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    font-size: 13px;
    color: #555;
}

/* ==========================================
   NEW POPUP (MODAL) STYLES - UPDATED
   ========================================== */

.modal-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* سیاہ کے بجائے شفاف بیک گراؤنڈ (0.7 opacity) */
    background: rgba(0, 0, 0, 0.7); 
    z-index: 999999 !important;
    backdrop-filter: blur(5px); /* ہلکا بلر ایفیکٹ */
    overflow-y: auto;
}

/* پاپ اپ کو اسکرین کے درمیان لانے کے لیے */
.modal-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    /* انگلش ٹیکسٹ کے لیے LTR ترتیب */
    direction: ltr !important; 
    text-align: left !important;
    border-top: 5px solid var(--f-gold);
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 20px; /* کراس آئیکن کو دائیں طرف منتقل کیا */
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}

.close-icon:hover {
    color: var(--f-gold);
    transform: rotate(90deg);
}

.modal-box h2 {
    color: #111;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

/* فارم ایلیمنٹس */
.input-group {
    margin-bottom: 15px;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box; /* پیڈنگ کنٹرول کرنے کے لیے */
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--f-gold);
    box-shadow: 0 0 8px rgba(255, 153, 0, 0.2);
}

#submitBtn {
    background: var(--f-gold);
    color: #fff;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

#submitBtn:hover {
    background: #e68a00;
}

#submitBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ریسپانسیو ڈیزائن (Footer) */
@media (max-width: 768px) {
    .sh-footer-grid {
        flex-direction: column;
        text-align: center;
    }
    .sh-footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .sh-social-icons, .sh-pay-icons {
        justify-content: center;
    }
    .sh-contact-info li {
        justify-content: center;
    }
}