/********** Theme **********/
:root {
    --primary: #ff7b22;
    --primary-strong: #e6640b;
    --secondary: #173b82;
    --accent: #14b8a6;
    --light: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --surface-muted: #eef3f8;
    --dark: #081225;
    --text: #273247;
    --muted: #64748b;
    --border: rgba(23, 59, 130, 0.12);
    --shadow-soft: 0 12px 32px rgba(8, 18, 37, 0.08);
    --shadow-medium: 0 24px 60px rgba(8, 18, 37, 0.14);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --nav-height: 92px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    line-height: 1.7;
    background:
        radial-gradient(circle at top left, rgba(255, 123, 34, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 28%),
        linear-gradient(180deg, #f9fbfe 0%, #eef4fa 100%);
    padding-top: var(--nav-height);
    transition: background-color 0.35s ease, color 0.35s ease;
}

.container-xxl.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.partner-strip {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.container-xxl.py-5 + .container-xxl.py-5,
.partner-strip + .container-xxl.py-5,
#header-carousel + .partner-strip,
.container-fluid.p-0 + .partner-strip {
    margin-top: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.navbar-brand {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dark);
}

p,
span,
li,
a,
label,
input,
textarea,
button {
    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
}

.img-fluid {
    border-radius: var(--radius-md);
}

.navbar-brand img,
.service-item img,
.service-icon img,
.footer img {
    border-radius: 0;
}

.text-primary {
    color: var(--primary) !important;
}

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

#about,
#services,
#contact {
    scroll-margin-top: 112px;
}


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

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


/*** Buttons ***/
.btn {
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

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

.btn.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(255, 123, 34, 0.22);
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #102b5d 100%);
    border-color: transparent;
    box-shadow: 0 20px 35px rgba(23, 59, 130, 0.24);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    border-radius: 50%;
}

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

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

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


/*** Navbar ***/
.navbar.sticky-top {
    top: 0;
}

.navbar.fixed-top {
    min-height: var(--nav-height);
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 16px 40px rgba(8, 18, 37, 0.08);
    z-index: 1030;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 56px;
    flex-shrink: 0;
}

.navbar-brand h1 {
    margin: 0;
    font-size: clamp(1.02rem, 1.5vw, 1.35rem);
    line-height: 1.2;
}

.brand-text {
    display: inline;
}

.brand-text-sm {
    display: none;
}

.navbar .navbar-nav {
    gap: 0.25rem;
}

.navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.72rem 1rem;
    color: var(--text);
    font-weight: 600;
    border-radius: 999px;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(255, 123, 34, 0.12);
}

.navbar-toggler {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(23, 59, 130, 0.06);
    box-shadow: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.35rem;
    height: 1.35rem;
    background-size: 1.35rem 1.35rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173b82' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}

.navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173b82' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
}

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

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.55rem;
    box-shadow: var(--shadow-soft);
    background: rgba(255, 255, 255, 0.96);
}

.dropdown-item {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 123, 34, 0.12);
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar.fixed-top {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .navbar .navbar-brand img {
        max-height: 48px;
    }

    .navbar .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: var(--shadow-soft);
    }

    .navbar .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
        align-items: stretch !important;
    }

    .navbar .navbar-nav .nav-link {
        padding-inline: 1rem;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 0;
        box-shadow: none;
        border: none;
        background: transparent;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        top: 140%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease;
        transform: translateY(12px);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/*** Header ***/
#header-carousel,
.carousel-inner,
.carousel-item {
    margin-top: 0;
}

#header-carousel .carousel-item {
    height: calc(100vh - var(--nav-height));
    min-height: calc(100vh - var(--nav-height));
}

#header-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(120deg, rgba(8, 18, 37, 0.86) 8%, rgba(8, 18, 37, 0.62) 45%, rgba(23, 59, 130, 0.34) 100%);
    z-index: 1;
}

.carousel-caption .col-lg-7 {
    max-width: 780px;
}

.carousel-caption .display-4 {
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.carousel-caption .text-body {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #ffe6d4 65%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.25rem;
    height: 3.25rem;
    background-color: rgba(8, 18, 37, 0.7);
    border: 12px solid rgba(8, 18, 37, 0.7);
    border-radius: 3rem;
    box-shadow: 0 12px 24px rgba(8, 18, 37, 0.22);
}

@media (max-width: 768px) {
    body {
        padding-top: 84px;
    }

    #header-carousel .carousel-item {
        height: calc(100svh - 84px);
        min-height: calc(100svh - 84px);
    }

    #header-carousel .carousel-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .carousel-caption .display-4 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}


/*** Sections ***/
.section-intro {
    max-width: 500px;
}

.partner-strip h6 {
    letter-spacing: 0.16em;
}

.partner-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 108px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
}

.partner-slider::before,
.partner-slider::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 2;
    width: 16%;
    height: 100%;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, #f3f7fc 0%, rgba(243, 247, 252, 0) 100%);
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, #f3f7fc 0%, rgba(243, 247, 252, 0) 100%);
}

