:root {
    --bg-onyx: #050811;
    --bg-card: rgba(11, 17, 32, 0.75);
    --border-gold-mute: rgba(212, 175, 55, 0.1);
    --border-gold-bright: rgba(212, 175, 55, 0.45);
    --gold-solid: #d4af37;
    --text-pure: #ffffff;
    --text-silver: #94a3b8;
    --font-premium: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-onyx);
    color: var(--text-pure);
    font-family: var(--font-premium);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.section-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-tagline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold-solid);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* Header Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-gold-mute);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-logo {
    height: 90px;       /* Increased main logo size from 52px */
    width: auto;        /* Maintains aspect ratio dynamically */
    max-width: 100%;    /* Protects mobile viewports from overflow */
    object-fit: contain;
    display: block;
}

/* Specific Adjustment for Extra Small Mobile Screens */
@media (max-width: 480px) {
    .brand-logo {
        height: 40px;   /* Safely scales down the icon height on tight phone screens */
    }
    .nav-container {
        height: 70px;   /* Tightens the navbar header space on mobile */
    }
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-silver);
    text-decoration: none;
    margin-left: 2.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--gold-solid);
}

nav a.nav-cta {
    border: 1px solid var(--gold-solid);
    color: var(--gold-solid);
    padding: 0.5rem 1.3rem;
    border-radius: 4px;
}

nav a.nav-cta:hover {
    background: var(--gold-solid);
    color: var(--bg-onyx);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

/* ==========================================
   IDENTITY SECTION DESIGN SYSTEM (NO FLICKER OVERLAP)
   ========================================== */
.identity-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background-color: var(--bg-onyx);
    border-bottom: 1px solid var(--border-gold-mute);
    padding-top: 150px; /* Secure clearance from the navbar */
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    z-index: 5;
}

.identity-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 5rem;
    align-items: center;
}

.identity-text-block h1 {
    font-size: 3.6rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-pure);
    letter-spacing: -0.03em;
}

.identity-text-block .gold-text {
    color: var(--gold-solid);
    background: linear-gradient(180deg, #ffffff 0%, var(--gold-solid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.identity-lead {
    font-size: 1.35rem;
    color: var(--text-pure);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.identity-body {
    font-size: 1.05rem;
    color: var(--text-silver);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold-solid);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 2rem;
}

/* Text-Based Corporate Callout Bar Styling */
.identity-manifesto-bar {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold-mute);
    border-radius: 8px;
    padding: 3.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.identity-manifesto-bar:hover {
    border-color: var(--border-gold-bright);
}

.manifesto-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-solid);
}

.manifesto-quote-icon {
    font-size: 5rem;
    font-family: serif;
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 2.5rem;
}

.identity-manifesto-bar h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.identity-manifesto-bar p {
    color: var(--text-silver);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.manifesto-divider {
    width: 100%;
    height: 1px;
    background: var(--border-gold-mute);
    margin-bottom: 2rem;
}

.manifesto-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.manifesto-meta:last-child { margin-bottom: 0; }
.meta-label { font-size: 0.72rem; font-weight: 700; color: var(--text-silver); letter-spacing: 0.1em; }
.meta-value { font-size: 0.88rem; font-weight: 600; color: var(--gold-solid); }

/* Core Pillars Section Layout */
.core-pillars {
    position: relative;
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-gold-mute);
    background-color: var(--bg-onyx);
    z-index: 10;
}

.twin-focus-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .twin-focus-layout { grid-template-columns: 1fr; gap: 3rem; }
    .identity-text-block h1 { font-size: 2.6rem; }
}

.focus-description .lead-p {
    font-size: 1.3rem;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
}

.focus-description p {
    color: var(--text-silver);
    font-size: 1.05rem;
}

.focus-list-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-gold-mute);
    padding: 3rem;
    border-radius: 6px;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.bullet-item:last-child { margin-bottom: 0; }

.bullet-icon {
    color: var(--gold-solid);
    font-weight: 700;
    margin-right: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.bullet-item div { color: var(--text-silver); font-size: 0.98rem; }
.bullet-item strong { color: var(--text-pure); }

/* Solutions Layout Matrix */
.services-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-gold-mute);
}

