/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, 0.20);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.20);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.20);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	background-image: url(../img/footer-bg.png);
	background-position: 0 0;
    background-repeat: repeat-x;
	animation: footerAnimatedBg 50s linear infinite;
}

/* ======================================================
   SERVICE-SPECIFIC PAGE HEADER BACKGROUNDS
   Safe override – does NOT affect other pages
   ====================================================== */

.service-1.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-1.jpg) top center no-repeat;
    background-size: cover;
}

.service-2.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-2.jpg) top center no-repeat;
    background-size: cover;
}

.service-3.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-3.jpg) top center no-repeat;
    background-size: cover;
}

.service-4.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-4.jpg) top center no-repeat;
    background-size: cover;
}

.service-5.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-5.jpg) top center no-repeat;
    background-size: cover;
}

.service-6.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-6.jpg) top center no-repeat;
    background-size: cover;
}

.service-7.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-7.jpg) top center no-repeat;
    background-size: cover;
}

.service-8.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-8.jpg) top center no-repeat;
    background-size: cover;
}

.service-9.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/service-9.jpg) top center no-repeat;
    background-size: cover;
}

/* ======================================================
   TEAM / SERVICES 10–17 PAGE HEADER BACKGROUNDS
   Safe override – no impact on other pages
   ====================================================== */

.team-1.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-1.jpg) top center no-repeat;
    background-size: cover;
}

.team-2.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-2.jpg) top center no-repeat;
    background-size: cover;
}

.team-3.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-3.jpg) top center no-repeat;
    background-size: cover;
}

.team-4.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-4.jpg) top center no-repeat;
    background-size: cover;
}

.team-5.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-5.jpg) top center no-repeat;
    background-size: cover;
}

.team-6.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-6.jpg) top center no-repeat;
    background-size: cover;
}

.team-7.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-7.jpg) top center no-repeat;
    background-size: cover;
}

.team-8.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-8.jpg) top center no-repeat;
    background-size: cover;
}

.team-9.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-9.jpg) top center no-repeat;
    background-size: cover;
}

.team-10.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url(../img/team-10.jpg) top center no-repeat;
    background-size: cover;
}


/* ===============================
   GLOBAL BACKGROUND OVERLAY CONTROL
   =============================== */

/* One value controls ALL overlays */
:root {
    --overlay-darkness: 0.20;
}

/* Page headers (services, engagements, inner pages) */
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay-darkness));
    z-index: 1;
}

/* Homepage carousel slides */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--overlay-darkness));
    z-index: 1;
}

/* Keep text above overlays */
.page-header > *,
.carousel-caption {
    position: relative;
    z-index: 2;
}

/* =====================================
   FIX: Carousel header text positioning
   ===================================== */

/* Ensure carousel slides are positioning context */
.carousel-item {
    position: relative;
}

/* Force carousel images to stay as background layer */
.carousel-item img {
    position: relative;
    z-index: 0;
}

/* Ensure captions stay ON TOP of image + overlay */
.carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay must stay between image and text */
.carousel-item::before {
    z-index: 1;
}

/* Allow carousel arrows to be clickable */
.carousel-item::before {
    pointer-events: none;
}
/* ================================
   GLOBAL HEADER OVERLAY LIGHTENING
   ================================ */

.page-header::before,
.carousel-item::before {
    background: rgba(0, 0, 0, 0.20) !important;
}

/* Allow clicks through overlays (fix carousel arrows) */
.page-header::before,
.carousel-item::before {
    pointer-events: none;
}

/* ================================
   GLOBAL HEADER OVERLAY CONTROL
   ================================ */

/* Lighten all header & carousel overlays */
.page-header::before,
.carousel-item::before {
    background: rgba(0, 0, 0, 0.20) !important;
    pointer-events: none;
}

/* ================================
   FIX CAROUSEL ARROWS CLICKABILITY
   ================================ */

.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
}

/* Engagement Page Backgrounds */
.engagement-1.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-1.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-2.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-2.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-3.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-3.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-4.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-4.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-5.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-5.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-6.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-6.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-7.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-7.jpg') center center no-repeat;
    background-size: cover;
}

.engagement-8.page-header {
    background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
                url('../img/engagement-8.jpg') center center no-repeat;
    background-size: cover;
}

/* ======================================================
   UNIVERSAL CARD STYLING (Index, Services, Engagements)
   Pink frame, hover glow, lift effect, uniform shadow
   ====================================================== */

