/*==========================================================
CHEROMEGA CLEANING SERVICES
Quote Page Styles
File: assets/css/quote.css
==========================================================*/

/*==========================================================
PAGE BANNER
==========================================================*/

.page-banner{
    position:relative;
    padding:90px 0;
    background:linear-gradient(135deg,#0d6efd,#0b5ed7);
    color:#fff;
    text-align:center;
}

.page-banner h1{
    font-size:46px;
    font-weight:700;
    margin-bottom:15px;
}

.page-banner p{
    font-size:18px;
    max-width:720px;
    margin:auto;
    opacity:.9;
}

.page-banner .breadcrumb{
    justify-content:center;
    background:none;
    margin-top:20px;
}

.page-banner .breadcrumb-item a{
    color:#ffffff;
    text-decoration:none;
}

.page-banner .breadcrumb-item.active{
    color:#d8e8ff;
}

/*==========================================================
QUOTE SECTION
==========================================================*/

.quote-section{
    background:#f7f9fc;
    padding:90px 0;
}

/*==========================================================
MAIN CARD
==========================================================*/

.quote-card{
    background:#fff;
    border-radius:15px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    overflow:hidden;
}

.quote-header{
    background:#0d6efd;
    color:#fff;
    padding:35px;
}

.quote-header h2{
    margin-bottom:12px;
    font-weight:700;
}

.quote-header p{
    margin:0;
    opacity:.9;
    line-height:1.8;
}

/*==========================================================
FORM
==========================================================*/

.quote-form{
    padding:40px;
}

.form-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:30px;
    color:#222;
    border-left:5px solid #0d6efd;
    padding-left:15px;
}

.quote-form label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#444;
}

.quote-form .form-control,
.quote-form .form-select{
    border:1px solid #d9dee5;
    border-radius:10px;
    padding:14px 16px;
    font-size:15px;
    transition:.3s;
    box-shadow:none;
}

