* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
    /* Kill default cursor everywhere */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    overflow-x: hidden !important;
    width: 100%;
    /* Better for mobile overflow than 100vw */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Global Typography Gutter/Size Scaling */
h1,
h2,
h3,
h4,
h5,
h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    section {
        padding: 6rem 5% !important;
        /* Added horizontal padding to sections */
    }
}

@media (max-width: 380px) {
    section {
        padding: 4rem 15px !important;
        /* Adjusted for very small screens */
    }
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }

    .cursor-wrapper {
        display: none !important;
    }
}

/* Common Container */
.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 8%;
    /* Increased for better default margins */
    width: 100%;
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 8%;
        /* Increased for better breathing room on mobile */
    }
}

@media (max-width: 380px) {
    .content-container {
        padding: 0 20px;
    }
}

/* Rendering Optimization - Light */
.hero-section,
.main-nav {
    will-change: transform;
}

/* ===== GLOBAL IMAGE OPTIMIZATION ===== */
.img-optimize {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
    transform: translateZ(0);
    /* Force GPU */
}

.img-loaded {
    opacity: 1 !important;
}

/* Hub Card Background Optimization */
.hub-card-bg {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease !important;
    will-change: transform, filter;
    filter: brightness(0.7) blur(5px);
    /* Start blurred */
}

.hub-card-bg.bg-visible {
    filter: brightness(0.8) blur(0);
    /* Clear when in view */
}

/* ===== CUSTOM CURSOR ===== */
.cursor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999999;
    /* Above everything including lightbox */
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: #0066CC;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.3s ease;
    z-index: 9999999;
    /* Above everything including lightbox */
}

.cursor-lines {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    /* Critical: allow elementFromPoint to pass through */
}

.cursor-line {
    position: absolute;
    background-color: rgba(0, 102, 204, 0.2);
    pointer-events: none;
}

.over-map .cursor-line {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.cursor-line-vertical {
    width: 1px;
    height: 100vh;
    top: 0;
    transform: translateX(-50%);
}

.cursor-line-horizontal {
    width: 100vw;
    height: 1px;
    left: 0;
    transform: translateY(-50%);
}

.cursor-boat {
    position: fixed;
    width: 60px;
    height: 30px;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease;
    z-index: 9999999;
    /* Above everything including lightbox */
    pointer-events: none;
}

/* Larger, thicker, white cursor over map */
.over-map .cursor-boat {
    width: 100px;
    height: 50px;
}

.over-map .cursor-boat-path {
    stroke: white !important;
    stroke-width: 3px !important;
}

.over-map .cursor-boat-dot {
    fill: white !important;
    r: 3px !important;
}

.over-map .cursor-dot {
    background-color: white !important;
    width: 10px !important;
    height: 10px !important;
}

.cursor-coords {
    position: fixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0066CC;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 9999999;
    /* Above everything including lightbox */
    transform: translate(30px, 30px);
    white-space: nowrap;
    transition: color 0.3s ease, opacity 0.3s ease, font-size 0.3s ease;
    opacity: 0;
    /* Hidden by default */
}

.over-map .cursor-coords {
    color: white !important;
    font-size: 14px;
}

.over-map .cursor-line {
    background-color: rgba(255, 255, 255, 0.4) !important;
}

/* Show coords only when hovering over the map */
.hero-section:hover~.cursor-wrapper .cursor-coords,
.hero-section:hover .cursor-coords {
    opacity: 1;
}

/* White cursor on blue/dark sections */
.on-blue .cursor-dot {
    background-color: white !important;
}

.on-blue .cursor-line {
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.on-blue .cursor-boat-path {
    stroke: white !important;
}

.on-blue .cursor-boat-dot {
    fill: white !important;
}

.on-blue .cursor-coords {
    color: white !important;
}

/* ===== GLOBAL PAGE TRANSITION ===== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 999999;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    opacity: 1;
}

body.loaded .page-transition-overlay {
    opacity: 0;
}

body.page-exiting .page-transition-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* ===== MINIMALIST FLOATING HEADER ===== */
.main-nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    padding: 0.8rem 2.2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.main-nav.nav-scrolled {
    padding: 0.6rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    max-width: 1000px;
    width: 90%;
    top: 15px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Hamburger Menu Icon */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2001;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.nav-group {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    padding: 0 2rem;
}

.logo-img {
    height: 45px;
    /* Slightly refined size */
    width: auto;
    transition: all 0.4s ease;
}

.main-nav.nav-scrolled .logo-img {
    height: 35px;
}

.nav-group a {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

/* Light Text Variation for Dark Backgrounds */
.main-nav.nav-light .nav-group a {
    color: rgba(255, 255, 255, 0.9);
}

.main-nav.nav-light .nav-group a:hover {
    color: #0080ff;
    text-shadow: 0 0 15px rgba(0, 128, 255, 0.4);
}

.main-nav.nav-light .logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.main-nav.nav-light .mobile-menu-toggle span {
    background-color: #fff;
}

.main-nav.nav-light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-group a:hover {
    color: #0066CC;
}

/* Header Info & Call to Action */
.nav-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    color: #0066CC;
    opacity: 0.5;
}

.nav-cta {
    background: #0066CC;
    color: white !important;
    padding: 0.4rem 1.2rem !important;
    border-radius: 30px;
    font-size: 0.7rem !important;
}

/* ===== GRID LINES ===== */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    width: 1px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 10;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: auto;
}

.hero-map-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
    animation: pulseOverlay 8s ease-in-out infinite;
}

@keyframes pulseOverlay {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-map-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-boat-illustration {
    position: absolute;
    width: 60%;
    max-width: 800px;
    opacity: 0.15;
    z-index: 1;
}

.cursor-boat-path {
    transition: stroke 0.3s ease;
}

.cursor-boat-dot {
    transition: fill 0.3s ease;
}

.boat-svg {
    width: 100%;
    height: auto;
}

.propeller {
    animation: rotatePropeller 2s linear infinite;
    transform-origin: center;
}

@keyframes rotatePropeller {
    from {
        transform: translate(680px, 225px) rotate(0deg);
    }

    to {
        transform: translate(680px, 225px) rotate(360deg);
    }
}

.hero-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-year-badge {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: simpleFadeIn 1.5s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 100;
    font-size: clamp(3rem, 16vw, 14rem);
    line-height: 0.8;
    letter-spacing: 0.15em;
    /* Elegant, balanced spacing */
    color: #ffffff;
    /* Solid white for guaranteed visibility */
    text-align: center;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 0;
    margin-right: -0.15em;
    position: relative;
    z-index: 5;
}

.hero-title .letter-wrap {
    display: inline-block;
}

.hero-title .letter {
    display: inline-block;
    color: #ffffff;
    position: relative;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

@keyframes maskedSlideUp {
    from {
        opacity: 0;
        transform: translateY(110%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes staticFocusReveal {
    from {
        opacity: 0;
        filter: blur(25px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes discreteAmbientGlow {

    0%,
    100% {
        opacity: 0.8;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.3);
    }
}

@keyframes luxuriousReveal {
    to {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateZ(0);
    }
}

@keyframes letterTrack {
    0% {
        letter-spacing: -0.02em;
        filter: brightness(1);
    }

    100% {
        letter-spacing: 0.05em;
        filter: brightness(1.2);
    }
}

@keyframes liquidFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes floatLetter {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes cinematicReveal {
    to {
        opacity: 1;
        filter: blur(0);
    }
}

.hero-title .letter:hover {
    color: #fff;
    filter: brightness(1.5) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: all 0.5s ease;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: simpleFadeIn 1.5s ease 1s both;
}

.hero-decorative-lines {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    animation: simpleFadeIn 1.5s ease 1.5s both;
}

.deco-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.6), transparent);
    animation: lineGlow 3s ease-in-out infinite;
}

.deco-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0066CC;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ===== HERO FLOATING ELEMENTS ===== */
.hero-floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 80vh;
    pointer-events: none;
    z-index: 1;
}

.floating-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.preloader-done .floating-item {
    opacity: 1;
}

.floating-item.top-left {
    top: 10%;
    left: 0;
    transform: translateX(-20px);
}

.floating-item.top-right {
    top: 10%;
    right: 0;
    transform: translateX(20px);
}

.floating-item.bottom-left {
    bottom: 10%;
    left: 0;
    transform: translateX(-20px);
}

.floating-item.bottom-right {
    bottom: 10%;
    right: 0;
    transform: translateX(20px);
}

.preloader-done .floating-item.top-left,
.preloader-done .floating-item.bottom-left {
    transform: translateX(0);
}

.preloader-done .floating-item.top-right,
.preloader-done .floating-item.bottom-right {
    transform: translateX(0);
}

.f-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0066CC;
    font-weight: 800;
}

.f-value {
    font-size: 0.85rem;
    font-weight: 400;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    z-index: 10;
}

.preloader-done .scroll-indicator {
    animation: simpleFadeIn 1s ease 2s forwards;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #0066CC, transparent);
    animation: scrollLineAnim 2.5s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes scrollLineAnim {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #0066CC;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrowDown 2s infinite;
}

@keyframes arrowDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

@keyframes simpleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 30px rgba(0, 102, 204, 1);
    }
}

.hero-title-line {
    display: block;
}

/* ===== ABOUT HUB SECTION ===== */
.about-hub-section {
    padding: 10rem 10% 4rem;
    /* Reduced bottom padding */
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-hub-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 8rem;
}

.hub-since {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #0066CC;
    margin-bottom: 2rem;
}

.hub-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.hub-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HUB CARDS GATEWAY ===== */
.hub-gateway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sibling dimming transition logic */
.hub-gateway-grid:hover .hub-card {
    opacity: 0.5;
    transform: scale(0.95) translateY(0);
    filter: grayscale(0.2) blur(1px);
}

.hub-gateway-grid .hub-card:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-20px);
    filter: grayscale(0) blur(0);
    z-index: 10;
}

.hub-card {
    position: relative;
    height: 480px;
    /* Reduced from 550px */
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hub-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.hub-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.9));
    transition: all 0.5s ease;
}