.partner-slider .slide-track {
    display: flex;
    width: max-content;
    animation: scroll-infinite 24s linear infinite;
    will-change: transform;
}

.partner-slider .slide-group {
    display: flex;
    flex: 0 0 auto;
}

.partner-slider .slide {
    flex: 0 0 auto;
    width: 240px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.partner-slider .slide img {
    max-height: 66px;
    max-width: 188px;
    width: auto;
    opacity: 1;
    filter: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.partner-slider .slide h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--muted);
    opacity: 0.68;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.partner-slider .slide:hover img,
.partner-slider .slide:hover h4 {
    transform: translateY(-3px);
    opacity: 1;
    color: var(--primary);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about-collage img {
    box-shadow: var(--shadow-soft);
}

.collage-offset {
    padding-top: 4rem;
}

.feature-card {
    padding: 1.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 123, 34, 0.18);
}

.feature-card .btn-square {
    width: 86px !important;
    height: 86px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.feature-card .btn-square img {
    width: 50px;
}

.feature-media {
    min-height: 420px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.feature-image {
    object-fit: cover;
}

.subscription-box {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.subscription-box .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.subscription-box .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


/*** Service ***/
.service-item {
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 123, 34, 0.18);
}

.service-media {
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.service-media > .img-fluid,
.service-item > .img-fluid {
    width: 100%;
    border-radius: 0;
}

.service-media .img-fluid {
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-item:hover .service-media .img-fluid {
    transform: scale(1.04);
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 18, 37, 0) 30%, rgba(8, 18, 37, 0.6) 100%);
    pointer-events: none;
}

.service-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    box-shadow: var(--shadow-soft);
}

.service-body {
    padding: 1.45rem 1.55rem 1.55rem;
}

.service-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.service-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
}

.service-head h4 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.service-head i {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary);
    background: rgba(255, 123, 34, 0.12);
    font-size: 1.2rem;
}

.service-body p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.service-tags span {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 600;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--secondary);
    font-weight: 700;
}

