/* ============================================
   CES HOMEPAGE MODERNIZATION
   Layered on top of existing main.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    box-sizing: border-box;
}
body {
    color: #2d3748 !important;
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* --- Logo Area --- */
.logo-container {
    padding: 12px 0 8px;
}
.ces-logo {
    width: 250px !important;
    height: 64px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* --- Navigation --- */
.navbar-default {
    background-color: #1a2a4a !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    min-height: 48px !important;
}
.navbar-default .navbar-nav > li > a {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 14px 20px !important;
    transition: background-color 0.2s ease !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li:hover > a {
    background-color: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
}
.navbar-default .navbar-nav > li > a .caret {
    border-top-color: #ffffff !important;
}
/* Dropdown menus keep white */
.navbar-default .dropdown-menu {
    background-color: #ffffff !important;
}

/* --- Hero Banner --- */
.hero-banner {
    position: relative;
    width: 100%;
    background-image: url("../images/bannerCorporate.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 48px 0 44px;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 22, 40, 0.70);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 40px;
}
.hero-content h1 {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.hero-content p {
    color: rgba(255,255,255,0.8) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    margin: 0 0 24px !important;
    max-width: 640px;
    line-height: 1.6;
}
.hero-content .hero-cta {
    display: inline-block;
    background-color: #0077c2 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.03em;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.hero-content .hero-cta:hover {
    background-color: #005fa3 !important;
    transform: translateY(-1px);
}
.hero-content .hero-cta-secondary {
    display: inline-block;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    margin-left: 12px;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
}
.hero-content .hero-cta-secondary:hover {
    border-color: rgba(255,255,255,0.5) !important;
    color: #ffffff !important;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
}
.trust-bar .trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trust-bar .trust-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
}
.trust-bar .trust-items li .trust-icon {
    width: 20px;
    height: 20px;
    background-color: #0077c2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.trust-bar .trust-items li .trust-icon .glyphicon {
    color: #ffffff;
    font-size: 10px;
}

/* --- Section Headings --- */
.section-heading {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a2a4a !important;
    letter-spacing: -0.02em;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
}
.section-subheading {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 400;
}

/* --- Service Cards --- */
.services-section {
    padding: 36px 0 30px;
}
.services-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
}
.services-section .row > [class*="col-"] {
    display: flex !important;
    margin-bottom: 20px;
}
.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.service-card:hover {
    border-color: #0077c2;
    box-shadow: 0 8px 30px rgba(0, 119, 194, 0.12);
    transform: translateY(-4px);
}
.service-card .card-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.service-card .card-text {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-card h4 {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a2a4a !important;
    margin: 0 0 10px !important;
}
.service-card h4 a {
    color: #1a2a4a !important;
    text-decoration: none !important;
}
.service-card h4 a:hover {
    color: #0077c2 !important;
}
.service-card p {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: #4a5568 !important;
    margin-bottom: 16px !important;
}
.service-card .btn {
    align-self: flex-start;
    margin-top: auto !important;
}

/* --- Buttons --- */
.btn-default {
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.03em !important;
    color: #ffffff !important;
    background-color: #0077c2 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 22px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 6px rgba(0, 119, 194, 0.25) !important;
}
.btn-default:hover, .btn-default:focus {
    background-color: #005a94 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(0, 119, 194, 0.35) !important;
    text-decoration: none !important;
}
.btn-outline {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: #0077c2;
    background-color: transparent;
    border: 2px solid #0077c2;
    border-radius: 8px;
    padding: 10px 22px;
    transition: all 0.25s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-outline:hover {
    background-color: #0077c2;
    color: #ffffff;
    text-decoration: none;
}

/* --- About Section --- */
.about-section {
    background-color: #f8fafc;
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.about-section .about-img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.about-section p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
}
.stat-grid {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0077c2;
    display: block;
    line-height: 1.2;
}
.stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Contact Section --- */
.contact-section {
    padding: 50px 0 60px;
}
.contact-section h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a2a4a !important;
    margin-bottom: 14px !important;
}
.contact-section p {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
}
.contact-section iframe {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    height: 280px;
}
.contact-btn {
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    color: #0077c2;
    background: transparent;
    border: 2px solid #0077c2;
    border-radius: 8px;
    padding: 10px 24px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 4px;
}
.contact-btn:hover {
    background-color: #0077c2;
    color: #ffffff;
    text-decoration: none;
}

/* --- Accent --- */
.accent1 {
    color: #0077c2 !important;
    font-weight: 600 !important;
}

/* --- Hide old footer menu (from footer.html SSI) --- */
footer.footer {
    display: none !important;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a2a4a;
    padding: 20px 0;
    text-align: center;
}
.site-footer p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 400 !important;
}
.site-footer a {
    color: #94a3b8 !important;
    text-decoration: underline !important;
}
.site-footer a:hover {
    color: #cbd5e0 !important;
}

/* --- Links (general) --- */
a {
    color: #0077c2;
    transition: color 0.2s ease;
}
a:hover {
    color: #005a94;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-banner {
        padding: 36px 0 32px;
    }
    .hero-content h1 {
        font-size: 26px !important;
    }
    .hero-content p {
        font-size: 14px !important;
    }
    .service-card {
        margin-bottom: 20px;
    }
    .stat-grid {
        gap: 16px;
    }
}
@media (max-width: 767px) {
    .hero-banner {
        padding: 28px 0 24px;
    }
    .hero-content {
        padding: 0 16px;
    }
    .hero-content h1 {
        font-size: 22px !important;
    }
    .hero-content .hero-cta-secondary {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    .trust-bar .trust-items {
        gap: 16px;
    }
    .trust-bar .trust-items li {
        font-size: 12px;
    }
    .navbar-default .navbar-nav > li > a {
        color: #2d3748 !important;
    }
    .navbar-default {
        background-color: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }
}
