/* ==========================================================================
   Kaliber System Corp - Space-Age Corporate/Cosmic UI Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Theme Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    --bg-black: #000000;
    --bg-deep-space: #0b0d12;
    --bg-card: rgba(14, 17, 24, 0.65);

    --text-white: #ffffff;
    --text-muted: #a0a5b5;
    --text-gold: #cca47c;
    --text-gold-rgb: 204, 164, 124;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;

    --glow-gold: 0 0 20px rgba(204, 164, 124, 0.25);
    --glow-gold-strong: 0 0 35px rgba(204, 164, 124, 0.45);
    --border-glass: 1px solid rgba(255, 255, 255, 0.06);
    --border-glass-gold: 1px solid rgba(204, 164, 124, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    /* GSAP handles scroll operations smoothly */
    overflow-x: hidden;
    background-color: var(--bg-black);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
    background: #1c202a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-gold);
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.ls-3 {
    letter-spacing: 0.15em;
}

/* --------------------------------------------------------------------------
   2. Page Preloader
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-black);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-portal {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.portal-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 50%;
}

.portal-ring:nth-child(1) {
    border-top-color: var(--text-gold);
    animation: rotateRing1 1.5s linear infinite;
}

.portal-ring:nth-child(2) {
    border-bottom-color: rgba(255, 255, 255, 0.4);
    width: 85%;
    height: 85%;
    animation: rotateRing2 2s linear infinite;
}

.portal-ring:nth-child(3) {
    border-left-color: var(--text-gold);
    width: 70%;
    height: 70%;
    animation: rotateRing1 1s linear infinite;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes rotateRing1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateRing2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes pulseLogo {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   3. Navigation Navbar
   -------------------------------------------------------------------------- */
.navbar {
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.logo-futuristic {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: var(--text-white) !important;
    display: inline-block;
    transition: var(--transition-smooth);
}

.logo-accent {
    color: var(--text-gold);
    font-weight: 500;
}

.navbar-nav {
    gap: 15px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--text-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 40%;
}

/* Custom Mobile Menu Toggle Button */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-toggler:focus {
    box-shadow: none;
    outline: none;
}

.toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Premium Navbar Action Elements */
.btn-glow-navbar {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-smooth);
}

.btn-glow-navbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: var(--text-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    transition: var(--transition-smooth);
    opacity: 0.2;
}

.btn-glow-navbar:hover {
    border-color: var(--text-gold);
    box-shadow: var(--glow-gold);
    color: var(--text-white);
}

.btn-glow-navbar:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
    background-color: var(--text-gold);
}

/* 9 Dots Side Menu Button Trigger */
.btn-side-menu {
    border: none;
    background: transparent;
    width: 24px;
    height: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0;
    cursor: pointer;
}

.square-dot {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-fast);
}

.btn-side-menu:hover .square-dot {
    background-color: var(--text-gold);
    transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   4. Slide-Out Side Panel
   -------------------------------------------------------------------------- */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background-color: var(--bg-deep-space);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10000;
    padding: 80px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.side-menu-panel.active {
    right: 0;
}

.btn-close-side {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-side:hover {
    color: var(--text-gold);
    transform: rotate(90deg);
}

.side-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-white);
    margin-bottom: 20px;
}

.side-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.info-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-gold);
    margin-top: 25px;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.info-value a:hover {
    color: var(--text-gold);
}

.side-socials {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.side-socials .social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.side-socials .social-icon:hover {
    border-color: var(--text-gold);
    background-color: var(--text-gold);
    color: var(--bg-black);
    box-shadow: var(--glow-gold);
}

/* --------------------------------------------------------------------------
   5. Hero Section (Home)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   5. Hero Section (Home)
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.starfield {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: var(--text-white);
    border-radius: 50%;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

/* Stargaze Overlapping Text Layout */
.hero-grid-content-stargaze {
    position: relative;
    z-index: 3;
    width: 100%;
}

.sub-title-stargaze {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-white);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.hero-heading-stargaze {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7.2vw, 6.2rem);
    font-weight: 800;
    line-height: 0.88;
    text-transform: uppercase;
    color: var(--text-white);
    margin: 0;
    letter-spacing: -0.02em;
}

.line-our-stargaze {
    display: inline-block;
    vertical-align: middle;
}

.astronaut-container {
    display: inline-block;
    position: relative;
    width: 1.5em;
    height: 0.9em;
    vertical-align: middle;
    margin-left: 20px;
    margin-right: 20px;
}

.astronaut-hero {
    position: absolute;
    top: -0.35em;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
    transform-origin: center;
    z-index: 4;
    mix-blend-mode: screen;
}

.line-foray-stargaze {
    display: inline-block;
    vertical-align: middle;
}