.section-header { margin-bottom: 5rem; }
.section-header-center { text-align: center; margin-bottom: 4rem; }

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--text-silver);
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.services-grid-3d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    perspective: 1200px;
}

.card-3d-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-gold-mute);
    border-radius: 6px;
    padding: 3.5rem 2.5rem;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-content {
    transform: translateZ(0px);
    transition: transform 0.5s ease;
}

.card-3d-wrapper:hover {
    transform: translateY(-8px) rotateX(2deg);
}

.card-3d-wrapper:hover .service-card-3d {
    border-color: var(--border-gold-bright);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.card-3d-wrapper:hover .card-content {
    transform: translateZ(30px);
}

.card-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-solid);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.service-card-3d h3 {
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.icon-frame {
    color: var(--gold-solid);
    width: 38px;
    height: 38px;
    margin-bottom: 1.5rem;
}

.service-card-3d p {
    color: var(--text-silver);
    font-size: 0.95rem;
    text-align: justify;
}

/* Industry Served Section Styling */
.industries-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-gold-mute);
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .services-grid-3d, .industry-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .identity-container { grid-template-columns: 1fr; gap: 3.5rem; }
}

.industry-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-gold-mute);
    padding: 3.5rem;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.industry-card:hover { border-color: var(--gold-solid); }

.ind-icon {
    width: 45px;
    height: 45px;
    color: var(--gold-solid);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--text-silver);
    font-size: 1rem;
    text-align: justify;
}

/* Infinite Marquee Slider Layout */
.testimonials-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-gold-mute);
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.slider-container::before, .slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.slider-container::before { left: 0; background: linear-gradient(90deg, var(--bg-onyx), transparent); }
.slider-container::after { right: 0; background: linear-gradient(-90deg, var(--bg-onyx), transparent); }

.slider-track {
    display: flex;
    width: calc(350px * 8);
    animation: infiniteScroll 35s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.testimonial-slide {
    width: 350px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-gold-mute);
    padding: 2.5rem;
    margin-right: 2rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-slide p {
    color: var(--text-pure);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.client-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gold-solid);
    text-transform: uppercase;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 4)); }
}

/* Presence Footer Columns */
.contact-section { padding: 8rem 0; }

.twin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.info-column p {
    color: var(--text-silver);
    margin-bottom: 2rem;
}

.map-placeholder {
    height: 200px;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    position: relative;
}

.abstract-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold-solid);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-solid);
}

.abstract-dot span {
    position: absolute;
    white-space: nowrap;
    font-size: 0.75rem;
    color: var(--text-silver);
    top: -20px;
    left: -20px;
}

.active-us { top: 35%; left: 20%; }
.active-in { top: 65%; right: 30%; }

.vector-line {
    position: absolute;
    top: 40%;
    left: 22%;
    width: 50%;
    height: 40px;
    border-top: 1px dashed rgba(212,175,55,0.3);
    border-radius: 50% 50% 0 0;
    transform: rotate(14deg);
}

.interactive-engagement-box {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-gold-mute);
    padding: 3rem;
    border-radius: 4px;
}

.interactive-engagement-box h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.interactive-engagement-box p { color: var(--text-silver); margin-bottom: 2rem; font-size: 0.95rem; }

.btn-gold-action {
    display: inline-block;
    background: var(--gold-solid);
    color: var(--bg-onyx);
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}

.btn-gold-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.footer-visual-divider {
    width: 100%;
    max-height: 250px;  /* Limits vertical block footprint */
    overflow: hidden;
    border-top: 1px solid var(--border-gold-mute);
    border-bottom: 1px solid var(--border-gold-mute);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-onyx);
}

.footer-cover-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Crops asset cleanly inside the horizontal bar */
    object-position: center;
}

/* ==========================================
   ORIGINAL FOOTER STYLES REMAIN AT THE END
   ========================================== */
footer { padding: 3rem 0; border-top: 1px solid var(--border-gold-mute); }
.footer-content p { color: var(--text-silver); font-size: 0.85rem; text-align: center; }