.service-link i {
    transition: transform 0.25s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

.service-item .bg-light {
    background: transparent !important;
    padding: 0;
    border-top: 0;
}

.service-item .service-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.service-item .service-icon img {
    max-width: 56px;
    max-height: 56px;
}


/*** Forms & Map ***/
.form-control {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(23, 59, 130, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    box-shadow: none;
}

.form-control:focus {
    border-color: rgba(255, 123, 34, 0.42);
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 34, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.form-floating > label {
    color: var(--muted);
}

.form-message {
    height: 128px !important;
}

.map-column {
    min-height: 450px;
}

.contact-map {
    min-height: 450px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}


/*** Footer ***/
.footer {
    color: rgba(226, 232, 240, 0.82);
    background: linear-gradient(180deg, #10214b 0%, #081225 100%) !important;
}

.footer h1 {
    display: flex;
    align-items: center;
}

.footer h1 img {
    max-height: 54px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: rgba(226, 232, 240, 0.72);
    font-weight: 500;
    text-transform: none;
}

.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: rgba(226, 232, 240, 0.48);
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 0.02em;
    box-shadow: none;
    transform: none;
}

.footer .btn.btn-square {
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.footer .btn.btn-square:hover {
    color: #ffffff;
    border-color: rgba(255, 123, 34, 0.45);
    background: rgba(255, 123, 34, 0.18);
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
}

.footer .form-control::placeholder {
    color: rgba(226, 232, 240, 0.6);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0a1730 0%, #050c18 100%);
}

.footer .copyright a {
    color: #ffffff;
}

.footer .copyright a:hover {
    color: #ffd2b0;
}


/*** Fixed Actions ***/
.fixed-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1040;
}

.action-btn {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.4rem;
    box-shadow: 0 18px 35px rgba(8, 18, 37, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.action-btn:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

.theme-btn {
    background: var(--dark);
}

.wa-btn {
    background: #25d366;
}

.wa-btn:hover {
    background: #1eb85b;
    box-shadow: 0 20px 36px rgba(37, 211, 102, 0.28);
}


/*** Dark Mode ***/
body.dark-mode {
    --surface: rgba(13, 23, 43, 0.88);
    --surface-strong: #0f172a;
    --surface-muted: #13203d;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top left, rgba(255, 123, 34, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.1), transparent 28%),
        linear-gradient(180deg, #081225 0%, #0a1730 100%);
    color: var(--text);
}

body.dark-mode .bg-white {
    background-color: transparent !important;
}

body.dark-mode .bg-light {
    background-color: rgba(15, 23, 42, 0.82) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .navbar-brand,
body.dark-mode .text-dark,
body.dark-mode .text-body {
    color: #f8fafc !important;
}

body.dark-mode .navbar.fixed-top {
    background: rgba(8, 18, 37, 0.72) !important;
    border-bottom-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.36);
}

body.dark-mode .navbar .navbar-collapse {
    background: rgba(8, 18, 37, 0.92);
}

body.dark-mode .navbar-toggler {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

body.dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}

body.dark-mode .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5L5 19'/%3E%3C/svg%3E");
}

body.dark-mode .navbar .navbar-nav .nav-link {
    color: #e2e8f0;
}

body.dark-mode .navbar .navbar-nav .nav-link:hover,
body.dark-mode .navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    background: rgba(255, 123, 34, 0.18);
}

body.dark-mode .dropdown-menu {
    background: rgba(8, 18, 37, 0.94);
    border-color: rgba(148, 163, 184, 0.14);
}

body.dark-mode .dropdown-item {
    color: #e2e8f0;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background: rgba(255, 123, 34, 0.14);
    color: #ffffff;
}

body.dark-mode .carousel-caption {
    background:
        linear-gradient(120deg, rgba(2, 6, 23, 0.9) 10%, rgba(8, 18, 37, 0.7) 46%, rgba(23, 59, 130, 0.3) 100%);
}

body.dark-mode .service-item,
body.dark-mode .feature-card {
    background: rgba(15, 23, 42, 0.86);
}

body.dark-mode .service-item .bg-light {
    border-top-color: rgba(148, 163, 184, 0.12);
}

body.dark-mode .partner-slider {
    background: rgba(10, 19, 38, 0.8);
    border-color: rgba(148, 163, 184, 0.12);
}

body.dark-mode .partner-slider::before {
    background: linear-gradient(to right, #09152a 0%, rgba(9, 21, 42, 0) 100%);
}

body.dark-mode .partner-slider::after {
    background: linear-gradient(to left, #09152a 0%, rgba(9, 21, 42, 0) 100%);
}

body.dark-mode .partner-slider .slide img {
    filter: brightness(1.08);
    opacity: 1;
}

body.dark-mode .partner-slider .slide:hover img {
    filter: brightness(1.12);
}

body.dark-mode .partner-slider .slide h4 {
    color: #cbd5e1;
}

body.dark-mode .form-control {
    background: rgba(15, 23, 42, 0.82);
    border-color: rgba(148, 163, 184, 0.14);
    color: #f8fafc;
}

body.dark-mode .form-control:focus {
    background: rgba(15, 23, 42, 0.98);
}

body.dark-mode .form-floating > label {
    color: #94a3b8;
}

body.dark-mode .theme-btn {
    background: #f8fafc;
    color: var(--dark);
}

body.dark-mode .footer {
    background: linear-gradient(180deg, #0a1730 0%, #050c18 100%) !important;
}

body.dark-mode .footer .copyright {
    background: linear-gradient(180deg, #0a1730 0%, #050c18 100%);
}


/*** RTL Adjustments ***/
html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .navbar .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

html[dir="rtl"] .footer .btn.btn-link {
    text-align: right;
}

html[dir="rtl"] .footer .btn.btn-link::before {
    content: "\f104";
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] .navbar .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
}

html[dir="rtl"] .service-badge {
    left: auto;
    right: 1rem;
}

html[dir="rtl"] .service-link:hover i {
    transform: translateX(-4px);
}

html[dir="rtl"] .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem !important;
}

html[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir="rtl"] .me-3 {
    margin-right: 0 !important;
    margin-left: 1rem !important;
}

html[dir="rtl"] .ms-4 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}


/*** Responsive Polish ***/
@media (max-width: 991.98px) {
    .feature-card {
        padding: 1.15rem;
    }

    .feature-media {
        min-height: 360px;
    }

    .partner-slider {
        height: 88px;
        border-radius: 28px;
    }

    .partner-slider .slide-track {
        animation-duration: 18s;
    }

    .partner-slider .slide {
        width: 190px;
        height: 88px;
        padding: 0 0.2rem;
    }

    .partner-slider .slide img {
        max-height: 50px;
        max-width: 146px;
    }
}

@media (max-width: 767.98px) {
    .brand-text-lg {
        display: none;
    }

    .brand-text-sm {
        display: inline;
    }

    .container-xxl.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .partner-strip {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .partner-slider {
        height: 84px;
    }

    .partner-slider .slide-track {
        animation-duration: 14s;
    }

    .partner-slider .slide {
        width: 165px;
        height: 84px;
        padding: 0 0.15rem;
    }

    .partner-slider .slide img {
        max-height: 46px;
        max-width: 132px;
    }

    html[dir="rtl"] .subscription-box {
        flex-direction: row-reverse;
    }

    .display-6 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .service-media {
        min-height: 220px;
    }

    .service-body {
        padding: 1.2rem 1.15rem 1.25rem;
    }

    .service-head h4 {
        font-size: 1.15rem;
    }

    .contact-stack-gap > .col-sm-6 + .col-sm-6 {
        margin-top: 1.1rem;
    }

    .collage-offset {
        padding-top: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .feature-card .ms-4 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .map-column,
    .contact-map {
        min-height: 320px;
    }

    .footer {
        padding-bottom: 118px;
    }

    .fixed-actions {
        right: 18px;
        bottom: 18px;
    }

    .action-btn {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }
}
