/* ==========================================================================
   CORE BRAND PALETTE & VARIABLES
   ========================================================================== */
:root {
    --gb-blue-deep: #002D62;      /* Enterprise Deep Blue */
    --gb-blue-electric: #007BFF;  /* Action/Accent Blue */
    --gb-white: #FFFFFF;          /* Pure White Backgrounds */
    --gb-grey-light: #F8F9FA;     /* Soft Section Fills */
    --gb-grey-silver: #E0E0E0;    /* Muted Borders */
    --gb-text-main: #333333;      /* High-Readability Body Text */
    --gb-text-sub: #666666;       /* Subtext / Captions */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--gb-text-main);
    background-color: var(--gb-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section {
    scroll-margin-top: 70px;
}

/* ==========================================================================
   GLOBAL ANIMATION UTILITIES
   ========================================================================== */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-element.view-active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   1. FIXED NAVIGATION HEADER (INVERTED LIGHT BRANDING THEME)
   ========================================================================== */
.gb-header {
    background-color: var(--gb-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid var(--gb-grey-silver);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    height: 70px;
}

.gb-logo-container {
    display: flex;
    align-items: center;
    gap: 0px; /* Smooth spacing between the image logo and "GBaseCorp" text */
    text-decoration: none;
}

.gb-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
}

.gb-logo-symbol {
    font-weight: bold;
    font-size: 24px;
    color: var(--gb-blue-deep);
    border: 2px solid var(--gb-blue-deep);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 10px;
}

.gb-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gb-blue-deep); /* Matches the navigation font color */
    letter-spacing: 0.5px;
    font-family: var(--font-main);
}

.gb-nav ul {
    display: flex;
    gap: 30px;
}

.gb-nav ul li a.nav-link {
    color: var(--gb-blue-deep);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 15px;
}

.gb-nav ul li a.nav-link:hover {
    color: var(--gb-blue-electric);
}

.gb-nav ul li a.nav-link.active {
    color: var(--gb-blue-electric);
    border-bottom: 2px solid var(--gb-blue-electric);
    padding-bottom: 4px;
}

.gb-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gb-header .gb-btn-portal {
    background-color: var(--gb-blue-deep);
    color: var(--gb-white);
    border: 2px solid var(--gb-blue-deep);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb-header .gb-btn-portal:hover {
    background-color: var(--gb-blue-electric);
    border-color: var(--gb-blue-electric);
    box-shadow: 0 4px 12px rgba(0, 162, 255, 0.25);
    transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO SLIDER ARCHITECTURE & NETWORKING MESH GRID
   ========================================================================== */
.gb-hero {
    position: relative;
    background-color: var(--gb-blue-deep);
    overflow: hidden;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gb-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: networkFlow 60s linear infinite;
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
}

@keyframes networkFlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gb-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gb-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 6s ease-out;
    z-index: 1;
}

.gb-hero-slide.active {
    opacity: 0.55; 
    transform: scale(1);
    z-index: 2;
}

.gb-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.75) 0%, rgba(0, 20, 50, 0.6) 100%);
    z-index: 3;
}

.gb-hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 4;
    position: relative;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.gb-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--gb-white);
}

.gb-hero-title span {
    color: var(--gb-grey-silver);
}

.gb-hero-subtitle {
    font-size: 19px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.gb-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gb-hiring-models-text {
    margin: -20px 0 30px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.gb-btn-primary {
    background-color: var(--gb-blue-electric);
    color: var(--gb-white);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gb-btn-primary:hover {
    background-color: #0069D9;
    transform: translateY(-2px);
}

.gb-btn-secondary {
    background-color: transparent;
    color: var(--gb-white);
    padding: 13px 33px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid var(--gb-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb-btn-secondary:hover {
    background-color: var(--gb-white);
    color: var(--gb-blue-deep);
}

/* ==========================================================================
   3. UNIVERSAL CORRESPONDING SUB-PAGES SHEETS ENGINE
   ========================================================================== */

/* Universal Inner Page Header Base Layout */
.inner-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Gradient Overlay Mask Block */
.inner-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.85) 0%, rgba(0, 20, 50, 0.8) 100%);
    z-index: 1;
}

.contact-inner-header .inner-overlay {
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.58) 0%, rgba(0, 20, 50, 0.48) 100%);
}

/* Typography Inside Inner Header */
.inner-header-content {
    position: relative; 
    z-index: 2; 
    text-align: center; 
    color: var(--gb-white);
    padding: 0 20px;
}

