/**
 * KGB SARL — Premium UI & Animations
 * Requires GSAP + ScrollTrigger
 */

/* ============================================
   PAGE LOADER
   ============================================ */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-secondary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    pointer-events: all;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.loader-logo-wrap {
    opacity: 0;
    transform: translateY(20px);
}

.loader-logo-wrap img {
    width: 90px;
    height: auto;
    filter: brightness(0) invert(1);
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0;
}

.loader-tagline {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--color-primary);
    text-transform: uppercase;
    opacity: 0;
    margin-top: -0.5rem;
}

.loader-bar-wrap {
    width: 160px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.loader-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), #ffcc6b, var(--color-primary));
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

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

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    z-index: 99999;
    mix-blend-mode: normal;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(232, 160, 32, 0.45);
    background: transparent;
    transition: width 0.4s, height 0.4s, border-color 0.3s, background 0.3s;
}

.cursor.is-hovering {
    width: 14px;
    height: 14px;
    background: var(--color-primary);
}

.cursor-follower.is-hovering {
    width: 50px;
    height: 50px;
    border-color: rgba(232, 160, 32, 0.25);
    background: rgba(232, 160, 32, 0.06);
}

@media (hover: none), (pointer: coarse) {
    .cursor, .cursor-follower { display: none; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    width: 100%;
    background: transparent;
    z-index: 10002;
    transform-origin: left center;
    transform: scaleX(0);
}

#scroll-progress::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #ffcc6b, var(--color-primary));
    background-size: 200% 100%;
}

/* ============================================
   NAVBAR GLASS MORPHISM
   ============================================ */
.navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease !important;
    will-change: transform;
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 2px 40px rgba(13, 43, 78, 0.1) !important;
}

.navbar.is-scrolled .navbar-brand .logo {
    height: 40px;
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Navigation dots */
.hero-dots {
    position: absolute;
    bottom: 2.5rem;
    right: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    display: flex;
    gap: 0.5rem;
    z-index: 3;
    align-items: center;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, width 0.4s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--color-primary);
    width: 22px;
    border-radius: 3px;
}

/* Slide counter */
.hero-counter {
    position: absolute;
    bottom: 2.5rem;
    left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}

.hero-counter-current {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
}

.hero-counter-sep {
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
    .hero-dots { right: 50%; transform: translateX(50%); bottom: 5rem; }
    .hero-counter { display: none; }
}

/* ============================================
   MARQUEE / TICKER
   ============================================ */