.hub-card:hover::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0.95));
}

.hub-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    width: 100%;
    transform: translateY(35px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 0.9;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #0066CC;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-card:hover h3 {
    letter-spacing: 0.1em;
    transform: scale(1.05);
}

.hub-card:hover h3::after {
    width: 100%;
}

.hub-card-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    height: 3em;
    /* Fixed height to lock headings in place */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.1s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hub-card-link {
    color: #00d2ff;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.hub-card:hover {
    /* Base hover handled by parent grid for sibling effect */
    box-shadow:
        0 40px 80px rgba(0, 102, 204, 0.3),
        0 10px 30px rgba(0, 102, 204, 0.2);
}

.hub-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    z-index: 1;
}

.hub-card:hover .hub-card-bg {
    transform: scale(1.15);
}

.hub-card:hover .hub-card-content {
    transform: translateY(0);
}

.hub-card:hover .hub-card-content p,
.hub-card:hover .hub-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Card Style (SDECK) */
.hub-card-featured {
    border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 40px 80px rgba(0, 102, 204, 0.15);
}

.hub-card-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #0066CC;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.hub-card-featured::after {
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 102, 204, 0.8));
}

@media (max-width: 1280px) {
    .hub-gateway-grid:not(.grid-4-col) {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hub-gateway-grid:not(.grid-4-col) {
        grid-template-columns: 1fr;
    }

    .hub-gateway-grid.grid-4-col {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .hub-gateway-grid.grid-4-col .hub-card {
        height: 350px;
        /* Shorter cards on mobile row */
    }
}

/* ===== SERVICES HUB SECTION ===== */
.services-hub-section {
    padding: 6rem 0 0;
    /* Changed from 4rem to 0 to balance the divider */
    background: #f8fafc;
    position: relative;
    border-top: 1px solid rgba(0, 102, 204, 0.05);
}

.services-hub-section .content-container {
    padding: 0;
    max-width: 100%;
}

.services-hub-section .about-hub-header {
    padding: 0 5%;
    margin-bottom: 6rem;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 10rem 10%;
    background-color: #1a1a1a;
    color: white;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    text-align: center;
    margin-bottom: 6rem;
    letter-spacing: 0.05em;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.value-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    color: #0066CC;
}

.value-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
}

/* ===== PIONEERS SECTION ===== */
.pioneers-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10rem 10%;
}

.pioneers-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.pioneers-line {
    display: block;
}

.pioneers-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 700px;
    line-height: 1.8;
    color: #666;
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4rem 10%;
}

.expertise-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    text-align: right;
}

.expertise-line {
    display: block;
}

