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

:root {
  --primary: #CE2029;
  --secondary:#23262F;
  --ternary: #00000080;
  --black:#000000;
  --white: #FFFFFF;
  --gray: #2B3030;
  --warning: #EA9F48;
  --success: #4AB37B;
  --success-medium: #A9CCB9;
  --success-light: #CCEBDA;
  --error: #EF717D;
  --error-light: #FFF6F7;
  --gardient-1: linear-gradient(179.68deg, #c7393e 17.38%, #CE2029 99.89%);
  --bg-light: #F7F8FF;

}

body {
  font-family: "Signika", sans-serif;
  background-color: var(--white);
}
h1,h2,h3,h4,h5,h6{
    line-height: 1;
    font-family: "Signika", sans-serif;
}
.text-gd{
    background: var(--gardient-1);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1 {
    font-size : 3rem;
    font-weight: 700;
    color: var(--black);
}
h2{
    font-size: 2rem;
    font-weight: 700;
}
h4 {
    font-size: 1.4rem;
}
h5 {
    font-size: 1.1rem;
    font-weight: 600;
}
h6 {
    font-size: 1rem;
}

p {
    color: var(--ternary);
    font-size: 1rem;
    line-height: 1.5;
}

hr {
    border-top: 1px solid var(--white) !important;
    width: -webkit-fill-available;
    opacity: 1;
}
.blur {
    -webkit-filter: blur(4px); /* Chrome, Safari, Opera */
    filter: blur(4px);
    pointer-events: none; /* Disable clicking */
}
.non-blur {
    -webkit-filter: none;
    filter: none;
    pointer-events: auto; /* Enable clicking */
  }
.invalid-feedback {
    margin-bottom: 0rem;
}

.padding-top {
    padding-top: 5rem;
}

.padding-bottom {
    padding-bottom: 5rem;
}

.mendatory {
    color: var(--error);
}

.middled {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.centered {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fixed {
    position: fixed;
    top: 0;
}

.col-form-label {
    text-align: right;
}
/* Make bootstrap-select match Bootstrap 5 form-select */
.bootstrap-select .dropdown-toggle {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    font-size: .8rem !important;
    color: #212529 !important;
}

.primary_btn {
    background: var(--gardient-1);
    border: 1px solid #FF5410;
    font-weight: 600;
    color: var(--white);
    padding: .25rem .5rem .25rem .5rem;
    width: fit-content;
    height: fit-content;
    border-radius: .5rem;
    font-size: .8rem;
}

.primary_btn:hover, .primary_btn.active {
    background: transparent;
    border: 1px solid #FF5410;
    color: #FF5410;
}

.primary_btn:hover img {
    /* filter: brightness(0) invert(1); */
    transform: rotate(330deg); /* Same as -30deg */
    padding-bottom: .25rem;
}

.container-fluid {
    padding-right: 0rem !important;
    padding-left: 0rem !important;
}

.row {
    margin-right: 0rem !important;
    margin-left: 0rem !important;
}
.main-header {
    position: relative;
    width: 100%;
    z-index: 999;
    transition: all .3s ease;
    padding: 1rem 0;
}

.header-absolute {
    position: absolute;
    background: transparent;
}

.navbar {
    padding: 0;
}

.nav-logo {
    max-width: 5rem;
}

.main-menu .nav-link {
    margin: 0 .75rem;
    padding: .75rem 1rem;
    color: #000;
    transition: .3s ease;
}

.main-menu .nav-link.active,
.main-menu .nav-link:hover {
    color: var(--primary);
}

.nav-buttons .btn {
    margin-left: 1rem;
    padding: .45rem 1.25rem;
    border-radius: 25px;
    color: #fff;
    background: var(--gardient-1);
}
.scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    padding: .7rem 0 !important;
}
/* Mobile Menu */
#navMenu {
    background: var(--gray);
    padding: 1rem 1rem;
    border-radius: .5rem;
}

#navMenu.show .nav-link {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

#navToggle {
    border: none;
    background: none;
    font-size: 1.5rem;
}

.navbar-nav {
    text-align: left;
}

@media (min-width: 992px) {
    #navMenu {
        background: transparent;
        padding: 0;
    }
}

