    /********** Hexlabz Custom Template CSS - AUNDRIL + PALANTIR + STARLINK FUSION **********/

:root {
    /* Aundril Dark Foundation - PRESERVED */
    --bg-primary: #000000;           /* Starlink pure black */
    --bg-secondary: #0a0a0a;        /* Slightly lighter void */
    --bg-tertiary: #111111;
    --bg-elevated: #161616;
    --card-bg: #0a0a0a;
    
    /* Starlink Data Precision + Cyan Accents (preserved from your theme) */
    --primary: #00d4ff;              /* Keep your cyan */
    --primary-hover: #00a8cc;
    --secondary: #9B9B9B;
    --light: #F5F5F5;
    --dark: #000000;
    
    /* Starlink Technical Grays - ADDED without breaking existing */
    --slate-100: #f1f5f9;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Accent Colors - PRESERVED */
    --accent-cyan: #00d4ff;
    --accent-amber: #ff9d00;
    --accent-red: #ff1744;
    --accent-green: #00e676;
    --accent-purple: #7c4dff;
    
    /* Glow Effects - PRESERVED */
    --glow: rgba(0, 212, 255, 0.45);
    --glow-amber: rgba(255, 157, 0, 0.3);
    
    /* Text Hierarchy - Starlink style (DIN-like precision) */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;      /* Starlink slate-400 */
    --text-tertiary: #64748b;         /* Starlink slate-500 */
    --text-muted: #475569;            /* Starlink slate-600 */
    
    /* Borders - Sharper Starlink style */
    --border-color: #1e293b;          /* slate-800 */
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Grid Effects - PRESERVED */
    --grid-color: rgba(0, 212, 255, 0.03);
    --scan-line: rgba(0, 212, 255, 0.02);
    
    /* Typography - Starlink DIN + Your Mono fusion */
    --font-mono: 'JetBrains Mono', 'DIN_Regular', monospace;
    --font-sans: 'DIN_Regular', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-bold: 'DIN_Bold', 'Inter', sans-serif;
}

/* --- Global Resets - PRESERVED STRUCTURE --- */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;                 /* Starlink tighter line-height */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Starlink-style font loading support */
@font-face {
    font-family: 'DIN_Regular';
    src: url('/assets/fonts/D-DIN.woff2') format('woff2'),
         url('/assets/fonts/D-DIN.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DIN_Bold';
    src: url('/assets/fonts/D-DIN-Bold.woff2') format('woff2'),
         url('/assets/fonts/D-DIN-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

.fw-medium { font-weight: 500 !important; }
.fw-bold   { font-weight: 700 !important; font-family: var(--font-bold) !important; }
.fw-black  { font-weight: 900 !important; }

/* Headings - Starlink DIN style applied WITHOUT breaking existing selectors */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: var(--font-bold);    /* DIN Bold for headings */
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;        /* Starlink style */
    line-height: 1.1;                 /* Tighter Starlink headings */
}

/* Preserve your existing h1 sizes but apply Starlink font */
h1 { font-size: 60px; line-height: 60px; }
h2 { font-size: 50px; line-height: 50px; }
h3 { font-size: 40px; line-height: 50px; }
h4 { font-size: 25px; line-height: 25px; }
h5 { font-size: 20px; line-height: 25px; }
h6 { font-size: 16px; line-height: 20px; }

/* Mobile heading sizes - Starlink responsive */
@media screen and (max-width: 768px) {
    h1 { font-size: 40px; line-height: 40px; }
    h2 { font-size: 40px; line-height: 40px; }
    h3 { font-size: 30px; line-height: 30px; }
    h4 { font-size: 25px; line-height: 25px; }
    h5 { font-size: 20px; line-height: 25px; }
}

/*** Global link colors - PRESERVED ***/
a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--primary-hover);
    text-decoration: underline;
}

/*** Spinner - PRESERVED ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--bg-primary) !important;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.spinner-border.text-primary {
    color: var(--accent-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/*** Buttons & UI Elements - Starlink fusion (PRESERVED YOUR .btn STRUCTURE) ***/