.line-into-space-stargaze {
    letter-spacing: -0.01em;
}

.mobile-astronaut-stargaze {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.25));
    mix-blend-mode: screen;
}

/* Bottom Controls matching Stargaze Screenshot */
.hero-bottom-right-stargaze {
    position: absolute;
    bottom: 8%;
    right: 5%;
    width: 32%;
    max-width: 450px;
    text-align: right;
    z-index: 3;
}

.hero-bottom-right-stargaze p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.hero-bottom-left-stargaze {
    position: absolute;
    bottom: 8%;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.btn-chat-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #27C149;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(39, 193, 73, 0.35);
    transition: var(--transition-smooth);
}

.btn-chat-circle:hover {
    background-color: #20a03c;
    transform: scale(1.08) rotate(15deg);
    box-shadow: 0 6px 20px rgba(39, 193, 73, 0.55);
}

.btn-presale-chat {
    padding: 14px 28px;
    background-color: #fff;
    color: #000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    display: inline-block;
    text-transform: uppercase;
}

.btn-presale-chat:hover {
    background-color: var(--text-gold);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
}

/* Floating Astronaut Animation */
.animate-float {
    animation: floatAstronaut 6s ease-in-out infinite;
}

@keyframes floatAstronaut {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Shopping Bag Icon in Navbar */
.nav-cart-icon {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-cart-icon:hover {
    color: var(--text-gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background-color: var(--text-gold);
    color: var(--bg-black);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Overrides for Hero */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
        min-height: auto;
        height: auto;
        display: block;
    }

    .hero-grid-content-stargaze {
        text-align: center !important;
    }

    .astronaut-container {
        display: none !important;
    }

    .hero-bottom-right-stargaze {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-top: 40px;
        padding: 0 15px;
    }

    .hero-bottom-left-stargaze {
        position: relative;
        bottom: auto;
        left: auto;
        justify-content: center;
        margin-top: 30px;
        padding: 0 15px;
    }
}

.scroll-mouse {
    width: 22px;
    height: 38px;
    border: 2px solid currentColor;
    border-radius: 12px;
    position: relative;
    margin-bottom: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouseWheel 2s ease-in-out infinite;
}

@keyframes scrollMouseWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 8px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   6. About Us Section (Staggered Layout)
   -------------------------------------------------------------------------- */
.bg-dark-space {
    background-color: var(--bg-deep-space);
}

.py-6 {
    padding-top: clamp(4rem, 8vw, 8rem);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

/* Huge Background Stroke Numbers */
.huge-bg-num {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(10rem, 25vw, 24rem);
    font-weight: 800;
    line-height: 1;
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
}

#about .huge-bg-num {
    top: 5%;
    left: 2%;
}

#development .huge-bg-num {
    top: 8%;
    right: 2%;
}

#vision .huge-bg-num {
    bottom: 5%;
    left: 5%;
}

#contact .huge-bg-num {
    top: 5%;
    right: 5%;
}

/* Staggered Images Framework */
.staggered-image-wrapper {
    position: relative;
    display: inline-block;
    z-index: 3;
}

.staggered-img {
    border-radius: 4px;
    filter: grayscale(0.2) contrast(1.1);
    transition: var(--transition-smooth);
}

.left-img-wrapper .staggered-img {
    max-height: 520px;
    width: auto;
    object-fit: cover;
}

.border-glow-gold {
    border: var(--border-glass-gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.staggered-image-wrapper:hover .staggered-img {
    filter: grayscale(0) contrast(1.05);
    transform: scale(1.02);
}

.glass-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    background-color: rgba(255, 255, 255, 0.01);
    pointer-events: none;
    z-index: -1;
}

/* Rotating orbiting animation around about image */
.orbiting-dot {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    pointer-events: none;
}

.orbiting-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-gold);
    box-shadow: var(--glow-gold-strong);
    transform: translate(-50%, -50%);
    animation: orbitRound 12s linear infinite;
}

@keyframes orbitRound {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translate(0, 0);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translate(0, 0);
    }
}

.subheading-gold {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-gold);
    letter-spacing: 0.25em;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.p-border-left {
    border-left: 2px solid var(--text-gold);
    padding-left: 25px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-white);
}

.glass-panel {
    background-color: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--border-glass);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(204, 164, 124, 0.2);
}

