.section.bg--1 {
    background: #0091b9 !important;
}

.section.bg--1 .section-title h1 span,
.section.bg--1 .section-title h1 {
    color: #fff !important;
}

.section.bg--2 {
    background: #9fd1f0 !important;
}

.section.bg--3 {
    background: #305178 !important;
}

.section.bg--4 {
    background: #ffa94d !important;
}

.section.bg--5 {
    /* background: #FFD500 !important; */
    background: #9fd1f0 !important;
}

.section.bg--white {
    background: #ffffff !important;
}

.section.bg--dark {
    background: #000014 !important;
}

.section.title--white .section-title h1 span,
.section.title--white .section-title h1 {
    color: #ffffff !important;
}

.section.title--primary .section-title h1 {
    color: var(--accent-color) !important;
}

.section.title--secondary .section-title h1 {
    color: var(--an-accent-color) !important;
}

.section.bg--prm,
.bg--prm {
    background: linear-gradient(90deg, #c09559);
}

.section .text-prm {
    color: #c09559 !important;
}

.section.bg--prm--rev,
.bg--prm--rev {
    background: linear-gradient(180deg, #60a4ce, #305178);
}

.section.bg--sec,
.bg--sec {
    background: linear-gradient(90deg, #5ab0ff, #d06bff, #ff5ea8) !important;
}

.section.bg--sec--rev,
.bg--sec--rev {
    background: llinear-gradient(90deg, #5ab0ff, #d06bff, #ff5ea8);
}

.btn-primary {
    background-color: var(--an-accent-color);
}

.btn-primary:hover {
    background-color: var(--background-color);
}

/* theme button  */
.btn-theme {
    color: var(--heading-color);
    background: transparent;
    font-family: var(--default-font);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--heading-color);
    border-radius: 1px;
    transition: 0.5s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.btn-theme:hover {
    color: var(--contrast-color);
    /* background: color-mix(in srgb, var(--heading-color) 70%, #000 30%); */
    background: var(--theme--s);
}

.btn-theme.one {
    color: var(--heading-color);
    /* background: var(--theme--s); */
}

.btn-theme.one:hover {
    color: var(--default-color);
    /* background: var(--theme--p); */
}

/* theme button */
.theme-bg {
    background: linear-gradient(
        45deg,
        var(--accent-color) 0%,
        #fff 0%,
        var(--accent-color) 0%,
        transparent
    ) !important;
}

/* -------------------------------------------------- */
/* service section */
/* ----------------------------------------------------- */
.service-cards {
    background-image: url(../../images/about/service-bg-2.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-cards::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, var(--contrast-color), transparent 75%);
}

.service-card {
    position: relative;
    height: 550px;
    padding: 40px 42px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    border-right: 1px solid var(--surface-color);
    transition: transform 0.5s ease;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.service-card img {
    position: absolute;
    width: 120px;
    top: 15px;
    right: 15px;
    z-index: 10;
    transition:
        all 0.5s ease,
        opacity 0.4s ease;
    opacity: 0.4;
}

.service-card:hover img {
    width: 80px;
}

/* Hover image layer */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    opacity: 0;
    z-index: 0;
    transition:
        transform 0.5s ease,
        opacity 0.4s ease;
}

/* On hover */
.service-card.hovered::after {
    transform: scale(1.1);
    opacity: 1;
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-card .service-content::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -15px;
    width: 106%;
    height: 120%;
    /* background: color-mix(in srgb, var(--accent-color), transparent 80%); */
    /* background: color-mix(in srgb, var(--surface-color), transparent 50%); */
    z-index: -1;
}

.service-card:hover .service-content::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -15px;
    width: 106%;
    height: 120%;
    background: color-mix(in srgb, var(--contrast-color), transparent 50%);
    z-index: -1;
}

.service-content h5 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0px;
    color: var(--surface-color);
}

.service-card:hover {
    h5,
    p,
    a {
        color: #fff;
    }
}

.service-content p {
    color: var(--surface-color);
    margin-bottom: 0px;
}

.service-content a {
    color: var(--surface-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
}

.service-content a:hover {
    text-decoration: underline;
}

/* / Service section */
/* ----------------------------------------------- */

/* -------------------------------------------- */
/* CTA section  */
/* -------------------------------------------- */

.cta-section {
    background-color: var(--accent-color);
}

.cta-section .cta-content {
    display: flex;
    align-items: center;
    position: relative;
}

.cta-section h2 {
    color: var(--surface-color);
}

.cta-section .cta-content::after {
    content: "";
    position: absolute;
    right: -15px;
    width: 4px;
    height: 100px;
    background-color: var(--secondary-color);
}

.cta-section .cta-content .icon {
    background-color: var(--contrast-color);
    width: 60px;
    height: 60px;
    border-radius: 50px;
    padding: 9px 0px 0px 12px;
}

.cta-section .cta-content .icon i {
    font-size: 30px;
    color: var(--accent-color);
}

.cta-section .cta-content .content {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    color: var(--surface-color);
}

.cta-section .cta-content .content a {
    font-size: 25px;
    font-weight: 600;
    color: var(--contrast-color);
}

/* / CTA section  */
/* -------------------------------------------- */

/* --- Modal backdrop --- */
.slide-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    z-index: 999;
}

.slide-modal-backdrop.show {
    display: block;
}

/* --- Slide modal (panel) --- */
.slide-modal {
    position: fixed;
    top: 50%;
    right: -570px;
    transform: translateY(-50%);
    width: 540px;
    max-width: calc(100% - 40px);
    max-height: 90vh;
    overflow: auto;
    background: var(--surface-color);
    border: 10px solid;
    border-image: linear-gradient(90deg, #5ab0ff, #d06bff, #ff5ea8) 1;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1110;
    transition: right 360ms cubic-bezier(0.22, 0.9, 0.35, 1);
    opacity: 0.98;
    padding: 26px;
}

.slide-modal.show {
    right: 0;
}

/* mobile screen styling */
@media (max-width: 520px) {
    .slide-modal {
        width: 100%;
        height: 85vh;
        bottom: -100%;
        top: auto;
        right: 0;
        transform: none;
        border-radius: 12px 12px 0 0;
        transition: bottom 360ms cubic-bezier(0.22, 0.9, 0.35, 1);
    }

    .slide-modal.show {
        bottom: 0;
        /* slide up from bottom */
    }

    /* Open button: make horizontal bar at bottom */
    .modal-open-btn {
        bottom: 0;
        top: auto;
        right: 0;
        transform: none;
        border-radius: 0;
        justify-content: center;
    }
}

/* Close button fix */
.slide-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2000;
    background: #ef4444;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* --- Fixed open button on right-center --- */
.modal-open-btn {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.45);
    height: 50px;
}

/* Animated color-changing background for button */
@keyframes btnGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.modal-open-btn.animated {
    background: linear-gradient(
        90deg,
        var(--accent-color),
        var(--an-accent-color)
    );
    background-size: 300% 300%;
    animation: btnGradient 6s ease infinite;
    color: white;
}

.modal-open-btn .icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

/* Optional hover states to scale */
.modal-open-btn:hover {
    transform: translateY(-50%) scale(1.03);
    transition: transform 160ms;
}

.st__contact__position {
    padding: 0px;
    background-color: transparent;
}

.st__btn:active {
    transform: translateY(1px);
}

/* make the modal content nicely scrollable on mobile */
.slide-modal::-webkit-scrollbar {
    width: 8px;
}

.slide-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

/* how we work 1 */
.how-we-work .flexbox {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
}

.how-we-work .flex {
    width: 25%;
    display: flex;
    flex-direction: column;
    padding: 4%;
    justify-content: center;
}

.how-we-work .flexbottom {
    border-bottom: 6px solid var(--bg--1);
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

.how-we-work .flextop {
    border-top: 5px solid var(--bg--1);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    position: relative;
}

.how-we-work .flextop:before {
    content: "";
    width: 1px;
    height: 250px;
    background: var(--bg--1);
    position: absolute;
    left: 0;
    /* border-radius: 64px; */
}

.how-we-work .flextop:after {
    content: "";
    width: 1px;
    height: 250px;
    background: var(--bg--1);
    position: absolute;
    right: 0;
}

.how-we-work .flexbottom {
    box-shadow: inset 0px -20px 0px var(--bg--1);
}

.how-we-work .flex.flextop {
    box-shadow: inset 0px 20px 0px var(--bg--1);
}

.how-we-work .stepNumber {
    width: 100%;
    text-align: center;
    border: 1px solid var(--accent-color);
    border-radius: 50px 0px 50px 0px;
    background: var(--accent-color);
    color: white;
}

.how-we-work img {
    width: 100%;
    border: 3px solid;
    border-radius: 50%;
}

/* callback section  */
.call-section {
    color: #002855;
    padding: 50px 0;
    /* border-top: 1px solid #e5e5e5; */
    /* border-bottom: 1px solid #e5e5e5; */
}

.call-text {
    font-size: 2rem;
    font-weight: 600;
}

.call-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--theme--s);
    padding: 18px 16px 13px 18px;
    border-radius: 35px;
}

.call-number i,
.call-number span {
    font-size: 2.4rem;
    color: var(--surface-color);
    margin-right: 12px;
}

@media (max-width: 768px) {
    .call-text {
        text-align: center;
        margin-bottom: 15px;
    }

    .call-number {
        justify-content: center;
    }
}

.call-text.follow {
    font-size: 2.5rem;
}

.social-group {
    display: flex;
    /* gap: 2px; */
    justify-content: space-between;
}

.social-group .social-icon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-group .social-icon img {
    /* width: 30px; */
    height: 25px;
}

.social-group .social-icon .social-name {
    font-size: 1.2rem;
    margin-top: 7px;
    color: var(--heading-color) !important;
}

/* callback section */
.callback-section {
    background: var(--theme--s);
    padding: 40px 0;
    color: #fff;
}
.callback-section .form-control,
.callback-section .form-select,
.callback-section .input-group-text {
    background-color: color-mix(
        in srgb,
        var(--heading-color),
        #000 20%
    ) !important;
    color: color-mix(in srgb, var(--heading-color), #000 95%);
}
.callback-section .form-control::placeholder,
.callback-section .form-select::placeholder {
    color: color-mix(in srgb, var(--heading-color), #000 70%);
}
.form-control,
.form-select,
.input-group-text {
    height: 46px;
    border-radius: 0px;
    /* background-color: color-mix(in srgb, var(--heading-color) 80%, #000 20%) !important; */
}
.footer .form-control,
.footer .form-select,
.footer .input-group-text {
    height: 40px;
}

/* .form-control:focus, .form-select:focus {
    background-color: color-mix(in srgb, var(--heading-color) 80%, #000 20%);
} */
.pagination .page-link {
    border-radius: 0 !important;
}
.active > .page-link,
.page-link.active {
    background-color: var(--accent-color);
    border-color: var(--heading-color) !important;
    box-sizing: border-box;
}
.btn-callback {
    border-radius: 0px;
    padding: 11px 30px;
    font-weight: 600;
    border: none;
    outline: 1px solid;
    width: 100%;
}

/* align items center in row */
.form-row {
    display: flex;
    align-items: end;
    gap: 12px;
}

@media (max-width: 992px) {
    .form-row {
        flex-wrap: wrap;
    }

    .btn-callback {
        width: 100%;
        margin-top: 10px;
    }
}

.color-font {
    background: linear-gradient(90deg, #ffcd3a, #fee973, #eea52e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: table;
}

.color-border {
    border: 10px solid;
    border-image: linear-gradient(90deg, #ffcd3a, #eea52e, #fee973) 1;
}

.color-bg {
    background: linear-gradient(90deg, #ffcd3a, #eea52e, #fee973) !important;
}

.bg-element {
    background-color: transparent !important;
    background: url(../../images/bg/black-bg.jpeg);
    background-size: cover;
    background-position: fixed;
    background-attachment: fixed;
}
.bg-element-1 {
    background-color: transparent !important;
    background: url(../../images/bg/black-bg-1.jpg);
    background-size: cover;
    background-position: fixed;
    background-attachment: fixed;
}

#productList .items .card > a {
    background: #1f1d1d;
}

.side-nav .list-group {
    display: flex;
    flex-flow: nowrap;
    margin-bottom: 20px;
}

.side-nav .list-group a {
    background: var(--theme--s);
    color: var(--contrast-color);
    transition: all 0.6s;
}
.side-nav .list-group a:hover {
    background: var(--theme--s-rev);
}
.side-nav .list-group a.active {
    background: var(--background-color);
    color: var(--heading-color);
    border-color: var(--heading-color);
    border-bottom: none;
}
