/********** Template CSS **********/
:root {
    --bs-primary: #0ea5e9;
    --bs-secondary: #0f172a;
    --bs-light: #f0f9ff;
    --bs-dark: #020617;
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #8b5cf6;
    --secondary: #0f172a;
    --light: #f0f9ff;
    --dark: #020617;
    --gradient-brand: linear-gradient(135deg, #0ea5e9 0%, #6366f1 48%, #a855f7 100%);
    --gradient-soft: linear-gradient(180deg, #f0f9ff 0%, #ffffff 42%, #eef2ff 100%);
    --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lift: 0 18px 40px -12px rgba(14, 165, 233, 0.35);
    --radius-md: 12px;
    --nav-h: 76px;
}

html {
    scroll-padding-top: calc(var(--nav-h) + 12px);
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    background: var(--gradient-soft);
    color: #334155;
}

.fw-medium {
    font-weight: 600 !important;
}

.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;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.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: normal;
}

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

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    min-height: 75px;
}

.navbar-brand .navbar-brand-logo {
    display: block;
    max-height: 52px;
    width: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.site-header.navbar {
    position: relative;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: none !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    transition: box-shadow 0.35s ease, background 0.35s ease;
    top: 0 !important;
    min-height: var(--nav-h);
    z-index: 1030;
}

.site-header.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    pointer-events: none;
    z-index: 2;
}

.site-header.navbar.site-header-scrolled {
    box-shadow: var(--shadow-soft), 0 12px 40px -24px rgba(99, 102, 241, 0.25);
    background: rgba(255, 255, 255, 0.97) !important;
}

.site-header .navbar-brand {
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.site-header .navbar-brand {
    background: transparent !important;
}

.navbar-brand .navbar-brand-logo {
    display: block;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.site-header .navbar-toggler {
    border: 2px solid rgba(14, 165, 233, 0.35);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    box-shadow: none;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.35);
}

.site-header .navbar-toggler-icon {
    filter: none;
}

.site-header .navbar-nav .nav-link {
    letter-spacing: 0.02em;
    font-weight: 600 !important;
    font-size: 0.8125rem;
    text-transform: none;
}

@media (max-width: 991.98px) {
    #navbarCollapse.navbar-collapse {
        max-height: min(82vh, 640px);
        overflow-y: auto;
        overscroll-behavior: contain;
        margin-top: 0.75rem !important;
        padding-bottom: 1.5rem !important;
        padding-top: 0.35rem !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95);
    }

    .site-header .navbar-nav > a.nav-link:not(.dropdown-toggle),
    .site-header .navbar-nav .dropdown-toggle {
        padding: 0.75rem 0.25rem !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: 0;
        margin: 0;
    }

    .site-header .navbar-nav > a.nav-link:not(.dropdown-toggle):active,
    .site-header .dropdown-item:active {
        background: rgba(14, 165, 233, 0.12);
    }

    .site-header .dropdown-menu {
        border: 1px solid #eee;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0.25rem !important;
    }

    .site-header .dropdown-item {
        border-radius: 0;
        padding: 0.65rem 1rem;
        font-weight: 500;
    }
}

@media (min-width: 992px) {
    .site-header .mobile-nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.75rem;
    }

    .site-header .navbar-nav > a.nav-link:not(.dropdown-toggle),
    .site-header .services-dropdown > .dropdown-toggle {
        padding: 1.15rem 0.7rem !important;
        margin-right: 0 !important;
    }

    .site-header .services-dropdown > .dropdown-toggle {
        display: flex;
        align-items: center;
        text-transform: none;
    }

    .site-header .services-dropdown > .dropdown-toggle::after {
        margin-left: 0.4em;
        font-size: 0.85em;
        opacity: 0.75;
        transition: transform 0.2s ease;
    }

    .site-header .services-dropdown > .dropdown-toggle.show::after,
    .site-header .services-dropdown:hover > .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .site-header .dropdown-menu {
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 14px;
        box-shadow: 0 16px 48px -12px rgba(15, 23, 42, 0.22);
        padding: 0.55rem 0;
        margin-top: 0.35rem !important;
    }

    .site-header .services-dropdown-menu {
        min-width: 290px;
    }

    .site-header .dropdown-item {
        padding: 0.55rem 1.35rem;
        font-weight: 500;
        font-size: 0.875rem;
        transition: background 0.15s, color 0.15s, padding-left 0.15s;
    }

    .site-header .dropdown-item:hover,
    .site-header .dropdown-item:focus {
        background: linear-gradient(90deg, rgba(14, 165, 233, 0.12), rgba(139, 92, 246, 0.08));
        color: var(--secondary);
        padding-left: 1.55rem;
    }

    .site-header .dropdown-divider-brand {
        margin: 0.4rem 1.1rem;
        border-color: rgba(14, 165, 233, 0.2);
        opacity: 1;
    }

    .site-header .dropdown-item-all {
        color: var(--primary) !important;
        font-weight: 600 !important;
    }

    .site-header .dropdown-item-all:hover {
        color: var(--secondary) !important;
    }
}