/* ===== BOAT IMAGE SECTION ===== */
.boat-image-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.boat-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.boat-deck-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-overlay {
    position: absolute;
    bottom: 10%;
    left: 10%;
    background: rgba(0, 102, 204, 0.9);
    padding: 3rem 4rem;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.image-overlay h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.image-overlay p {
    font-size: 1.1rem;
    color: white;
    line-height: 1.6;
}

/* ===== SUPPORT SECTION ===== */
.support-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 10%;
}

.support-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 5rem;
}

.support-line {
    display: block;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.support-card {
    background-color: white;
    padding: 3rem 2rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: #0066CC;
    transform: translateY(-10px);
}

.support-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

/* ===== FOCUS SECTION ===== */
.focus-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 10%;
    background-color: #0066CC;
    color: white;
}

.focus-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
}

.focus-line {
    display: block;
}

.focus-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 700px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    color: #0066CC;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* ===== S-DECK EXPERIENCE SECTION (REIMAGINED) ===== */
.sdeck-experience-section {
    position: relative;
    padding: 12rem 0;
    background: #050505;
    overflow: hidden;
}

.sdeck-experience-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sdeck-experience-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.6) contrast(1.1);
}

.sdeck-experience-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #050505 0%, transparent 50%, #050505 100%),
        linear-gradient(to bottom, #050505 0%, transparent 20%, transparent 80%, #050505 100%);
    z-index: 2;
}

/* ===== PREMIUM DIVIDER STRIP (MARQUEE) ===== */
.premium-divider-strip {
    height: 10vh;
    background: #050505;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: 200%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: marqueeScroll 20s linear infinite;
}

.marquee-content span {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.marquee-content span:hover {
    -webkit-text-stroke: 1px #0066CC;
    color: #0066CC;
}

.m-dot {
    width: 10px;
    height: 10px;
    background: #0066CC;
    border-radius: 50%;
    box-shadow: 0 0 15px #0066CC;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sdeck-experience-container {
    position: relative;
    z-index: 10;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "text visual"
        "cta visual";
    gap: 4rem 8rem;
    align-items: center;
}

.sdeck-text-content {
    grid-area: text;
    color: white;
}

.sdeck-visual {
    grid-area: visual;
}

.sdeck-cta-btn {
    grid-area: cta;
    align-self: start;
    justify-self: start;
}

.sdeck-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 900;
    color: #0066CC;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 2rem;
}

.sdeck-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.sdeck-main-title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.sdeck-experience-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 4rem;
}

.sdeck-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.sdeck-f-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sdeck-f-item i {
    font-size: 2rem;
    color: #0066CC;
}

.sdeck-f-item h4 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sdeck-f-item p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.5;
}

/* Glass Card Visual (Enhanced with Blob Shape) */
.sdeck-visual-card {
    position: relative;
    background: transparent;
    /* Remove card background to emphasize blob */
    padding: 0;
    border: none;
    border-radius: 0;
    transform: perspective(1000px) rotateY(-8deg);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.sdeck-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.card-image-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 0;
    clip-path: url('#blob-clip');
    /* Reference to SVG clipPath in HTML */
    background: rgba(0, 102, 204, 0.1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Fallback blob shape */
    animation: blobMorph 10s ease-in-out infinite;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

@keyframes blobMorph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        border-radius: 60% 40% 30% 70% / 50% 40% 60% 70%;
    }

    66% {
        border-radius: 50% 50% 60% 40% / 70% 60% 40% 50%;
    }
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdeck-visual-card:hover .card-image-wrap img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0066CC;
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
}

.sdeck-cta-btn {
    position: relative;
    padding: 1.4rem 3.5rem;
    background: rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 102, 204, 0.3);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sdeck-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 300%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: translateY(-50%) rotate(35deg);
    transition: left 0.8s ease;
}

.sdeck-cta-btn i {
    font-size: 1.1rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdeck-cta-btn:hover {
    background: #0066CC;
    border-color: #0066CC;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.35em;
}

.sdeck-cta-btn:hover::before {
    left: 100%;
}

.sdeck-cta-btn:hover i {
    transform: translateX(10px);
}

@media (max-width: 1100px) {
    .sdeck-experience-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .sdeck-experience-desc {
        margin: 0 auto 4rem;
    }

    .sdeck-features-list {
        justify-items: center;
    }

    .sdeck-visual-card {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
    }
}

.services-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 5rem;
}

.services-title-line {
    display: block;
}

.services-list {
    width: 100%;
    max-width: 1000px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-item:hover {
    padding-left: 2rem;
}

.service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: #0066CC;
    letter-spacing: 0.05em;
}

.service-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

/* ===== CTA SECTION ===== */
.cta-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 10%;
    background-color: #1a1a1a;
    color: white;
    text-align: center;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.cta-line {
    display: block;
}

.cta-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

.cta-subtitle-line {
    display: block;
}

.cta-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-button-large {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    padding: 2rem 4rem;
    background-color: #0066CC;
    color: white;
    border: none;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.cta-button-large:hover {
    background-color: #0052a3;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.5);
}

/* Contact Section with Form */
.contact-section {
    padding: 10rem 10%;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-side .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: left;
}

.contact-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 4rem;
    max-width: 500px;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.method-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #0066CC;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.method-link {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-link:hover {
    color: #0066CC;
}

.social-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-badge.whatsapp {
    background: #25D366;
    border-bottom: 3px solid #128C7E;
}

.social-badge.viber {
    background: #7360f2;
    border-bottom: 3px solid #5949c1;
}

.social-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Form Styling */
.contact-form-side {
    background: #fcfcfc;
    padding: 5rem;
    border: 1px solid #eee;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #888;
}

.input-group input,
.input-group textarea {
    padding: 1.2rem;
    border: 1px solid #ddd;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.05);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed #ddd;
    padding: 3rem;
    text-align: center;
    background: #fcfcfc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 3rem;
    position: relative;
    border-radius: 4px;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #0066CC;
    background: rgba(0, 102, 204, 0.02);
}

.file-input-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.upload-content p {
    font-size: 0.95rem;
    color: #666;
}

.upload-content p span {
    color: #0066CC;
    font-weight: 700;
    text-decoration: underline;
}

.upload-limit {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 1rem;
}

.file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.preview-item {
    aspect-ratio: 1;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    border: 1px solid #eee;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    background: #1a1a1a;
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #0066CC;
    letter-spacing: 0.3em;
}