.inner-header-content h1 { 
    font-size: 42px; 
    font-weight: 800; 
    margin: 0; 
    letter-spacing: 1px; 
}

.inner-header-content p { 
    font-size: 16px; 
    margin: 10px 0 0 0; 
    color: var(--gb-blue-electric); 
    font-weight: 600; 
    text-transform: uppercase; 
}

/* Universal Page Content Split Layouts (About, Process, and Testimonials Layouts) */
.content-wrap { 
    max-width: 1100px; 
    margin: 80px auto; 
    padding: 0 20px; 
    display: flex; 
    gap: 50px; 
}

.main-text { 
    flex: 1.2; 
    font-size: 16px; 
    line-height: 1.8; 
    color: var(--gb-text-sub); 
}

.main-text h2 { 
    color: var(--gb-blue-deep); 
    font-size: 28px; 
    margin-bottom: 20px; 
}

.side-panel { 
    flex: 0.8; 
    background: var(--gb-grey-light); 
    padding: 40px; 
    border-radius: 8px; 
    border-left: 4px solid var(--gb-blue-electric); 
}

.side-panel h3 { 
    color: var(--gb-blue-deep); 
    margin-top: 0; 
}

/* --- SERVICES CARD GRID SUBPAGE LAYOUT --- */
.services-detail-grid { 
    max-width: 1100px; 
    margin: 80px auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px; 
}

/* --- ABOUT PAGE CAPABILITIES GRID --- */
.about-capabilities-grid {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.about-capability-card {
    background: var(--gb-white);
    border: 1px solid var(--gb-grey-silver);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
}

.about-capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,45,98,0.06);
    border-color: var(--gb-blue-electric);
}

.about-capability-card h3 {
    color: var(--gb-blue-deep);
    font-size: 22px;
    margin-top: 0;
}

.about-capability-card p {
    color: var(--gb-text-sub);
    line-height: 1.7;
    font-size: 15px;
}

.service-detail-card { 
    background: var(--gb-white); 
    border: 1px solid var(--gb-grey-silver); 
    border-radius: 8px; 
    padding: 40px; 
    transition: all 0.3s ease; 
}

.service-detail-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,45,98,0.06); 
    border-color: var(--gb-blue-electric); 
}

.service-detail-card h3 { 
    color: var(--gb-blue-deep); 
    font-size: 22px; 
    margin-top: 0; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.service-detail-card h3 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0, 123, 255, 0.12);
    color: var(--gb-blue-electric);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(0, 123, 255, 0.18);
}

.service-detail-card p { 
    color: var(--gb-text-sub); 
    line-height: 1.7; 
    font-size: 15px; 
}

.bullet-list { 
    margin: 20px 0 0 0; 
    padding-left: 20px; 
    color: var(--gb-text-sub); 
}

.bullet-list li { 
    margin-bottom: 8px; 
    font-size: 14px; 
}

/* --- PARTNERS PAGE ALLIANCE PLATFORM SYSTEM --- */
.partners-wrap { 
    max-width: 1000px; 
    margin: 80px auto; 
    padding: 0 20px; 
    font-size: 16px; 
    color: var(--gb-text-sub); 
    line-height: 1.8; 
}

.alliance-row { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    padding: 40px 0; 
    border-bottom: 1px solid var(--gb-grey-silver); 
}

.alliance-row:last-child { 
    border-bottom: none; 
}

.alliance-img-box { 
    flex: 0.5; 
    background: #f8fafc; 
    padding: 20px; 
    border-radius: 6px; 
    border: 1px solid #e2e8f0; 
    display: flex; 
    justify-content: center; 
}

.alliance-img-box img { 
    max-height: 50px; 
    object-fit: contain; 
}

.alliance-info { 
    flex: 1.5; 
}

.alliance-info h3 { 
    color: var(--gb-blue-deep); 
    margin: 0 0 10px 0; 
    font-size: 20px; 
}