.btn {
    font-weight: 700;                 /* Starlink DIN bold */
    transition: .3s;
    border-radius: 4px;               /* Keep your sharp corners */
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;            /* Starlink wider tracking */
    font-size: 12px;                  /* Starlink smaller button text */
    line-height: 18px;
    padding: 16px 24px;               /* Starlink taller buttons */
    min-height: 50px;                 /* Starlink minimum touch target */
}

/* Your existing .btn-primary preserved with Starlink refinements */
.btn-primary {
    color: var(--accent-cyan);
    background: transparent;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-primary:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--glow);
    transform: translateY(-2px);
    color: var(--accent-cyan);
}

/* ADDED: Starlink-style filled button variant (NEW CLASS, won't break existing) */
.btn-filled {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    border-radius: 4px;
}

.btn-filled:hover {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-filled:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* ADDED: Starlink-style outlined button variant (NEW CLASS) */
.btn-outlined {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 4px;
}

.btn-outlined:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outlined:disabled {
    opacity: 0.25;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square  { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

/* Feature icon fixes - PRESERVED */
.feature-icon {
    width: 64px !important;
    height: 64px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    background: var(--bg-tertiary);   /* Starlink subtle background */
    border: 1px solid var(--border-color);
}

.feature-icon i {
    font-size: 1.5rem !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    color: var(--accent-cyan);
}

@media (max-width: 768px) {
    .feature-icon {
        width: 56px !important;
        height: 56px !important;
    }
    .feature-icon i {
        font-size: 1.25rem !important;
    }
}

/*** Back to Top - PRESERVED ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    z-index: 99;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
}

.back-to-top:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/*** Navbar - Starlink precision (PRESERVED YOUR STRUCTURE) ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Main navbar - Starlink pure black with blur */
.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    height: 70px;                     /* Starlink fixed height */
}

/* Brand - Starlink DIN style */
.navbar .navbar-brand {
    height: 70px;                     /* Match navbar */
    font-family: var(--font-bold);
    font-weight: 700;
    color: var(--text-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* Desktop nav links - Starlink precision (PRESERVED YOUR ::after STRUCTURE) */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF !important;
    font-weight: 700;                 /* Starlink bold */
    text-transform: uppercase;
    position: relative;
    transition: .3s;
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller nav */
    letter-spacing: 0.15em;           /* Starlink wider */
}

/* The Cyan Line - PRESERVED YOUR IMPLEMENTATION */
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 20px;
    left: 0;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: 0.3s;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    text-shadow: 0 0 8px var(--primary);
}

/* Dropdown caret - PRESERVED */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Mobile navbar - PRESERVED YOUR STRUCTURE */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 20px;
        font-size: 12px;
    }

    .navbar .navbar-nav {
        background: var(--bg-primary);
        padding: 20px;
        border-top: 1px solid var(--primary);
    }
    
    .navbar-collapse {
        background-color: var(--bg-primary);
    }
}

/* Desktop dropdown behaviour - PRESERVED */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        padding: 0.5rem;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
}

/* Dropdown item colors - PRESERVED */
.navbar .dropdown-menu .dropdown-item {
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller */
    transition: all 0.2s;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}

/*** Neon cyan hamburger - PRESERVED ***/
.navbar-dark .navbar-toggler {
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 0.25rem;
}

.navbar-dark .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    background-size: 1.5em 1.5em;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' "
        "viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' "
        "stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*** Header & Carousel - Starlink refined (PRESERVED YOUR STRUCTURE) ***/
.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
    color: #FFFFFF;
}

/* Cyan Glow Pulse Effect - PRESERVED */
.header-carousel .carousel-inner::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.15), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: bannerGlow 5s infinite ease-in-out;
}

@keyframes bannerGlow {
    0%, 100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

/* Responsive slide height & image cover - PRESERVED */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

/* Owl nav arrows - PRESERVED */
.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Owl dots - PRESERVED */
.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** About - PRESERVED ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Service - PRESERVED ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: var(--border-color) !important;
}