.card, .pricing-card, .service-card, .feature-card {
    background-color: #1a1a1a !important;       /* Dark background */
    border: 2px solid #ff4da6 !important;       /* Pink frame */
    border-radius: 15px !important;             /* Rounded corners */
    padding: 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5) !important; /* Uniform shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover */
    text-align: left !important;
    position: relative;
    overflow: hidden;
}

/* Titles inside cards */
.card h3, .pricing-card h3, .service-card h3, .feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff !important;
}

/* Prices inside cards */
.card .price, .pricing-card .price, .service-card .price, .feature-card .price {
    font-size: 20px;
    color: #ff4da6 !important;
    margin-bottom: 20px;
}

/* List items inside cards */
.card ul, .pricing-card ul, .service-card ul, .feature-card ul,
.card .list-group-item, .pricing-card .list-group-item {
    list-style: none;
    padding-left: 0;
}

.card ul li, .pricing-card ul li, .service-card ul li, .feature-card ul li,
.card .list-group-item, .pricing-card .list-group-item {
    padding: 8px 0;
    border-bottom: 1px solid #333 !important;
    color: #ccc !important;
}

.card ul li i, .pricing-card ul li i, .service-card ul li i, .feature-card ul li i {
    color: #ff4da6 !important;
    margin-right: 10px;
}

/* Hover effect: glow + lift */
.card:hover, .pricing-card:hover, .service-card:hover, .feature-card:hover {
    box-shadow: 0 12px 30px rgba(255, 77, 166, 0.6) !important; /* Pink glow */
    transform: translateY(-8px) !important; /* Lift */
    border-color: #ff4da6 !important;
}

/* Active / selected card styling */
.card.active, .pricing-card.active, .service-card.active, .feature-card.active {
    border-color: #ff4da6 !important;
    box-shadow: 0 12px 30px rgba(255, 77, 166, 0.8) !important;
}

/* =========================================
   GLOBAL HEADER OVERLAY REDUCTION
   Keeps original background images
   Sets darkness to 0.20 everywhere
   ========================================= */

/* Remove extra ::before darkness if present */
.page-header::before {
    background: rgba(0, 0, 0, 0.20) !important;
}

/* Reduce gradient darkness on ALL headers */
.page-header {
    background-blend-mode: normal !important;
}

/* Override any hardcoded 0.30 / 0.70 gradients */
.page-header[class] {
    background-image:
        linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.20)),
        inherit !important;
}

/* =========================================
   INDEX.HTML – CAROUSEL OVERLAY DARKNESS 0.20
   ========================================= */

#header-carousel .carousel-caption {
    background: rgba(0, 0, 0, 0.20) !important;
}

#header-carousel .carousel-item::before {
    background: rgba(0, 0, 0, 0.20) !important;
}

/* ----------------------------
   Hero Background Overrides
   Spain Landing Pages
   ---------------------------- */
.hero.es-hungria {
    background-image: url('/img/es-hungria.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.es-bulgaria {
    background-image: url('/img/es-bulgaria.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.es-uk {
    background-image: url('/img/es-uk.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.es-ireland {
    background-image: url('/img/es-ireland.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.es-dubai-uae {
    background-image: url('/img/es-dubai-uae.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.es-hong-kong {
    background-image: url('/img/es-hong-kong.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* ----------------------------
   Hero Background Overrides
   Italy Landing Pages
   ---------------------------- */
.hero.it-ungheria {
    background-image: url('/img/it-ungheria.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.it-bulgaria {
    background-image: url('/img/it-bulgaria.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.it-uk {
    background-image: url('/img/it-uk.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.it-ireland {
    background-image: url('/img/it-ireland.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.it-dubai-uae {
    background-image: url('/img/it-dubai-uae.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.it-hong-kong {
    background-image: url('/img/it-hong-kong.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* ----------------------------
   Hero Background Overrides
   France Landing Pages
   ---------------------------- */
.hero.fr-hongrie {
    background-image: url('/img/fr-hongrie.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.fr-bulgaria {
    background-image: url('/img/fr-bulgaria.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.fr-uk {
    background-image: url('/img/fr-uk.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.fr-ireland {
    background-image: url('/img/fr-ireland.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.fr-dubai-uae {
    background-image: url('/img/fr-dubai-uae.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.hero.fr-hong-kong {
    background-image: url('/img/fr-hong-kong.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