/* --- METRICS SUBPAGE PANELS --- */
.metrics-container { 
    max-width: 1100px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.metrics-grid-view { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    margin-top: 40px; 
}

.metric-block { 
    background: var(--gb-white); 
    border: 1px solid var(--gb-grey-silver); 
    padding: 40px 20px; 
    border-radius: 8px; 
    text-align: center; 
}

.metric-data { 
    font-size: 48px; 
    font-weight: 800; 
    color: var(--gb-blue-deep); 
    margin-bottom: 10px; 
}

.metric-title { 
    font-size: 14px; 
    font-weight: 700; 
    color: var(--gb-blue-electric); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
}

.metric-desc { 
    font-size: 14px; 
    color: var(--gb-text-sub); 
    line-height: 1.6; 
    margin: 0; 
}

/* --- PROCESS SUBPAGE WORKFLOW STEPS --- */
.process-steps-wrap { 
    max-width: 900px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.step-block { 
    display: flex; 
    gap: 30px; 
    margin-bottom: 50px; 
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    padding: 30px; 
    border-radius: 6px; 
}

.step-num { 
    font-size: 36px; 
    font-weight: 800; 
    color: var(--gb-blue-electric); 
    line-height: 1; 
}

.step-info h3 { 
    color: var(--gb-blue-deep); 
    margin: 0 0 10px 0; 
    font-size: 20px; 
}

.step-info p { 
    color: var(--gb-text-sub); 
    line-height: 1.7; 
    margin: 0; 
    font-size: 15px; 
}

/* --- TESTIMONIALS SUBPAGE OUTCOME CARDS --- */
.quotes-container { 
    max-width: 1000px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.quote-card { 
    background: var(--gb-white); 
    border: 1px solid var(--gb-grey-silver); 
    padding: 40px; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    position: relative; 
}

.quote-card::before { 
    content: '"'; 
    position: absolute; 
    top: 15px; 
    left: 20px; 
    font-size: 80px; 
    color: #e2e8f0; 
    font-family: Georgia, serif; 
    line-height: 1; 
}

.quote-body { 
    position: relative; 
    z-index: 2; 
    font-style: italic; 
    font-size: 16px; 
    color: var(--gb-text-sub); 
    line-height: 1.8; 
    margin-bottom: 20px; 
}

.quote-author { 
    font-size: 14px; 
    font-weight: 700; 
    color: var(--gb-blue-deep); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

/* --- BLOG SUBPAGE KNOWLEDGE HUB FEED --- */
.blog-list-wrap { 
    max-width: 1000px; 
    margin: 80px auto; 
    padding: 0 20px; 
}

.blog-row-item { 
    display: flex; 
    gap: 40px; 
    margin-bottom: 60px; 
    padding-bottom: 40px; 
    border-bottom: 1px solid var(--gb-grey-silver); 
}

.blog-row-item:last-child { 
    border-bottom: none; 
}

.blog-meta-panel { 
    flex: 0.4; 
    font-size: 12px; 
    font-weight: 700; 
    color: var(--gb-blue-electric); 
    letter-spacing: 0.5px; 
}

.blog-summary-panel { 
    flex: 1.6; 
}

.blog-summary-panel h2 { 
    color: var(--gb-blue-deep); 
    margin: 0 0 15px 0; 
    font-size: 24px; 
}

.blog-summary-panel p { 
    color: var(--gb-text-sub); 
    font-size: 15px; 
    line-height: 1.7; 
    margin-bottom: 15px; 
}

.blog-row-link { 
    color: var(--gb-blue-deep); 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 14px; 
    text-transform: uppercase; 
}

.blog-row-link:hover { 
    color: var(--gb-blue-electric); 
}

/* ==========================================================================
   4. SOLUTIONS TEMPLATE CARDS (INDEX LANDING MAIN BLOCK)
   ========================================================================== */
.gb-solutions {
    padding: 100px 50px;
    background-color: var(--gb-white);
}

.gb-section-header {
    text-align: center;
    margin-bottom: 10px;
}

#services .gb-section-header {
    margin-bottom: 40px;
}

#services .gb-solution-grid {
    margin-bottom: 35px;
}

#services .gb-solution-card {
    align-items: center;
    text-align: center;
}

#services .gb-solution-card .gb-icon-box {
    margin-left: auto;
    margin-right: auto;
}

#services .gb-solution-card .gb-card-title,
#services .gb-solution-card .gb-card-text {
    width: 100%;
    text-align: center;
}

#services .gb-solution-card .gb-card-title {
    margin-bottom: 6px;
}

#services .gb-solution-card .gb-card-text {
    margin-top: 0;
}

#about .gb-section-header {
    margin-bottom: 25px;
}

.gb-section-tag {
    color: var(--gb-blue-electric);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.gb-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gb-blue-deep);
    margin: 0;
}

.gb-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gb-solution-card {
    background-color: var(--gb-white);
    border: 1px solid var(--gb-grey-silver);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.gb-solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: transparent;
}

