:root {
    --primary: #3E87FB;
    --primary-dark: #0D5FD2;
    --black: #000000;
    --ink: #0A1224;
    --muted: #62708A;
    --light: #F5F8FF;
    --border: #E5EAF3;
    --white: #FFFFFF;
    --shadow: 0 18px 50px rgba(10, 18, 36, .12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Montserrat", "Poppins", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    letter-spacing: 0;
    overflow-x: hidden;
    max-width: 100vw;
}

[dir="rtl"] body {
    text-align: right;
}

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

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

[dir="rtl"] .dropdown-menu-end {
    right: auto;
    left: 0;
}

[dir="rtl"] .service-card-arrow {
    right: auto;
    left: 1rem;
    transform: rotate(180deg);
}

[dir="rtl"] .service-card:hover .service-card-arrow {
    transform: rotate(180deg) translateX(4px);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.font-display,
h1,
h2,
.navbar-brand-text {
    font-family: "Baloo 2", "Bungee", "Montserrat", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
}

.section-padding {
    padding: 92px 0;
}

.section-padding-sm {
    padding: 64px 0;
}

.section-kicker {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .16em;
    margin-bottom: .35rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    max-width: 740px;
    font-size: 1.05rem;
}

.btn {
    border-radius: var(--radius);
    font-weight: 800;
    padding: .78rem 1.2rem;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
}

.btn-outline-light:hover {
    color: var(--ink);
}

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    background: var(--white);
    transition: opacity .35s ease, visibility .35s ease;
}

.site-loader img {
    width: min(220px, 70vw);
    animation: loaderPulse 1.1s ease-in-out infinite alternate;
}

.site-loader.hide {
    opacity: 0;
    visibility: hidden;
}

@keyframes loaderPulse {
    from { transform: scale(.96); opacity: .68; }
    to { transform: scale(1); opacity: 1; }
}

.topbar {
    background: var(--black);
    color: var(--white);
    font-size: .84rem;
    font-weight: 700;
    padding: .55rem 0;
}

.topbar a {
    color: var(--white);
    opacity: .92;
}

.topbar a:hover {
    opacity: 1;
    color: var(--primary);
}

.topbar-whatsapp {
    color: #50d36d !important;
}

.topbar-lang {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .25rem .55rem;
}

.social-icons,
.footer-social {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.social-icons a,
.footer-social a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(62, 135, 251, .15);
    color: var(--white);
}

.site-header {
    box-shadow: 0 10px 28px rgba(10, 18, 36, .08);
}

.navbar {
    padding: .75rem 0;
}

.navbar-brand img {
    width: 210px;
    max-height: 68px;
    object-fit: contain;
}

.nav-link {
    font-weight: 800;
    color: var(--ink);
    padding: .75rem .75rem !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius);
    padding: .7rem 1rem !important;
    margin-left: .4rem;
}

.language-nav {
    display: none;
}

.dropdown-menu {
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: .7rem;
}

.dropdown-item {
    border-radius: 6px;
    font-weight: 700;
    padding: .58rem .75rem;
}

.dropdown-item:hover {
    background: var(--light);
    color: var(--primary);
}

.hero-slider .carousel-item {
    min-height: 720px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 22%, rgba(62, 135, 251, .34), transparent 24%),
        linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(5, 42, 95, .76), rgba(0, 0, 0, .28));
}

.hero-slider .carousel-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 150px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .48), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: .92;
    max-width: 850px;
    margin-bottom: 1.25rem;
    text-shadow: 0 20px 50px rgba(0, 0, 0, .38);
}

.hero-content p {
    color: rgba(255, 255, 255, .86);
    font-size: 1.16rem;
    max-width: 680px;
    margin-bottom: 2rem;
}

.marine-strip {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--primary);
    color: var(--white);
    padding: .45rem .7rem;
    border-radius: 6px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 900;
    font-size: .78rem;
    margin-bottom: 1rem;
    box-shadow: 0 14px 30px rgba(62, 135, 251, .25);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-actions .btn {
    min-width: 170px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

.hero-video-btn {
    color: var(--ink);
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.4rem;
}

.hero-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: .5rem .75rem;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: .84rem;
}

.carousel-indicators [data-bs-target] {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: var(--white);
    opacity: .42;
}

.carousel-indicators .active {
    opacity: 1;
    background: var(--primary);
}

.service-card,
.feature-card,
.destination-card,
.review-card,
.blog-card,
.tool-card,
.form-shell,
.admin-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(10, 18, 36, .06);
}

