/* =========================================
   HOME PAGE
   ========================================= */
.hero {
    position: relative;
    min-height: 650px;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 0;
    background: var(--brand-navy-dark);
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(20, 29, 71, .92) 0%, rgba(36, 57, 122, .78) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid rgba(124, 196, 238, .4);
    background: rgba(10, 120, 184, .22);
    color: #bfe3f7;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero h1 .hl { color: #7cc4ee; }
.hero p { font-size: 1.2rem; color: #cbd5e1; line-height: 1.7; max-width: 680px; margin: 0 auto 36px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 32px; font-size: 1rem; gap: 8px; }
.hero-actions .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn .icon { font-size: 16px; }

/* Stats */
.stats { background: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--brand-navy); letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; margin-top: 6px; }

/* Section header helper */
.home-section { padding: 100px 0; background: var(--bg-white); }
.home-section.alt { background: var(--bg-light); border-top: 1px solid var(--border-color); }

/* Wider centered headers on home */
.home-section .section-header-centered { max-width: 780px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bento-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    transition: var(--transition-smooth);
}
.bento-card:hover { border-color: var(--brand-primary); background: #fff; box-shadow: 0 16px 32px -12px rgba(15,23,42,.14); }
.bento-card:hover .icon-box { background: var(--brand-primary); color: #fff; }
.bento-card .icon-box { margin-bottom: 20px; }
.bento-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.bento-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }
.bento-link { font-weight: 600; font-size: 0.92rem; color: var(--brand-primary); display: inline-flex; align-items: center; gap: 4px; }
.bento-link .icon { font-size: 16px; }
.bento-wide { grid-column: span 2; }
.bento-feature { border: none; color: #fff; position: relative; overflow: hidden; padding: 40px; }
.bento-feature:hover { background: initial; }
.bento-feature.navy { background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy)); }
.bento-feature.blue { background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary)); }
.bento-feature.navy:hover { background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy)); }
.bento-feature.blue:hover { background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary)); }
.bento-feature .icon-box { background: #fff; color: var(--brand-primary); width: 60px; height: 60px; font-size: 30px; }
.bento-feature:hover .icon-box { background: #fff; color: var(--brand-primary); }
.bento-feature h3 { font-size: 1.7rem; color: #fff; font-weight: 800; letter-spacing: -0.01em; }
.bento-feature p { color: #d7e4f3; font-size: 1rem; max-width: 460px; }
.bento-feature .bento-link { color: #fff; }
.bento-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bento-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bento-chips span { font-size: 0.78rem; font-weight: 600; padding: 5px 12px; border-radius: 8px; background: rgba(255,255,255,.14); color: #e6f2fb; }

/* Why choose us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-media img { width: 100%; height: 480px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.08); border: 1px solid var(--border-color); display: block; }
.why-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-primary-light); color: var(--brand-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.why-item h4 { font-size: 1.02rem; font-weight: 600; color: var(--text-main); }
.why-item p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.55; }
.why-text > p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; }

/* Industries (home) */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ind-card { padding: 28px; border: 1px solid var(--border-color); border-radius: 16px; background: #fff; transition: var(--transition-smooth); }
.ind-card:hover { border-color: var(--brand-primary); box-shadow: 0 12px 24px -8px rgba(15,23,42,.1); }
.ind-card:hover .icon-box { background: var(--brand-primary); color: #fff; }
.ind-card .icon-box { width: 44px; height: 44px; font-size: 22px; margin-bottom: 16px; }
.ind-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.ind-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.section-more { text-align: center; margin-top: 44px; }

/* Process */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 26px; transition: var(--transition-smooth); }
.step:hover { border-color: var(--brand-primary); }
.step b { display: block; color: var(--brand-primary); font-size: 0.9rem; font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { padding: 32px; border-radius: 16px; background: var(--bg-light); border: 1px solid var(--border-color); border-left: 4px solid var(--brand-primary); }
.quote p { color: #334155; line-height: 1.75; font-style: italic; }

/* Case study cards */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: var(--transition-smooth); }
.case-card:hover { box-shadow: 0 16px 32px -12px rgba(15,23,42,.16); border-color: var(--brand-primary); }
.case-card .thumb { height: 190px; overflow: hidden; background: var(--brand-primary-light); }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.case-card:hover .thumb img { transform: scale(1.04); }
.case-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card .kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--brand-primary); }
.case-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); line-height: 1.35; }
.case-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; }
.case-card .bento-link { margin-top: auto; padding-top: 6px; }

@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-media img { height: 340px; }
    .quote-grid, .case-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-section { padding: 72px 0; }
    .hero { min-height: 560px; padding: 90px 0; }
}
@media (max-width: 640px) {
    .bento, .ind-grid, .steps-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .bento-feature { padding: 28px; }
    .stat-num { font-size: 2.25rem; }
}
/* =========================================
   HEADER LOGO SIZE
   ========================================= */

.logo-img {
    width: 230px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .logo-img {
        width: 200px !important;
        height: auto !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .logo-img {
        width: 200px !important;
        height: auto !important;
    }
}
/* =========================================
   FOOTER LOGO SIZE
   ========================================= */

footer .logo-img,
.footer .logo-img,
.site-footer .logo-img {
    width: 230px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    footer .logo-img,
    .footer .logo-img,
    .site-footer .logo-img {
        width: 300px !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    footer .logo-img,
    .footer .logo-img,
    .site-footer .logo-img {
        width: 240px !important;
    }
}