:root {
    --navy: #06215f;
    --navy-dark: #041744;
    --ink: #0b1f4d;
    --text: #444b5a;
    --soft: #f5f6f8;
}

body {
    font-family: 'Roboto', system-ui, sans-serif;
    color: var(--text);
    font-size: 18px;
}
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; }
a { color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; height: 44px; display: flex; align-items: center; }
.topbar-links a { color: #fff; text-decoration: none; }
.topbar-links a:hover { opacity: .75; }
.topbar-links .sep { margin: 0 14px; opacity: .8; }
.topbar-links .topbar-logout { color: #fff; font: inherit; text-decoration: none; }
.topbar-links .topbar-logout:hover { opacity: .75; }

/* ---------- Navbar ---------- */
.main-nav { background: var(--soft); padding: 22px 0; }
.site-logo {
    display: inline-flex; align-items: center; gap: 4px;
    font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 500;
    color: #111; text-decoration: none; letter-spacing: -.02em;
}
.main-nav .nav-link { color: #111; font-weight: 500; font-size: 17px; padding: 8px 14px !important; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--navy); }
.main-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--navy); }
.main-nav .dropdown-toggle::after { border-top-width: 4px; border-left-width: 3.5px; border-right-width: 3.5px; vertical-align: 2px; margin-left: 6px; }
.main-nav .dropdown-menu { border: 0; border-radius: 0; border-top: 2px solid var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.08); font-size: 16px; }
.main-nav .dropdown-item:active { background: var(--navy); }
@media (min-width: 992px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.nav-contact { display: flex; flex-direction: column; font-size: 15px; line-height: 1.8; color: #111; }
.nav-contact a { color: #333; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn-navy {
    background: var(--navy); color: #fff; border-radius: 3px;
    font-size: 16px; font-weight: 500; padding: 13px 30px; border: 0;
}
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-hero { padding: 14px 31px; }
.btn-light-outline {
    border: 1px solid #fff; color: #fff; border-radius: 3px;
    font-size: 16px; font-weight: 500; padding: 12px 28px;
}
.btn-light-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
    min-height: 465px;
    background-size: cover; background-position: center right;
    position: relative; display: flex; align-items: center;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.65) 40%, rgba(255,255,255,0) 65%);
}
.hero .container { position: relative; }
.hero h1 { font-size: 53px; line-height: 1.2; margin-bottom: 26px; }

/* ---------- Inner page hero ---------- */
.page-hero {
    background-size: cover; background-position: center; position: relative;
    padding: 90px 0; color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(6, 33, 95, .78); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 48px; margin-bottom: 8px; }
