:root {
    --cp-navy: #257ced;
    --cp-navy-light: #12325c;
    --cp-sapphire: #0f52ba;
    --cp-sapphire-dark: #082f7a;
    --cp-orange: #f28c28;
    --cp-orange-dark: #d97706;
    --cp-sand: #f4f6f9;
    --cp-text: #1e293b;
    --cp-muted: #64748b;
    --cp-radius: 1rem;
    --cp-shadow: 0 18px 45px rgba(11, 31, 58, 0.12);
    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--cp-text);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
    font-family: var(--font-display);
}

.topbar {
    background: var(--cp-navy);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.topbar-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
}

.topbar-list i { color: var(--cp-orange); margin-right: 0.35rem; }

.btn-lang {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-lang:hover {
    background: var(--cp-orange);
    border-color: var(--cp-orange);
    color: #fff;
}

.btn-quote {
    background: var(--cp-orange);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: 0.25s ease;
    box-shadow: 0 8px 20px rgba(242, 140, 40, 0.35);
}

.btn-quote-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
}

.btn-quote:hover {
    background: var(--cp-orange-dark);
    color: #fff;
    transform: translateY(-1px);
}

.main-nav {
    background: rgba(8, 96, 211, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.brand-logo { height: 48px; width: auto; }

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    padding: 0.65rem 1rem !important;
    border-radius: 0.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(242, 140, 40, 0.18);
}

.hero-carousel .carousel-item {
    min-height: 78vh;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 82, 186, 0.93) 0%,
        rgba(8, 47, 122, 0.84) 45%,
        rgba(15, 82, 186, 0.58) 100%
    );
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.carousel-item.active .hero-bg { transform: scale(1.08); }

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    text-align: left;
}

.hero-copy {
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p,
.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 560px;
    text-align: left;
}

.btn-primary-cp {
    background: var(--cp-orange);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(242, 140, 40, 0.35);
}

.btn-primary-cp:hover {
    background: var(--cp-orange-dark);
    color: #fff;
}

.btn-outline-light-cp {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    font-weight: 600;
    padding: 0.72rem 1.4rem;
    border-radius: 999px;
}

.btn-outline-light-cp:hover {
    background: #fff;
    color: var(--cp-navy);
}

.section-tag {
    display: inline-block;
    background: rgba(242, 140, 40, 0.15);
    color: var(--cp-orange-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--cp-navy);
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--cp-muted);
    max-width: 640px;
    text-align: justify;
    text-wrap: pretty;
}

main p,
.value-item p,
.service-card .card-body p,
.contact-card p,
.privacy-card p,
.footer-text,
.page-hero p {
    text-align: justify;
    text-wrap: pretty;
}

.text-center .section-title,
.text-center .section-tag,
.stat-card {
    text-align: center;
}

.page-hero,
.page-hero h1,
.page-hero p {
    text-align: left;
}

.col-lg-6 .section-title,
.col-lg-6 .section-tag,
.hero-copy h1 {
    text-align: left;
}

.col-lg-6 .section-sub {
    text-align: justify;
}

.section-padding { padding: 5rem 0; }

.bg-sand { background: var(--cp-sand); }

.stat-card {
    background: #fff;
    border-radius: var(--cp-radius);
    padding: 1.5rem;
    box-shadow: var(--cp-shadow);
    text-align: center;
    height: 100%;
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--cp-orange);
    font-family: var(--font-display);
}

.service-card {
    background: #fff;
    border-radius: var(--cp-radius);
    overflow: hidden;
    box-shadow: var(--cp-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.16);
}

.service-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--cp-sand);
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card .card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cp-navy);
    text-align: left;
}

.service-card .card-body p {
    text-align: justify;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--cp-radius);
    cursor: pointer;
    background: var(--cp-sand);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.cta-band {
    background: linear-gradient(135deg, var(--cp-navy) 0%, var(--cp-navy-light) 100%);
    border-radius: calc(var(--cp-radius) * 1.5);
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(242, 140, 40, 0.15);
    right: -60px;
    top: -80px;
}