.site-header .navbar-nav > a.nav-link[href="contact.html"] {
    background: var(--gradient-brand);
    color: #fff !important;
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
    border-radius: 999px;
    margin-left: 0.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 8px 24px -6px rgba(14, 165, 233, 0.55);
}

.site-header .navbar-nav > a.nav-link[href="contact.html"]::before {
    display: none !important;
}

.site-header .navbar-nav > a.nav-link[href="contact.html"]:hover,
.site-header .navbar-nav > a.nav-link[href="contact.html"].active {
    color: #fff !important;
    filter: brightness(1.06);
}

@media (min-width: 992px) {
    .site-header .navbar-nav > a.nav-link[href="contact.html"] {
        margin-top: 0;
        margin-bottom: 0;
        align-self: center;
    }
}

.navbar-light .navbar-nav .nav-link:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.55);
    outline-offset: 2px;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .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;
    }
}


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

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    --page-header-bg: url(../img/carousel-1.jpg);
    background: linear-gradient(118deg, rgba(2, 6, 23, 0.9) 0%, rgba(30, 27, 75, 0.75) 50%, rgba(14, 116, 144, 0.5) 100%),
        var(--page-header-bg) center center no-repeat;
    background-size: cover;
}

.page-header--services { --page-header-bg: url(../img/bg-page-services.jpg); }
.page-header--about { --page-header-bg: url(../img/bg-page-about.jpg); }
.page-header--contact { --page-header-bg: url(../img/bg-page-contact.jpg); }
.page-header--quote { --page-header-bg: url(../img/bg-page-quote.jpg); }
.page-header--team { --page-header-bg: url(../img/bg-page-team.jpg); }
.page-header--features { --page-header-bg: url(../img/bg-page-features.jpg); }
.page-header--industries { --page-header-bg: url(../img/bg-page-industries.jpg); }

.section-hero-photo {
    width: 100%;
    max-height: min(360px, 40vw);
    object-fit: cover;
    display: block;
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 8px;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(
            125deg,
            rgba(2, 6, 23, 0.93) 0%,
            rgba(49, 46, 129, 0.88) 55%,
            rgba(126, 34, 206, 0.55) 100%
        ),
        url(../img/map.png) center center no-repeat;
    background-size: cover;
}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer .btn.btn-social:hover {
    transform: translateY(-1px);
}

.footer .btn.btn-social .social-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.footer .btn-social--instagram {
    color: #fff;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
}

.footer .btn-social--instagram:hover {
    filter: brightness(1.08);
    color: #fff;
}

.footer .btn-social--x {
    color: #fff;
    background: #000;
    border-color: transparent;
}

.footer .btn-social--x:hover {
    background: #141414;
    color: #fff;
}

.footer .btn-social--linkedin {
    color: #fff;
    background: #0a66c2;
    border-color: transparent;
}

.footer .btn-social--linkedin:hover {
    background: #004182;
    color: #fff;
}

.footer-social {
    gap: 0.35rem;
}

.contact-social {
    gap: 0.5rem;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    color: #fff;
    background: #64748b;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.contact-social-link .social-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.contact-social-link--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.contact-social-link--x {
    background: #000;
}

.contact-social-link--linkedin {
    background: #0a66c2;
}

.contact-social-link:hover,
.contact-social-link:focus {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer-brand-logo {
    max-height: 56px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 1;
}

.site-tagline {
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.45;
}

.site-tagline--footer {
    color: #38bdf8;
    font-size: 1rem;
}

.site-tagline--page-header {
    opacity: 0.95;
    font-size: 1.05rem;
}

.site-tagline--section {
    color: var(--primary);
    font-size: 1.15rem;
}

.site-tagline--panel {
    color: #7dd3fc;
    font-size: 0.95rem;
}

/* Contact page sidebar — logo on dark gradient (white chip for clarity) */
.contact-panel-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-panel-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.contact-panel-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(280px, 72vw);
    object-fit: contain;
}

