/* Base Styles & Variables */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark: #0f3057;
    --primary: #00587a;
    --primary-light: #008891;
    --accent: #e7a917;
    --light: #e7e7de;
    --dark: #0a1921;
    --gray: #4d5c6a;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --border-radius: 8px;
    --scrollbar-width: 10px;
    --scrollbar-track: rgba(0, 88, 122, 0.1);
    --scrollbar-thumb: rgba(0, 88, 122, 0.5);
    --header-height: 132px;
    --nav-font: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    scrollbar-gutter: stable;
}

/* Adaptive custom cursor: blue by default, white on dark surfaces */
@media (pointer: fine) {
    html,
    body {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M5,5 L20,20 M20,20 L20,30 M15,25 L25,25" stroke="%2300587a" stroke-width="2.5" fill="none"/><circle cx="20" cy="20" r="4" stroke="%2300587a" stroke-width="1.5" fill="%2300587a"/><path d="M12,12 L5,5 L12,5 L12,12 Z" fill="%2300587a"/></svg>') 5 5, auto;
    }

    html.cursor-on-dark,
    html.cursor-on-dark body {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M5,5 L20,20 M20,20 L20,30 M15,25 L25,25" stroke="%23ffffff" stroke-width="2.5" fill="none"/><circle cx="20" cy="20" r="4" stroke="%23ffffff" stroke-width="1.5" fill="%23ffffff"/><path d="M12,12 L5,5 L12,5 L12,12 Z" fill="%23ffffff"/></svg>') 5 5, auto;
    }

    #loading-screen,
    #loading-screen * {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M5,5 L20,20 M20,20 L20,30 M15,25 L25,25" stroke="%23ffffff" stroke-width="2.5" fill="none"/><circle cx="20" cy="20" r="4" stroke="%23ffffff" stroke-width="1.5" fill="%23ffffff"/><path d="M12,12 L5,5 L12,5 L12,12 Z" fill="%23ffffff"/></svg>') 5 5, auto !important;
    }

    html a,
    html button,
    html .button,
    html .service-cta,
    html .submit-btn,
    html .status-tag,
    html .header-cta,
    html .hamburger,
    html .nav-close,
    html .faq-question,
    html .map-marker,
    html .service-card,
    html .feature-item,
    html .solution-card,
    html .why-us-item,
    html .nav-links a,
    html [role="button"] {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M5,5 L20,20 M20,20 L20,30 M15,25 L25,25" stroke="%2300587a" stroke-width="2.5" fill="none"/><circle cx="20" cy="20" r="4" stroke="%2300587a" stroke-width="1.5" fill="%2300587a"/><path d="M12,12 L5,5 L12,5 L12,12 Z" fill="%2300587a"/></svg>') 5 5, pointer;
    }

    html.cursor-on-dark a,
    html.cursor-on-dark button,
    html.cursor-on-dark .button,
    html.cursor-on-dark .service-cta,
    html.cursor-on-dark .submit-btn,
    html.cursor-on-dark .status-tag,
    html.cursor-on-dark .header-cta,
    html.cursor-on-dark .hamburger,
    html.cursor-on-dark .nav-close,
    html.cursor-on-dark .faq-question,
    html.cursor-on-dark .map-marker,
    html.cursor-on-dark .service-card,
    html.cursor-on-dark .feature-item,
    html.cursor-on-dark .solution-card,
    html.cursor-on-dark .why-us-item,
    html.cursor-on-dark .nav-links a,
    html.cursor-on-dark [role="button"] {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M5,5 L20,20 M20,20 L20,30 M15,25 L25,25" stroke="%23ffffff" stroke-width="2.5" fill="none"/><circle cx="20" cy="20" r="4" stroke="%23ffffff" stroke-width="1.5" fill="%23ffffff"/><path d="M12,12 L5,5 L12,5 L12,12 Z" fill="%23ffffff"/></svg>') 5 5, pointer;
    }

    html input,
    html textarea,
    html select {
        cursor: text;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="80" viewBox="0 0 40 80"><path d="M20,0 C20,5 25,10 20,15 C15,10 20,5 20,0 Z" fill="%23FFFFFF" opacity="0.3" /></svg>');
    background-repeat: repeat-y;
    background-size: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    font-size: 1.6rem;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    z-index: 10;
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.6rem;
    color: var(--primary-dark);
    display: inline-block;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
}

.section-header h2 i {
    margin-right: 1.2rem;
    color: var(--primary);
}

.subheading {
    font-size: 1.8rem;
    color: var(--gray);
    margin-top: 1rem;
    font-weight: 500;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.8rem;
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
    background-color: rgba(231, 169, 23, 0.05);
}

.blue {
    color: var(--primary);
    font-weight: 800;
}

.exchange {
    color: var(--accent);
    font-weight: 700;
}