.page-hero .breadcrumb { margin: 0; font-size: 16px; }
.page-hero .breadcrumb a { color: #fff; text-decoration: none; opacity: .8; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: #fff; }

/* ---------- Features ---------- */
.features { padding: 70px 0 68px; background: #fff; }
.feature-icon {
    width: 36px; height: 36px; margin: 0 auto 14px;
    border: 2px solid var(--navy); border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    color: #111; font-size: 18px;
}
.features h3, .contact-info h3 { font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.features p, .contact-info p { color: var(--ink); font-size: 15px; line-height: 1.7; font-weight: 500; max-width: 290px; margin: 0 auto; }

/* ---------- Section title ---------- */
.section-title { margin-bottom: 45px; }
.section-title h2 { font-size: 29px; font-weight: 500; margin-bottom: 14px; }
.section-title h2::after {
    content: ""; display: block; width: 78px; height: 2px;
    background: var(--navy); margin: 14px auto 0;
}
.section-title.left h2::after { margin-left: 0; }
.section-title p { max-width: 560px; margin: 18px auto 0; }

/* ---------- About split ---------- */
.about-img { background-size: cover; background-position: center; min-height: 420px; }
.about-body { background: var(--soft); display: flex; align-items: center; }
.about-inner { padding: 60px 64px; max-width: 600px; }
.about-inner .section-title { margin-bottom: 26px; }
.about-inner p { font-size: 15px; line-height: 1.9; margin-bottom: 24px; }

/* ---------- Services ---------- */
.services-section { padding: 70px 0 80px; background: linear-gradient(180deg, #e3e4e6, #f0f1f2); }
.service-card { background: #fff; border-radius: 4px; overflow: hidden; height: 100%; transition: .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,33,95,.12); }
.service-img { height: 200px; background-size: cover; background-position: center; }
.service-body { padding: 0 26px 28px; position: relative; }
.service-icon {
    width: 52px; height: 52px; margin-top: -26px; margin-bottom: 18px;
    background: var(--navy); color: #fff; border-radius: 3px;
    display: flex; align-items: center; justify-content: center; font-size: 26px; position: relative;
}
.service-body h4 { font-size: 22px; font-weight: 500; }
.service-body p { font-size: 16px; line-height: 1.7; }
.link-more { font-size: 16px; font-weight: 500; text-decoration: none; color: var(--navy); }
.link-more i { transition: .2s; }
.link-more:hover i { margin-left: 4px; }

/* ---------- Stats / CTA ---------- */
.stats { background: var(--navy); padding: 60px 0; color: #fff; }
.stat-num { font-size: 46px; font-weight: 700; }
.stat-label { font-size: 16px; opacity: .75; }
.cta-band { background: var(--navy-dark); padding: 38px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cta-band h3 { color: #fff; font-size: 26px; font-weight: 500; margin: 0; }

/* ---------- Team / process ---------- */
.team-section, .process-section, .projects-section, .blog-section, .contact-section { padding: 80px 0; }
.process-section { background: var(--soft); }
.team-card { text-align: center; }
.team-img { height: 300px; background-size: cover; background-position: center; border-radius: 4px; margin-bottom: 16px; }
.team-card h5 { font-size: 19px; font-weight: 500; margin-bottom: 2px; }
.team-card span { font-size: 16px; }
.process-step { background: #fff; padding: 32px 26px; border-radius: 4px; height: 100%; border-bottom: 3px solid var(--navy); }
.step-num { font-size: 38px; font-weight: 700; color: var(--navy); opacity: .2; }
.process-step h5 { font-size: 20px; font-weight: 500; margin: 8px 0 10px; }
.process-step p { font-size: 16px; margin: 0; }

/* ---------- Projects ---------- */
.filter-btn {
    background: none; border: 1px solid #d6d9e0; color: var(--ink);
    font-size: 16px; font-weight: 500; padding: 8px 20px; margin: 0 4px 8px; border-radius: 3px;
}
.filter-btn.active, .filter-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.project-card { height: 280px; background-size: cover; background-position: center; border-radius: 4px; position: relative; overflow: hidden; }
.project-overlay {
    position: absolute; inset: 0; padding: 24px;
    background: linear-gradient(0deg, rgba(6,33,95,.92), rgba(6,33,95,0) 60%);
    display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
    opacity: 0; transition: .3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay span { font-size: 14px; opacity: .8; }
.project-overlay h5 { color: #fff; margin: 4px 0 0; font-weight: 500; }

/* ---------- Blog ---------- */
.post-card { border: 1px solid #eceef2; border-radius: 4px; overflow: hidden; height: 100%; }
.post-img { height: 190px; background-size: cover; background-position: center; }
.post-body { padding: 22px; }
.post-meta { font-size: 14px; margin-bottom: 10px; color: #888; }
.post-body h4 { font-size: 20px; font-weight: 500; line-height: 1.4; }
.post-body p { font-size: 16px; }
.sidebar-box { background: var(--soft); padding: 26px; border-radius: 4px; margin-bottom: 24px; }
.sidebar-box h6 { font-size: 19px; font-weight: 500; margin-bottom: 16px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { border-bottom: 1px solid #e3e5ea; }
.sidebar-list a { display: flex; justify-content: space-between; padding: 10px 0; text-decoration: none; color: var(--text); font-size: 17px; }
.sidebar-list a:hover { color: var(--navy); }
.sidebar-cta { background: var(--navy); color: #fff; }
.sidebar-cta h6 { color: #fff; }
.site-pagination .page-link { color: var(--navy); border-radius: 3px !important; margin-right: 6px; }
.site-pagination .active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Contact ---------- */
.contact-info { background: var(--soft); padding: 34px 20px; border-radius: 4px; }
.contact-box { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px rgba(6,33,95,.08); }
.contact-form-wrap { padding: 50px; background: #fff; }
.form-control, .form-select { border-radius: 3px; padding: 12px 14px; font-size: 17px; border-color: #dde0e6; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(6,33,95,.1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: 17px; }
.site-footer .site-logo { font-size: 31px; color: #fff; }
.site-footer h6 { color: #fff; font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact i { margin-right: 8px; }
.footer-social a {
    display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.25); border-radius: 3px; margin-right: 6px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding: 22px 0; font-size: 16px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .main-nav .nav-link { font-size: 16px; padding: 8px 9px !important; }
    .nav-contact { font-size: 14px; }
}
@media (max-width: 991.98px) {
    .main-nav { padding: 14px 0; }
    .site-logo { font-size: 30px; }
    .navbar-toggler { border: 0; padding: 6px; }
    .navbar-toggler:focus { box-shadow: none; }
    .main-nav .navbar-collapse { margin-top: 12px; border-top: 1px solid #e3e5ea; }
    .main-nav .nav-link { font-size: 18px; padding: 13px 0 !important; border-bottom: 1px solid #eceef2; }
    .main-nav .nav-link.active { box-shadow: none; color: var(--navy); font-weight: 700; }
    .main-nav .dropdown-toggle::after { float: right; margin-top: 10px; }
    .main-nav .dropdown-menu { border-top: 0; box-shadow: none; background: transparent; padding: 0 0 8px 14px; }
    .nav-contact { margin: 16px 0 6px; font-size: 16px; }

    .hero { min-height: 420px; background-position: 70% center; }
    .hero::before { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 60%, rgba(255,255,255,.3) 100%); }
    .hero h1 { font-size: 40px; }
    .page-hero { padding: 64px 0; }
    .page-hero h1 { font-size: 40px; }

    .about-img { min-height: 320px; }
    .about-inner { padding: 50px 28px; max-width: none; }
    .contact-box .about-img { min-height: 260px; }
    .contact-form-wrap { padding: 36px 24px; }
    .team-section, .process-section, .projects-section, .blog-section, .contact-section, .services-section { padding: 60px 0; }
    .site-footer { padding-top: 50px; }
}
@media (max-width: 575.98px) {
    body { font-size: 17px; }
    .topbar { font-size: 13px; height: 40px; }
    .topbar .container > span { display: none; }
    .topbar .container { justify-content: center !important; }
    .site-logo { font-size: 27px; }
    .site-logo img { width: 28px; height: 28px; }

    .hero { min-height: 380px; padding: 50px 0; }
    .hero h1 { font-size: 32px; }
    .hero h1 br { display: none; }
    .page-hero h1 { font-size: 32px; }
    .section-title h2 { font-size: 26px; }
    .features { padding: 50px 0; }
    .features p { max-width: 340px; }
    .stat-num { font-size: 36px; }
    .cta-band { text-align: center; }
    .cta-band h3 { font-size: 22px; }
    .project-card, .team-img { height: 260px; }
    .filter-btn { padding: 7px 14px; }
    .btn-navy, .btn-light-outline { padding: 13px 24px; }
}