/* Cards - Starlink elevation (PRESERVED YOUR ::before STRUCTURE) */
.service-item,
.fact-card,
.award-card {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    padding: 30px;
    height: 100%;
    transition: .4s ease;
    border-radius: 4px;               /* Starlink sharper corners (was 6px) */
    overflow: hidden;
    position: relative;
}

.service-item::before,
.fact-card::before,
.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    opacity: 0.6;
}

.service-item:hover,
.fact-card:hover,
.award-card:hover {
    border-color: rgba(0, 212, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
    transform: translateY(-8px);
}

/* Cyan accents for cards - PRESERVED */
.service-item i,
.fact-card h1,
.fact-card h2 {
    color: var(--accent-cyan);
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}

/*** Feature - PRESERVED ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Project Portfolio - Starlink refined (PRESERVED YOUR STRUCTURE) ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 700;                 /* Starlink bold */
    color: var(--text-secondary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.1em;            /* Starlink wider */
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.bg-light #portfolio-flters li {
    color: #000000;
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
}

.portfolio-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.portfolio-inner:hover::before {
    opacity: 0.6;
}

.portfolio-inner img {
    transition: .5s;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-color);
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}

.portfolio-text h5 {
    color: var(--text-primary);
    font-family: var(--font-bold);
    text-transform: uppercase;
}

.portfolio-text p {
    color: var(--text-secondary);
}

/*** Quote - PRESERVED ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Awards - PRESERVED ***/
.awards-section {
    background: var(--bg-primary);
}

.award-card {
    border-left: 3px solid var(--accent-amber) !important;
}

.award-card img {
    max-height: 70px;
    filter: brightness(1.2) grayscale(0.5);
    transition: .3s;
}

.award-card:hover img {
    filter: brightness(1.1) grayscale(0);
}

.award-line {
    display: block;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    margin-top: 15px;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/*** Team - PRESERVED ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 11, 15, .9);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}

.team-avatar {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    border: 3px solid var(--accent-cyan);
}

/*** Testimonial - PRESERVED ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-cyan);
    background: var(--bg-secondary);
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
    border: 1px solid var(--border-color);
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/*** Contact - PRESERVED ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Footer - PRESERVED ***/
.footer {
    background: var(--bg-primary);
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--text-secondary);
    font-weight: normal;
    text-transform: capitalize;
    text-decoration: none;
    transition: .3s;
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--accent-cyan);
    letter-spacing: 1px;
    box-shadow: none;
    padding-left: 10px;
}

/*** Light sections: disabled for dark theme - PRESERVED ***/
.bg-light,
.container-fluid.bg-light,
.container-xxl.bg-light {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6 {
    color: var(--text-primary) !important;
}

.bg-light .text-muted {
    color: var(--text-secondary) !important;
}

/* ===== BOOTSTRAP 4 MOBILE NAVBAR FIX - PRESERVED ===== */
@media (max-width: 991.98px) {

    /* Navbar container */
    .navbar {
        background-color: var(--bg-primary) !important;
    }

    /* Collapsed menu */
    .navbar-collapse {
        background-color: var(--bg-primary);
        padding: 15px 0;
    }

    /* Nav links */
    .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: 0.15em;
        opacity: 1;
    }

    /* Hover / tap feedback */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.08);
        color: var(--accent-cyan) !important;
    }

    /* Dropdown menu */
    .dropdown-menu {
        background-color: var(--bg-primary);
        border: none;
        padding-left: 15px;
    }

    .dropdown-item {
        color: #fff;
        padding: 10px 20px;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: var(--accent-cyan);
    }

    /* Fix invisible text / overflow issues */
    .navbar-nav,
    .navbar-collapse {
        overflow: visible;
        visibility: visible;
    }

    /* Prevent weird spacing */
    .navbar-nav > * {
        margin: 0;
    }
}

