.butn {
    text-transform: uppercase;
    background-color: #ec3237 !important;
}
.section-heading h2 {
    position: relative;
    width: 50%;
    margin: 0 auto;
    font-size: 40px !important;
    font-weight: 700;
    letter-spacing: -0em;
    line-height: 1;
}
.butn a:hover {
    background-color: #ec3237 !important;
}
.butn a:hover {
    --bs-link-color-rgb: #0c0d50 !important;
}
.butn.primary:after {
    border-bottom: 64px solid #0c0d50 !important;
}
.butn.primary:before,
.butn.primary:after {
    border-bottom: 64px solid #0c0d50 !important;
}
section {
    padding: 54px 0 !important;
    overflow: hidden;
    background: #fff;
    position: relative;
}
.extra-section.style_one .extra-content {
    position: absolute;
    padding: 0px 6px !important;
}
.protfolio-style01 .protfolio-block .protfolio-text {
    max-width: 368px;
    background: white;
}
.text-container {
    position: relative;
    max-width: 600px;
}
.text-primary,
.text-primary-hover:hover {
    color: #3e4095 !important;
}
.text-secondary,
.text-secondary-hover:hover {
    color: #0d6efd !important;
}
.page-title-section ul li:last-child {
    opacity: 0.7;
    color: white !important;
}
.font-weight-800 {
    font-weight: 500 !important;
}
.card-style14 .card-body span {
    position: absolute;
    color: #fff;
    background-color: #ec3237;
}
.card-style14 .card-body span::after {
    position: absolute;
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
    background: #ec3237;
}
.card-style14:hover .card-body span {
    background-color: #3e4095;
    color: rgb(255, 255, 255);
}
.card-style14:hover .card-body span::after {
    position: absolute;
    clip-path: polygon(0% 100%, 0% 0%, 100% 100%);
    background: #3e4095;
}
.primary-overlay[data-overlay-dark]:before {
    background: #2a334e;
}
.card-style4:hover .card-body .portfolio-overlay-info {
    bottom: 0px;
}
.card-style4 .card-body .portfolio-overlay-info {
    left: 0px;
    position: absolute;
    bottom: -100px;
    right: inherit;
    width: 100%;
    background-color: #ec3237;
    padding: 20px 25px;
    transition: all 0.6s ease;
}
.butn:after {
    position: absolute;
    content: "";
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: -50px;
    border-left: 30px solid transparent;
    border-bottom: 64px solid #3e4095;
    transition: all 600ms ease;
    transform: translateX(100%);
}
.butn:before {
    position: absolute;
    content: "";
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: -50px;
    border-bottom: 64px solid #3e4095;
    border-right: 30px solid transparent;
    transition: all 600ms ease;
    transform: translateX(-100%);
    z-index: -1;
}

