 @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600;700&display=swap');

/* Hide welcome screen Next button */
#welcome-container .btn-primary,
#welcome-container button[type="submit"] {
    display: none !important;
}

/* Remove extra spacing */
#welcome-container {
    padding-bottom: 0 !important;
}
#navigator-container{
 display: none !important;
  padding-bottom: 0 !important;
}

.mobile-break {
    display: inline;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}
/* REMOVE LIMESURVEY BACKGROUND */
body,
#outerframeContainer,
#outerframeContainer > .container,
.container-fluid,
#content,
#wrapper {
    background: transparent !important;
    
}
html, body{
    max-height:100%;
height:100%;
width:100%;
overflow-x : hidden !important;



background-image:url("../files/bg.jpg");
background-size:cover;
background-position:right center; /* IMPORTANT */
background-repeat:no-repeat;

}
/* ===== HIDE LIMESURVEY NAVBAR ===== */

.navbar,
.top-container,
.survey-name,
#survey-nav,
#topbar{
display:none !important;
}

/* ===== MAIN LANDING ===== */

.airblue-landing{

min-height:100vh;

display:flex;
flex-direction:column;
align-items:center;

}

/* ===== HEADER LOGO ===== */

.airblue-header {

    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important; /* push logo LEFT */
    align-items: center !important;
    box-sizing: border-box;
    margin-left: -180px !important;
    margin-top :-80px !important;
    
}

/*.airblue-header{*/
/*position:absolute;*/
/*top:5px !important;*/
/*left:-50px !important;*/
/*z-index: 10;*/


/*}*/



/* ===== HIDE LANGUAGE LABEL ONLY ===== */
#firstpage-changelang label,
#firstpage-changelang .control-label {
    display: none !important;
}

/* Move the language form to top right corner */
/* Default = LTR (English) */
#firstpage-changelang {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
}

/* RTL (Urdu) → move to LEFT */
/*html[dir="rtl"] #firstpage-changelang,*/
/*body[dir="rtl"] #firstpage-changelang {*/
/*    left: 20px !important;*/
/*    right: auto !important;*/
/*}*/

/* Make the inner layout horizontal and visible */
#firstpage-changelang .form-change-lang {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
    margin: 0 !important;
}

/* Force visibility (override LimeSurvey's hidden classes) */
#firstpage-changelang,
#firstpage-changelang .form-change-lang,
#firstpage-changelang select,
#firstpage-changelang button{
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style the language selector */
#firstpage-changelang label {
    color: white !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

#firstpage-changelang select {
     background-color: grey !important; 
   /* background-image: linear-gradient(180deg, #004a99, white) !important; */
    background: linear-gradient(180.52deg, #1E4560 4.29%, #3D8EC6 81.18%);
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    color: white !important;
}

#firstpage-changelang button {
    background: rgba(255,255,255,0.2) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    color: white !important;
    cursor: pointer !important;
    display : none !important;
}




.airblue-logo{
height:32px;
width:auto;

}

/* ===== HERO TEXT ===== */

.airblue-hero{

text-align:center;
margin-top:140px;

}

.airblue-hero h1{

font-family: Lato;
font-weight: 700;
/*font-style: Bold;*/
font-size: 55px;

line-height: 100%;
letter-spacing: 0%;

margin-bottom:10px;
color:white;

}

.airblue-hero p{

font-family: Lato;
font-weight: 400;
font-style: Regular;
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

opacity:0.9;
color:white;

}

/* ===== CARD CONTAINER ===== */

.airblue-cards{

display:flex;
justify-content:center;
gap:30px;

margin-top:80px;

}

/* ===== CARD STYLE ===== */

.airblue-card{

width:334px;
height:219px;

border-radius:12px;
border: 3px solid white !important;

overflow:hidden;

text-decoration:none;
color:#fff;

position:relative;

box-shadow:0 15px 30px rgba(0,0,0,0.35);

transition:all 0.3s ease;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 34.62%, rgba(0, 0, 0, 0.7) 80.37%);


}

.airblue-card:hover{

transform:translateY(-8px) scale(1.02);

}

/* ===== CARD IMAGE ===== */

.airblue-card img{

position:absolute;
inset:0;

width:100%;
height:100%;

object-fit:cover;

}

/* ===== IMAGE GRADIENT ===== */

.airblue-card::after{

content:"";

position:absolute;
inset:0;

background:linear-gradient(
to top,
rgba(0,0,0,0.4),
rgba(0,0,0,0)
);

}

/* ===== CARD TEXT ===== */

.airblue-card span{

position:absolute;
bottom:16px;
left:18px;

z-index:2;
line-height: 120%;

font-family: Lato;
font-weight: 600;
font-style: SemiBold;
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


color:#ffffff;

}

/* YOUR EXISTING CSS ABOVE */


/* ================================
   FIXES (ADD AT VERY BOTTOM)
================================ */

.airblue-landing {
    position: relative;
    z-index: 2;
}

.airblue-cards {
    width: 100%;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.airblue-card img {
    z-index: 0;
}

.airblue-card span {
    z-index: 2;
}

/* OPTIONAL overlay fix */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}


