/* ==========================================================================
   Precise Prototype Token Maps Configuration
   ========================================================================== */
:root {
    --blue-accent: #0A5CFF;
    --dark-matte-custom: #050505;
    --light-grey-split: #EAEAEA;
    --zinc-grey-border: #D4D4D8;
    --text-muted-slate: #71717A;
    --font-base: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-base);
    background-color: #FFFFFF;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
    overflow-x: hidden; /* Prevent mobile layout horizontal sliding */
}

/* ==========================================================================
   Hard Weights & Typography Optimization
   ========================================================================== */
.fw-400 { font-weight: 400 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

.text-blue-accent { color: var(--blue-accent) !important; }
.text-muted-slate-light { color: #A1A1AA !important; }
.text-zinc-matte { color: #E4E4E7 !important; }

.italic-display { font-family: 'Georgia', serif; font-style: italic; }
.italic-serif { font-family: 'Georgia', serif; font-style: italic; }

.tracking-tight { letter-spacing: -0.04em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.12em !important; }

.fs-7 { font-size: 0.88rem !important; }
.fs-8 { font-size: 0.76rem !important; }
.fs-9 { font-size: 0.65rem !important; }

.py-6 { padding-top: clamp(3.5rem, 7vw, 6.5rem) !important; padding-bottom: clamp(3.5rem, 7vw, 6.5rem) !important; }

.border-light-grey { border-color: var(--light-grey-split) !important; }
.border-secondary-line { border-color: rgba(255, 255, 255, 0.2) !important; }

/* ==========================================================================
   Navbar Setups
   ========================================================================== */
.header-border {
    border-bottom: 1px solid var(--light-grey-split) !important;
}
.navbar-nav .nav-link {
    color: #4B5563;
    font-size: 0.88rem;
    transition: color 0.1s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #000000 !important;
}

/* ==========================================================================
   Buttons & Interaction Actions
   ========================================================================== */
.btn-blue {
    background-color: var(--blue-accent) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--blue-accent) !important;
    border-radius: 4px !important;
    transition: background-color 0.15s ease;
}
.btn-blue:hover {
    background-color: #0046D5 !important;
}

.btn-black {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 4px !important;
    transition: background-color 0.15s ease;
}
.btn-black:hover {
    background-color: #27272A !important;
}

.btn-outline-pill-hero {
    background-color: transparent !important;
    color: #000000 !important;
    border: 1px solid #B4B4B8 !important;
    border-radius: 4px !important;
    transition: border-color 0.15s ease;
}
.btn-outline-pill-hero:hover {
    border-color: #000000 !important;
}

.btn-outline-dark.btn-pill-nav {
    border-radius: 4px !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
}
.btn-outline-dark.btn-pill-nav:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    background-color: transparent !important;
    border-radius: 4px !important;
    transition: all 0.2s ease;
}
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #FFFFFF !important;
}

/* ==========================================================================
   FULL-WIDTH HERO BANNER (NEW)
   ========================================================================== */
.hero-banner-bg {
    /* To use a local image, change the URL below to: url('your-image-name.jpg') */
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop'); 
    background-color: #050505; /* Fallback color */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Dark overlay tint */
    z-index: 0;
}

.hero-banner-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.25;
    max-width: 950px;
    margin: 0 auto;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-banner-subtitle {
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}

.metric-big-title {
    font-size: clamp(1.4rem, 3.2vw, 2.5rem);
    letter-spacing: -0.02em;
}