.extra-section.style_one .extra-content {
    position: relative;
    padding: 80px 111px;
}
.welcome-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-box {
    background: linear-gradient(135deg, #ff512f, #dd2476); /* fiery gradient */
    padding: 35px 30px;
    max-width: 420px;
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: #fff;
    animation: slideUp 0.4s ease;
    border: 2px solid #fff3cd;
}

.popup-box h2 {
    margin-bottom: 15px;
    font-size: 26px;
    color: #fff9c4;
}

.popup-box p {
    color: #fff;
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-close-popup {
    padding: 10px 24px;
    background-color: #ffc107;
    border: none;
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-close-popup:hover {
    background-color: #ffca28;
}
.protfolio-style01 .protfolio-block .protfolio-text .button a {
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
}
.testimonial-style2 {
    position: relative;
    margin: 13px 13px 10px 13px;
}
.fixed-img {
    width: 100%;
    height: 300px; /* Adjust height as needed */
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.card.card-style1 {
    transition: all 0.3s ease-in-out;
}

.card.card-style1:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.social-icon-style1 li a:hover,
.social-icon-style1 li a:active,
.social-icon-style1 li a:focus {
    background-color: #ec3237;
    color: #fff;
}
.bg-secondary {
    background-color: #d74e51 !important;
}

.card-style7:hover .service-data {
    opacity: 3 !important;
    transition: all 0.4s ease-out 0s;
}
.card-style7 .service-data {
    width: 80%;
    height: 70px;
    background-color: #fff;
    box-shadow: 10px 10px 60px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    bottom: -72px;
}
.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: #3e4095;
    border-color: #3e4095;
}

.service-data {
    background: #fff; /* or whatever your card color is */
    min-height: 100px; /* keeps it balanced */
    justify-content: center;
}

.service-data h5 {
    font-weight: 600;
}

.service-data .btn {
    margin-top: 5px;
}
.triangle-4 {
    border-top: 40px solid #ec3237;
    border-right: 41px solid #ec3237;
    border-left: 40px solid transparent;
    border-bottom: 42px solid transparent;
    position: absolute;
    left: 3%;
    top: -56px;
    transform: rotate(180deg);
}

.thumb {
    /* width: 102px; */
    height: 105px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumb:hover {
    border: 2px solid #007bff; /* highlight on hover */
}
.thumb-slider {
    margin-top: 10px;
}
.thumb-slider .swiper-slide {
    width: 80px; /* Thumbnail size */
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    align-items: center;
    justify-content: center;
    color: #ec3239 !important;
}
.bg-dark {
    background-color: #3e4095 !important;
}
.left-overlay-dark[data-overlay-dark]::before {
    background: linear-gradient(-90deg, transparent, #3e4095) !important;
}
.bg-blue {
    background-color: #43529d;
}

.section-heading h2 {
    position: relative;
    width: 50%;
    margin: 0 auto;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0em;
    line-height: 1;
}
[data-overlay-dark="85"]:before,
[data-overlay-light="85"]:before {
    /* opacity: 0.85; */
    opacity: 0 !important;
}
.extra-section.style_one .exra-image::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, #43529d 0%, #ec3137 100%);
    opacity: 0.92;
    z-index: 1;
}
.card-style4 .card-body {
    position: absolute;
    opacity: 0;
    display: block;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
}

.gradient-text {
    background: linear-gradient(311deg, #ff0000, #3957e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none !important;
    padding-top: 8px;
}
.section-heading span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.975em;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: #1158e7;
    display: inline-block;
    padding-right: 13px;
    position: relative;
}
.section-heading span:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 9px 9px;
    border-color: transparent transparent #ffffff transparent !important;
    bottom: 8px;
    right: 0;
}
.card-style4:hover .card-body {
    opacity: 0 !important;
}
.contact-wrapper:hover .contact-icon {
    background: #ec3239;
}
.contact-icon {
    margin: -120px auto 30px;
    border-radius: 38%;
    width: 90px;
    height: 90px;
    line-height: 110px;
    background: #43529d;
    position: relative;
    z-index: 1;
    border: 1px solid #ededed;
    text-align: center;
}
.card-style1 .card-body {
    position: relative;
    padding: 0px 0px 0px !important;
    background-color: #fff;
    box-shadow: -3px 0px 30px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #575a7b;
}
.navbar-nav > li > a {
    font-size: 14px;
    font-weight: 650;
    padding: 21px 0.5rem;
}
.testimonial-style1.owl-carousel .owl-nav button.owl-prev,
.testimonial-style1.owl-carousel .owl-nav button.owl-next {
    width: 60px;
    height: 60px;
    background: #fff;
    color: #fff;
    position: absolute;
    top: 38%;
}

.testimonial-style1.owl-theme .owl-nav [class*="owl-"]:hover {
    background: #fff;
}
.service-card:before {
    background: none;
    background: none !important;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 800;
    font-family: "Plus Jakarta Sans", sans-serif;
    letter-spacing: -0.01em;
    color: #05060c;
}
.loader {
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: auto; /* Center */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media screen and (min-width: 992px) {
    .menu_area-light .navbar-nav li a {
        color: white !important;
    }
}
@media (max-width: 768px) {
    .section-heading h2 {
        width: 100%;
        font-size: 24px !important;
    }
}
.border-20{
    border: 1px solid #cacaca !important;
    border-radius: 5px;
}
.slider-fade1.owl-theme .owl-nav {
    display: none !important;
}