.service-thumb {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    padding: 0;
}

.service-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-carousel-overlay {
    background: linear-gradient(118deg, rgba(2, 6, 23, 0.72) 0%, rgba(15, 23, 42, 0.45) 42%, rgba(14, 165, 233, 0.12) 72%, rgba(139, 92, 246, 0.18) 100%);
}

.header-carousel .owl-carousel-item img {
    object-fit: cover;
    object-position: center 35%;
    min-height: 520px;
}

@media (min-width: 992px) {
    .header-carousel .owl-carousel-item {
        min-height: 560px;
        max-height: 720px;
    }

    .header-carousel .owl-carousel-item img {
        min-height: 560px;
        max-height: 720px;
    }
}

.hero-carousel-overlay .btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.hero-carousel-overlay .btn:hover {
    transform: translateY(-2px);
}

.header-carousel .owl-carousel-item .fs-5 {
    font-size: clamp(0.92rem, 1.35vw + 0.85rem, 1.22rem) !important;
}

.header-carousel .owl-carousel-item h1.display-3,
.header-carousel .owl-carousel-item h1.display-4 {
    font-size: clamp(1.65rem, 3.5vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.page-header h1.display-3,
.page-header h1.display-4 {
    font-size: clamp(1.6rem, 2.75vw + 1rem, 2.85rem);
    letter-spacing: -0.025em;
}

@media (max-width: 991.98px) {
    .header-carousel .owl-carousel-item > .hero-carousel-overlay {
        align-items: flex-end !important;
        padding-bottom: 4rem !important;
    }

    .header-carousel .owl-carousel-item > .hero-carousel-overlay > .container {
        padding-bottom: 1rem;
    }

    .header-carousel .owl-carousel-item > .hero-carousel-overlay .display-4,
    .header-carousel .owl-carousel-item > .hero-carousel-overlay .display-3 {
        font-size: clamp(1.5rem, 6vw + 0.85rem, 2.35rem);
    }

    .header-carousel .owl-carousel-item > .hero-carousel-overlay .btn {
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
        width: 100%;
        margin-bottom: 0.5rem !important;
        margin-right: 0 !important;
        display: block;
        text-align: center;
    }

    .header-carousel .owl-carousel-item > .hero-carousel-overlay .btn + .btn {
        margin-right: 0 !important;
    }

    .header-carousel .owl-nav {
        right: 12px;
        top: auto;
        bottom: 5.75rem;
        transform: none;
        flex-direction: row;
        gap: 8px;
        z-index: 8;
    }

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin: 0;
    }
}

/*** Buttons ***/
.btn {
    letter-spacing: 0.025em;
    border-radius: 10px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:not(.btn-social):hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-brand) !important;
    border: none !important;
    box-shadow: 0 12px 32px -10px rgba(14, 165, 233, 0.6);
    color: #fff !important;
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-outline-primary {
    border-width: 2px !important;
    font-weight: 600;
}

.btn-secondary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: none !important;
    box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.7);
}

.back-to-top {
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
}

/*** Cards & surfaces ***/
.service-item,
.price-item,
.team-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(255, 255, 255, 0.98);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-item:hover,
.price-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(99, 102, 241, 0.35);
}

.testimonial-carousel .owl-item.center .testimonial-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-carousel-overlay h1 .text-primary,
.page-header h1 .text-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 55%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

h1, h2, h3, h4, h5, .display-4, .display-3 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.footer-brand-logo {
    max-height: 52px;
    width: auto;
}

/*** Dropdown toggle as button (semantic, no hash jump) ***/
.site-header button.nav-link.dropdown-toggle {
    cursor: pointer;
    color: inherit !important;
}
.site-header button.nav-link.dropdown-toggle:focus {
    box-shadow: none;
}

@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

@media (max-width: 991.98px) {
    .site-header ~ * .container-xxl:not(.hero-row),
    .site-header ~ .container-fluid .container-xxl:not(.hero-row),
    footer .container,
    footer .container-fluid > .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(6px);
    border-color: rgba(255, 255, 255, 0.45) !important;
}