.metric-row-glass {
    max-width: 800px;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   General Components (Logos, Cards, Sections)
   ========================================================================== */
.brand-logo-strip {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
}
@media (min-width: 576px) {
    .brand-logo-strip { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
    .brand-logo-strip { display: flex !important; }
}
.brand-logo-strip span {
    opacity: 0.35;
}

.section-title {
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    line-height: 1.15;
}

.flat-pixel-card {
    border: 1px solid var(--light-grey-split);
    border-radius: 0px !important;
    transition: border-color 0.15s ease;
}
.flat-pixel-card:hover {
    border-color: #A3A3A3 !important;
}
.arrow-action-link {
    transition: opacity 0.15s ease;
}
.arrow-action-link:hover {
    opacity: 0.8;
}

.square-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 0px;
}
.badge-rpo {
    background-color: #EF4444;
    color: #FFFFFF;
    border-radius: 2px;
}

/* ==========================================================================
   Timelines & Testimonials
   ========================================================================== */
.line-height-1 { line-height: 1 !important; }
@media (max-width: 767.98px) {
    .asymmetric-linear-timeline .row > div { text-align: left !important; }
}

.matte-dark-testimonial {
    border: 1px solid #1F1F23;
    background-color: #121214;
    border-radius: 0px !important;
}
.bg-dark-custom {
    background-color: var(--dark-matte-custom) !important;
}

/* ==========================================================================
   Forms & Alerts
   ========================================================================== */
.flat-grotesque-form .form-control, .flat-grotesque-form .form-select {
    border-radius: 0px !important;
    background-color: #FAFAFA;
    border: 1px solid var(--zinc-grey-border);
    color: #000000;
}
.flat-grotesque-form .form-control:focus, .flat-grotesque-form .form-select:focus {
    background-color: #FFFFFF;
    border-color: #000000;
    box-shadow: none;
}
.footer-pitch-para { max-width: 400px; }

.alert-success-editorial {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    border-radius: 0px;
    padding: 1rem;
}
.alert-danger-editorial {
    background-color: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #991B1B;
    border-radius: 0px;
    padding: 1rem;
}

/* ==========================================================================
   Responsive Overlapped Footer Typography System 
   ========================================================================== */
footer {
    position: relative !important;
    background-color: var(--dark-matte-custom) !important;
    padding-top: clamp(4rem, 8vw, 6rem) !important;
    padding-bottom: 0rem !important; 
    overflow: visible !important; 
    border-top: 1px solid #1F1F23;
}
.footer-links-row-layer {
    position: relative;
    z-index: 5;
}
.footer-brand-heading { max-width: 440px; }
.clean-footer-links li a {
    color: #A1A1AA;
    text-decoration: none;
    transition: color 0.15s ease;
}
.clean-footer-links li a:hover {
    color: #FFFFFF;
}

.giant-footer-branding {
    font-size: clamp(2.8rem, 13.2vw, 11rem); 
    font-weight: 900 !important;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    user-select: none;
    margin-top: clamp(3.5rem, 8vw, 6rem);
    color: #FFFFFF !important; 
    bottom: -1px; 
    z-index: 1;
}
.text-blue-accent-dim {
    color: var(--blue-accent) !important;
}
.footer-fine-print-strip {
    position: relative;
    z-index: 10;
    background-color: #000000;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #141417;
}

/* ==========================================================================
   Mobile Boundary Constraints & Structural Fixes
   ========================================================================== */
@media (max-width: 767.98px) {
    .giant-footer-branding {
        font-size: 50px !important;
        line-height: 0.9 !important;
        bottom: 0px !important; 
        margin-top: 2.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .border-sm-bottom-0 { border-bottom: 0px !important; }
}

*, *::before, *::after {
    max-width: 100% !important;
    word-wrap: break-word !important;
    word-break: break-word !important; 
}

.row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}
.container, .container-fluid {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

.hero-banner-title {
    font-size: 30px;
    margin-top: 100px;
    letter-spacing: 1.5px; /* Adds the extra space between characters */
    line-height: 1.5; /* Gives clean breathing room between the two lines */
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}
/* ==========================================================================
   ANIMATED GIF HERO BANNER (CENTER FIXED)
   ========================================================================== */
/* ==========================================================================
   CINEMATIC PANNING HERO BANNER (CENTER FIXED)
   ========================================================================== */

/* This creates the slow, continuous moving animation */
@keyframes panBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-animated-wrapper {
    /* Reliable high-quality AI/Tech image */
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop'); 
    
    /* Make the image larger than the container so it has room to move */
    background-size: 150% 150%; 
    
    /* Apply the animation: 40 seconds, smooth easing, infinite loop */
    animation: panBackground 40s ease-in-out infinite; 
    
    background-color: #050505;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;       
    justify-content: center;   
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Deep dark overlay for text contrast */
    z-index: 1;
}

.hero-banner-title {
    font-size: 30px;
    letter-spacing: 1.5px; 
    line-height: 1.5; 
    max-width: 950px;
    margin: 0 auto; 
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-banner-subtitle {
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
}

.metric-big-title {
    font-size: clamp(1.4rem, 3.2vw, 2.5rem);
    letter-spacing: -0.02em;
}

.metric-row-glass {
    max-width: 800px;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
/* ==========================================================================
   Fancy Tech Cards (RPO & IT Services)
   ========================================================================== */
.bg-light-custom {
    background-color: #F8F9FA; /* A slightly richer light gray to contrast the white cards */
}

.fancy-tech-card {
    /* Adding a defined, light border and a permanent soft shadow */
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); 
    
    border-top: 3px solid transparent; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fancy-tech-card:hover {
    transform: translateY(-8px);
    /* Shadow becomes deeper and wider on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #D1D5DB;
    border-top: 3px solid var(--blue-accent);
}

/* Internal Tech Grid Background */
.card-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    z-index: 0;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.fancy-tech-card:hover .card-grid-pattern {
    opacity: 1; 
}

/* Subtle glowing orb in the top right */
.card-glow-corner {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(10, 92, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.6s ease;
}

.fancy-tech-card:hover .card-glow-corner {
    transform: scale(1.4); 
}

/* Custom Icon Box - Now using Brand Blue Gradient */
.card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 6px; /* Slightly softer corners for the inner box */
    /* Vibrant blue gradient instead of dark gray */
    background: linear-gradient(135deg, var(--blue-accent) 0%, #0046D5 100%);
    box-shadow: 0 8px 16px rgba(10, 92, 255, 0.25); /* Blue tinted shadow */
    color: #FFFFFF !important; /* Forces icon to be white */
}

/* Animated Arrow Action */
.transition-arrow {
    transition: transform 0.3s ease;
}

.fancy-tech-card:hover .transition-arrow {
    transform: translateX(8px); 
}

.card-action-link {
    transition: color 0.3s ease;
}

.fancy-tech-card:hover .card-action-link {
    color: var(--blue-accent) !important;
}