.card{
    border-radius: .5rem;
    box-shadow: 0px 0px 9px 0px #28A9E03B;
}
.card .card-title{
    color: var(--primary);
}
.card .card-subtitle{
    color: var(--grey);
}
.card p{
    color: var(--grey);
}
.card-footer {
    background-color: var(--white);
    height: 100%;
}
.card-footer:last-child {
    border-radius: 0 0 calc(1rem - 1px) calc(1rem - 1px);
}

/* COMMON OVERLAY */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.85);
    z-index: 1056;
    display: flex;
    align-items: center;
    justify-content: center;

    /* smooth effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, visibility .5s ease;
}

/* ACTIVE STATE */
.loader-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ROTATING IMAGE */
.loader-overlay img {
    width: auto;
    animation: rotateLoader 1.5s linear infinite;
}

/* KEYFRAMES */
@keyframes rotateLoader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*************** Home Page ***************/
.home .banner {
    background-color:#F7F8FF;
    height: auto;
    position: relative;
}
.home .banner h1 {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--black);
}
.services h1 {
    color: var(--primary);
}

.merchant{
    background: var(--bg-light);
}

.form-control, .form-select{
    border-radius: .35rem;
    color: var(--black);
    margin-top: .75rem;
    font-size: .85rem;
}
.track-btn {
    background: var(--gardient-1);
    border: none;
    font-weight: 600;
    color: var(--white);
    padding: .5rem 2rem;
    width: fit-content;
    border-radius: 2rem;
}
.track-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.testimonials {
    background: linear-gradient(90deg, #FDFDFF 14.06%, #FCFDFE 100%);
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

/* Slider wrapper */
.home .testimonials .slider {
    position: relative;
    z-index: 2;
}

/* Testimonial card */
.home .testimonials .slider .item {
    background: var(--white);
    box-shadow: 0px 0px 14px 0px #E9282B36;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 18rem;

    position: relative;
}

/* Content wrapper */
.testimonial-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header: Name + Company (left) | Stars (right) */
.testimonial-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* User info */
.testimonial-user h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-user p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Stars */
.testimonial-stars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.testimonial-stars .star {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

/* Comment text */
.testimonial-comment {
    flex-grow: 1;
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 576px) {
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-stars {
        margin-top: 0.25rem;
    }
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-item img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
    transition: .3s;
    border-radius: 100%
}

.client-item img:hover {
    filter: none;
    transform: scale(1.05);
}
/*************** End Home Page ***************/

/*************** start Common CSS ***************/
.local-order{
    background-color: #F7F8FF;
}
.local .form-control {
    margin-top: 0rem;
    margin-bottom: .75rem;
}
.local .card {
    background-color: var(--bg-light);
}
.local-order .delivery-charges .card{
    position: sticky;
    top: 100px;
}
.costing_box span{
    color: var(--gray);
}
.costing_box {
    display: flex;
    justify-content: space-between;
}
.double-lined-border {
    height: 4px;
    border-top: 1px dotted #8c9ba5;
    border-bottom: 1px dotted #8c9ba5;
}
.track-order {
    background-color: #F7F8FF;
    min-height: 80vh;
}
/*************** End Common CSS ***************/


/*************** Contact Page ***************/
 .contact {
  background: #F7F8FF;
  height: 500px;
  align-items: center;
}
.contact p{
    font-size: 1.2rem;
}
.contact label{
    font-size: 1.2rem;
}

.form-control::placeholder {
  color: var(--gray);
  font-size: .85rem;
  opacity: 1; /* Ensure full visibility */
}

.submit_btn {
    background: var(--primary);
    color: var(--white);
    padding: .5rem 1rem .5rem 1.5rem;
    border-radius: .35rem;
    width: 100%;
}
.submit_btn:hover {
    background: var(--white);
    color: var(--primary);
}
/*************** End Contact Page ***************/

/*************** Footer CSS ***************/

.footer {
  background: var(--primary);
  align-items: center;
  padding: 1rem 0rem;
}
.footer hr{
    border-top: 1px solid #9A9EA6 !important;
}

.quick-links {
    display: flex;
    flex-flow: column;
    float: right;
}
.quick-links a{
    margin-bottom: .35rem;
}
.footer p{
    color: var(--white);
    font-size: .8rem;
    font-weight: 500;
}
.footer .social img{
    width: 2rem;
}
.footer a {
    color: #ffffff;
    font-size: .85rem;
    text-align: left;
    text-decoration: none;
}
.footer .contact-info img{
    width: 1.12rem;
    margin-right: .25rem;
}

.copy-right p{
    font-size: .85rem;
    color: var(--white);
    font-weight: 400;
    padding-top: 1rem;
}



/*************** Footer CSS ***************/

/*************** Responsive CSS ***************/

@media screen and (max-width:1600px) {

}

@media screen and (max-width:1440px) {

}

@media screen and (max-width: 1366px) {
    
}

@media screen and (max-width: 1200px) {

}

@media screen and (max-width: 1024px) {

}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    p {
        font-size: .85rem;
    }
    .padding-top {
        padding-top: 3rem;
    }

    .padding-bottom {
        padding-bottom: 3rem;
    }
    .nav-buttons{
        flex-direction: row;
        margin-top: 1rem;
    }
    .banner h1{
        font-size: 2rem;
    }
    .home .banner {
        height: auto !important;
    }
    
    .home .banner h1 {
        margin-top: 4rem;
        font-size: 2rem;
    }
    .contact{
        height: auto;
        padding-bottom: 2rem;
    }
    .social {
        margin-right: 0rem;
    }
    .primary_btn {
        padding: .25rem 1rem .25rem 1rem;
        margin-top: 1rem;
        font-size: .8rem;
    }
    .quick-links {
        float: left;
    }
    .footer {
        height: auto;
    }
    
    .map {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .col-form-label {
        text-align: left;
    }

   .testimonials .content-div{
        padding: 2rem 2rem 2rem 5rem; 
    }
}

@media screen and (max-width: 500px) {
    .nav-logo {
        max-width: 5rem;
    }
    h1{
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    h6 {
        font-size: .85rem;
    }
    .home .banner h1 {
        font-size: 2rem;
    }
   
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .banner-text-mobile {
        display: block;
        padding: 1rem;
        background: var(--black);
    }
   
    .testimonials .content-div {
        padding: 0rem 1rem 2rem 3rem;
    }
}
@media screen and (max-width: 375px) {

}
@media screen and (max-width: 320px) {

}

/*************** End Responsive CSS ***************/


/*************** Animation ***************/

/***** Global Slide *****/
.slide-right,
.slide-left {
    width: 100%;
}

/***** Slide Right *****/
.slide-right {
    animation: 1s slide-right;
}

@keyframes slide-right {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 0%;
    }
}

/***** Slide Left *****/
.slide-left {
    animation: 1s slide-left  ease;
    position: relative;
}

@keyframes slide-left {
    from {
        margin-left: 50%;
    }

    to {
        margin-left: 0%;
    }
}

/***** Slide Top *****/
.slide-top {
    animation: slide-top 1s ease forwards;
    position: relative;
}

@keyframes slide-top {
    from {
        top: 100%; /* Start from the bottom of the container */
    }
    to {
        top: 0; /* Move to the original position */
    }
}

/***** FadeIn Underline *****/

.fade-in {
    animation: fadeIn ease .5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.fade{
    transition: opacity .5s linear;
  }

/*************** End Animation ***************/