
/* Background design color */
.custom-bg-color-light-1,
.custom-bg-color-light-2,
#hero_section,
.main > section:first-of-type {
    background-color: rgb(238, 229, 229) !important;
}


/* Seamless Header Background Fix */
#header.header-transparent {
    top: 0;
    left: 0;
}

#header .header-top {
    background-color: rgb(238, 229, 229) !important;
}

html:not(.sticky-header-active) #header.header-transparent .header-body {
    background-color: rgb(238, 229, 229) !important;
}

html.sticky-header-active #header.header-transparent .header-body {
    background-color: #ffffff !important;
}

#header.header-effect-shrink .header-container {
    min-height: 80px !important;
}

.skill-card img {
    width: 53px;
    height: 53px;
}

.why-us-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.tracking-wider {
    letter-spacing: 2px;
}

.process-card {
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    border: 0.5px solid #f9f9f9;
}

.process-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 75, 105, 0.15);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 75, 105, 0.05);
    color: #800020;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 12px;
    margin: 0 auto;
    transition: 0.3s;
}



.process-card:hover .icon-box {
    background: #800020;
    color: #fff;
}

.process-card:hover .icon-box {
    background: #800020;
    color: #fff;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 20px rgba(0, 75, 105, 0.2);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.04);
    transition: 0.3s;
}

.process-card:hover .step-number {
    color: rgb(0 75 105 / 20%);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .display-5 {
        font-size: 2rem;
    }
}

.why-us-wrapper {
    margin-bottom: 7.6rem;
}

#header.header-transparent .header-body:not(.header-border-bottom) {
    border-bottom: none !important;
}

.spacer-110 {
    height: 110px;
}

@media (max-width: 1440px) {
    .spacer-110 {
        height: 60px;
    }
}

/* Portfolio Grid Vertical Spacing */
#portfolioLoadMoreWrapper .portfolio-item,
#portfolioLoadMoreWrapper .image-gallery-item {
    margin-bottom: 28px !important;
}

.thumb-info.thumb-info-no-borders .thumb-info-wrapper {
    margin: 5px;
}

.mfp-close,
.mfp-close-btn-in .mfp-close {
    font-size: 26px;
    top: -36px;
    color: #fff;

}

.mfp-counter {
    top: 8px;
    right: 8px;
}

.mfp-bottom-bar {
    background: var(--dark-200);
    padding: 10px;
}

img.mfp-img {
    overflow: visible;
    width: 1024px;
    height: auto;
    max-height: 677px;
    padding: 0px 0 36px !important
}

#footer.bg-color-quaternary,
#footer.bg-color-quaternary p,
#footer.bg-color-quaternary a {
    color: #FFF !important;
}

#footer.bg-color-quaternary a:hover {
    color: #FFF !important;
    opacity: 0.8;
}

.btn,
.btn-gradient {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.btn:hover,
.btn-gradient:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(1.1);
}

.btn::after,
.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: all 0.5s;
}

.btn:hover::after,
.btn-gradient:hover::after {
    left: 100%;
}



.thumb-info .thumb-info-wrapper:after, .thumb-info .thumb-info-wrapper .thumb-info-wrapper-overlay:before {
    background: var(--light-rgba-80) !important;
}

.thumb-info .thumb-info-title {
    color: var(--dark) !important;
}

.thumb-info.thumb-info-centered-info .thumb-info-type {
    color: var(--light) !important;
}

/* Google reCAPTCHA v3 Badge - Collapsed to icon, expands on hover */
.grecaptcha-badge {
    position: fixed !important;
    bottom: 40px !important;
    right: -186px !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 99999 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px 0 0 4px !important;
}

.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within,
.grecaptcha-badge:active,
.grecaptcha-badge.is-expanded {
    right: 0 !important;
}
