/* =========================
   ROOT VARIABLES
========================= */
:root {
    --navy: #0B2A4A;
    --orange: #F59E0B;
    --text-dark: #1F2937;
    --text-muted: #4B5563;
    --border-light: #E5E7EB;
    --bg-soft: #F8FAFC;
}

/* =========================
   BASE
========================= */

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    margin: 0;
    color: var(--text-dark);
    background: #ffffff; /* IMPORTANT */
}

/* layout: make footer stick to bottom on short pages */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }


/* CTA Button */
.btn-orange {
    background: var(--orange);
    color: var(--navy);
    font-weight: 600;
    border: none;
}

    .btn-orange:hover {
        background: #d97706;
    }

/* =========================
   MEGA MENU
========================= */
.dropdown-mega .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 30px 0;
    border: none;
    border-radius: 0;
}

.mega-menu {
    background: #ffffff;
}

.mega-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0f2a44;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaecef;
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 14.5px;
    font-weight: 500;
    color: #2a2a2a;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .mega-link:hover {
        background: #f5f7fa;
        color: #ff7a00;
        padding-left: 16px;
    }

/* Desktop hover support */
@media (min-width: 992px) {
    .dropdown-mega:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* =========================
   MEGA MENU ICONS (SVG)
========================= */
.mega-icon svg {
    width: 16px;
    height: 16px;
    stroke: #666;
    stroke-width: 1.8;
}

.mega-link:hover .mega-icon svg {
    stroke: #ff7a00;
}

/* =========================
   FEATURED PANEL (MEGA MENU)
========================= */
.mega-featured {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    border: 1px solid #eef1f5;
    border-radius: 10px;
    padding: 22px;
}

.badge-featured {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ff7a00;
    margin-bottom: 8px;
}

.mega-featured h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f2a44;
}

.mega-featured p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

.mega-featured ul {
    padding-left: 18px;
    font-size: 14px;
    margin-bottom: 14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}
/* =========================
   NAVBAR (FINAL)
========================= */
.navbar {
    height: 90px;
    background: rgba(11, 42, 74, 0.88);
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, box-shadow 0.25s ease;
    z-index: 1050;
}

    .navbar.scrolled {
        background: rgba(11, 42, 74, 0.96);
        box-shadow: 0 6px 22px rgba(0,0,0,0.18);
    }

    .navbar .nav-link {
        color: rgba(255,255,255,0.88);
        font-weight: 500;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: #ffffff;
        }

/* Navbar spacer = real layout space */
.nav-spacer {
    height: 90px;
}

/* =========================
   HERO (FINAL)
========================= */
.hero {
    min-height: calc(100vh - 90px);
    padding: 80px 0;
    display: flex;
    align-items: center;
    background: linear-gradient( rgba(9, 30, 52, 0.92), rgba(11, 42, 74, 0.85) ), url("images/home-hero-industry.jpg") center/cover no-repeat;
    color: #ffffff;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .hero p {
        font-size: 1.15rem;
        color: #E5E7EB;
    }

/* =========================
   SECTIONS (FINAL)
========================= */
section:not(.hero) {
    padding: 56px 0;
    background: #ffffff;
}

.bg-soft {
    background: #F8FAFC;
}

/* =========================
   PRODUCTS – ENSURE VISIBILITY
========================= */
.product-panel {
    background: #ffffff;
    position: relative;
    z-index: 1;
}
/* =========================
   PRODUCT CARDS – FINAL STYLE
========================= */

.product-panel {
    background: #ffffff;
    border: 1px solid #E5E7EB; /* restore visible border */
    border-radius: 16px;
    padding: 28px 30px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    /* Flagship accent */
    .product-panel.flagship {
        border-left: 4px solid var(--navy);
    }

    /* Hover effect */
    .product-panel:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.10);
        border-color: #CBD5E1;
    }
/* =========================
   FOOTER
========================= */

footer {
    background: #1f2428;
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Footer main content */
.footer-main {
    padding: 60px 0 30px;
}

/* Footer titles */
.footer-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

/* Footer links */
footer a {
    display: block;
    font-size: 14px;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 6px;
}

    footer a:hover {
        color: #ff7a00;
    }

/* =========================
   FOOTER BOTTOM BAR
========================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* text left, icons right */
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: #94a3b8;
}

/* =========================
   SOCIAL ICONS
========================= */

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cbd5e1;
        font-size: 14px;
        transition: all 0.25s ease;
    }

        .footer-social a:hover {
            background: #f59e0b;
            color: #0b2a4a;
            transform: translateY(-2px);
        }

/* =========================
   MOBILE STACK
========================= */

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* =========================
   HOME – CASE STUDIES TEASER
========================= */

.home-case-studies {
    padding: 80px 0;
}

.home-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card */
.home-case-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .home-case-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    }

    /* Image */
    .home-case-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

/* Content */
.home-case-content {
    padding: 22px 24px;
}

    .home-case-content h3 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .home-case-content p {
        font-size: 14px;
        color: #475569;
        margin-bottom: 14px;
    }

/* Tag */
.case-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #0b2a4a;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* Read more */
.read-more {
    font-size: 14px;
    font-weight: 600;
    color: #ff7a00;
    text-decoration: none;
}

    .read-more:hover {
        text-decoration: underline;
    }
/* =========================
   CASE STUDY PAGES
========================= */

.case-study-page {
    background: #ffffff;
}

/* HERO */
.case-hero {
    background: linear-gradient( rgba(9,30,52,0.92), rgba(11,42,74,0.85) );
    color: #ffffff;
    padding: 100px 0 70px;
}

.case-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-hero h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 14px;
}

.case-summary {
    max-width: 760px;
    font-size: 17px;
    color: #e5e7eb;
}

/* CONTENT */
.case-content {
    padding: 70px 15px;
    max-width: 900px;
}

.case-image {
    width: 100%;
    border-radius: 16px;
    margin: 30px 0 40px;
}

.case-content h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.case-content p,
.case-content li {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

.case-content ul {
    padding-left: 20px;
}

/* CTA */
.case-cta {
    margin-top: 60px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
}

    .case-cta h3 {
        margin-bottom: 16px;
    }
    /* =========================
   CASE STUDY LIST – IMAGE FIX
========================= */

/* Reduce card image height */
.case-card img {
    height: 120px;          /* was too tall */
    object-fit: cover;
}

/* Make cards feel tighter */
.case-card-body {
    padding: 16px 18px 18px;
}

/* Slightly smaller titles */
.case-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 6px 0 8px;
}

/* Better paragraph balance */
.case-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* Optional: softer border */
.case-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

/* Reduce grid gap slightly */
.case-study-grid {
    gap: 24px;
}