.gb-solution-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--gb-blue-electric);
    transition: width 0.4s ease;
}

.gb-solution-card:hover::after {
    width: 100%;
}

.gb-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--gb-grey-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--gb-blue-deep);
    border: 1px solid var(--gb-grey-silver);
    transition: all 0.3s ease;
}

.gb-solution-card:hover .gb-icon-box {
    background-color: var(--gb-blue-deep);
    color: var(--gb-white);
    border-color: var(--gb-blue-deep);
}

.gb-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gb-blue-deep);
    margin: 0 0 15px 0;
}

.gb-card-text {
    font-size: 15px;
    color: var(--gb-text-sub);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.gb-card-link {
    color: var(--gb-blue-electric);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-card-link:hover {
    gap: 12px;
}

/* --- SECTION VIEW MORE INLINE LINK PANEL UTILITIES --- */
.gb-section-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 45px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gb-section-footer-link.light-theme {
    color: var(--gb-blue-deep);
}

.gb-section-footer-link.light-theme:hover {
    color: var(--gb-blue-electric);
}

.gb-section-footer-link.dark-theme {
    color: var(--gb-blue-electric);
}

.gb-section-footer-link.dark-theme:hover {
    color: var(--gb-white);
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.5);
}

.gb-section-footer-link span {
    transition: transform 0.3s ease;
}

.gb-section-footer-link:hover span {
    transform: translateX(6px);
}

/* ==========================================================================
   5. INTERACTIVE HOMEPAGE HOMEPAGE ASSETS & COMPONENT GRIDS
   ========================================================================== */

/* --- INTERACTIVE STATS / COUNTERS PANEL --- */
.gb-stats-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
    max-width: 1100px;
    width: 100%;
}

.gb-stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    min-width: 220px;
    transition: all 0.4s ease;
}

.gb-stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--gb-blue-electric);
    box-shadow: 0 15px 30px rgba(0, 162, 255, 0.2);
}

.gb-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--gb-blue-electric);
    margin-bottom: 5px;
    display: block;
}

.gb-stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* --- ENTERPRISE TABBED COMPONENT SYSTEM --- */
.gb-tab-triggers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gb-tab-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--gb-white);
    padding: 12px 30px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gb-tab-btn.active, .gb-tab-btn:hover {
    background: var(--gb-blue-electric);
    border-color: var(--gb-blue-electric);
    box-shadow: 0 4px 15px rgba(0, 162, 255, 0.4);
}

.gb-tab-content-panel {
    display: none;
}

.gb-tab-content-panel.panel-active {
    display: block;
}

/* --- ANIMATED WORKFLOW TIMELINE GRID --- */
.gb-timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.gb-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.gb-timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.gb-timeline-item::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gb-blue-electric);
    border: 4px solid var(--gb-blue-deep);
    z-index: 2;
    transition: all 0.3s ease;
}

.gb-timeline-item:nth-child(even) {
    left: 50%;
}

.gb-timeline-item:nth-child(even)::after {
    left: -8px;
}

.gb-timeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gb-timeline-card:hover {
    border-color: var(--gb-blue-electric);
    transform: scale(1.02);
}

.gb-timeline-item:hover::after {
    box-shadow: 0 0 12px var(--gb-blue-electric);
    background: var(--gb-white);
}

/* --- DELIVERY PROCESS BG SECTION PANEL --- */
.gb-process-bg {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 90px 20px;
    overflow: hidden;
}

.gb-process-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 20, 50, 0.92) 0%, rgba(0, 45, 98, 0.88) 100%);
    z-index: 1;
}

.gb-process-container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   6. INFINITE LOOP AND MARQUEE SLIDERS
   ========================================================================== */
.gb-partner-ribbon {
    background-color: var(--gb-grey-light);
    padding: 50px 0;
    border-top: 1px solid var(--gb-grey-silver);
    border-bottom: 1px solid var(--gb-grey-silver);
    overflow: hidden;
    position: relative;
}

.gb-ribbon-title {
    text-align: center;
    color: var(--gb-text-sub);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 500;
}

