/*==================================================
QMS Corporate Website
style.css
Version : 1.0
==================================================*/

@import url("variables.css");

/*==================================================
RESET
==================================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:var(--body-font);
    color:var(--gray-700);
    background:var(--white);
    font-size:16px;
    line-height:1.7;
    overflow-x:hidden;
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;

}

::selection{

    background:var(--secondary);
    color:#fff;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    transition:var(--transition);

}

ul{

    list-style:none;

}

button{

    border:none;
    background:none;
    cursor:pointer;
    transition:var(--transition);

}

input,
textarea{

    outline:none;

}

section{

    position:relative;
    padding:120px 0;

}

.container-custom{

    max-width:1320px;
    margin:auto;
    padding:0 15px;

}

/*==================================================
HEADINGS
==================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:var(--heading-font);
    color:var(--primary);
    font-weight:700;
    line-height:1.2;

}

h1{

    font-size:64px;

}

h2{

    font-size:48px;

}

h3{

    font-size:36px;

}

h4{

    font-size:28px;

}

h5{

    font-size:22px;

}

h6{

    font-size:18px;

}

p{

    margin-bottom:20px;

}

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

.text-primary{

    color:var(--primary)!important;

}

.text-secondary{

    color:var(--secondary)!important;

}

.text-white{

    color:#fff!important;

}

.text-gray{

    color:var(--gray-600);

}

.bg-primary{

    background:var(--primary);

}

.bg-secondary{

    background:var(--secondary);

}

.bg-light{

    background:var(--gray-100);

}

.bg-dark{

    background:var(--dark);

}

/*==================================================
BUTTONS
==================================================*/

.btn-primary-custom{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:18px 40px;

    border-radius:999px;

    background:var(--gradient-primary);

    color:#fff;

    font-weight:600;

    transition:.4s;

    box-shadow:var(--shadow-primary);

}

.btn-primary-custom:hover{

    transform:translateY(-5px);

    color:#fff;

}

.btn-secondary-custom{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:18px 40px;

    border-radius:999px;

    background:#fff;

    color:var(--primary);

    font-weight:600;

    transition:.4s;

}

.btn-secondary-custom:hover{

    background:var(--secondary);

    color:#fff;

}

.btn-outline-custom{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 40px;

    border:2px solid var(--secondary);

    border-radius:999px;

    color:var(--secondary);

    transition:.4s;

}

.btn-outline-custom:hover{

    background:var(--secondary);

    color:#fff;

}

/*==================================================
SECTION TITLE
==================================================*/

.section-title{

    margin-bottom:70px;

}

.section-title span{

    display:inline-block;

    color:var(--secondary);

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.section-title h2{

    margin-bottom:20px;

}

.section-title p{

    max-width:650px;

}

/*==================================================
GLASS CARD
==================================================*/

.glass-card{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.25);

    border-radius:25px;

    padding:35px;

    transition:.4s;

}

.glass-card:hover{

    transform:translateY(-8px);

}

/*==================================================
CARDS
==================================================*/

.card-custom{

    background:#fff;

    border-radius:25px;

    overflow:hidden;

    box-shadow:var(--shadow-md);

    transition:.4s;

}

.card-custom:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-xl);

}

/*==================================================
UTILITIES
==================================================*/

.rounded-30{

    border-radius:30px;

}

.shadow-primary{

    box-shadow:var(--shadow-primary);

}

.shadow-secondary{

    box-shadow:var(--shadow-secondary);

}

.mt-120{

    margin-top:120px;

}

.mb-120{

    margin-bottom:120px;

}

.py-120{

    padding-top:120px;
    padding-bottom:120px;

}

.overflow-hidden{

    overflow:hidden;

}

.position-relative{

    position:relative;

}

.z-2{

    z-index:2;

}
/*==================================================
PRELOADER
==================================================*/

.preloader{

    position:fixed;
    inset:0;

    width:100%;
    height:100vh;

    background:var(--dark);

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:999999;

    transition:.6s;

}

.preloader.hide{

    opacity:0;
    visibility:hidden;

}

.loader-circle{

    width:90px;
    height:90px;

    border-radius:50%;

    border:6px solid rgba(255,255,255,.15);

    border-top:6px solid var(--secondary);

    animation:loaderRotate 1s linear infinite;

}

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

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    transition:.4s;

}

