:root {
    /* main color */
    --default: #f79d1b;
    /* lighter version */
    --default-soft: #fde2bb;
    /* backgrounds/sections */
    --default-surface: #fef5e8;
    --section-dark: #1f3662;
    /* for gradients */
    --section-darker: #06080f;
    --transition-default: 0.3s ease;
}

body {
    font-family: Calibri, sans-serif;
}

/*====================================================================================*/
/* 01 General 
/*====================================================================================*/

.text-default {
    color: var(--default);
}

.bg-default {
    /* used for buttons */
    background-color: var(--default);
}

.bg-default-soft {
    /* used for buttons */
    background-color: var(--default-soft);
}

.bg-default-surface {
    /* used for buttons */
    background-color: var(--default-surface);
}

.bg-section-dark {
    background-color: var(--section-dark) !important;
}

.bg-section-dark-gradient {
    background: linear-gradient(to bottom, var(--section-dark), var(--section-darker));
}

.fs-0 {
    font-size: calc(1.75rem + 1.8vw);
}

.fs-1-5 {
    font-size: clamp(2.1rem, 2.5vw, 2.3rem);
}

.fs-7 {
    font-size: 15px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.border-default {
    border-color: var(--default) !important;
}

.border-start-default {
    border-left: 4px solid var(--default) !important;
}

.border-start-default-soft {
    border-left: 4px solid var(--default-soft) !important;
}

.transition-default {
    transition: all var(--transition-default) !important;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.w-12_5 {
    width: 12.5% !important;
}

.h-2 {
    height: 2px;
}

/* Base */
.btn-default {
    background-color: var(--default);
    border: 1px solid var(--default);
}

/* Hover */
.btn-default:hover {
    background-color: var(--default);
    border-color: var(--default);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 157, 27, 0.75);
}

/* Focus (keyboard navigation) */
.btn.btn-default:focus-visible {
    background-color: var(--default);
    border-color: var(--default);
    box-shadow: 0 0 0 0.2rem rgba(247, 157, 27, 0.4);
}

/* Active (mouse click) */
.btn.btn-default:active,
.btn.btn-default.active,
.show>.btn.btn-default.dropdown-toggle {
    background-color: var(--default);
    border-color: var(--default);
    box-shadow: none;
}

.size-45 {
    width: 45px;
    height: 45px;
}

.size-60 {
    width: 60px;
    height: 60px;
}

.size-70 {
    width: 70px;
    height: 70px;
}

.link-default:hover {
    color: #0a58ca !important;
    transform: translateX(3px);
}

.object-fit-cover {
    object-fit: cover;
}

.skip-to-main {
    z-index: 1100;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .border-lg-start {
        border-left: 1px solid #dee2e6;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .w-md-25 {
        width: 25% !important;
    }
}

/*====================================================================================*/
/* 02 Accordion
/*====================================================================================*/

/* change the default blue focus color */
.accordion-button:focus {
    border-color: var(--default-soft);
    box-shadow: 0 0 0 0.2rem rgba(253, 225, 187, 0.554);
}

/* change the arrow color */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(67%) sepia(92%) saturate(749%) hue-rotate(358deg) brightness(101%) contrast(101%);
    opacity: 1;
}

/* remove the box shadow when the button is collapsed */
.accordion-button:not(.collapsed) {
    box-shadow: none;
}

/*====================================================================================*/
/* 03 navbar
/*====================================================================================*/

.navbar .navbar-brand img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.navbar-nav>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #faaf46;
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar-nav a:hover:before,
.navbar-nav li:hover>a:before,
.navbar-nav .active:before,
.navbar-nav .current:before,
.navbar-nav .nav-item .nav-link:focus:before {
    visibility: visible;
    width: 100%;
}

/** dropdown-menu **/

.navbar-nav .dropdown .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.navbar-nav .dropdown .dropdown-menu li:last-child {
    border-bottom: none;
}

.navbar-nav .dropdown .dropdown-menu li a:hover,
.navbar-nav .dropdown .dropdown-menu li a.current {
    color: #000;
    background-color: #FFE5C1;
    border-radius: 8px;
}