.value-item {
    position: relative;
    background-image: var(--value-bg);
    background-size: cover;
    background-position: center;
    padding: 1.5rem 1.35rem;
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
    height: 100%;
    min-height: 190px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 82, 186, 0.82) 0%,
        rgba(8, 47, 122, 0.9) 55%,
        rgba(6, 34, 92, 0.94) 100%
    );
    z-index: 0;
}

.value-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    /* background: var(--cp-orange); */
    z-index: 2;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(8, 47, 122, 0.28);
}

.value-item h4 {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    font-weight: 700;
    color:orange;
    margin-bottom: 0.5rem;
}

.value-item p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.92) !important;
}

.contact-card,
.privacy-card {
    background: #fff;
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
    padding: 2rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cp-orange);
    box-shadow: 0 0 0 0.2rem rgba(242, 140, 40, 0.2);
}

.site-footer {
    background: var(--cp-navy);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    margin-top: 4rem;
}

.footer-wave {
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--cp-navy));
    margin-top: -60px;
}

.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-contact li,
.footer-links li { margin-bottom: 0.65rem; }

.footer-contact a,
.footer-links a {
    color: rgba(219, 218, 218, 0.99);
    text-decoration: none;
}

.footer-contact a:hover,
.footer-links a:hover { color: var(--cp-orange); }

.footer-contact i { color: var(--cp-orange); margin-right: 0.5rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.25rem;
    font-size: 0.9rem;
}

.footer-bottom a { color: var(--cp-orange); text-decoration: none; }

.contact-card ul li a {
    color: rgba(4, 4, 4, 0.99);
}
.btn-back-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cp-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1030;
    box-shadow: var(--cp-shadow);
}

.btn-back-top.show { opacity: 1; visibility: visible; }

.page-hero {
    position: relative;
    background-color: var(--cp-sapphire-dark);
    background-image: var(--page-hero-bg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15, 82, 186, 0.93) 0%,
        rgba(8, 47, 122, 0.86) 50%,
        rgba(15, 82, 186, 0.72) 100%
    );
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.92) !important;
    text-align: left;
}

.contact-card--mission {
    border-left: 4px solid var(--cp-orange) !important;
}

.privacy-card h2 {
    font-size: 1.25rem;
    color: var(--cp-navy);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.privacy-card p,
.privacy-card li {
    color: var(--cp-muted);
    line-height: 1.7;
}

.alert-floating {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    min-width: 280px;
}

.gallery-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
}

/* Scroll reveal transitions */
.reveal {
    opacity: 0;
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.reveal.is-visible {
    opacity: 1;
    transform: none !important;
    filter: none !important;
}

.reveal-fade-up { transform: translateY(48px); }
.reveal-fade-left { transform: translateX(-48px); }
.reveal-fade-right { transform: translateX(48px); }
.reveal-zoom-in { transform: scale(0.88); }
.reveal-scale { transform: scale(0.75); }
.reveal-flip-up { transform: perspective(800px) rotateX(18deg) translateY(36px); transform-origin: center bottom; }
.reveal-blur { transform: translateY(24px); filter: blur(10px); }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none !important;
        filter: none !important;
        transition: none;
    }
}

/* Page loader */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, var(--cp-navy) 0%, var(--cp-navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(0);
    transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform;
}

.page-loader.is-exiting {
    transform: translateX(100%);
}

.page-loader.is-entering {
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-loader.from-left {
    transform: translateX(-100%);
    transition: none;
}

.page-loader.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.page-loader__inner {
    text-align: center;
    padding: 2rem;
}

.page-loader__logo {
    height: 72px;
    width: auto;
    margin-bottom: 1.5rem;
    animation: loaderPulse 1.6s ease-in-out infinite;
}

.page-loader__spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--cp-orange);
    border-radius: 50%;
    animation: loaderSpin 0.85s linear infinite;
}

.page-loader__text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.97); }
}

@media (max-width: 991.98px) {
    .hero-carousel .carousel-item,
    .hero-content { min-height: 65vh; }
    .section-padding { padding: 3.5rem 0; }
}