@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .contact-form-side {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #0066CC;
    color: white;
    padding: 6rem 10% 3rem;
    position: relative;
}

.footer-locations {
    margin-bottom: 4rem;
}

.footer-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.1em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a,
.footer-contact a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 0.6;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(8rem, 20vw, 15rem);
    letter-spacing: 0.1em;
    opacity: 0.1;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== LAPTOP RESPONSIVE ===== */
@media screen and (max-width: 1366px) {

    .hero-section,
    .about-hub-section,
    .values-section,
    .contact-section,
    .footer-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .main-nav {
        padding: 0.6rem 2rem;
        /* Start bigger on laptop */
        max-width: 900px;
        top: 20px;
    }

    .main-nav.nav-scrolled {
        padding: 0.3rem 1.5rem;
        /* Shrink on scroll */
        top: 10px;
        max-width: 850px;
    }

    .nav-group {
        gap: 1rem;
    }

    .nav-logo {
        padding: 0 0.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .main-nav.nav-scrolled .logo-img {
        height: 28px;
    }

    .nav-group a {
        font-size: 0.7rem;
        /* Tiny text */
    }

    .vision-quote {
        font-size: 2.5rem !important;
        /* Force smaller size on laptop */
    }
}

/* ==========================================================
   NEW MOBILE UI SYSTEM (FROM SCRATCH)
   ========================================================== */
/* ==========================================================
   NEW MOBILE UI SYSTEM (FROM SCRATCH)
   ========================================================== */
@media screen and (max-width: 768px) {

    /* 0. GLOBAL MOBILE RESET - Kill Overflows */
    html,
    body {
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    * {
        box-sizing: border-box !important;
    }

    .content-container {
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .grid-lines {
        display: none !important;
    }

    /* 1. COMPACT NAVIGATION BAR */
    .main-nav {
        position: fixed !important;
        top: 20px !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 60px !important;
        padding: 0 5% !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        z-index: 10000 !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .main-nav.nav-scrolled {
        height: 60px !important;
        top: 20px !important;
    }

    .nav-container {
        width: 100% !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .nav-logo {
        display: none !important;
    }

    .logo-img {
        height: 28px !important;
        width: auto !important;
    }

    /* Right-side floating toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        background: #ffffff !important;
        border: none !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
        z-index: 10005 !important;
        padding: 0 !important;
    }

    .mobile-menu-toggle span {
        width: 22px !important;
        height: 2px !important;
        background-color: #000 !important;
        display: block !important;
        transition: 0.3s !important;
    }

    /* Fixed black bars on white background for mobile toggle */
    .main-nav.nav-light .mobile-menu-toggle span,
    .on-blue .mobile-menu-toggle span,
    .mobile-menu-toggle span {
        background-color: #000 !important;
    }

    .mobile-menu-toggle.active span {
        background-color: #000 !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    /* Right-Slide Menu - Full Screen Final */
    .nav-group,
    .nav-group.left,
    .nav-group.right {
        position: fixed !important;
        top: -50px !important;
        left: -50px !important;
        right: -50px !important;
        bottom: -50px !important;
        width: 120vw !important;
        height: 120vh !important;
        height: 120svh !important;
        background: #0a0a0a !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        gap: 2rem !important;
        z-index: 10002 !important;
        transform: translateX(100%) !important;
        /* Exit Animation */
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0.5s !important;
        visibility: hidden !important;
        pointer-events: none !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .nav-group.active {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: all !important;
        /* Enter Animation */
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 0s !important;
    }

    /* Overlay zona za zatvaranje (20%) */
    .menu-overlay {
        display: none !important;
        /* Full screen menu needs no overlay */
    }

    .nav-group.active~.menu-overlay {
        opacity: 0;
        visibility: hidden;
    }

    /* Decoration styles omitted for brevity, keeping existing */

    .nav-group a {
        font-size: 1.5rem !important;
        /* Reduced font size to 1.5rem */
        font-weight: 900 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.15em !important;
        opacity: 0;
        transform: translateY(30px);
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
        position: relative;
        text-align: center;
        margin-right: 0 !important;
    }

    /* Decorative top element */
    .nav-group::before {
        content: 'BOATTEC';
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        font-size: 0.75rem;
        font-weight: 900;
        letter-spacing: 0.3em;
        color: rgba(0, 102, 204, 0.3);
        opacity: 0;
        transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
    }

    .nav-group.active::before {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* Decorative bottom element */
    .nav-group::after {
        content: 'SINCE 2005';
        position: absolute;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.2);
        opacity: 0;
        transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
    }

    .nav-group.active::after {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }


    .nav-group a {
        font-size: 2rem !important;
        /* Bigger font for full screen */
        font-weight: 900 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.15em !important;
        opacity: 0;
        transform: translateY(30px);
        /* Slide up */
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
        position: relative;
        text-align: center;
        /* Center text */
        margin-right: 0 !important;
    }

    .nav-group.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered Entrance - CSS based for reliability */
    .nav-group.active a:nth-child(1) {
        transition-delay: 0.2s;
    }

    .nav-group.active a:nth-child(2) {
        transition-delay: 0.3s;
    }

    .nav-group.active a:nth-child(3) {
        transition-delay: 0.4s;
    }

    .nav-group.active a:nth-child(4) {
        transition-delay: 0.5s;
    }

    .nav-group.active a:nth-child(5) {
        transition-delay: 0.6s;
    }

    .nav-group.active a:nth-child(6) {
        transition-delay: 0.7s;
    }

    .nav-group a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #0066CC;
        transition: width 0.3s ease;
    }

    .nav-group a:hover::after {
        width: 100%;
    }

    .hero-section {
        min-height: 100svh !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        background: #000 !important;
    }

    .hero-map-bg {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        opacity: 0.6 !important;
        background: url('mobile_map_bg.png') center/cover no-repeat !important;
        filter: invert(100%) brightness(0.7) contrast(1.2) !important;
    }

    .hero-map-bg img {
        display: none !important;
    }

    .hero-overlay {
        background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%) !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    .hero-text {
        z-index: 2 !important;
    }

    /* Ensure text container is centered */
    .hero-text {
        width: 100% !important;
        padding-top: 50px !important;
        gap: 1.5rem !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 14vw, 4.5rem) !important;
        white-space: nowrap !important;
        justify-content: center !important;
        width: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        line-height: 1 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .hero-title .letter-wrap {
        animation-duration: 0.8s !important;
        /* Blur removed for sharpness */
    }

    .hero-title .letter {
        animation: none !important;
        /* Serious look: no flowing/bobbing */
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
    }

    .hero-tagline {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        letter-spacing: 0.2em !important;
        max-width: 80% !important;
        line-height: 1.6 !important;
    }

    .hero-year-badge {
        opacity: 0;
        transform: translateY(10px);
        font-size: 0.6rem !important;
        padding: 0.4rem 1.2rem !important;
        margin-bottom: 0 !important;
        background: rgba(0, 102, 204, 0.2) !important;
        backdrop-filter: blur(5px) !important;
    }

    .preloader-done .hero-year-badge {
        animation: simpleFadeIn 1s ease 0.8s forwards;
    }

    .preloader-done .hero-tagline {
        animation: simpleFadeIn 1s ease 1.2s forwards;
    }

    /* Hide cluttered decorative elements on mobile */
    .hero-floating-elements,
    .hero-decorative-lines,
    .hero-year-badge {
        display: none !important;
    }

    .hero-text {
        width: 100% !important;
        padding-top: 0 !important;
        /* Fully centered vertically */
        gap: 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-title {
        font-size: clamp(2.8rem, 16vw, 4.8rem) !important;
        white-space: nowrap !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-tagline {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        letter-spacing: 0.3em !important;
        max-width: 90% !important;
        line-height: 1.8 !important;
        text-align: center !important;
        opacity: 0.8 !important;
        animation: none !important;
    }

    .scroll-indicator {
        bottom: 30px !important;
        transform: translateX(-50%) scale(0.7) !important;
        opacity: 0.4 !important;
    }

    /* 3. CORE CONTENT SECTIONS - Compacted for Mobile */
    .about-hub-section,
    .services-hub-section,
    .vision-section,
    .sdeck-premium-showcase {
        padding: 6rem 5% 4rem !important;
    }

    .about-hub-header {
        margin-bottom: 4rem !important;
    }

    .hub-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2.5rem !important;
    }

    .hub-intro {
        font-size: 0.85rem !important;
        /* Slightly smaller */
        text-align: center !important;
        padding: 0 !important;
        line-height: 1.5 !important;
        margin-top: -1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Grid Stacking */
    .hub-gateway-grid:not(.grid-4-col),
    .centered-grid,
    .zimovnik-grid,
    .stats-grid,
    .footer-grid,
    .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Hub Cards specifically */
    .hub-card {
        height: 300px !important;
    }

    .hub-card-content {
        padding: 2rem !important;
        transform: none !important;
        text-align: center !important;
        align-items: center !important;
    }

    .hub-card-content p,
    .hub-card-link {
        opacity: 1 !important;
        transform: none !important;
        font-size: 0.9rem !important;
    }

    .hub-card-content h3 {
        font-size: 1.2rem !important;
    }

    .centered-style .hub-card-content {
        padding: 1.5rem !important;
        /* Smaller padding */
        transform: none !important;
    }

    .centered-style h3 {
        font-size: 1.5rem !important;
        /* Smaller text */
    }

    .hub-category-tag {
        font-size: 0.65rem !important;
        margin-bottom: 0.7rem !important;
        letter-spacing: 2px !important;
    }

    .centered-style .hub-card-link {
        margin-top: 1rem !important;
        font-size: 0.8rem !important;
    }

    /* New Sections Mobile Adjustments */
    .philosophy-grid {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
        text-align: center !important;
    }

    .phil-desc {
        font-size: 1rem !important;
        margin-bottom: 3rem !important;
    }

    .p-point {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .phil-experience-badge {
        padding: 1.5rem !important;
        bottom: 20px !important;
        right: 20px !important;
    }

    .phil-experience-badge strong {
        font-size: 2rem !important;
    }

    .partners-logo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem !important;
    }

    .partner-logo span {
        font-size: 1.8rem !important;
    }

    /* 4. VISION & SHOWCASE */
    .vision-section {
        height: 70vh !important;
        height: 70svh !important;
    }

    .vision-quote {
        font-size: 1.8rem !important;
        padding: 0 5%;
    }

    .vision-features-simple {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center;
    }

    .sdeck-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .sdeck-image-glamour img {
        height: 300px !important;
    }

    .s-title-premium {
        font-size: 2.2rem !important;
        text-align: center;
    }

    .s-description-luxury {
        font-size: 0.9rem !important;
        text-align: center;
        margin: 0 auto 2rem !important;
        /* Reduced margin */
        line-height: 1.6 !important;
    }

    .s-luxury-perks {
        gap: 2rem !important;
    }

    .sdeck-experience-container {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "text"
            "visual"
            "cta" !important;
        text-align: center !important;
        gap: 4rem !important;
    }

    .sdeck-cta-btn {
        grid-area: cta !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 1.2rem 2rem !important;
        font-size: 0.8rem !important;
        letter-spacing: 0.2em !important;
        gap: 1rem !important;
        justify-self: center !important;
    }

    .sdeck-cta-btn i {
        font-size: 0.9rem !important;
    }

    /* 5. STATS & WHY CHOOSE */
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        /* Keep 2x2 for stats */
    }

    .stat-number {
        font-size: 3rem !important;
    }

    .feature-item {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .feature-number {
        font-size: 5rem !important;
        min-width: auto !important;
    }

    .feature-content h3 {
        font-size: 1.6rem !important;
        /* Smaller */
    }

    .feature-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    /* 6. CONTACT FORM SYSTEM */
    .contact-card-main {
        padding: 2.5rem 1.2rem !important;
    }

    .contact-header-text h2 {
        font-size: 1.8rem !important;
    }

    .contact-actions {
        grid-template-columns: 1fr !important;
    }

    .premium-form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .message-wrap,
    .premium-submit-btn {
        grid-column: span 1 !important;
    }

    .premium-submit-btn {
        padding: 1.2rem !important;
        font-size: 0.85rem !important;
    }

    /* 7. FOOTER SYSTEM */
    .footer-col {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-col.brand {
        grid-column: span 1 !important;
    }

    .footer-logo {
        font-size: 1.5rem !important;
    }
}

@media screen and (max-width: 480px) {
    .nav-group {
        gap: 1rem;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }

    .main-nav {
        height: 70px;
    }
}

@media screen and (max-width: 1024px) {
    .main-nav.transparent-mobile {
        background: transparent !important;
        box-shadow: none !important;
        /* Ensure no border shows */
        border-bottom: none !important;
    }
}

@media (max-width: 380px) {
    .nav-container {
        padding: 0 15px;
    }
}

.services-main-title {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.cta-title {
    font-size: 3.5rem;
}

.cta-subtitle {
    font-size: 2rem;
}

.cta-button-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* Footer Fix */
.footer-grid {
    grid-template-columns: 100%;
    text-align: center;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    align-items: center;
}

.footer-logo {
    font-size: 4rem;
}

.sdeck-grid-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.sdeck-image-glamour img {
    height: 400px;
}

.s-luxury-perks {
    justify-content: center;
    text-align: left;
}

.v-perk {
    justify-content: flex-start;
    max-width: 400px;
    margin: 0 auto;
}

.s-mini-item {
    font-size: 0.8rem;
}

/* ===== ADDITIONAL STYLES ===== */
.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.support-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

.service-content {
    flex: 1;
}

.service-description {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 6rem 10%;
    background-color: #0066CC;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(4rem, 8vw, 6rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0.5);
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
}

@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* ===== ZIMOVNIK SECTION ===== */
.zimovnik-section {
    padding: 10rem 4rem;
    background-color: #1a1a1a;
    color: white;
}

.zimovnik-container {
    max-width: 1400px;
    margin: 0 auto;
}

.zimovnik-text {
    text-align: center;
    margin-bottom: 6rem;
}

.zimovnik-text .section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    color: white;
}

.zimovnik-text .section-subtitle {
    font-size: 1.25rem;
    color: #999;
    max-width: 700px;
    margin: 0 auto;
}

.zimovnik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.zimovnik-card {
    background: #252525;
    padding: 3rem;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.zimovnik-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: #0066CC;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.zimovnik-card:hover {
    transform: translateY(-10px);
    background: #2a2a2a;
    border-color: #444;
}

.zimovnik-card:hover::before {
    transform: scaleY(1);
}

.zimovnik-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.zimovnik-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.zimovnik-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

/* ===== WHY CHOOSE SECTION (COMPACT & DYNAMIC) ===== */
.why-choose-section {
    padding: 8rem 10% 12rem;
    /* Reduced top padding from 15rem */
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Huge Subtle Side Decorations */
.background-decor {
    position: absolute;
    font-family: 'Bebas Neue', cursives;
    font-size: 15rem;
    color: rgba(0, 102, 204, 0.015);
    z-index: 1;
    pointer-events: none;
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
}

.side-left {
    left: 2%;
    top: 5%;
    /* Closer to top */
    transform: rotate(180deg);
}

.side-right {
    right: 2%;
    bottom: 5%;
    /* Closer to bottom */
}

.why-choose-section .section-title-small {
    text-align: center;
    margin-bottom: 8rem;
    font-size: 1.8rem;
    /* Increased size */
    font-weight: 900;
    letter-spacing: 0.4em;
    /* More spacing for premium look */
    text-transform: uppercase;
    color: #0066CC;
    position: relative;
    z-index: 2;
}

.vertical-features {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    /* Reduced from 15rem */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6rem;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

/* More Impressive Alternating Animations ⚡️ */
.feature-item:nth-child(odd) {
    transform: translateX(-150px) rotateY(30deg) scale(0.8);
}

.feature-item:nth-child(even) {
    transform: translateX(150px) rotateY(-30deg) scale(0.8);
    flex-direction: row-reverse;
    text-align: right;
}

.feature-item.active {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
}

.feature-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    /* Slightly larger */
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 102, 204, 0.15);
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
}

.feature-item.active .feature-number {
    -webkit-text-stroke: 1px rgba(0, 102, 204, 0.4);
}

.feature-item:hover .feature-number {
    -webkit-text-stroke: 1px rgba(0, 102, 204, 1);
    transform: scale(1.1) translateZ(50px);
}

.feature-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    /* Larger */
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.feature-content p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #444;
    max-width: 600px;
}

.feature-item:nth-child(even) .feature-content p {
    margin-left: auto;
}

/* ===== SERVICES GATEWAY (4 COL) ===== */
.grid-4-col {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .grid-4-col {
        grid-template-columns: 1fr !important;
    }
}

/* ===== VISION SECTION REDESIGN ===== */
.vision-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.vision-parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vision-parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    filter: brightness(0.6);
    /* Dim the image itself */
}

.vision-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.vision-content-wrapper {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    text-align: center;
    padding: 0 5%;
}

.vision-subtitle {
    display: block;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    color: #00d2ff;
    /* Brighter blue for contrast */
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.vision-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    /* Strong shadow for readability */
}

.vision-features-simple {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.v-feat {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: #fff;
    /* Direct white for visibility */
    letter-spacing: 0.2em;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.v-feat::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #00d2ff;
}

@media (max-width: 768px) {
    .vision-features-simple {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===== S-DECK PREMIUM SHOWCASE REDESIGN ===== */
.sdeck-premium-showcase {
    position: relative;
    padding: 12rem 10%;
    background: #050505;
    overflow: hidden;
    color: white;
}

.sdeck-luxury-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.luxury-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
}

.sdeck-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.sdeck-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.sdeck-visual {
    position: relative;
}

.sdeck-image-glamour {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.sdeck-image-glamour img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
}

.sdeck-badge-float {
    position: absolute;
    top: -2rem;
    right: -2rem;
    background: #c5a059;
    /* Luxury Gold Tint */
    color: #000;
    padding: 1.5rem 2.5rem;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: rotate(5deg);
}

.sdeck-stats-mini {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.s-mini-item {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s-mini-item span {
    color: #0066CC;
    font-weight: 900;
}

.s-brand-header {
    margin-bottom: 4rem;
}

.s-since {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0066CC;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
}

.s-title-premium {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.s-title-premium .highlight {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.s-description-luxury {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 5rem;
    max-width: 600px;
}

.s-luxury-perks {
    display: grid;
    gap: 3rem;
    margin-bottom: 6rem;
}

.v-perk {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.p-icon {
    font-size: 1.5rem;
    color: #c5a059;
}

.p-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.p-text p {
    color: #777;
    font-size: 0.95rem;
}

.s-premium-btn {
    position: relative;
    display: inline-block;
    padding: 2rem 4rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    overflow: hidden;
    transition: all 0.4s ease;
}

.s-premium-btn:hover {
    border-color: #0066CC;
    color: white;
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.4), transparent);
    transition: left 0.6s ease;
}

.s-premium-btn:hover .btn-hover-effect {
    left: 100%;
}


/* Styles removed */

/* ===== TRUST & STATS (REIMAGINED LIGHT) ===== */
.trust-stats-section {
    padding: 12rem 5%;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.trust-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 8rem;
}

.stats-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 900;
    color: #0066CC;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
}

.stats-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
}

.stats-sophisticated-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 90px rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.1);
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 2.5rem;
}

.stat-huge-num {
    font-family: 'Outfit', sans-serif;
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #0066CC;
    letter-spacing: -0.05em;
}

.stat-plus,
.stat-percent {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ccc;
}

.stat-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.stat-info p {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .stats-sophisticated-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ===== QUICK CONTACT SECTION ===== */
.quick-contact-section {
    padding: 10rem 10%;
    background: white;
}

.contact-card-main {
    max-width: 1000px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 5rem;
    border-radius: 4px;
    color: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.contact-header-text {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-header-text p {
    color: #888;
    font-size: 1.1rem;
}

.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.action-btn {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.action-btn.call {
    background: rgba(0, 102, 204, 0.1);
}

.action-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
}

.action-btn:hover {
    border-color: #0066CC;
    transform: translateY(-5px);
}

.btn-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888;
}

.btn-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
}

.simple-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.simple-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.simple-contact-form input,
.simple-contact-form textarea {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
}

.simple-contact-form button {
    padding: 1.5rem;
    background: #0066CC;
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.simple-contact-form button:hover {
    background: #0080ff;
}

@media (max-width: 768px) {

    .contact-actions,
    .simple-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card-main {
        padding: 3rem 1.5rem;
    }

    /* Global Form Reset for Mobile */
    form div[style*="display: grid"],
    grid-container,
    .premium-form-grid,
    .contact-focus-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    input,
    textarea,
    select {
        font-size: 16px !important;
        /* Prevent iOS zoom */
    }
}

/* ===== MAIN FOOTER REDESIGN ===== */
.main-footer {
    background-color: #0a0a0a;
    padding: 4rem 0 2rem;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    color: #fff;
    text-transform: uppercase;
}

.footer-desc {
    color: #888;
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-col h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
    color: #fff;
}

/* Mercury Badge Styles */
.mercury-badge-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 3rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 400px;
}

.mercury-logo-footer {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.mercury-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.mercury-banner-main {
    background: #f8fafc;
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mercury-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mercury-logo-main {
    height: 60px;
    width: auto;
    opacity: 0.9;
}

.mercury-status-tag {
    display: inline-block;
    background: #0066CC;
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    border-radius: 50px;
}

.mercury-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
}


.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0066CC;
    padding-left: 5px;
}

.contact-item {
    color: #777;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-map-frame {
    margin-bottom: 6rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: invert(90%) hue-rotate(180deg) brightness(0.85);
    transition: filter 0.5s ease;
}

/* Hide custom boat cursor when over the map to avoid interface clutter */
body:has(.footer-map-frame:hover) .cursor-wrapper {
    opacity: 0 !important;
    pointer-events: none;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }
}

/* ===== HUB STRIP STYLE (NO GAPS, CENTERED) ===== */
.full-width-strip {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    max-width: 100% !important;
    width: 100%;
}

.centered-style .hub-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    transform: translateY(20px);
}

.hub-category-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.centered-style h3 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

.centered-style:hover .hub-card-content {
    transform: translateY(0);
}

.centered-style .hub-card-link {
    margin-top: 2rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
}

@media (max-width: 1200px) {
    .full-width-strip {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
    }
}

@media (max-width: 768px) {
    .full-width-strip {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
    }

    .centered-style h3 {
        font-size: 1.2rem !important;
        /* Smaller text for narrow mobile columns */
    }

    .hub-category-tag {
        font-size: 0.6rem !important;
        letter-spacing: 1px !important;
    }
}

/* ===== CENTERED HUB GRID (for 3 cards) ===== */
.centered-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1400px !important;
    /* Increased for wider row */
}

/* ===== FLOWING DESIGN LINE ===== */
.magnetic-divider-container {
    padding: 5rem 0;
    /* Increased and balanced padding */
    background: #f8fafc;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.magnetic-line-wrap {
    width: 85%;
    /* Optimized width */
    height: 10px;
    /* Taller wrap for better centering */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.magnetic-line {
    width: 100%;
    height: 2px;
    /* Thicker line as requested */
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.05) 0%,
            #0066CC 50%,
            rgba(0, 0, 0, 0.05) 100%);
    background-size: 200% 100%;
    animation: flowLine 3s infinite linear;
    /* Slightly faster flow */
    position: relative;
}

@keyframes flowLine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.magnetic-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #0066CC;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.8);
    z-index: 2;
}

@media (max-width: 991px) {

    /* Changed from 1280px to keep 3 in row on laptop/tablet */
    .centered-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {

    /* Changed from 600px */
    .centered-grid {
        grid-template-columns: 1fr !important;
        padding: 0 20px;
        /* Ensure lateral safety on mobile */
    }

    .magnetic-line-wrap {
        width: 100%;
    }
}


/* ===== PREMIUM HORIZONTAL FORM REDESIGN ===== */
.quick-contact-section {
    padding: 10rem 5%;
    background: #f1f5f9;
    /* Slightly darker light grey for contrast */
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-card-main {
    max-width: 1150px;
    /* Slightly wider than original 1000px, but more focused */
    background: #0a0a0a;
    padding: 6rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
}

.contact-card-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0066CC;
}

.premium-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns for inputs */
    gap: 2rem;
    align-items: start;
}

.message-wrap,
.premium-submit-btn {
    grid-column: span 2;
    /* Full width for text and button */
}

.input-glow-wrap {
    position: relative;
}

.premium-form-grid input,
.premium-form-grid textarea {
    width: 100%;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.premium-form-grid textarea {
    resize: none;
    line-height: 1.6;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0066CC;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.premium-form-grid input:focus~.input-focus-line,
.premium-form-grid textarea:focus~.input-focus-line {
    width: 100%;
}

.premium-form-grid input:focus,
.premium-form-grid textarea:focus {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
    border-color: rgba(0, 102, 204, 0.3);
}

.premium-submit-btn {
    position: relative;
    padding: 2.2rem;
    background: #0066CC;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.premium-submit-btn:hover {
    background: #0080ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 1200px) {
    .premium-form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .message-wrap {
        grid-column: span 2;
    }

    .premium-submit-btn {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .premium-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .message-wrap,
    .premium-submit-btn {
        grid-column: span 1;
    }

    .contact-card-main {
        padding: 3rem 1.5rem;
        margin: 0 20px;
        /* Force margin from screen edges */
        width: auto;
    }

    .services-hub-section {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .contact-card-main {
        padding: 2.5rem 1rem;
        margin: 0 15px;
    }

    .premium-form-grid input,
    .premium-form-grid textarea {
        padding: 1.2rem;
    }
}

/* ===== PREMIUM CTA REVEAL ANIMATION ===== */
.cta-btn-premium,
.pricing-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.cta-btn-premium.revealing,
.pricing-cta.revealing {
    transform: scale(0.9) !important;
    opacity: 0.5;
}

.cta-btn-premium.revealed,
.pricing-cta.revealed {
    background: #28a745 !important;
    border-color: #28a745 !important;
    animation: premiumBtnGlow 2s infinite;
    transform: scale(1.05);
}

@keyframes premiumBtnGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.phone-reveal-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    animation: revealSlideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes revealSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   GLOBAL PAGE LOADING SPINNER
   =================================================== */
#boattec-loading-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#boattec-loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: #fff;
    text-transform: uppercase;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #0066CC;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-bar-wrap {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #0066CC;
    border-radius: 2px;
    animation: loadingBar 1.5s ease-out forwards;
}

@keyframes loadingBar {
    0%   { width: 0%; }
    60%  { width: 80%; }
    100% { width: 100%; }
}

/* ===================================================
   TOUCH DEVICE: Hide custom cursor completely
   =================================================== */
@media (hover: none), (pointer: coarse) {
    .cursor-wrapper,
    .cursor-dot,
    .cursor-boat,
    .cursor-lines,
    .cursor-line,
    .cursor-coords {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* ===================================================
   MOBILE MARQUEE / CONTACT STRIP FIX
   Prevent text from overflowing or overlapping
   =================================================== */
@media (max-width: 768px) {
    /* Marquee strip: reduce font so items don't overlap */
    .marquee-content {
        gap: 1.5rem !important;
    }

    .marquee-content span,
    .marquee-content a span {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    /* Mercury banner: keep row layout but shrink text */
    .mercury-banner-content {
        gap: 1.5rem !important;
        padding: 2rem 5% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .mercury-logo-main {
        max-width: 100% !important;
        width: 280px !important;
        height: auto !important;
    }

    .mercury-main-title {
        font-size: clamp(1rem, 4.5vw, 1.6rem) !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .mercury-status-tag {
        font-size: 0.65rem !important;
    }

@media (max-width: 380px) {
    .contact-card-main {
        padding: 2.5rem 1rem;
        margin: 0 15px;
    }

    .premium-form-grid input,
    .premium-form-grid textarea {
        padding: 1.2rem;
    }
}

/* ===== PREMIUM CTA REVEAL ANIMATION ===== */
.cta-btn-premium,
.pricing-cta {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.cta-btn-premium.revealing,
.pricing-cta.revealing {
    transform: scale(0.9) !important;
    opacity: 0.5;
}

.cta-btn-premium.revealed,
.pricing-cta.revealed {
    background: #28a745 !important;
    border-color: #28a745 !important;
    animation: premiumBtnGlow 2s infinite;
    transform: scale(1.05);
}

@keyframes premiumBtnGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.phone-reveal-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    animation: revealSlideUp 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes revealSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================
   GLOBAL PAGE LOADING SPINNER
   =================================================== */
#boattec-loading-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#boattec-loading-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: #fff;
    text-transform: uppercase;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #0066CC;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-bar-wrap {
    width: 120px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #0066CC;
    border-radius: 2px;
    animation: loadingBar 1.5s ease-out forwards;
}

@keyframes loadingBar {
    0%   { width: 0%; }
    60%  { width: 80%; }
    100% { width: 100%; }
}

/* ===================================================
   TOUCH DEVICE: Hide custom cursor completely
   =================================================== */
@media (hover: none), (pointer: coarse) {
    .cursor-wrapper,
    .cursor-dot,
    .cursor-boat,
    .cursor-lines,
    .cursor-line,
    .cursor-coords {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* ===================================================
   MOBILE MARQUEE / CONTACT STRIP FIX
   Prevent text from overflowing or overlapping
   =================================================== */
@media (max-width: 768px) {
    /* Marquee strip: reduce font so items don't overlap */
    .marquee-content {
        gap: 1.5rem !important;
    }

    .marquee-content span,
    .marquee-content a span {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    /* Mercury banner: keep row layout but shrink text */
    .mercury-banner-content {
        gap: 1.5rem !important;
        padding: 2rem 5% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .mercury-logo-main {
        max-width: 100% !important;
        width: 280px !important;
        height: auto !important;
    }

    .mercury-main-title {
        font-size: clamp(1rem, 4.5vw, 1.6rem) !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .mercury-status-tag {
        font-size: 0.65rem !important;
    }
}

    /* S-Deck Mobile Padding Fix */
    .sdeck-experience-container {
        padding: 0 5% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile specific adjustments within existing 768px query */
    .gallery-show-more-wrapper {
        display: block !important;
    }

    .snapin-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .snapin-card img {
        height: 300px !important;
    }

    /* Hide items beyond 6th on mobile for expandable galleries */
    .show-more-target .snapin-card:nth-child(n+7),
    .show-more-target .gallery-item:nth-child(n+7),
    .show-more-target .bento-item:nth-child(n+7) {
        display: none !important;
    }

    .show-more-target.expanded .snapin-card,
    .show-more-target.expanded .gallery-item,
    .show-more-target.expanded .bento-item {
        display: block !important;
    }
}

/* ===================================================
   Global Gallery System (Desktop & Common)
   =================================================== */
.gallery-show-more-wrapper {
    text-align: center;
    margin: 4rem auto;
    display: none; /* Hidden by default, shown in mobile query */
}

.show-more-btn {
    background: transparent;
    color: #0066CC;
    border: 2px solid #0066CC;
    padding: 1.2rem 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.show-more-btn:hover {
    background: #0066CC;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.snapin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.snapin-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.snapin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3);
}

.snapin-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.snapin-card:hover img {
    transform: scale(1.08);
}

.snapin-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