.status {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.status.active {
    background-color: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.status.coming-soon {
    background-color: rgba(45, 156, 219, 0.15);
    color: #2d9cdb;
}

/* Global Animation Enhancements */
@keyframes float-up {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shimmer 4s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.separator {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
    margin: 2rem auto;
    position: relative;
}

.separator::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

.separator::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent);
    top: 50%;
    left: 85px;
    transform: translateY(-50%);
}

/* Ocean Background Animation */
.ocean-background {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #e0f7fa 0%, #b2ebf2 100%);
    z-index: -2;
    overflow: hidden;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.element1 {
    width: 50px;
    height: 50px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M25,10 C25,5 35,5 40,15 C35,25 25,25 25,20 Z" fill="%2300587a" opacity="0.3"/></svg>');
}

.element2 {
    width: 30px;
    height: 30px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle cx="15" cy="15" r="8" fill="%230f3057" opacity="0.2"/></svg>');
}

.element3 {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 20%;
    animation-delay: 5s;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20,10 L30,20 L20,30 L10,20 Z" fill="%23e7a917" opacity="0.2"/></svg>');
}

.element4 {
    width: 25px;
    height: 25px;
    top: 60%;
    right: 25%;
    animation-delay: 7s;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 25 25" xmlns="http://www.w3.org/2000/svg"><circle cx="12.5" cy="12.5" r="6" fill="%2300587a" opacity="0.2"/></svg>');
}

.element5 {
    width: 35px;
    height: 35px;
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 35 35" xmlns="http://www.w3.org/2000/svg"><path d="M10,10 L25,10 L25,25 L10,25 Z" fill="%230f3057" opacity="0.2"/></svg>');
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%2300587a" /><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%2300587a" /><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%2300587a" /></svg>');
    background-size: 1200px 100px;
    z-index: -1;
}

.wave1 {
    animation: wave 30s linear infinite;
    z-index: -1;
    opacity: 0.5;
    animation-delay: 0s;
    bottom: 0;
}

.wave2 {
    animation: wave2 15s linear infinite;
    z-index: -1;
    opacity: 0.3;
    animation-delay: -5s;
    bottom: 10px;
}

.wave3 {
    animation: wave 30s linear infinite;
    z-index: -1;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 15px;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}

@keyframes wave2 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -1200px;
    }
}

/* Site header — floating glass command bar */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem clamp(1.4rem, 3vw, 3rem);
    background: transparent;
    transform: translateZ(0);
}

#site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--accent) 50%, transparent 95%);
    opacity: 0.9;
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    max-width: 1320px;
    margin: 0 auto;
    min-height: 8.6rem;
    padding: 0.65rem clamp(1rem, 2vw, 1.6rem);
    background: rgba(8, 22, 32, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

#site-header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(0, 88, 122, 0.12);
    box-shadow: 0 4px 24px rgba(15, 48, 87, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.logo-img {
    height: 72px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    transition: filter 0.35s ease;
    will-change: filter;
    transform: translateZ(0);
}

#site-header.scrolled .logo-img {
    filter: none;
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.5vw, 1.25rem);
    min-width: 0;
}

.nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.1rem;
    list-style: none;
    min-width: 0;
}

.nav-links li {
    position: relative;
}

.nav-links ul a {
    font-family: var(--nav-font);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.38rem;
    letter-spacing: 0.02em;
    padding: 0.9rem 1.05rem;
    border-radius: 10px;
    background: transparent;
    transition: color 0.25s ease, background 0.25s ease;
    display: block;
    text-align: center;
    min-width: auto;
    position: relative;
    white-space: nowrap;
    will-change: color, background;
    transform: translateZ(0);
}

.nav-links ul a span {
    position: relative;
    z-index: 1;
}

.nav-links ul a::after {
    content: '';
    position: absolute;
    left: 1.05rem;
    right: 1.05rem;
    bottom: 0.45rem;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(231, 169, 23, 0.55);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links ul a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-links ul a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.nav-links ul a.active::after {
    transform: scaleX(1);
}

#site-header.scrolled .nav-links ul a {
    color: var(--gray);
}

#site-header.scrolled .nav-links ul a:hover {
    color: var(--primary-dark);
    background: rgba(0, 88, 122, 0.07);
}

#site-header.scrolled .nav-links ul a.active {
    color: var(--primary-dark);
    background: rgba(0, 88, 122, 0.09);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    font-family: var(--nav-font);
    font-size: 1.38rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-dark) !important;
    background: linear-gradient(135deg, #f5c842 0%, var(--accent) 55%, #e8960f 100%) !important;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(231, 169, 23, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 0.25rem;
}

.header-cta:hover {
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(231, 169, 23, 0.45);
}