.header.scrolled{

    background:rgba(9,20,31,.95);

    backdrop-filter:blur(20px);

    box-shadow:0 10px 30px rgba(0,0,0,.2);

}

.navbar{

    min-height:90px;

}

.navbar-brand img{

    height:55px;

}

.navbar-nav{

    gap:18px;

}

.navbar-nav .nav-link{

    color:#fff;

    font-weight:600;

    position:relative;

    transition:.35s;

}

.navbar-nav .nav-link:hover{

    color:var(--secondary);

}

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.35s;

}

.navbar-nav .nav-link:hover::after{

    width:100%;

}

.navbar-toggler{

    border:none;

    box-shadow:none;

}

.navbar-toggler:focus{

    box-shadow:none;

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    color:#fff;

}

.hero-video{

    position:absolute;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:-3;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(

        rgba(7,22,38,.85),

        rgba(7,22,38,.65)

    );

    z-index:-2;

}

.hero-content{

    max-width:760px;

}

.hero-subtitle{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:12px 24px;

    border-radius:999px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(20px);

    margin-bottom:25px;

}

.hero-subtitle span{

    color:var(--secondary);

    font-weight:700;

}

.hero h1{

    color:#fff;

    font-size:72px;

    margin-bottom:25px;

    line-height:1.1;

}

.hero h1 span{

    color:var(--secondary);

}

.hero p{

    color:#E9EDF2;

    font-size:20px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/*==================================================
BACKGROUND SHAPES
==================================================*/

.hero-shape-one{

    position:absolute;

    width:380px;

    height:380px;

    border-radius:50%;

    background:rgba(0,198,183,.18);

    filter:blur(100px);

    top:-80px;

    right:-120px;

}

.hero-shape-two{

    position:absolute;

    width:300px;

    height:300px;

    border-radius:50%;

    background:rgba(92,225,230,.18);

    filter:blur(100px);

    left:-100px;

    bottom:-100px;

}

.hero-grid{

    position:absolute;

    inset:0;

    background-image:

    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:50px 50px;

    z-index:-1;

}

/*==================================================
SCROLL INDICATOR
==================================================*/

.scroll-down{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-down span{

    display:block;

    width:30px;

    height:50px;

    border:2px solid #fff;

    border-radius:30px;

    position:relative;

}

.scroll-down span::before{

    content:"";

    position:absolute;

    width:6px;

    height:10px;

    background:#fff;

    border-radius:10px;

    left:50%;

    transform:translateX(-50%);

    top:8px;

    animation:scrollWheel 2s infinite;

}

/*==================================================
SECTION SPACING
==================================================*/

.section-padding{

    padding:120px 0;

}

.section-dark{

    background:var(--dark);

    color:#fff;

}

.section-light{

    background:var(--gray-100);

}
.section-light .row > div{
    display: flex;
}
/*==================================================
ABOUT SECTION
==================================================*/

.about-section{
    position:relative;
    overflow:hidden;
}

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    border-radius:30px;
    box-shadow:var(--shadow-xl);
}

.about-badge{

    position:absolute;

    right:-20px;
    bottom:40px;

    background:#fff;

    border-radius:20px;

    padding:25px;

    box-shadow:var(--shadow-lg);

}

.about-badge h2{

    color:var(--secondary);

    font-size:48px;

    margin-bottom:0;

}

.about-content h2{

    margin-bottom:25px;

}

.about-content p{

    margin-bottom:20px;

}

.about-list{

    margin-top:35px;

}

.about-list li{

    display:flex;

    align-items:center;

    margin-bottom:18px;

    font-weight:600;

}

.about-list li i{

    width:42px;
    height:42px;

    background:var(--secondary);

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-right:15px;

}

/*==================================================
EXPERTISE
==================================================*/

.expertise-card{

    background:#fff;

    padding:40px 30px;

    border-radius:25px;

    transition:.4s;

    box-shadow:var(--shadow-md);

    height:100%;

    text-align:center;

}

.expertise-card:hover{

    transform:translateY(-12px);

    box-shadow:var(--shadow-xl);

}

.expertise-icon{

    width:90px;

    height:90px;

    border-radius:25px;

    margin:auto;

    margin-bottom:25px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--gradient-secondary);

    color:#fff;

    font-size:34px;

}