/* =========================================
   TABLET VIEW (≤1024px)
========================================= */
@media (max-width: 1024px) {

    /* Background for tablet */
    html, body {
        background-image: url("../files/mobview.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* HERO TEXT */
    .airblue-hero {
        position: relative;
        margin-top: 110px;
        padding: 0 40px;
        text-align: left;
        max-width: 100%;
    }

    .airblue-hero h1 {
        font-size: 42px;
        line-height: 1.3;
    }

    .airblue-hero p {
        font-size: 22px;
    }

    /* CARDS STACK */
    .airblue-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 60px;
    }

    .airblue-card {
        width: 85%;
        max-width: 420px;
        height: 200px;
        border-radius: 16px;
    }
}


/* =========================================
   MOBILE VIEW (≤768px)
========================================= */

@media (max-width: 768px) {

    /* FULL SCREEN FIX */
    html, body {
        height: 100%;
        overflow-x: hidden !important;
        background-image: url("../files/mobview.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin : 0px !important;
        padding : 0px !important;
        overflow-y : scroll !important;
    }
    
            /* Mobile LTR */
        #firstpage-changelang {
            top: 10px !important;
            right: 10px !important;
            left: auto !important;
            z-index: 9999 !important;
        }
        
        /* Mobile RTL */
        html[dir="rtl"] #firstpage-changelang,
        body[dir="rtl"] #firstpage-changelang {
            left: 10px !important;
            right: auto !important;
        }
    #firstpage-changelang .form-change-lang {
        gap: 5px !important;
    }
    #firstpage-changelang select,
    #firstpage-changelang button {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }


    /* MAIN CONTAINER */
    .airblue-landing {
        /*padding: 40px 16px;*/
        /*justify-content: flex-start;*/
        /*align-items: flex-start;*/
        padding: -100px 16px 40px 16px !important;
    justify-content: flex-start;
    align-items: flex-start;
        
    }
    .mobile-break {
        display: block;
    }
    /* LOGO (TOP LEFT CLEAN) */
    .airblue-header {
        position: relative;
        /*top: -30px !important;*/
        margin-left :-5px !important;
        margin-bottom: 100px; /* spacing below logo */
        padding-top: 30px !important;
    }

    .airblue-logo {
        /*height: 28px;*/
        /*width: auto;*/
        /* display: block;*/
    }

    /* HERO TEXT (LEFT ALIGNED LIKE DESIGN) */
 .airblue-header img,
    .airblue-logo{
        /*width:180px !important;*/
        /*height:auto !important;*/
        /*max-width:none !important;*/
        /*width:24px;*/
    }
    .airblue-header img,
.airblue-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

    .airblue-hero h1 {
     
  font-family: Lato !important;
            font-weight: 700 !important;
            /*font-style: Bold !important;*/
            font-size:40px !important;
            leading-trim: NONE;
            line-height: 100%;

    
        margin-bottom: 10px;
        /*margin-top:5px ;*/
         margin-top: 0 !important;
        transform: translateY(-35px);

          
    }

    .airblue-hero p {
     font-family: Lato !important;
font-weight: 400 !important;
font-style: Regular !important;
font-size: 16px !important;
leading-trim: NONE;
/*line-height: 100%;*/
letter-spacing: 0%;
   margin-top: 0 !important;
        transform: translateY(-35px);
            

    }

    /* CARDS SECTION */
    .airblue-cards {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 18px;
         margin-top: 0 !important;
        transform: translateY(-30px);
    }

    /* CARD SIZE */
    .airblue-card {
        width: 100%;
        height: 158px !important;
        border-radius: 18px;
    }

    .airblue-card span {
        font-family: Lato;
font-weight: 600;
font-style: Regular;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

        bottom: 14px;
        left: 16px;
    }
}

/* =========================================
   SMALL MOBILE (≤480px)
========================================= */
@media (max-width: 480px) {

    .airblue-hero h1 {
        font-size: 26px;
    }

    .airblue-hero p {
        font-size: 15px;
    }

    .airblue-card {
        height: 170px;
    }

    .airblue-card span {
        font-size: 16px;
    }
}





/* FIX: logo always left, language always right */
.airblue-landing {
    position: relative !important;
    min-height: 100vh !important;
    align-items: center !important;
}

.airblue-header {
    position: fixed !important;
    top: 22px !important;
    left: 28px !important;
    right: auto !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 9999 !important;
}

.airblue-header img {
    /*height: 42px !important;*/
    width: auto !important;
}

/* language always right in English + Urdu */
#firstpage-changelang {
    position: fixed !important;
    top: 20px !important;
    right: 28px !important;
    left: auto !important;
    z-index: 10000 !important;
}

/* override your RTL rule */
html[dir="rtl"] #firstpage-changelang,
body[dir="rtl"] #firstpage-changelang {
    right: 28px !important;
    left: auto !important;
}

/* hide label and button, show only dropdown */
#firstpage-changelang label,
#firstpage-changelang button {
    display: none !important;
}

#firstpage-changelang .form-change-lang {
    display: flex !important;
    margin: 0 !important;
}

/* keep cards centered in both languages */
html[dir="rtl"] .airblue-cards,
html[dir="ltr"] .airblue-cards {
    direction: ltr !important;
    justify-content: center !important;
}

/* card text direction changes only */
html[dir="rtl"] .airblue-card span {
    direction: rtl !important;
    right: 18px !important;
    left: auto !important;
    text-align: right !important;
}

html[dir="ltr"] .airblue-card span {
    left: 18px !important;
    right: auto !important;
    text-align: left !important;
}



/* =========================================
   MOBILE LOGO PERFECT FIX
========================================= */
@media (max-width: 768px) {

    .airblue-header {
        position: fixed !important;
        top: 14px !important;
        left: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        z-index: 99999 !important;
    }
          .airblue-hero{}  

    .airblue-header img,
    .airblue-logo {
        display: block !important;
  
        /*max-width: 140px !important;*/
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
    }
       .airblue-header img,
    .airblue-logo{
        width: 110px !important;
        height: auto !important;
background:transparent;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;

        transform: translateZ(0);
        backface-visibility: hidden;
    }

    #firstpage-changelang {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        z-index: 99999 !important;
    }
    
    
    html,
body {
    min-height: 100vh !important;
    background-image: url("../files/mobview.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
}