.header-cta.active {
    box-shadow: inset 0 0 0 2px var(--primary-dark), 0 4px 16px rgba(231, 169, 23, 0.35);
}

.header-cta i {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.header-cta:hover i {
    transform: translateX(3px);
}

.header-cta:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.nav-backdrop {
    display: none;
}

.nav-close {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    z-index: 102;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.14);
}

#site-header.scrolled .hamburger {
    border-color: rgba(0, 88, 122, 0.15);
    background: rgba(0, 88, 122, 0.06);
}

.hamburger .bar {
    display: block;
    width: 2rem;
    height: 2px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

#site-header.scrolled .hamburger .bar {
    background-color: var(--primary-dark);
}

body.nav-open {
    overflow: hidden;
}

/* Site footer */
.site-footer {
    position: relative;
    background: linear-gradient(165deg, #071018 0%, var(--dark) 42%, #0c2430 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 0 clamp(1.4rem, 3vw, 2rem);
}

.site-footer-accent {
    height: 2px;
    max-width: 1140px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, #f5c842 50%, var(--accent) 65%, transparent 100%);
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(3.2rem, 5vw, 4.8rem) 0 2.8rem;
}

.site-footer-brand {
    min-width: 0;
}

.site-footer-logo {
    display: inline-flex;
}

.site-footer-logo-img {
    height: 58px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.94;
}

.site-footer-lead {
    margin-top: 1.5rem;
    font-size: 1.45rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 40ch;
}

.site-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1.8rem;
}

.site-footer-contact a,
.site-footer-contact span {
    font-size: 1.38rem;
    line-height: 1.5;
}

.site-footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-contact a:hover,
.site-footer-contact a:focus-visible {
    color: var(--accent);
}

.site-footer-contact span {
    color: rgba(255, 255, 255, 0.52);
}

.site-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-footer-col h3 {
    font-family: var(--nav-font);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.15rem;
}

.site-footer-col ul {
    list-style: none;
}

.site-footer-col li + li {
    margin-top: 0.6rem;
}

