/* ==========================================
   Ironclad Tech - Signal & Gold
   Deep navy base, signature gold accent,
   flat/technical treatment with motion
   ========================================== */

:root{
    --graphite-950:#081B3A;
    --graphite-900:#0F2A5C;
    --graphite-800:#123B7A;
    --graphite-700:#1E4A8C;
    --steel-300:#A9BEDD;
    --steel-100:#EAF0FB;
    --signal:#D4AF37;
    --signal-light:#F4D35E;
    --signal-dark:#B8860B;
    --grid-line: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 40px),
                 repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 1px, transparent 1px, transparent 40px);
}

/* ---- Type: Space Grotesk for display, Inter for body ---- */
h1, h2, h3, h4, h5, h6,
.navbar-brand, .logo-blue, .logo-gold, .footer-brand-mark,
.section-title, .hero-badge, .eyebrow, .stat-card h2, .process-circle, .process-number{
    font-family: 'Space Grotesk', 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}
body, p, a, li, .btn, input, textarea, select{
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* ---- Signal accent text (animated gold shimmer on key accents) ---- */
.gold-text, .logo-gold{
    background-image: linear-gradient(100deg, var(--signal-dark) 0%, var(--signal) 25%, var(--signal-light) 50%, var(--signal) 75%, var(--signal-dark) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--signal);
    animation: goldShimmer 5s ease-in-out infinite;
}
@keyframes goldShimmer{
    0%{ background-position: 0% 50%; }
    50%{ background-position: 100% 50%; }
    100%{ background-position: 0% 50%; }
}

/* ---- Tabular / monospace stat readouts ---- */
.stat-card h2, .stats-section .counter, .hero-stats h3{
    font-variant-numeric: tabular-nums;
    color: var(--signal);
}

/* ---- Flat signal buttons with a gold shine sweep on hover ---- */
.btn-warning{
    background: var(--signal) !important;
    border: none !important;
    color: var(--graphite-950) !important;
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 0 0 rgba(212,175,55,0);
}
.btn-warning::after{
    content:"";
    position:absolute;
    top:0; left:-60%;
    width:35%; height:100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-warning:hover::after{ left: 130%; }
.btn-warning:hover{
    background: var(--signal-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(212,175,55,.32);
    color: var(--graphite-950) !important;
}
.btn-outline-light{
    border: 1.5px solid rgba(255,255,255,.28) !important;
    color: #fff !important;
    background: transparent !important;
    border-radius: 8px;
}
.btn-outline-light:hover{
    border-color: var(--signal) !important;
    color: var(--signal) !important;
    background: rgba(212,175,55,.06) !important;
}
.btn-outline-primary{
    border-radius: 8px;
}

/* ---- Dark technical sections: graphite + grid texture ---- */
.hero-section, .hero, .detail-hero, .why-us, .cta-section, .about-cta{
    position: relative;
    background: var(--graphite-950);
    overflow: hidden;
    color: #fff;
}
.hero-section{
    background:
        linear-gradient(rgba(8,27,58,.80), rgba(8,27,58,.75)),
        url("../images/hero/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-section::before, .hero::before, .detail-hero::before,
.why-us::before, .cta-section::before, .about-cta::before{
    content:"";
    position:absolute; inset:0;
    background: var(--grid-line);
    pointer-events:none;
}
.hero-section::after, .hero::after, .detail-hero::after,
.why-us::after, .cta-section::after, .about-cta::after{
    content:"";
    position:absolute;
    width: 46%; height: 120%;
    top: -10%; right: -10%;
    background: radial-gradient(circle, rgba(212,175,55,.10) 0%, transparent 70%);
    pointer-events:none;
}
.hero-section .container, .hero .container, .detail-hero .container,
.why-us .container, .cta-section .container, .about-cta .container{
    position: relative;
    z-index: 2;
}
.why-us{ padding: 80px 0; }
.why-us .section-title, .why-us .section-subtitle{ color:#fff; }
.why-us .feature-item h5{ color:#fff; }
.why-us .feature-item p{ color: rgba(255,255,255,.62); }
.why-us .feature-item i{ color: var(--signal); }

/* ---- Status badge (live-ops motif; ties to 24/7 monitoring) ---- */
.status-badge{
    display:inline-flex;
    align-items:center;
    gap:9px;
    background: rgba(212,175,55,.08);
    border: 1px solid rgba(212,175,55,.35);
    color: var(--signal-light);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.status-badge .dot{
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0 rgba(212,175,55,.6);
    animation: pulseDot 2s infinite;
}
@keyframes pulseDot{
    0%{ box-shadow: 0 0 0 0 rgba(212,175,55,.55); }
    70%{ box-shadow: 0 0 0 8px rgba(212,175,55,0); }
    100%{ box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}
.hero-badge, .eyebrow{
    display: inline-flex;
    align-items:center;
    gap:9px;
    background: rgba(212,175,55,.08) !important;
    border: 1px solid rgba(212,175,55,.35) !important;
    color: var(--signal-light) !important;
}
.hero-badge::before, .eyebrow::before{
    content:"";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--signal);
    box-shadow: 0 0 0 0 rgba(212,175,55,.6);
    animation: pulseDot 2s infinite;
}

/* ---- Flat thin-border cards (no heavy gradients/foil) ---- */
.service-card, .trust-card, .benefit-card, .value-card, .partner-card,
.service-detail-card, .industry-card, .testimonial-card, .job-card, .contact-info-card{
    position: relative;
    border: 1px solid #E7E9ED !important;
    box-shadow: none !important;
    border-top: none !important;
}
.service-card::before, .trust-card::before, .benefit-card::before, .value-card::before,
.partner-card::before, .service-detail-card::before, .industry-card::before{
    content:"";
    position:absolute; top:0; left:0; right:0; height:3px;
    background: var(--signal);
    border-radius: var(--radius) var(--radius) 0 0;
    opacity:0; transition: opacity .2s ease;
}
.service-card:hover, .trust-card:hover, .benefit-card:hover, .value-card:hover,
.partner-card:hover, .service-detail-card:hover, .industry-card:hover{
    border-color: var(--signal) !important;
    transform: translateY(-4px);
}
.service-card:hover::before, .trust-card:hover::before, .benefit-card:hover::before,
.value-card:hover::before, .partner-card:hover::before, .service-detail-card:hover::before,
.industry-card:hover::before{ opacity:1; }

.service-icon, .trust-icon, .value-card i, .partner-card i, .service-detail-card i,
.industry-card i, .benefit-card i{ color: var(--signal) !important; }

/* ---- Nav link underline sweep ---- */
.nav-link{
    position: relative;
}
.nav-link::after{
    content:"";
    position:absolute;
    left:50%; bottom:2px;
    width:0; height:2px;
    background: var(--signal);
    transition: width .25s ease, left .25s ease;
}
.nav-link:hover::after, .nav-link.active::after{
    width: 70%; left: 15%;
}

/* ---- Icon micro-interaction on card hover ---- */
.service-card i, .trust-card i, .value-card i, .partner-card i,
.service-detail-card i, .industry-card i, .benefit-card i{
    transition: transform .3s ease;
    display: inline-block;
}
.service-card:hover i, .trust-card:hover i, .value-card:hover i,
.partner-card:hover i, .service-detail-card:hover i, .industry-card:hover i,
.benefit-card:hover i{
    transform: translateY(-4px) scale(1.08);
}

/* ---- Section title: flat signal underline, no gradient shimmer ---- */
.section-title{ position: relative; padding-bottom: 20px; }
.section-title::after{
    content:"";
    position:absolute;
    left:50%; bottom:0;
    transform: translateX(-50%);
    width: 46px; height: 3px;
    border-radius: 2px;
    background: var(--signal);
}
.section-title.text-start::after,
.text-start .section-title::after{ left:0; transform:none; }

/* ================= FOOTER: graphite, flat, technical ================= */
.footer{
    position: relative;
    background: var(--graphite-950);
    color: rgba(255,255,255,.72);
    padding: 0;
    overflow: hidden;
}
.footer::before{
    content:"";
    position:absolute; inset:0;
    background: var(--grid-line);
    pointer-events:none;
}
.footer-top-line{
    height: 2px;
    width: 100%;
    background: var(--signal);
}
.footer-cta{
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--graphite-700);
}
.footer-cta .container{
    padding: 46px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.footer-cta h3{ color:#fff; font-weight:700; margin:0; font-size: 1.5rem; }
.footer-cta p{ color: var(--steel-300); margin: 4px 0 0; }
.footer-main{ position: relative; z-index: 2; padding: 60px 0 30px; }
.footer-brand-mark{ font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; text-align: left; }
.footer-brand-mark .logo-blue{ color:#fff; }
.footer .footer-tagline{ color: var(--steel-300); max-width: 280px; margin-bottom: 20px; text-align: left; }
.footer .social-row{ justify-content: flex-start; }
.footer h5{
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer h5::after{
    content:"";
    position:absolute; left:0; bottom:0;
    width: 28px; height: 2px;
    background: var(--signal);
}
.footer ul{ list-style:none; padding:0; margin:0; }
.footer li{ margin-bottom: 11px; }
.footer a{
    color: var(--steel-300);
    text-decoration:none;
    transition: color .2s ease, padding-left .2s ease;
}
.footer a:hover{ color: var(--signal); padding-left: 3px; }
.footer .footer-contact-item{
    display:flex; gap:10px; align-items:flex-start;
    margin-bottom: 14px; color: var(--steel-300);
}
.footer .footer-contact-item i{ color: var(--signal); margin-top: 3px; width: 16px; flex-shrink:0; }
.footer .footer-contact-item span,
.footer .footer-contact-item a{ min-width:0; overflow-wrap:break-word; }
.footer .social-row{ display:flex; gap:10px; margin-top: 18px; }
.footer .social-row a{
    width: 36px; height: 36px;
    border-radius: 6px;
    border: 1px solid var(--graphite-700);
    display:flex; align-items:center; justify-content:center;
    color: var(--steel-300);
    background: var(--graphite-900);
    transition: var(--transition);
}
.footer .social-row a:hover{
    background: var(--signal);
    border-color: var(--signal);
    color: var(--graphite-950);
    transform: translateY(-2px);
    padding-left: 0;
}
.footer-bottom{
    position: relative; z-index: 2;
    border-top: 1px solid var(--graphite-700);
    padding: 20px 0;
    font-size: 14px;
}
.footer-bottom .container{
    display:flex; flex-wrap:wrap; gap:12px;
    justify-content: space-between; align-items:center;
}
.footer-bottom a{ color: var(--steel-300); }
.footer-bottom a:hover{ color: var(--signal); }
.footer-legal-links a{ margin-left: 18px; }
.footer-legal-links a:first-child{ margin-left: 0; }

/* ---- Back to top: flat square-ish signal button ---- */
.back-to-top{
    position: fixed;
    right: 22px; bottom: 22px;
    width: 44px; height: 44px;
    border-radius: 8px;
    background: var(--signal);
    color: var(--graphite-950);
    display: flex; align-items:center; justify-content:center;
    box-shadow: 0 8px 20px rgba(212,175,55,.3);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
    z-index: 999;
    border: none;
    cursor: pointer;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--signal-light); }

@media (max-width: 767.98px){
    .footer-cta .container{ flex-direction: column; text-align: center; }
    .footer-bottom .container{ flex-direction: column; text-align: center; }
    .footer-legal-links a{ margin: 0 8px; }
}

@media (prefers-reduced-motion: reduce){
    .status-badge .dot, .hero-badge::before, .eyebrow::before{ animation: none; }
}