.quote-form textarea.form-control{
    min-height:180px;
    resize:vertical;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus{
    border-color:#0d6efd;
    box-shadow:0 0 0 .25rem rgba(13,110,253,.15);
}

/*==========================================================
BUTTON
==========================================================*/

.quote-form .btn-primary{
    background:#0d6efd;
    border:2px solid #0d6efd;
    color:#fff;
    font-weight:600;
    padding:14px 45px;
    border-radius:10px;
    transition:.3s;
}

.quote-form .btn-primary:hover{
    background:#084298;
    border-color:#084298;
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(13,110,253,.25);
}

.quote-form .btn-primary i{
    margin-right:10px;
}

/*==========================================================
SIDEBAR
==========================================================*/

.quote-sidebar{
    position:sticky;
    top:100px;
}

.sidebar-card{
    background:#fff;
    border-radius:15px;
    padding:30px;
    margin-bottom:30px;
    box-shadow:0 8px 30px rgba(0,0,0,.07);
}

.sidebar-card h3{
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
    color:#222;
}

.sidebar-card p{
    color:#666;
    line-height:1.8;
    margin-bottom:15px;
}

.sidebar-card ul{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-card li{
    margin-bottom:15px;
    color:#555;
}

.sidebar-card li i{
    color:#0d6efd;
    margin-right:10px;
}

/*==========================================================
CONTACT DETAILS
==========================================================*/

.sidebar-card p i{
    width:28px;
    color:#0d6efd;
}

/*==========================================================
WORKING HOURS
==========================================================*/

.sidebar-card table{
    margin:0;
}

.sidebar-card table td{
    padding:10px 0;
    border:none;
    color:#555;
}

/*==========================================================
EMERGENCY BOX
==========================================================*/

.sidebar-card.emergency{
    background:#dc3545;
    color:#fff;
}

.sidebar-card.emergency h3{
    color:#fff;
}

.sidebar-card.emergency p{
    color:#fff;
}

.sidebar-card.emergency .btn{
    margin-top:15px;
    font-weight:600;
}
/*==========================================================
ALERT MESSAGES
==========================================================*/

.alert{
    border:none;
    border-radius:10px;
    padding:18px 20px;
    margin-bottom:25px;
    font-size:15px;
    font-weight:500;
}

.alert-success{
    color:#0f5132;
    background:#d1e7dd;
}

.alert-danger{
    color:#842029;
    background:#f8d7da;
}

.alert-warning{
    color:#664d03;
    background:#fff3cd;
}

.alert-info{
    color:#055160;
    background:#cff4fc;
}

/*==========================================================
BUTTON LOADING STATE
==========================================================*/

.btn-loading{
    pointer-events:none;
    opacity:.75;
    position:relative;
}

.btn-loading::after{
    content:"";
    display:inline-block;
    width:16px;
    height:16px;
    margin-left:10px;
    border:2px solid rgba(255,255,255,.35);
    border-top:2px solid #fff;
    border-radius:50%;
    animation:quoteSpin .8s linear infinite;
}

@keyframes quoteSpin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/*==========================================================
FORM VALIDATION
==========================================================*/

.quote-form .form-control:valid,
.quote-form .form-select:valid{
    border-color:#ced4da;
}

.quote-form .form-control:invalid:focus,
.quote-form .form-select:invalid:focus{
    border-color:#dc3545;
}

.quote-form .form-control::placeholder{
    color:#9aa3ad;
}

/*==========================================================
CARD HOVER EFFECTS
==========================================================*/

.quote-card{
    transition:all .35s ease;
}

.quote-card:hover{
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.sidebar-card{
    transition:all .35s ease;
}

.sidebar-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.10);
}

/*==========================================================
LINKS
==========================================================*/

.sidebar-card a{
    color:#0d6efd;
    text-decoration:none;
    transition:.3s;
}

.sidebar-card a:hover{
    color:#084298;
}

/*==========================================================
TABLE
==========================================================*/

.sidebar-card table tr td:first-child{
    font-weight:600;
}

.sidebar-card table tr td:last-child{
    text-align:right;
}

/*==========================================================
ANIMATIONS
==========================================================*/

.fade-up{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*==========================================================
CUSTOM SCROLLBAR
==========================================================*/

.quote-form textarea::-webkit-scrollbar{
    width:8px;
}

.quote-form textarea::-webkit-scrollbar-track{
    background:#f1f1f1;
}

.quote-form textarea::-webkit-scrollbar-thumb{
    background:#0d6efd;
    border-radius:20px;
}

/*==========================================================
FOCUS ACCESSIBILITY
==========================================================*/

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.quote-form button:focus{
    outline:none;
}

/*==========================================================
RESPONSIVE DESIGN
==========================================================*/

@media (max-width:1199px){

    .quote-sidebar{
        position:static;
    }

}

@media (max-width:991px){

    .page-banner{
        padding:70px 0;
    }

    .page-banner h1{
        font-size:38px;
    }

    .quote-section{
        padding:70px 0;
    }

    .quote-sidebar{
        margin-top:40px;
    }

}

@media (max-width:767px){

    .page-banner h1{
        font-size:30px;
    }

    .page-banner p{
        font-size:16px;
    }

    .quote-header{
        padding:25px;
    }

    .quote-form{
        padding:25px;
    }

    .form-title{
        font-size:20px;
    }

    .sidebar-card{
        padding:25px;
    }

}

@media (max-width:575px){

    .page-banner{
        padding:60px 0;
    }

    .page-banner h1{
        font-size:26px;
    }

    .quote-form .btn-primary{
        width:100%;
    }

    .sidebar-card table td{
        display:block;
        text-align:left !important;
        padding:6px 0;
    }

}

/*==========================================================
PRINT STYLES
==========================================================*/

@media print{

    .page-banner,
    .quote-sidebar,
    .btn{
        display:none;
    }

    .quote-card{
        box-shadow:none;
        border:1px solid #ccc;
    }

    .quote-form{
        padding:20px;
    }

}