/* RESET */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0b0f14;
    color: #e5e7eb;
    line-height: 1.6;
}

/* HERO */
.hero-section {
    background: radial-gradient(
        80% 60% at 10% 10%,
        #1b2a41 0%,
        #0b0f14 70%
    );
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    color: #cbd5e1;
}

.hero-actions .btn {
    border-radius: 8px;
    padding: 12px 22px;
}

.hero-badges span {
    display: inline-block;
    margin-right: 20px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* SECTIONS */
.section-dark {
    padding: 100px 0;
    background-color: #0b0f14;
}

.section-light {
    padding: 80px 0;
    background-color: #0f172a;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
}

.section-title.dark {
    color: #e5e7eb;
}

.section-subtitle {
    max-width: 600px;
    margin: 15px auto 0;
    color: #9ca3af;
}

/* SERVICE CARDS */
.service-card {
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.02)
    );
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59,130,246,0.6);
}

.service-card h4 {
    margin-bottom: 15px;
}

/* NAVBAR FIX */
.navbar {
    background-color: rgba(11, 15, 20, 0.9) !important;
    backdrop-filter: blur(10px);
}
/* HERO */
.hero-section {
    background: radial-gradient(circle at top left, #0b1d33, #05080f 60%);
    color: #ffffff;
    padding: 120px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 650px;
}

.hero-tags span {
    display: inline-block;
    margin-right: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* SECTIONS */
.section-dark {
    background: #05080f;
    color: #ffffff;
    padding: 100px 0;
}

.section-gradient {
    background: linear-gradient(180deg, #05080f, #0b1220);
    color: #ffffff;
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
}

.section-subtitle {
    color: #94a3b8;
    max-width: 700px;
    margin: auto;
}

/* CARDS */
.service-card {
    background: #0b1220;
    padding: 35px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background: #111827;
}

.service-card h4 {
    margin-bottom: 15px;
}

/* INDUSTRY */
.industry-item {
    padding: 20px;
    font-size: 1.1rem;
    color: #cbd5e1;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #05080f, #0b1220);
    padding: 60px 0 20px;
}

.footer h5 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}
/* ===== FOOTER ===== */
/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 40px;
    padding-top: 15px;
    font-size: 0.85rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== NAVBAR ===== */
.cyn-navbar {
    background: linear-gradient(
        180deg,
        rgba(11, 15, 20, 0.95),
        rgba(11, 15, 20, 0.85)
    );
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.cyn-navbar .navbar-brand {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.6px;
}

.cyn-navbar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 6px;
    position: relative;
}

.cyn-navbar .nav-link:hover,
.cyn-navbar .nav-link.active {
    color: #ffffff;
}

.cyn-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
}

/* CTA Button */
.cyn-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
}

.cyn-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
/* ===== NAVBAR ===== */


/* Subtle background grid */
.bg-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Glow accent */
.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
    top: -200px;
    left: -150px;
    filter: blur(80px);
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 70% 40%, rgba(59,130,246,0.12), transparent 60%),
        radial-gradient(400px 200px at 90% 10%, rgba(99,102,241,0.08), transparent 60%);
    pointer-events: none;
}
.section-dark .row div {
    color: #94a3b8;
    font-size: 0.95rem;
}
/* ===========================
   CONTRAST & READABILITY FIX
   =========================== */

/* Force readable text on dark backgrounds */
.section-dark,
.section-gradient,
.hero-section,
.footer {
    color: #e5e7eb; /* light gray */
}

/* Headings – strong contrast */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-gradient h1,
.section-gradient h2,
.section-gradient h3,
.section-gradient h4,
.footer h5 {
    color: #ffffff;
}

/* Paragraphs & small text */
.section-dark p,
.section-gradient p,
.footer p {
    color: #cbd5e1;
}

/* Process steps: Assess / Test / Report / Fix */
.process-step h4 {
    color: #ffffff;
    font-weight: 600;
}

.process-step p {
    color: #94a3b8;
}

/* Footer links */
.footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

/* Bullet points in footer */
.footer ul li {
    color: #cbd5e1;
}

/* Fix low contrast lists */
ul li {
    color: #cbd5e1;
}
.section-gradient {
    background: radial-gradient(
        1200px 600px at 10% 10%,
        #0f1b2d,
        #05080f 70%
    );
}
/* ===== PROCESS / FEATURE TEXT FIX ===== */
.process-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
}