.expertise-card h4{

    margin-bottom:20px;

}

/*==================================================
STATISTICS
==================================================*/

.statistics{

    background:var(--gradient-primary);

    color:#fff;

}

.counter-box{

    text-align:center;

}

.counter-box h2{

    color:#fff;

    font-size:60px;

    margin-bottom:10px;

}

.counter-box p{

    margin:0;

    font-size:18px;

    color:#E9EDF2;

}

/*==================================================
SERVICES
==================================================*/

.service-card{

    position:relative;

    overflow:hidden;

    background:#fff;

    border-radius:25px;

    padding:40px;

    box-shadow:var(--shadow-md);

    transition:.4s;

    height:100%;

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-xl);

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;
    top:0;

    width:5px;

    height:0;

    background:var(--secondary);

    transition:.4s;

}

.service-card:hover::before{

    height:100%;

}

.service-icon{

    width:85px;

    height:85px;

    border-radius:22px;

    background:var(--gradient-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    margin-bottom:25px;

}

.service-card h4{

    margin-bottom:20px;

}

.service-card a{

    color:var(--secondary);

    font-weight:700;

}

/*==================================================
WHY US
==================================================*/
.why-card{

    width:100%;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;

    padding:40px;

    background:#fff;

    border-radius:25px;

    box-shadow:var(--shadow-md);

    transition:all .4s ease;

    position:relative;

    overflow:hidden;

}

.why-card i{

    font-size:48px;

    /*color:var(--primary-color);*/
    color:var(--secondary);

    margin-bottom:25px;

}

.why-card h4{

    min-height:60px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    font-weight:700;

    line-height:1.4;

}

.why-card p{

    flex:1;

    margin:0;

    line-height:1.8;

    color:var(--text-light);

}

.why-card:hover{

    transform:translateY(-10px);
    color:var(--secondary);
    box-shadow:0 20px 50px rgba(0,0,0,.12);

}
/*.why-card{*/

    /*text-align:center;*/

    /*padding:40px;*/

    /*border-radius:25px;*/

    /*background:#fff;*/

    /*box-shadow:var(--shadow-md);*/

    /*transition:.4s;*/

/*}*/

/*.why-card:hover{*/

    /*transform:translateY(-10px);*/

/*}*/

/*.why-card i{*/

    /*font-size:45px;*/

    /*color:var(--secondary);*/

    /*margin-bottom:20px;*/

/*}*/

/*==================================================
CTA
==================================================*/

.cta{

    position:relative;

    background:var(--gradient-primary);

    color:#fff;

    overflow:hidden;

}

.cta h2{

    color:#fff;

    margin-bottom:25px;

}

.cta p{

    color:#E9EDF2;

    margin-bottom:35px;

}

.cta::before{

    content:"";

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    right:-150px;
    top:-150px;

}

/*==================================================
FOOTER
==================================================*/

.footer{

    background:var(--dark);

    color:#BFC7CF;

    padding-top:100px;

}

.footer-logo{

    margin-bottom:25px;

}

.footer-logo img{

    height:60px;

}

.footer h5{

    color:#fff;

    margin-bottom:25px;

}

.footer ul{

    padding:0;

}

.footer ul li{

    margin-bottom:15px;

}

.footer ul li a{

    color:#BFC7CF;

}

.footer ul li a:hover{

    color:var(--secondary);

    padding-left:8px;

}

.footer-contact li{

    display:flex;

    gap:15px;

}

.footer-contact i{

    color:var(--secondary);

    margin-top:4px;

}

.footer-social{

    display:flex;

    gap:15px;

    margin-top:30px;

}

.footer-social a{

    width:48px;

    height:48px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.4s;

}

.footer-social a:hover{

    background:var(--secondary);

    transform:translateY(-5px);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    margin-top:70px;

    padding:30px 0;

    text-align:center;

    color:#9AA8B4;

}
/*==================================================
TRAINING SECTION
==================================================*/

.training-card{


    position:relative;

    display:flex;

    flex-direction:column;

    width:100%;

    height:100%;

    padding:80px 35px 35px;

    background:#fff;

    border-radius:25px;

    box-shadow:var(--shadow-md);

    transition:.4s ease;

    overflow:hidden;

}

.training-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.12);

}