.mini-staggered-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.experience-box {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exp-number {
    font-size: 3rem;
}

.exp-title {
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   7. Development Section (Services Grid)
   -------------------------------------------------------------------------- */
.services-section {
    background-color: var(--bg-black);
}

.border-gold {
    border-color: var(--text-gold) !important;
}

/* Glassmorphic Space Service Cards */
.service-card {
    border: var(--border-glass);
    transition: var(--transition-smooth);
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card:hover {
    border-color: rgba(204, 164, 124, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(204, 164, 124, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.active-highlight {
    border-color: rgba(204, 164, 124, 0.25);
    box-shadow: 0 10px 30px rgba(204, 164, 124, 0.04);
}

.active-highlight::after {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
}

.svg-orbit {
    width: 100%;
    height: 100%;
}

.orbit-dot {
    transform-origin: 50px 50px;
    animation: rotateOrbitDot 8s linear infinite;
}

.orbit-rect {
    transform-origin: 50px 50px;
    animation: rotateOrbitDot 12s linear infinite reverse;
}

.orbit-dot-2 {
    transform-origin: 50px 50px;
    animation: rotateOrbitDot 6s linear infinite;
}

@keyframes rotateOrbitDot {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Arrow Link Styling */
.card-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.arrow-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.card-arrow-link:hover .arrow-text {
    color: var(--text-gold);
}

.card-arrow-link:hover .arrow-circle {
    background-color: var(--text-gold);
    border-color: var(--text-gold);
    color: var(--bg-black);
    transform: translateX(5px);
    box-shadow: var(--glow-gold);
}

/* --------------------------------------------------------------------------
   8. Immersive Parallax Video Section
   -------------------------------------------------------------------------- */
.video-preview-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-black);
}

.background-parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Standard Parallax Effect */
    opacity: 0.45;
    z-index: 1;
}

@media (max-width: 1024px) {
    .background-parallax-img {
        background-attachment: scroll;
        /* Mobile fallbacks for fixed attachments */
    }
}

.color-shade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-black) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.6) 60%, var(--bg-black) 100%);
    z-index: 2;
}

.max-w-600 {
    max-width: 600px;
}

/* Premium Video Play Button */
.video-play-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.video-play-btn {
    background: transparent;
    border: none;
    position: relative;
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.btn-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--text-gold);
    color: var(--bg-black);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    z-index: 3;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-gold);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(204, 164, 124, 0.35);
    border-radius: 50%;
    z-index: 1;
    animation: pulseWave 3s linear infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes pulseWave {
    0% {
        transform: scale(0.7);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.play-label {
    position: absolute;
    bottom: -35px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.video-play-btn:hover .btn-inner {
    background-color: var(--text-white);
    color: var(--bg-black);
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

.video-play-btn:hover .play-label {
    color: var(--text-gold);
    letter-spacing: 0.3em;
}

/* Modals Override styling */
.custom-video-modal .modal-content {
    background-color: rgba(11, 13, 18, 0.95);
    border-color: rgba(204, 164, 124, 0.3);
}

.btn-close-modal {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    color: var(--text-gold) !important;
}

/* --------------------------------------------------------------------------
   9. Vision Section (Slider & Marquee)
   -------------------------------------------------------------------------- */
.vision-section {
    background-color: var(--bg-deep-space);
}

/* Continuous Marquee Text Banner styling */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 4;
}

.border-y-gold {
    border-top: 1px solid rgba(204, 164, 124, 0.2);
    border-bottom: 1px solid rgba(204, 164, 124, 0.2);
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeAnimation 35s linear infinite;
}

.marquee-content span {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--text-gold);
    margin-right: 50px;
    text-transform: uppercase;
}

@keyframes marqueeAnimation {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.feat-circle-check {
    font-size: 1.1rem;
}

.feat-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Swiper Slider Styling */
.swiper-portfolio-container {
    width: 100%;
}

.portfolio-slider-card {
    height: 480px;
    border: var(--border-glass);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-img-wrapper {
    height: 55%;
    overflow: hidden;
    position: relative;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
    transition: transform 0.6s ease;
}

.portfolio-slider-card:hover .slider-img {
    transform: scale(1.06);
}

.slide-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-gold);
    text-transform: uppercase;
}

.slide-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.slide-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Swiper Nav Control Circles styling */
.swiper-controls-wrapper {
    justify-content: flex-start;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    border-color: var(--text-gold);
    color: var(--text-gold);
    box-shadow: var(--glow-gold);
}

.swiper-pagination-custom {
    color: var(--text-gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   10. Continuous Partner Logo Slider
   -------------------------------------------------------------------------- */
.partners-section {
    background-color: var(--bg-black);
}

.border-y-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition-fast);
    display: inline-block;
    cursor: default;
}

.partner-logo:hover {
    color: var(--text-gold);
    text-shadow: var(--glow-gold);
}

/* --------------------------------------------------------------------------
   11. Contact us Section (Direct Form & Floating Labels)
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--bg-black);
}

.text-link-gold {
    color: var(--text-gold);
    transition: var(--transition-fast);
}

.text-link-gold:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-gold);
    background-color: rgba(204, 164, 124, 0.05);
}

.info-box-title {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.info-box-desc {
    font-size: 0.95rem;
}

.newsletter-sub-box {
    border-radius: 4px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.form-input-custom {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0px !important;
    color: var(--text-white) !important;
    padding: 12px 0px !important;
    font-size: 1rem !important;
    transition: var(--transition-smooth) !important;
}

.form-input-custom:focus {
    box-shadow: none !important;
    border-bottom-color: var(--text-gold) !important;
    background-color: transparent !important;
}

.btn-premium-solid-small {
    padding: 10px 24px;
    background-color: var(--text-gold);
    color: var(--bg-black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    border: 1px solid var(--text-gold);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-premium-solid-small:hover {
    background-color: var(--text-white);
    border-color: var(--text-white);
}

/* Floating Input Forms */
.form-group {
    margin-bottom: 15px;
}

.form-label-custom {
    position: absolute;
    top: 12px;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Floating logic on focus / input values */
.form-input-custom:focus~.form-label-custom,
.form-input-custom:not(:placeholder-shown)~.form-label-custom {
    top: -12px;
    font-size: 0.65rem;
    color: var(--text-gold);
    letter-spacing: 0.2em;
}

/* Custom Dropdown select placeholder logic */
.form-label-custom-select {
    position: absolute;
    top: -12px;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    pointer-events: none;
}

.form-select.form-input-custom {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0 center !important;
    background-size: 14px 10px !important;
}

.form-select.form-input-custom option {
    background-color: var(--bg-deep-space);
    color: var(--text-white);
}

.custom-checkbox .form-check-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--text-gold);
    border-color: var(--text-gold);
}

.custom-checkbox .form-check-input:focus {
    box-shadow: none;
}

/* Custom Alert Response */
.alert-success-custom {
    padding: 20px;
    background-color: rgba(204, 164, 124, 0.05);
    border: var(--border-glass-gold);
    border-radius: 4px;
}

.success-icon {
    font-size: 1.8rem;
    color: var(--text-gold);
}

/* --------------------------------------------------------------------------
   12. Footer Section & Back To Top
   -------------------------------------------------------------------------- */
.footer-section {
    background-color: var(--bg-black);
}

.footer-stellar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.footer-shade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-black) 0%, rgba(0, 0, 0, 0.5) 50%, var(--bg-black) 100%);
    z-index: 2;
    pointer-events: none;
}