/* Object fit utilities - PRESERVED */
.object-fit-cover {
    object-fit: cover !important;
}

.position-absolute.top-0.start-0 {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* HexScan logo wrapper - PRESERVED */
.hexscan-logo-wrapper {
    text-align: center;
    margin: 5px 0;
    padding: 0;
}

.hexscan-logo {
    display: inline-block;
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* Image preview with cyan glow - PRESERVED */
img[src="img/preview.png"] {
    border-radius: 32px !important;
    box-shadow:
        0 0 22px rgba(0, 212, 255, 0.45),
        0 0 52px rgba(0, 212, 255, 0.25);
}

/* Form controls - Starlink refined (PRESERVED YOUR FOCUS STATES) */
.form-control,
.form-select {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-color) !important;
    border-left: 3px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-sans) !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
    font-size: 16px;                  /* Starlink minimum 16px for mobile */
    line-height: 20px;
    padding: 12px 16px;
    min-height: 50px;                 /* Starlink touch target */
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-elevated) !important;
    border-color: var(--accent-cyan) !important;
    border-left-color: var(--accent-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1) !important;
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
    text-transform: uppercase;        /* Starlink style */
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* Scrollbar - dark theme refined */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

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

/* Status badges - Starlink refined */
.badge.bg-warning {
    background: rgba(255, 157, 0, 0.15) !important;
    color: var(--accent-amber) !important;
    border: 1px solid rgba(255, 157, 0, 0.3);
    font-family: var(--font-mono);
    font-size: 10px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    padding: 0.25rem 0.75rem;
}

/* Alerts - PRESERVED */
.alert-dark {
    background: rgba(0, 212, 255, 0.05) !important;
    border: 1px solid var(--border-color) !important;
    border-left: 3px solid var(--accent-cyan) !important;
    color: var(--text-primary) !important;
    border-radius: 4px;
}

.alert-dark strong {
    color: var(--accent-cyan);
}

/* Blockquote - PRESERVED */
blockquote {
    border-left: 3px solid var(--accent-cyan) !important;
}

blockquote p {
    color: var(--text-primary);
}

/* Section labels - Starlink refined (PRESERVED YOUR // PREFIX) */
.section-title-tech {
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title-tech::before {
    content: '//';
    color: var(--accent-cyan);
}

/* Metric cards - Starlink refined */
.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-size: 1.25rem;
}

/* Testimonial cards - Starlink refined */
.testimonial-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;               /* Starlink sharper */
    padding: 2rem;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-cyan);
    opacity: 0.2;
    font-family: Georgia, serif;
}

/* Content wrapper grid background - PRESERVED */
.content-wrapper {
    background-color: var(--bg-primary);
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            var(--scan-line) 2px,
            var(--scan-line) 4px
        );
    background-size: 40px 40px, 40px 40px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Video container - PRESERVED */