.gb-logo-slider {
    display: flex;
    width: 200%; 
    animation: infiniteScroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.gb-logo-slider:hover {
    animation-play-state: paused;
}

.gb-partner-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.gb-partner-grid .gb-partner-logo {
    width: 100%;
    max-width: 140px;
}

.gb-partner-carousel {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 1200px;
    margin: 25px auto 0;
}

.gb-partner-viewport {
    flex: 1;
    overflow: hidden;
}

.gb-partner-track {
    display: flex;
    gap: 18px;
    transition: transform 0.65s ease;
    will-change: transform;
}

.gb-carousel-control {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--gb-blue-deep);
    border-radius: 50%;
    background: var(--gb-white);
    color: var(--gb-blue-deep);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.gb-carousel-control:hover,
.gb-carousel-control:focus-visible {
    background: var(--gb-blue-deep);
    color: var(--gb-white);
}

.gb-partner-track .gb-partner-logo {
    min-height: 72px;
    flex: 0 0 calc((100% - 36px) / 3);
    width: calc((100% - 36px) / 3);
    padding: 12px 18px;
    box-sizing: border-box;
    border: 1px solid var(--gb-grey-silver);
    background: var(--gb-white);
    object-fit: contain;
}

.gb-tech-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 35px auto 0;
    text-align: left;
}

.gb-tech-category {
    padding: 20px 22px;
    background: var(--gb-white);
    border: 1px solid var(--gb-grey-silver);
    border-radius: 8px;
}

.gb-tech-category h3 {
    margin: 0 0 8px;
    color: var(--gb-blue-deep);
    font-size: 16px;
}

.gb-tech-category p {
    margin: 0;
    color: var(--gb-text-sub);
    font-size: 14px;
    line-height: 1.6;
}

.gb-tech-category p span {
    padding: 0 3px;
    color: var(--gb-blue-electric);
}

.gb-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.gb-footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 0;
}

.gb-footer-link {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    text-decoration: none;
}

.gb-footer-link:hover,
.gb-footer-link:focus-visible {
    color: var(--gb-white);
    text-decoration: underline;
}

.sitemap-page {
    max-width: 1000px;
    min-height: 55vh;
    margin: 110px auto 70px;
    padding: 0 24px;
}

.sitemap-page .gb-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-links a {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--gb-grey-silver);
    border-radius: 8px;
    color: var(--gb-blue-deep);
    background: var(--gb-white);
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sitemap-links a:hover,
.sitemap-links a:focus-visible {
    border-color: var(--gb-blue-electric);
    transform: translateY(-2px);
}

.gb-partner-logo {
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
    max-height: 48px;
    object-fit: contain;
    cursor: pointer;
}

.gb-partner-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dynamic Brand Image Assets Placement System */
.logo-oracle { content: url('https://upload.wikimedia.org/wikipedia/commons/5/50/Oracle_logo.svg'); }
.logo-microsoft { content: url('https://upload.wikimedia.org/wikipedia/commons/9/96/Microsoft_logo_%282012%29.svg'); }
.logo-aws { content: url('https://upload.wikimedia.org/wikipedia/commons/9/93/Amazon_Web_Services_Logo.svg'); }
.logo-mcleod { content: url('https://via.placeholder.com/150x40?text=McLeod+Software'); height: 30px;} 
.logo-ibm { content: url('https://upload.wikimedia.org/wikipedia/commons/5/51/IBM_logo.svg'); }
.logo-autodesk { content: url('https://upload.wikimedia.org/wikipedia/commons/a/ac/Autodesk_logo_2013.svg'); }

/* ==========================================================================
   7. TWO-COLUMN CONTACT LAYOUT ARCHITECTURE
   ========================================================================== */
.gb-contact {
    background-color: var(--gb-white);
    padding: 90px 20px;
    text-align: center;
}

.gb-contact-container {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 20px;
}

.gb-contact-form-wrapper {
    flex: 1.2;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.gb-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.gb-form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gb-blue-deep);
    margin-bottom: 25px;
    margin-top: 0;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: flex-start;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    background: var(--gb-white) !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    color: var(--gb-blue-deep) !important;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gb-blue-electric) !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.15);
}

.gb-form-status {
    margin: 18px 0 0;
    color: #b42318;
    font-weight: 600;
}

.gb-thank-you-dialog {
    width: min(440px, calc(100% - 40px));
    padding: 0;
    border: 0;
    border-radius: 12px;
    color: var(--gb-text-main);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.gb-thank-you-dialog::backdrop {
    background: rgba(0, 22, 48, 0.65);
}

.gb-thank-you-content {
    padding: 36px;
    text-align: center;
}

.gb-thank-you-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f7ef;
    color: #16834a;
    font-size: 28px;
    font-weight: 700;
}

.gb-thank-you-content h2 {
    margin: 18px 0 10px;
    color: var(--gb-blue-deep);
}