.marquee-section {
    background: var(--color-secondary);
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-track {
    display: flex;
    padding: 0.85rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem;
    will-change: transform;
    animation: marqueeScroll 28s linear infinite;
    flex-shrink: 0;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

.marquee-sep {
    color: var(--color-primary) !important;
    font-size: 0.5rem !important;
    opacity: 0.7;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.marquee-section:hover .marquee-content {
    animation-play-state: paused;
}

/* ============================================
   HERO — FULL REDESIGN
   ============================================ */
.hero {
    min-height: 100vh !important;
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Remove old ::before bg — replaced by .hero-slides */
.hero::before { display: none !important; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(13, 43, 78, 0.88) 0%,
        rgba(13, 43, 78, 0.72) 45%,
        rgba(13, 43, 78, 0.35) 100%
    );
    z-index: 1;
}

/* Diagonal accent stripe */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(232, 160, 32, 0.06) 0%,
        transparent 60%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 780px;
    padding: 8rem var(--container-padding) 8rem;
    margin-left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
}

/* Floating geometric shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.h-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(232, 160, 32, 0.18);
}

.h-shape-1 {
    width: 520px; height: 520px;
    top: -130px; right: -120px;
}
.h-shape-2 {
    width: 300px; height: 300px;
    bottom: 8%; right: 12%;
    border-color: rgba(255,255,255,0.06);
}
.h-shape-3 {
    width: 160px; height: 160px;
    bottom: 22%; left: 6%;
    border-color: rgba(232, 160, 32, 0.12);
}
.h-shape-4 {
    width: 80px; height: 80px;
    top: 30%; right: 32%;
    border-color: rgba(232, 160, 32, 0.1);
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232, 160, 32, 0.12);
    border: 1px solid rgba(232, 160, 32, 0.35);
    color: #f5b942;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    opacity: 0;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: badgePulse 2.2s ease infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(232,160,32,0.4); }
    60% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(232,160,32,0); }
}

/* Hero title word wrapping (for GSAP split) */
.hero-title {
    color: var(--color-white) !important;
    font-size: clamp(2.8rem, 6.5vw, 5rem) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0 !important;
    text-transform: none !important;
}

.hero-title .word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.hero-title .word {
    display: inline-block;
}

/* Gold accent word */
.hero-title .accent-word {
    color: var(--color-primary);
}

/* Gold divider */
.hero-divider {
    display: block;
    width: 0px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    margin: 1.6rem 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
    max-width: 520px;
    opacity: 0;
}

.hero-cta {
    margin-top: 2.4rem;
    gap: var(--spacing-md) !important;
}

.hero-cta .btn {
    opacity: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: max(var(--container-padding), calc((100vw - var(--container-width)) / 2 + var(--container-padding)));
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.scroll-dot {
    width: 3px;
    height: 7px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollDot 2.2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { opacity: 1; transform: translateY(0); }
    75%  { opacity: 0; transform: translateY(14px); }
    76%  { opacity: 0; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-scroll-hint { left: 50%; transform: translateX(-50%); }
    .h-shape-1 { width: 280px; height: 280px; top: -60px; right: -60px; }
    .h-shape-2 { display: none; }
}

/* ============================================
   SECTION TAGS & DIVIDERS
   ============================================ */
.section-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
    text-align: center;
    opacity: 0;
}

.section-line {
    display: block;
    width: 0px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), rgba(232,160,32,0.3));
    margin: 0 auto var(--spacing-xl);
    border-radius: 2px;
}

.section-title {
    overflow: hidden;
}

/* ============================================
   STATS — PREMIUM
   ============================================ */
.stat-card {
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(13, 43, 78, 0.12) !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #ffcc6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover::before { transform: scaleX(1); }

/* Number glow */
.stat-number {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   SERVICE CARDS — PREMIUM
   ============================================ */
.service-card {
    border: 1px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card:hover {
    border-color: rgba(232, 160, 32, 0.2);
    box-shadow: 0 20px 60px rgba(13, 43, 78, 0.12) !important;
    transform: none !important;
}

.service-icon {
    position: relative;
    display: inline-block;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(232, 160, 32, 0.08);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon::before {
    transform: scale(1);
}

.service-card:hover .service-icon i {
    transform: translateY(-5px) scale(1.15);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--color-primary);
}

.service-icon i {
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ============================================
   PROJECT CARDS — PREMIUM
   ============================================ */
.project-card {
    overflow: hidden !important;
    border-radius: var(--radius-lg) !important;
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.4s ease !important;
}

.project-card:hover {
    box-shadow: 0 30px 60px rgba(13, 43, 78, 0.18) !important;
    transform: none !important;
}

.project-card .card-image {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.project-card:hover .card-image {
    transform: scale(1.07) !important;
}

/* ============================================
   TESTIMONIALS — PREMIUM
   ============================================ */
.testimonial-card {
    position: relative;
    border: 1px solid transparent;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: visible !important;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    font-size: 5rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--color-primary);
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(232, 160, 32, 0.2);
    box-shadow: 0 20px 60px rgba(13, 43, 78, 0.12) !important;
}

.testimonial-rating i {
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-rating i {
    animation: starWiggle 0.4s ease;
}

@keyframes starWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg) scale(1.2); }
    75% { transform: rotate(10deg) scale(1.2); }
}

/* ============================================
   BUTTONS — PREMIUM
   ============================================ */
.btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.btn:active::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-primary {
    box-shadow: 0 4px 20px rgba(232, 160, 32, 0.35) !important;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(232, 160, 32, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Outline button on dark backgrounds (hero, CTA) */
.hero .btn-outline,
.cta-section .btn-outline,
[style*="color-secondary"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.65) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero .btn-outline:hover,
.cta-section .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: white !important;
    color: white !important;
}

/* ============================================
   CTA SECTIONS — PREMIUM
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(232, 160, 32, 0.1);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* ============================================
   PAGE HEADERS — PREMIUM
   ============================================ */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 !important;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.page-header h1, .page-header p {
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER ANIMATION SETUP
   ============================================ */
.footer-section {
    opacity: 0;
    transform: translateY(28px);
}

.footer-links a {
    transition: color 0.25s ease, padding-left 0.25s ease !important;
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-links a::before {
    content: '→';
    font-size: 0.8rem;
    margin-right: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, margin-right 0.25s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
    margin-right: 0.4rem;
}

/* ============================================
   PAGE TRANSITION CURTAIN
   Starts hidden BELOW the viewport (translateY 100%).
   GSAP only brings it up on link click, never on load.
   ============================================ */
#page-curtain {
    position: fixed;
    inset: 0;
    background: var(--color-secondary);
    z-index: 99990;
    transform: translateY(100%); /* hidden below screen */
    pointer-events: none;
    will-change: transform;
}

/* ============================================
   LOADER CSS FALLBACK
   If GSAP CDN fails to load, auto-hide after 6s
   ============================================ */
#page-loader {
    animation: loaderFallback 0.4s ease 6s forwards;
}

@keyframes loaderFallback {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ============================================
   SCROLL TO TOP — PREMIUM
   ============================================ */
.scroll-to-top {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
    box-shadow: 0 8px 25px rgba(232, 160, 32, 0.4) !important;
    border-radius: var(--radius-md) !important;
    width: 44px !important;
    height: 44px !important;
    bottom: 2rem !important;
    right: 1.5rem !important;
}

.scroll-to-top:hover {
    box-shadow: 0 12px 35px rgba(232, 160, 32, 0.55) !important;
    transform: translateY(-4px) !important;
}

/* ============================================
   GALLERY CARDS
   ============================================ */
.gallery-item {
    will-change: transform;
    transition: box-shadow 0.35s ease !important;
}

.gallery-item:hover {
    transform: none !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

/* ============================================
   FORM INPUTS — PREMIUM
   ============================================ */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease !important;
}

.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(232, 160, 32, 0.15) !important;
}

/* ============================================
   CARD IMAGE WRAP
   ============================================ */
.card-image-wrap {
    overflow: hidden;
    position: relative;
}

.card-image-wrap img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-image-wrap:hover img {
    transform: scale(1.07);
}

/* ============================================
   CLIP-PATH REVEAL (image wipe)
   ============================================ */
.clip-reveal {
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

/* ============================================
   WIPE TEXT REVEAL
   ============================================ */
.wipe-wrap {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.wipe-cover {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    transform-origin: left;
    z-index: 1;
}

/* ============================================
   PROJECT CARDS — NUMBER BADGE
   ============================================ */
.project-card {
    counter-increment: project-counter;
}

/* ============================================
   CINEMATIC SECTION (full-bleed parallax row)
   ============================================ */
.cinematic-row {
    position: relative;
    min-height: 55vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-bg {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 43, 78, 0.72);
    z-index: 1;
}

.cinematic-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 4rem var(--container-padding);
    max-width: 700px;
}

.cinematic-content h2 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 3px;
}

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
    background: rgba(232, 160, 32, 0.25);
    color: var(--color-secondary);
}

/* ============================================
   FOOTER BOTTOM — COPYRIGHT & OCTAL LINK
   ============================================ */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.octal-link {
    color: var(--color-primary) !important;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
    text-decoration: none !important;
}

.octal-link:hover {
    border-color: var(--color-primary);
}

/* ============================================
   LINK HOVER IN NAV
   ============================================ */
.nav-link {
    transition: color 0.2s ease !important;
}

.nav-item.active .nav-link {
    color: var(--color-primary) !important;
}