.training-card h4{

    margin-bottom:18px;

    font-size:24px;

    font-weight:700;

}

.training-card p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:20px;

    flex:1;

}

.training-card .about-list{

    margin:0;

    padding:0;

}

.training-card .about-list li{

    margin-bottom:10px;

}

.training-card .service-icon{

    /*position:absolute;*/

    top:30px;

    left:35px;

    width:70px;

    height:70px;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    /*background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));*/

    /*color:#fff;*/

    /*font-size:30px;*/

    /*box-shadow:0 12px 30px rgba(0,98,255,.25);*/
    font-size:30px !important;

    color:#fff !important;

    /*display:block;*/

    line-height:1;

    /*margin:0;*/

}

.training-card .service-icon i{

    margin:0;

}

.training-image{

    overflow:hidden;

}

.training-image img{

    width:100%;

    transition:.6s;

}

.training-card:hover .training-image img{

    transform:scale(1.08);

}

.training-content{

    padding:35px;

}

.training-content h4{

    margin-bottom:18px;

}

.training-content ul{

    margin-top:20px;

}

.training-content ul li{

    padding:8px 0;

    color:var(--gray-600);

}

.training-content ul li i{

    color:var(--secondary);

    margin-right:12px;

}

/*==================================================
CONSULTANCY
==================================================*/

.consultancy-card{

    background:#fff;

    border-radius:25px;

    padding:45px;

    box-shadow:var(--shadow-md);

    transition:.4s;

}

.consultancy-card:hover{

    transform:translateY(-10px);

}

.consultancy-number{

    font-size:60px;

    font-weight:800;

    color:rgba(0,198,183,.15);

    margin-bottom:15px;

}

.workflow{

    position:relative;

}

.workflow::before{

    content:"";

    position:absolute;

    left:50%;

    top:0;

    width:2px;

    height:100%;

    background:var(--gray-300);

}

.workflow-item{

    position:relative;

    margin-bottom:60px;

}

.workflow-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    background:var(--gradient-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    margin:auto;

    box-shadow:var(--shadow-primary);

}

/*==================================================
CONTACT
==================================================*/

/*.contact-card{*/

    /*background:#fff;*/

    /*border-radius:25px;*/

    /*padding:40px;*/

    /*box-shadow:var(--shadow-md);*/

    /*height:100%;*/

/*}*/
.contact-card{

    display:flex;

    align-items:center;

    gap:20px;

    background:#fff;

    border-radius:25px;

    padding:25px 30px;

    margin-bottom:20px;

    box-shadow:var(--shadow-md);

    transition:.3s ease;

}
.contact-card:hover{

    transform:translateY(-5px);

    box-shadow:var(--shadow-lg);

}
/*.contact-card i{*/

    /*width:70px;*/

    /*height:70px;*/

    /*border-radius:50%;*/

    /*background:var(--gradient-primary);*/

    /*color:#fff;*/

    /*display:flex;*/

    /*align-items:center;*/

    /*justify-content:center;*/

    /*font-size:28px;*/

    /*margin-bottom:25px;*/

/*}*/
.contact-card i{

    flex-shrink:0;

    width:65px;

    height:65px;

    border-radius:18px;

    background:var(--gradient-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    margin:0;

}
.contact-form{

    background:#fff;

    border-radius:30px;

    padding:50px;

    box-shadow:var(--shadow-lg);

}

.contact-form .form-control{

    height:60px;

    border-radius:14px;

    border:1px solid var(--gray-300);

    margin-bottom:20px;

}

.contact-form textarea{

    height:180px!important;

    resize:none;

    padding-top:20px;

}

.contact-form .form-control:focus{

    border-color:var(--secondary);

    box-shadow:none;

}

.google-map{

    overflow:hidden;

    border-radius:30px;

}

.google-map iframe{

    width:100%;

    height:550px;

    border:0;

}

/*==================================================
BACK TO TOP
==================================================*/

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--gradient-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:999;

}

.back-top.active{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    transform:translateY(-6px);

}

/*==================================================
CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eef2f6;

}

::-webkit-scrollbar-thumb{

    background:var(--secondary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);

}

/*==================================================
END STYLE.CSS
==================================================*/