/* NIKAHTRUST FINAL CSS */

:root {
    --primary-color: #ff5a60;
}

* {
    animation: none !important;
}

/* Custom Select Arrow */
.form-select-custom {
    outline: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* =========================================
   MOBILE & TABLET FORCE FIXES
   ========================================= */
@media (max-width: 991px) {
    
    /* 1. HERO IMAGE CENTER */
    .hero-section {
        background-position: 65% center !important; 
        min-height: 700px !important;
        align-items: flex-start !important; /* Content thoda upar start ho */
        padding-top: 100px !important;
    }
    
    .hero-content-wrapper {
        margin-top: 0 !important; /* Desktop ka margin hataya */
        width: 100% !important;
    }

    /* 2. TEXT FIXES */
    .hero-text {
        text-align: left !important;
        width: 100%;
        padding-left: 5px;
        margin-bottom: 20px !important;
    }

    .nt-hero-line1 { 
        font-size: 1.4rem !important; 
        color: #ffffff !important;
    }

    /* PERFECT LIFE PARTNER - FORCE ONE LINE */
    .nt-hero-line2 { 
        font-size: 22px !important; /* Fixed pixel size to guarantee fit */
        line-height: 1.2 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        width: 100%;
        display: block !important;
    }

    .hero-sub-text {
        font-size: 0.9rem !important;
        display: block !important;
    }

    /* 3. SEARCH BAR - FIX OVERFLOW */
    .search-container-wrap {
        width: 100% !important;
        padding: 0 !important;
    }

    .search-form-flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 2 Columns */
        gap: 10px !important;
        padding: 15px !important;
        background-color: #ffffff !important;
        
        /* Force Fit Screen */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    }

    /* Hide Desktop Borders/Styles */
    .search-field {
        border-right: none !important;
        background: #f9f9f9 !important;
        border-radius: 4px;
        border: 1px solid #ddd !important;
        padding: 5px 10px !important;
        width: auto !important;
    }

    /* Labels visible on mobile */
    .mobile-label {
        display: block !important;
        font-size: 10px;
        font-weight: 700;
        color: #666;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .form-select-custom { 
        height: 30px; 
        font-size: 14px; 
        padding: 0 !important;
    }

    /* Button Full Width */
    .search-button-wrap { 
        grid-column: span 2 !important; 
        padding-left: 0 !important; 
        margin-top: 5px;
        width: 100% !important;
    }
    
    .btn-search-submit { 
        width: 100% !important; 
        height: 45px !important;
    }
}
/* =========================================
   MOBILE ONLY FIXES (DESKTOP SAFE)
   ========================================= */
@media (max-width: 991px) {
    
    /* 1. HERO IMAGE CENTER FIX */
    .hero-section {
        background-position: 60% center !important; /* Couple ko center me laane ke liye */
        align-items: center !important;
        padding-top: 0 !important;
        min-height: 600px !important; /* Mobile par height thodi kam */
    }
    
    /* Desktop ka margin hatana zaroori hai */
    .hero-content-wrapper {
        margin-top: 0 !important;
        padding-top: 20px;
        width: 100% !important;
    }

    /* 2. TEXT FIXES (ONE LINE & CENTER) */
    .hero-text {
        text-align: center !important; /* Mobile pe center text better dikhta hai */
        width: 100%;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .nt-hero-line1 { 
        font-size: 1.2rem !important; 
        color: #ffffff !important;
        text-align: center !important;
        display: block;
    }

    /* "Perfect Life Partner" - FORCE ONE LINE */
    .nt-hero-line2 { 
        font-size: 24px !important; /* Size adjust kiya taaki ek line me aaye */
        line-height: 1.2 !important;
        color: #ffffff !important;
        white-space: nowrap !important; /* Tute na */
        text-align: center !important;
        width: 100%;
        display: block !important;
    }

    .hero-sub-text {
        font-size: 0.9rem !important;
        text-align: center !important;
        display: block !important;
        margin-top: 5px !important;
    }

    /* 3. SEARCH BAR FIX (CLEAN GRID) */
    .search-container-wrap {
        width: 100% !important;
        padding: 0 10px !important; /* Side gap */
        display: flex;
        justify-content: center;
    }

    .search-form-flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 2 Barabar Columns */
        gap: 10px !important;
        padding: 15px !important;
        background-color: #ffffff !important;
        border-radius: 10px !important;
        
        /* Centering & Width */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    }

    .search-field {
        border-right: none !important;
        background: #f5f5f5 !important;
        border-radius: 5px;
        border: 1px solid #e0e0e0 !important;
        padding: 8px !important;
        width: auto !important;
        min-width: 0 !important; /* Shrink hone se bachaye */
    }

    /* Label Styling */
    .mobile-label {
        display: block !important;
        font-size: 10px;
        font-weight: 700;
        color: #888;
        text-transform: uppercase;
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }

    .form-select-custom { 
        height: 25px !important; 
        font-size: 13px !important; 
        padding: 0 !important;
        width: 100% !important;
    }

    /* Button Full Width */
    .search-button-wrap { 
        grid-column: span 2 !important; /* Button pure neeche failega */
        padding-left: 0 !important; 
        margin-top: 5px;
        width: 100% !important;
    }
    
    .btn-search-submit { 
        width: 100% !important; 
        height: 45px !important;
        border-radius: 5px !important;
    }
}