.site-footer-col a {
    font-size: 1.42rem;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-col a:hover,
.site-footer-col a:focus-visible {
    color: var(--white);
}

.site-footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 0 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-copy,
.site-footer-reg {
    font-size: 1.28rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
}

/* Page Title */
.page-title {
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 6rem;
    background-color: rgba(0, 88, 122, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M25,30 C25,25 35,25 40,35 C35,45 25,45 25,40 Z" fill="%230f3057" opacity="0.05"/></svg>');
    z-index: 0;
    pointer-events: none;
}

.page-title h1 {
    font-size: 4.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.page-title h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
    border-radius: 10px;
}

.breadcrumbs {
    font-size: 1.6rem;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

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

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

.section-subtitle {
    font-size: 1.8rem;
    color: var(--gray);
    margin-top: 1.5rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Alt background */
.alt-bg {
    background-color: rgba(0, 88, 122, 0.05);
}

/* Common Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.6rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 88, 122, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 88, 122, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 88, 122, 0.2);
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .nav-links ul a {
        font-size: 1.28rem;
        padding: 0.85rem 0.85rem;
    }

    .header-cta {
        padding: 0.95rem 1.25rem;
        font-size: 1.28rem;
    }
}

@media (max-width: 1200px) {
    .nav-links ul a {
        font-size: 1.22rem;
        padding: 0.8rem 0.75rem;
    }

    .header-cta {
        padding: 0.9rem 1.15rem;
        font-size: 1.22rem;
    }

    .logo-img {
        height: 64px;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    .nav-links ul a {
        font-size: 1.25rem;
        padding: 0.85rem 0.9rem;
    }
}

@media (max-width: 992px) {
    .header-cta span {
        display: none;
    }

    .header-cta {
        padding: 0.95rem;
        border-radius: 12px;
    }

    .header-cta i {
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 92px;
    }

    html {
        font-size: 58%;
        scrollbar-gutter: auto;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    body {
        scrollbar-width: none;
        overflow-x: hidden;
    }

    #site-header {
        padding: 0.8rem 1rem;
        transform: none;
    }

    .navbar {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "logo menu";
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0.6rem 0.5rem 0.9rem;
        min-height: 6.4rem;
    }

    .logo {
        grid-area: logo;
        min-width: 0;
    }

    .logo-img {
        height: 50px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        flex: none;
        padding: max(1.5rem, env(safe-area-inset-top, 0px)) 2rem 2.5rem;
        background: linear-gradient(180deg, var(--primary-dark) 0%, #0a1921 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease, box-shadow 0.35s ease;
        box-shadow: none;
        z-index: 1099;
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-close {
        display: none;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 4.8rem;
        height: 4.8rem;
        margin: 0 0 1.5rem;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        font-size: 2.2rem;
        line-height: 1;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    body.nav-open .nav-links.active .nav-close {
        display: flex;
    }

    body.nav-open .hamburger {
        visibility: hidden;
        pointer-events: none;
    }

    .nav-close:hover {
        background: rgba(255, 255, 255, 0.16);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .nav-close:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    /* Navbar creates a stacking context (backdrop-filter); lift it above the backdrop sibling */
    body.nav-open .navbar {
        position: relative;
        z-index: 1099;
    }

    .nav-links.active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.6rem;
        width: 100%;
        flex: none;
    }

    .nav-links ul a {
        color: rgba(255, 255, 255, 0.92);
        width: 100%;
        padding: 1.4rem 1.6rem;
        font-size: 1.6rem;
        text-align: left;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links ul a::after {
        left: 1.6rem;
        right: auto;
        width: 2.4rem;
        bottom: 0.9rem;
    }

    .nav-links ul a:hover,
    .nav-links ul a.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

    #site-header.scrolled .nav-links ul a {
        color: rgba(255, 255, 255, 0.92);
        background: rgba(255, 255, 255, 0.06);
    }

    #site-header.scrolled .nav-links ul a:hover,
    #site-header.scrolled .nav-links ul a.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.12);
    }

    .nav-links::after {
        content: '';
        display: block;
        height: 1px;
        margin: 2rem 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .header-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .header-cta span {
        display: inline;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(10, 25, 33, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1098;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        grid-area: menu;
        justify-self: end;
        margin-left: 0;
        width: 4.8rem;
        height: 4.8rem;
        flex-shrink: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .site-footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 80px;
    }

    html {
        font-size: 50%;
    }

    #site-header {
        padding: 0.6rem 0.8rem;
    }

    .navbar {
        min-height: 5.8rem;
        padding: 0.45rem 0.5rem 0.45rem 0.75rem;
        border-radius: 14px;
    }

    .section-header h2 {
        font-size: 3rem;
    }
    
    .logo-img {
        height: 44px;
    }

    .hamburger {
        width: 4.4rem;
        height: 4.4rem;
    }
    
    .site-footer-nav {
        grid-template-columns: 1fr;
    }

    .site-footer-logo-img {
        height: 48px;
    }
}

/* Transform Banner CTA */
.transform-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.transform-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,106.7C96,117,192,139,288,154.7C384,171,480,181,576,165.3C672,149,768,107,864,101.3C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    z-index: 1;
}

.transform-banner h2 {
    color: var(--white);
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.transform-banner p {
    color: var(--white);
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.transform-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .transform-banner h2 {
        font-size: 3rem;
    }
    
    .transform-banner p {
        font-size: 1.6rem;
    }
    
    .transform-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn-white, .btn-outline {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .transform-banner h2 {
        font-size: 2.6rem;
    }
    
    .transform-banner {
        padding: 4rem 1.5rem;
    }
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    overflow: hidden;
}

#loading-screen::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 10%, transparent 10.5%) 0 0;
    background-size: 50px 50px;
    animation: rotateBg 60s linear infinite;
    opacity: 0.2;
}

.loading-container {
    text-align: center;
    position: relative;
}

.loading-logo {
    width: 180px;
    height: auto;
    animation: logo-effect 3s infinite ease-in-out;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

@keyframes logo-effect {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2)) brightness(1);
    }
    25% {
        transform: scale(1.08) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(231, 169, 23, 0.4)) brightness(1.1);
    }
    50% {
        transform: scale(1.12) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(231, 169, 23, 0.7)) brightness(1.2);
    }
    75% {
        transform: scale(1.08) rotate(0deg);
        filter: drop-shadow(0 0 25px rgba(0, 136, 145, 0.5)) brightness(1.1);
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2)) brightness(1);
    }
}

.loading-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(231, 169, 23, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        width: 150px;
        height: 150px;
        opacity: 0.7;
    }
    50% {
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0.7;
    }
}

.loaded #loading-screen {
    opacity: 0;
    visibility: hidden;
}

/* Floating WhatsApp CTA */
.whatsapp-cta {
    position: fixed;
    right: max(1.6rem, env(safe-area-inset-right, 0px));
    bottom: max(1.6rem, env(safe-area-inset-bottom, 0px));
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 5.6rem;
    padding: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42), 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.whatsapp-cta:hover,
.whatsapp-cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.18);
    color: var(--white);
    outline: none;
}

.whatsapp-cta:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 8px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    line-height: 1;
}

body.nav-open .whatsapp-cta {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

@media (max-width: 480px) {
    .whatsapp-cta {
        width: 5.2rem;
        height: 5.2rem;
    }

    .whatsapp-cta__icon {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-cta {
        transition: opacity 0.2s ease;
    }

    .whatsapp-cta:hover,
    .whatsapp-cta:focus-visible {
        transform: none;
    }
} 