:root{
    --bs-primary: #003CC7;
    --bs-primary-rgb: 0, 60, 199;
    --bs-success: #1a7f43;
    --bs-success-rgb: 26, 127, 67;
    --bs-warning:  #c45f00;
    --bs-warning-rgb: 196, 95, 0;
    --background: #F7F9FC;
    --rate-color: #c77700;
    --text-muted: #495057;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0.5rem;
    z-index: 1100;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    border-radius: 0.25rem;
    text-decoration: none;
}
.skip-link:focus {
    top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    #our-services .service:hover img {
        transform: none;
    }
}

#our-services,
#how-it-works,
#testimonial,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

body{ background-color: var(--background); color: #212529; }
.text-secondary { color: var(--text-muted) !important; }
.bg-primary-10.text-primary { color: #002a8f !important; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
    box-shadow: none;
}

.swiper-nav-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    line-height: 1;
}
.w-fit{ width: fit-content;}
.place-content-center{ place-content: center;}
.bg-background{ background-color: var(--background);}
.bg-primary-5{ background-color: rgba(var(--bs-primary-rgb), 0.05);}
.bg-primary-10{ background-color: rgba(var(--bs-primary-rgb), 0.1);}
.bg-light-gradient{  background: linear-gradient(160deg, #fff 0%, rgba(var(--bs-primary-rgb), 0.06) 100%) }
.pointer-events-none{ pointer-events: none;}
.text-rate{ color: var(--rate-color);}
.fs-7{ font-size: 14px; }
.fs-8{ font-size: 12px; }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-success);
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-success);
    --bs-btn-disabled-border-color: var(--bs-success);
}

header{ z-index: 1000;}
header .nav-link{ font-size: 18px; color: black;}
header .nav-link.active,
header .nav-link:hover{ color: var(--bs-primary); }
.app-logo{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: 3rem;
}
.app-logo img{ width: 30px; object-fit: contain;}
.app-logo span.brand-text{ font-size: 26px; line-height: 24px; margin: 0px; display: block; }
.app-logo span.brand-text > span{ font-weight: 600;}
.app-logo span.brand-text small{ font-size: 12px; display: block; line-height: 16px;}

.banner{
    background-image: url('../images/banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
}

.banner .wrapper{
    min-height: calc(100vh - 99px);
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-card{
    border-right: 1px solid #f1f1f1;
    padding: 1rem;
}
.stats .col:last-child .stat-card{
    border: none
}

#our-services .card{ height: 100%;}
#our-services .card .card-body{ 
    display: flex;
    flex-direction: column;
}
#our-services .card img{
    aspect-ratio: 1;
    object-fit: cover;
}
#our-services .card .card-body .card-text{
    flex-grow: 1;
}
#our-services .service{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}
#our-services .service img{
    aspect-ratio: 1;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}
#our-services .service .content{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    transition: all 0.3s ease-in-out;
}
#our-services .service:hover .content{
    background-color: rgba(0, 0, 0, 0.8);
}
#our-services .service:hover img{
    transform: scale(1.1);
}
#our-services .service .content p{ opacity: 0; height: 0px;  transition: all 0.3s ease-in-out;}
#our-services .service:hover .content p{ opacity: 1; height: auto;}

footer li{
    margin-bottom: 10px;
}
footer a{
    text-decoration: none;
    color: black;
    display: flex;
}
footer a:hover{ color: var( --bs-primary);}
footer a i{ width: 25px; flex-shrink: 0;}
footer h2::after{
    border-bottom: 4px solid var(--bs-primary);
    border-radius: 10px;
    content: '';
    display: block;
    width: 50px;
    margin-top: 5px;
}

.swiper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;        /* let content define height... */
  min-height: 300px;   /* ...but at least this tall */
}

/* How it works — timeline */
.how-it-works-panel {
    background: linear-gradient(160deg, #fff 0%, rgba(var(--bs-primary-rgb), 0.06) 100%);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
}

.how-it-works-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.08);
}

.how-it-works-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.how-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: stretch;
}

.how-step-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 3.25rem;
    flex-shrink: 0;
}

.how-step-track::after {
    content: '';
    flex: 1;
    width: 2px;
    min-height: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.35), rgba(var(--bs-primary-rgb), 0.08));
    border-radius: 1px;
}

.how-step:last-child .how-step-track::after {
    display: none;
}

.how-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: #fff;
    color: var(--bs-primary);
    font-size: 1.35rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.15);
    /* box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.12); */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.how-step-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem 1.15rem 1.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.how-step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--bs-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.how-step:hover .how-step-icon {
    transform: scale(1.05);
    border-color: rgba(var(--bs-primary-rgb), 0.35);
    box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.18);
}

.how-step:hover .how-step-card {
    border-color: rgba(var(--bs-primary-rgb), 0.15);
    box-shadow: 0 8px 20px rgba(var(--bs-primary-rgb), 0.08);
    transform: translateX(2px);
}

.how-step:hover .how-step-card::before {
    opacity: 1;
}

.how-step-num {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(var(--bs-primary-rgb), 1);
    letter-spacing: -0.02em;
    pointer-events: none;
    user-select: none;
    display: none;
}

.how-step-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin: 0;
}

.how-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: #212529;
    padding-right: 2.5rem;
}

.how-step-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* Why choose us */
.why-choose-panel {
    --why-text: var(--bs-primary);
    --why-text-muted: #3b4349;
    --why-primary: var(--bs-primary);
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
}

.why-choose-panel .text-primary {
    color: var(--why-primary) !important;
}

.why-choose-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8edf4;
}

.why-choose-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--why-primary);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.why-choose-lead {
    color: var(--why-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.why-choose-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.why-choose-list .why-choose-card{
    border-bottom: 1px solid #f1f1f1;
    padding: 1rem 0rem;
}
.why-choose-list .why-choose-card:first-child{
   padding-top: 0rem;
}
.why-choose-list .why-choose-card:last-child{
    border-bottom: none;
}

.why-choose-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #fff;
    color: var(--why-primary);
    font-size: 1.15rem;
    border: 1px solid #c5d4ef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.12);
}

.why-choose-body {
    flex: 1;
    min-width: 0;
}

.why-choose-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--why-text);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.why-choose-desc {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--why-text-muted);
}


/* Tablets */
@media only screen and (max-width: 768px) {
    .banner{
        background-position: top center;
    }
    .banner .wrapper{
        min-height: calc(100vh - 124px);
    }
    .how-it-works-panel {
        padding: 1.25rem 1rem;
    }

    .how-step {
        gap: 0.75rem;
    }

    .how-step-track {
        width: 2.75rem;
    }

    .how-step-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.15rem;
        border-radius: 0.85rem;
    }

    .how-step-card {
        padding: 1rem;
    }

    .how-step-num {
        font-size: 1.5rem;
        top: 0.65rem;
        right: 0.75rem;
    }

    .how-step-title {
        font-size: 1rem;
        padding-right: 2rem;
    }

    .why-choose-panel {
        padding: 1.25rem 1rem;
    }

    .why-choose-card {
        padding: 0.85rem;
        gap: 0.75rem;
    }

    .why-choose-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .stat-card{
        border: none;
        padding: 10px;
    }
    .stat-card .stat-value{
        white-space: nowrap;
    }

	#our-services .service img{
		object-position: -135px -100px;
	}
}

@media only screen and (max-width: 992px) {
    .banner{
        background-position: top center;
    }
}