/* remove the default margin-top: 0; for the menu*/
.dropdown-menu[data-bs-popper] {
    margin-top: 8px;
}

/* applies to medium devices (tablets, less than 992px) */
@media (max-width: 991px) {
    .navbar .navbar-brand img {
        width: 100px;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, .08);
    }

    .navbar-nav .dropdown .dropdown-menu {
        border: none;
        /*border-0 in md and sm screens */
    }
}

/*====================================================================================*/
/* 04 Index page
/*====================================================================================*/

/* hero section */
.main-video-banner {
    height: 65vh;
}

/* sm breakpoint and below. */
@media (max-width: 767.98px) {
    .main-video-banner {
        height: auto;
    }
}

/* solutions section */
.hover-move-right:hover {
    transform: translateX(3px);
}

/*  testimonials */
.testimonials-carousel .carousel-control-prev,
.testimonials-carousel .carousel-control-next {
    width: 5%;
}

/* portfolio cards */

.portfolio-card img {
    transition: transform 0.3s;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    transition: opacity 0.3s;
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
    opacity: 1 !important;
}

.portfolio-detail-link {
    transition: all 0.2s ease-in-out;
}

.portfolio-detail-link:hover {
    background-color: #d87f00;
}

/*====================================================================================*/
/* 05 Portfolio Details page
/*====================================================================================*/

.carousel-indicators [data-bs-target] {
    background-color: #f79d1b;
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: all 0.3s ease-in-out;
}

.carousel-indicators .active {
    opacity: 1;
}

.portfolio-img-ratio,
#modalImage {
    aspect-ratio: 16 / 10;
}

/* Make modal almost full width on md and sm screens */
@media (max-width: 991.98px) {
    #imageModal .modal-dialog {
        max-width: 95%;
    }
}

.client-perspective::after {
    content: "";
    position: absolute;
    left: 25px;
    bottom: -12px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    transform: rotate(-45deg);
}

/*====================================================================================*/
/* 06 Solution Details page
/*====================================================================================*/

/* Enterprise Modernization solution */
.timeline-line {
    top: 36px;
    left: 10%;
    right: 10%;
    border-top: 2px solid var(--default-soft);
}

/* data optimization solution */
.icon-top {
    top: -30px;
    transform: translateX(-50%);
}

/*====================================================================================*/
/* 07 Footer
/*====================================================================================*/

.footer-link:hover {
    color: var(--default);
    padding-left: 3px;
}

.cookie-consent {
    z-index: 1090;
}

/*====================================================================================*/
/* 08 Chat bot
/*====================================================================================*/

#ipsgChatBubble:hover,
#ipsgChatBubble:focus-visible {
    background: #f79d1b !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(247, 157, 27, 0.75) !important;
}

#ipsgChatWindow {
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 520px;
}

/* Chat Messages */

.chatBubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 1rem;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.bot {
    background: #e8f0fe;
    border-left: 3px solid var(--section-dark);
}

.user {
    background: #d1ffd6;
    border-right: 3px solid #198754;
    margin-left: auto;
}

/* Option Buttons */

.optionButtons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.optionBtn {
    background: #fff;
    border: 1px solid #0056b3;
    color: #0056b3;
    border-radius: 20px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.optionBtn:hover {
    background: #0056b3;
    color: #fff;
}

/* Typing Animation */

.typingBubble {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    padding: 12px 14px;
}

.typingBubble span {
    width: 8px;
    height: 8px;
    background: #0d6efd;
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

.typingBubble span:nth-child(2) {
    animation-delay: 0.2s;
}

.typingBubble span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {

    0%,
    80%,
    100% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/*====================================================================================*/
/* 08 Digital Business Card
/*====================================================================================*/

.digital-card-photo {
    width: 140px;
    height: 140px;
    left: 30px;
    top: -70px;
}

/* Mobile */
@media (max-width: 575.98px) {
    .digital-card-photo {
        width: 100px;
        height: 100px;
        left: 20px;
        top: -50px;
    }

}