.gb-thank-you-content p {
    margin: 0 0 24px;
    line-height: 1.6;
}

.gb-contact-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
    box-sizing: border-box;
    padding-top: 10px;
    text-align: left;
}

.gb-office-card {
    border-bottom: 1px solid var(--gb-grey-silver);
    padding-bottom: 35px;
}

.gb-office-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.gb-office-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--gb-blue-electric);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.gb-office-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gb-blue-deep);
    margin: 0 0 10px 0;
}

.gb-office-text {
    font-size: 15px;
    color: var(--gb-text-sub);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   8. RESPONSIVE ARCHITECTURE INTERACTION & MEDIA BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .gb-solution-grid { grid-template-columns: repeat(2, 1fr); }
    .gb-partner-grid { grid-template-columns: repeat(3, 1fr); }
    .gb-partner-track .gb-partner-logo { flex-basis: calc((100% - 36px) / 3); }
    .gb-tech-categories { grid-template-columns: 1fr; max-width: 600px; }
    .gb-hero-title { font-size: 42px; }
    .content-wrap {
        flex-direction: column;
        gap: 30px;
        margin: 40px auto;
    }
    .inner-header {
        height: 220px;
    }
    .inner-header-content h1 {
        font-size: 32px;
    }
    .services-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
        margin: 40px auto;
    }
    .about-capabilities-grid {
        gap: 25px;
        margin: 40px auto;
    }
    .metrics-grid-view {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .alliance-row, .step-block, .blog-row-item {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .alliance-img-box {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .gb-header { padding: 15px 20px; }
    .gb-solution-grid { grid-template-columns: 1fr; }
    .services-detail-grid { grid-template-columns: 1fr; }
    .sitemap-links { grid-template-columns: 1fr; }
    .sitemap-page { margin-top: 90px; }
    .gb-footer-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .gb-footer-links { justify-content: center; }
    .about-capabilities-grid { grid-template-columns: 1fr; }
    .gb-partner-grid { grid-template-columns: repeat(2, 1fr); }
    .gb-partner-track .gb-partner-logo {
        flex-basis: 100%;
        width: 100%;
    }
    .gb-hero-title { font-size: 32px; }
    .gb-timeline::before { left: 30px; }
    .gb-timeline-item { width: 100%; left: 0 !important; padding-left: 60px; padding-right: 20px; }
    .gb-timeline-item::after { left: 22px !important; }
    .gb-stats-container { flex-direction: column; align-items: center; }
    .gb-stat-card { width: 80%; }
    .gb-tab-triggers { flex-direction: column; width: 100%; padding: 0 20px; box-sizing: border-box; }
    .gb-contact-container { flex-direction: column; gap: 40px; }
    .gb-contact-form-wrapper, .gb-contact-info-wrapper { width: 100%; flex: none; }
    
    /* --- SYSTEM MOBILE NAVIGATION SLIDEOUT BLOCK DRAWER --- */
    .gb-nav {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background-color: var(--gb-white) !important;
        transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
        z-index: 999 !important;
        display: block !important;
    }

    .gb-nav.mobile-open {
        left: 0 !important;
    }

    .gb-nav ul {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 40px 0 !important;
        margin: 0 !important;
        gap: 25px !important;
        align-items: center !important;
        width: 100% !important;
        list-style: none !important;
    }

    .gb-nav ul li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .gb-nav ul li a.nav-link {
        display: inline-block !important;
        font-size: 20px !important;
        padding: 10px 0 !important;
        width: 100% !important;
        color: var(--gb-blue-deep) !important;
    }

    .gb-nav ul li a.nav-link.active {
        color: var(--gb-blue-electric) !important;
        border-bottom: none !important;
        font-weight: 800 !important;
    }

    .gb-header > .gb-header-actions {
        display: none !important; 
    }

    /* --- ACCESSIBLE MOBILE HAMBURGER TOGGLE CROSS ANIMATION --- */
    .gb-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        width: 26px !important;
        height: 19px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 1001 !important;
        padding: 0 !important;
    }

    .gb-mobile-toggle span {
        width: 100% !important;
        height: 3px !important;
        background-color: var(--gb-blue-deep) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease-in-out !important;
    }

    .gb-mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }
    .gb-mobile-toggle.is-active span:nth-child(2) {
        opacity: 0 !important;
    }
    .gb-mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }
}

.gb-mobile-toggle {
    display: none;
}