/* Headings inside dark sections */
.section-dark h5,
.section-gradient h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}
.navbar-brand small {
    opacity: 0.7;
}

.cyn-navbar .nav-link {
    font-weight: 500;
}

.cyn-navbar .nav-link.active {
    font-weight: 600;
}
/* Navbar active underline stronger */
.cyn-navbar .nav-link.active::after {
    height: 2.5px;
    opacity: 1;
}

/* Brand subtitle visibility */
.navbar-brand small {
    opacity: 0.85;
}

/* Hero spacing with fixed navbar */
.hero-section {
    padding-top: 160px;
}
/* ===== LOGO ===== */
.cyn-logo {
    height: 45px;          /* ideal for navbar */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .cyn-logo {
        height: 30px;
    }
}


/* ===== FIX SERVICES DROPDOWN HOVER ISSUE ===== */

/* Keep Services link text visible at all times */
.navbar .nav-link {
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Prevent blue background on hover/focus for dropdown toggle */
.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle.show {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Ensure dropdown menu floats cleanly */
.dropdown-menu {
    margin-top: 12px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Dropdown item hover (clean & readable) */
.dropdown-menu .dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #000;
}


.principle-panel {
    background: radial-gradient(
        circle at top,
        rgba(88, 166, 255, 0.12),
        rgba(0, 0, 0, 0.3)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    color: #c9d1d9;
}

.principle-panel h4 {
    color: #ffffff;
    font-weight: 600;
}


/* ===== HERO – RISK CLARITY ===== */

.hero-risk {
    padding: 120px 0;
    background:
        radial-gradient(circle at top left, rgba(88,166,255,0.12), transparent 40%),
        linear-gradient(180deg, #06090f, #0b1320);
}

.hero-title-soft {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.15;
}

/* Risk Model */

.risk-model {
    max-width: 420px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.risk-step {
    padding: 20px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.risk-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #58a6ff;
}

.risk-desc {
    display: block;
    font-size: 14px;
    color: #b8c0cc;
    margin-top: 4px;
}

.risk-line {
    height: 20px;
    width: 1px;
    background: rgba(88,166,255,0.4);
    margin-left: 28px;
}

/* ===== WHAT WE DO – CAPABILITY MATRIX ===== */

.capability-block {
    height: 100%;
    padding: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-title {
    font-size: 20px;
    font-weight: 600;
    color: #58a6ff;
    margin-bottom: 10px;
}

.capability-desc {
    font-size: 15px;
    color: #b8c0cc;
    line-height: 1.6;
}

.capability-list {
    margin-top: 18px;
    padding-left: 0;
    list-style: none;
}

.capability-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #e5e7eb;
}

.capability-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #58a6ff;
}
/* ===== WHO WE ARE – IDENTITY PANEL ===== */

.identity-panel {
    height: 100%;
    padding: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(88, 166, 255, 0.6);
}


/* ===== OUR APPROACH ===== */

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-step {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-index {
    font-size: 13px;
    font-weight: 600;
    color: #58a6ff;
    min-width: 32px;
}

.step-text {
    font-size: 15px;
    color: #e5e7eb;
}
/* ===== WHY CYNOTIX ===== */

.why-card {
    height: 100%;
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.why-card h5 {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14.5px;
    color: #b8c0cc;
    line-height: 1.6;
}
/* ===== ENGINEERING HERO IMPROVEMENT ===== */

.hero-engineering {
    background:
        radial-gradient(circle at top right, rgba(88,166,255,0.12), transparent 45%),
        linear-gradient(180deg, #06090f, #0b1320);
}

/* Eyebrow text */
.hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #58a6ff;
}

/* Engineering Signal */

.engineering-signal {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 24px;
    border-left: 2px solid rgba(88,166,255,0.4);
}

.signal-item {
    display: flex;
    flex-direction: column;
}

.signal-label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.signal-desc {
    font-size: 14px;
    color: #b8c0cc;
}
.identity-panel {
    height: 100%;
    padding: 32px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(88, 166, 255, 0.6);
}

.hero-lottie-wrapper {
    position: relative;
}

.hero-lottie-wrapper::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(
        circle,
        rgba(80,140,255,0.15),
        transparent 70%
    );
    z-index: 0;
}

.hero-lottie-wrapper lottie-player {
    position: relative;
    z-index: 1;
}