.ratio {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

/* Data label style - Starlink refined */
.data-label {
    font-family: var(--font-mono);
    font-size: 10px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

/* Text gradient - PRESERVED */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Portfolio filter buttons - Starlink refined */
.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 12px;                  /* Starlink smaller */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

/* ===== STARLINK ADDITIONS: New utility classes (WON'T BREAK EXISTING) ===== */

/* Starlink spacing utilities */
.g-margin-top-0 { margin-top: 0; }
.g-margin-top-1 { margin-top: 1rem; }
.g-margin-top-2 { margin-top: 2rem; }
.g-margin-top-4 { margin-top: 4rem; }
.g-margin-bottom-1 { margin-bottom: 1rem; }
.g-margin-bottom-2 { margin-bottom: 2rem; }

.g-padding-1 { padding: 1rem; }
.g-padding-2 { padding: 2rem; }
.g-padding-3 { padding: 3rem; }

/* Starlink text utilities */
.g-text-uppercase { text-transform: uppercase; }
.g-text-no-wrap { white-space: nowrap; }
.g-text-align-center { text-align: center; }
.g-letter-spacing-wide { letter-spacing: 0.1em; }

/* Starlink display utilities */
.g-display-block { display: block; }
.g-display-inline { display: inline; }
.g-display-inline-block { display: inline-block; }
.g-display-none { display: none; }

/* Starlink opacity utilities */
.g-opacity-60 { opacity: 0.6; }
.g-opacity-70 { opacity: 0.7; }

/* Starlink technical text styles */
.fddbold30 { font: 30px/30px DIN_Bold, Arial, Verdana, sans-serif; }
.fddbold25 { font: 25px/25px DIN_Bold, Arial, Verdana, sans-serif; }
.fddbold20 { font: 20px/20px DIN_Bold, Arial, Verdana, sans-serif; }
.fddbold16 { font: 16px/20px DIN_Bold, Arial, Verdana, sans-serif; }
.fddbold12 { font: 12px/18px DIN_Bold, Arial, Verdana, sans-serif; }

.fdd30 { font: 30px/30px DIN_Regular, Arial, Verdana, sans-serif; }
.fdd20 { font: 20px/20px DIN_Regular, Arial, Verdana, sans-serif; }
.fdd16 { font: 16px/22px DIN_Regular, Arial, Verdana, sans-serif; }
.fdd12 { font: 12px/18px DIN_Regular, Arial, Verdana, sans-serif; }

.frob16 { font: 16px/26px Roboto, Helvetica, Arial, Verdana, sans-serif; }
.frob12 { font: 12px/18px Roboto, Helvetica, Arial, Verdana, sans-serif; }

/* Starlink main container style (for marketing pages) */
.main-container {
    text-align: center;
    padding-top: 70px;
    background-color: #000;
    min-height: 100vh;
}

.main-container img {
    width: 24%;
    min-width: 260px;
    max-width: 400px;
    height: auto;
    margin-bottom: 3em;
}

.main-container h3 {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

@media screen and (max-width: 500px) {
    .main-container {
        background-color: #262626;
    }
    .main-container h3 {
        font-size: 30px;
    }
}

/* Starlink link styles (won't conflict with your existing 'a' styles) */
.link-bolded-underlined,
.link-bolded-underlined:active,
.link-bolded-underlined:focus,
.link-bolded-underlined:hover,
.link-bolded-underlined:visited {
    font-weight: 700 !important;
    text-decoration: underline !important;
    color: inherit;
}

.link-bolded-underlined:focus {
    outline: 1px dotted #eee !important;
}

/* Starlink primary/secondary buttons (new classes, no conflict) */
.primary-color-button {
    background: #000;
    width: 100%;
    border: 2px solid #000;
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    font: 14px/48px Roboto, Helvetica, Arial, Verdana, sans-serif;
    height: 58px;
    font-weight: 700;
    cursor: pointer;
}

.primary-color-button:focus {
    outline: 2px solid #000;
    border: 1px solid #fff;
}

.secondary-color-button {
    background: #fff;
    width: 100%;
    border: 2px solid #000;
    border-radius: 0;
    color: #000;
    text-transform: uppercase;
    font: 14px/48px Roboto, Helvetica, Arial, Verdana, sans-serif;
    height: 58px;
    font-weight: 700;
    cursor: pointer;
}

.primary-color-button:disabled,
.primary-color-button[disabled],
.secondary-color-button:disabled,
.secondary-color-button[disabled] {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Spacer utilities from Starlink */
.spacer1 { height: 10px; }
.spacer2 { height: 20px; }
.spacer3 { height: 30px; }
.spacer4 { height: 40px; }
.spacer5 { height: 50px; }

/* Wrapper from Starlink */
.wrapper {
    padding: 0 2rem;
}

/* Mobile video hide from Starlink */
body.isMobile video {
    display: none;
}

/* Clickable utility from Starlink */
.clickable {
    cursor: pointer;
}

.clickable:hover {
    text-decoration: underline;
}

.clickable:active {
    opacity: 0.5;
}

/* Hidden utility */
[hidden] {
    display: none !important;
    transition: all 0.3s;
}