.footer-big-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.footer-c-link {
    font-size: 1.1rem;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.footer-c-link:hover {
    color: var(--text-gold);
}

.footer-col-title {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    font-weight: 800;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--text-gold);
    padding-left: 4px;
}

.border-t-dark {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-circles .social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.footer-social-circles .social-circle:hover {
    border-color: var(--text-gold);
    color: var(--text-gold);
    transform: scale(1.08);
    box-shadow: var(--glow-gold);
}

/* Scroll-To-Top Circular Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-deep-space);
    color: var(--text-white);
    border: var(--border-glass-gold);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.scroll-to-top-btn.active {
    opacity: 1;
    visibility: visible;
}

.btn-arrow-up {
    font-size: 1rem;
    transition: var(--transition-fast);
    z-index: 2;
}

.scroll-to-top-btn:hover .btn-arrow-up {
    color: var(--text-gold);
    transform: translateY(-3px);
}

.progress-ring-svg {
    position: absolute;
    top: -1px;
    left: -1px;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 1;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.1s;
    transform-origin: 50% 50%;
}

span.line-into-space-stargaze.d-block.fs-reveal {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   13. Responsive Utilities & Mobile Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar {
        background-color: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(15px);
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .navbar-collapse {
        margin-top: 15px;
        background-color: rgba(11, 13, 18, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        padding: 20px;
    }

    .navbar-nav .nav-link {
        padding: 12px 10px !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .hero-heading {
        margin-top: 40px;
    }

    .scroll-indicator-wrapper {
        display: none;
    }

    #about .huge-bg-num {
        top: 2%;
        left: 2%;
    }
}

@media (max-width: 767.98px) {
    .side-menu-panel {
        width: 100%;
        padding: 80px 30px;
    }

    .portfolio-slider-card {
        height: 420px;
    }

    .footer-big-title {
        font-size: 2.2rem;
    }

    .chat-btn {
        display: none;
    }

    .mini-staggered-img {
        height: 300px;
    }

}

/* GSAP Scroll reveal triggers placeholders */
.fs-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* New Brand Logo Styling */
.logo-image {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-image:hover {
    transform: scale(1.05);
}