.service-card {
    height: 100%;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card-img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.service-card-body {
    padding: 1.3rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card h3,
.service-card h4 {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 1.02rem;
    font-weight: 900;
}

.service-card p,
.feature-card p,
.destination-card p,
.blog-card p,
.review-card p {
    color: var(--muted);
}

.service-card-arrow {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    transition: transform .22s ease;
}

.service-card:hover .service-card-arrow {
    transform: translateX(4px);
}

.blue-band {
    background: var(--light);
}

.cta-band {
    background: linear-gradient(135deg, var(--black), #0A1224 50%, var(--primary-dark));
    color: var(--white);
    padding: 70px 0;
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.feature-card {
    height: 100%;
    padding: 1.5rem;
    transition: transform .22s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.contact-card {
    display: block;
    color: inherit;
}

.contact-card p {
    word-break: break-word;
}

.contact-card:hover {
    color: inherit;
    border-color: rgba(62, 135, 251, .45);
}

.feature-card i {
    color: var(--primary);
    font-size: 2.1rem;
}

.about-preview-tabs .nav-link {
    border: 1px solid var(--border);
    margin: .25rem;
    border-radius: var(--radius);
    color: var(--ink);
}

.about-preview-tabs .nav-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.stats-band {
    background: var(--black);
    color: var(--white);
}

.stat-item {
    padding: 1.5rem;
    text-align: center;
}

.stat-item i {
    color: var(--primary);
    font-size: 2rem;
}

.stat-number {
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.destination-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    color: var(--white);
}

.destination-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .82));
}

.destination-card-content {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.2rem;
}

.destination-card h3,
.destination-card p {
    color: var(--white);
}

.review-card {
    padding: 1.4rem;
    height: 100%;
}

.review-author-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(62, 135, 251, .16);
    margin-bottom: .9rem;
    background: var(--light);
}

.review-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    color: #FFB800;
}

.blog-card {
    height: 100%;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.2rem;
}

.blog-meta {
    color: var(--primary);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer {
    background: #05070C;
    color: rgba(255, 255, 255, .76);
}

.footer-newsletter {
    background: var(--primary);
    padding: 46px 0;
    color: var(--white);
}

.footer-newsletter h2,
.footer-newsletter p {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    padding: .45rem;
    gap: .4rem;
}

.newsletter-form input {
    flex: 1;
    border: 0;
    padding: .95rem;
    min-width: 0;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    border: 0;
    border-radius: 6px;
    background: var(--black);
    color: var(--white);
    padding: .8rem 1rem;
    font-weight: 900;
}

.footer-main {
    padding: 70px 0;
}

.footer-logo {
    width: 210px;
    max-height: 80px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius);
    padding: .45rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: .65rem;
}

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

.footer-contact li {
    display: flex;
    gap: .55rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1.1rem 0;
    font-size: .9rem;
}

.footer-bottom a {
    color: var(--white);
    font-weight: 800;
}

.floating-whatsapp,
.back-to-top {
    position: fixed;
    right: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 1200;
    border: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.floating-whatsapp {
    bottom: 88px;
    background: #25D366;
    color: var(--white);
    font-size: 1.55rem;
}

.back-to-top {
    bottom: 24px;
    background: var(--primary);
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.page-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(6, 57, 124, .68));
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: .96;
}

.breadcrumb-wrap {
    margin-top: 1rem;
}

.breadcrumb a,
.breadcrumb-item.active {
    color: rgba(255, 255, 255, .82);
}

.content-block {
    line-height: 1.85;
    color: #39455C;
}

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    padding: .6rem 0 .6rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.list-check li::before {
    content: "\F26A";
    font-family: bootstrap-icons;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.process-step {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.process-step span {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.form-shell {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.form-control,
.form-select {
    border-color: var(--border);
    border-radius: var(--radius);
    padding: .85rem .95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(62, 135, 251, .14);
}

.enquiry-step {
    display: none;
}

.enquiry-step.active {
    display: block;
}

.step-pills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.step-pill {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .7rem;
    text-align: center;
    font-weight: 800;
    color: var(--muted);
}

.step-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-option {
    position: relative;
}

.service-option input {
    position: absolute;
    opacity: 0;
}

.service-option label {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    gap: .8rem;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
}

.service-option i {
    color: var(--primary);
    font-size: 1.4rem;
}

.service-option input:checked + label {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.service-option input:checked + label i {
    color: var(--white);
}

.tracking-result {
    border-left: 5px solid var(--primary);
}

.timeline {
    position: relative;
    padding-left: 1.4rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.38rem;
    top: .35rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.calculator-result {
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.install-body {
    min-height: 100vh;
    background: var(--light);
}

.install-shell {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.install-side {
    background: linear-gradient(160deg, var(--black), #0A1224 55%, var(--primary));
    color: var(--white);
    padding: clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.install-side img,
.install-card img {
    width: 260px;
    background: var(--white);
    border-radius: var(--radius);
    padding: .6rem;
    margin-bottom: 1.4rem;
}

.install-side h1,
.install-side p {
    color: var(--white);
}

.install-panel {
    padding: clamp(1.3rem, 4vw, 3rem);
}

.install-panel h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 1.2rem;
}

.install-card {
    max-width: 620px;
    margin: 10vh auto;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

@media (max-width: 1199px) {
    .topbar {
        display: none;
    }
    .language-nav {
        display: block;
    }
    .nav-cta {
        margin-left: 0;
        display: inline-flex;
        width: fit-content;
    }
}

@media (max-width: 991px) {
    .hero-slider .carousel-item,
    .hero-content {
        min-height: 620px;
    }
    .section-padding {
        padding: 68px 0;
    }
    .step-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .install-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .container,
    .container-fluid {
        max-width: 100%;
    }
    .navbar-brand img {
        width: 170px;
    }
    .hero-slider .carousel-item,
    .hero-content {
        min-height: 560px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-trust-row span {
        width: 100%;
        justify-content: center;
    }
    .footer-newsletter .container,
    .footer-main,
    .footer-bottom .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .footer-main {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
    .step-pills {
        grid-template-columns: 1fr;
    }
}
