/* =====================================================================
   EOI Marketing — Theme stylesheet (on top of Bootstrap 5)
   ===================================================================== */

:root {
  --eoi-navy: #0b2447;
  --eoi-navy-2: #102f5e;
  --eoi-blue: #175cb0;
  --eoi-sky: #00aedb;
  --eoi-accent: #f0742c;
  --eoi-accent-dark: #d65f1c;
  --eoi-magenta: #ce2174;
  --eoi-yellow: #ffc121;
  --eoi-gray-bg: #f4f7fb;
  --eoi-text: #4a5568;
  --eoi-heading: #12203a;
  --radius: 14px;
  --shadow-sm: 0 4px 18px rgba(16, 42, 84, .08);
  --shadow-md: 0 10px 34px rgba(16, 42, 84, .14);
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--eoi-text);
  font-size: 15.5px;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--eoi-heading);
  font-weight: 700;
}

a { text-decoration: none; }
img { max-width: 100%; }

.btn { font-family: 'Poppins', sans-serif; font-weight: 500; border-radius: 8px; }
.btn-accent {
  background: var(--eoi-accent);
  border: 1px solid var(--eoi-accent);
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus { background: var(--eoi-accent-dark); border-color: var(--eoi-accent-dark); color: #fff; }
.btn-navy { background: var(--eoi-navy); border: 1px solid var(--eoi-navy); color: #fff; }
.btn-navy:hover { background: var(--eoi-navy-2); color: #fff; }
.btn-outline-light:hover { color: var(--eoi-navy); }

.text-accent { color: var(--eoi-accent) !important; }
.bg-soft { background: var(--eoi-gray-bg); }

/* ---------------------------------------------------------- top bar */
.topbar {
  background: var(--eoi-navy);
  color: #cdd9ec;
  font-size: 13px;
  padding: 7px 0;
}
.topbar a { color: #cdd9ec; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--eoi-sky); margin-right: 4px; }
.topbar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08); margin-left: 4px; font-size: 12px;
}
.topbar-social a:hover { background: var(--eoi-accent); color: #fff; }

/* ----------------------------------------------------------- navbar */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 14px rgba(16,42,84,.08);
  padding-top: .55rem; padding-bottom: .55rem;
  transition: box-shadow .25s ease;
}
.main-navbar.scrolled { box-shadow: 0 6px 22px rgba(16,42,84,.16); }
.main-navbar .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500; font-size: 14.5px;
  color: var(--eoi-heading);
  padding: .55rem .8rem !important;
}
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--eoi-blue); }
.main-navbar .dropdown-menu {
  border: 0; border-top: 3px solid var(--eoi-accent);
  border-radius: 0 0 12px 12px; font-size: 14px; min-width: 250px;
}
.main-navbar .dropdown-item { padding: .5rem 1.1rem; color: var(--eoi-text); }
.main-navbar .dropdown-item:hover { background: var(--eoi-gray-bg); color: var(--eoi-blue); }
.navbar-toggler { border: 0; color: var(--eoi-navy); }
.mobile-nav .nav-link { border-bottom: 1px solid #eef1f6; font-weight: 500; color: var(--eoi-heading); }

/* ------------------------------------------------------------- hero */
.hero-carousel .carousel-item {
  min-height: 560px;
  background-size: cover; background-position: center right;
}
.hero-carousel .carousel-item > .container {
  display: flex; align-items: center; min-height: 560px;
}
.hero-caption { max-width: 640px; padding: 90px 0; }
.hero-caption .hero-kicker {
  display: inline-block; font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--eoi-yellow); margin-bottom: 14px;
}
.hero-caption h1 {
  color: #fff; font-size: clamp(1.9rem, 4vw, 3.15rem);
  font-weight: 800; line-height: 1.16; margin-bottom: 18px;
}
.hero-caption p { color: #d6e2f2; font-size: 17px; margin-bottom: 28px; }
.hero-carousel .carousel-indicators { margin-bottom: 24px; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 26px; height: 4px; border-radius: 3px; background: #fff;
}

/* ----------------------------------------------------- section bits */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--eoi-accent);
  margin-bottom: 10px;
}
.section-kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--eoi-accent);
}
.section-head.text-center .section-kicker::after {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--eoi-accent);
}
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; }

/* --------------------------------------------------- category cards */
.cat-card {
  border: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  height: 100%; background: #fff;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card .cat-img { height: 190px; object-fit: cover; width: 100%; }
.cat-card .card-body { padding: 22px 24px 26px; }
.cat-card .cat-icon {
  width: 52px; height: 52px; margin-top: -48px; position: relative;
  border-radius: 12px; background: var(--eoi-accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 6px 16px rgba(240, 116, 44, .4); margin-bottom: 14px;
}
.cat-card h5 { font-size: 17.5px; margin-bottom: 8px; }
.cat-card p { font-size: 14px; margin-bottom: 12px; }
.link-more { font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--eoi-blue); }
.link-more i { transition: transform .25s; }
.link-more:hover i { transform: translateX(4px); }

/* ---------------------------------------------------- product cards */
.product-card {
  border: 1px solid #e8edf5; border-radius: var(--radius);
  overflow: hidden; background: #fff; height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card .prod-img { height: 210px; width: 100%; object-fit: cover; background: #eef2f8; }
.product-card .badge-cat {
  font-size: 11px; font-weight: 600; letter-spacing: .4px;
  background: rgba(23, 92, 176, .09); color: var(--eoi-blue);
  border-radius: 20px; padding: 5px 12px;
}
.product-card .badge-brand {
  font-size: 11px; font-weight: 600; background: rgba(240,116,44,.1);
  color: var(--eoi-accent-dark); border-radius: 20px; padding: 5px 12px;
}
.product-card h5 { font-size: 16.5px; }
.product-card h5 a { color: var(--eoi-heading); }
.product-card h5 a:hover { color: var(--eoi-blue); }

/* -------------------------------------------------------- stats bar */
.stats-band {
  background: linear-gradient(120deg, var(--eoi-navy) 0%, var(--eoi-blue) 100%);
  position: relative; overflow: hidden;
}
.stats-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(0,174,219,.25), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(206,33,116,.2), transparent 40%);
}
.stat-box { position: relative; z-index: 1; text-align: center; padding: 18px 6px; }
.stat-box .stat-num {
  font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-box .stat-num span.plus { color: var(--eoi-yellow); }
.stat-box .stat-label { color: #bcd0ea; font-size: 14px; margin-top: 8px; }

/* ------------------------------------------------------ brand strip */
.brand-chip {
  background: #fff; border: 1px solid #e8edf5; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px; height: 92px; transition: box-shadow .3s, transform .3s;
}
.brand-chip img { max-height: 62px; object-fit: contain; filter: grayscale(35%); opacity: .85; transition: .3s; }
.brand-chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.brand-chip:hover img { filter: none; opacity: 1; }

/* ----------------------------------------------------- testimonials */
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm); height: 100%; position: relative;
}
.testi-card .quote-mark {
  position: absolute; top: 18px; right: 24px; font-size: 54px;
  color: var(--eoi-gray-bg); line-height: 1; font-family: Georgia, serif;
}
.testi-card .stars { color: var(--eoi-yellow); font-size: 14px; margin-bottom: 12px; }
.testi-card p.msg { font-size: 14.5px; font-style: italic; color: var(--eoi-text); }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--eoi-blue), var(--eoi-sky));
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.testi-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--eoi-heading); }
.testi-role { font-size: 12.5px; color: #8b96a9; }

/* -------------------------------------------------------- blog card */
.blog-card {
  border: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff; height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .blog-img { height: 200px; width: 100%; object-fit: cover; }
.blog-meta { font-size: 12.5px; color: #8b96a9; }
.blog-meta i { color: var(--eoi-accent); }
.blog-card h5 { font-size: 16.5px; line-height: 1.45; }
.blog-card h5 a { color: var(--eoi-heading); }
.blog-card h5 a:hover { color: var(--eoi-blue); }

/* ------------------------------------------------------- CTA band */
.cta-band {
  background-size: cover; background-position: center;
  position: relative; border-radius: var(--radius); overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,24,50,.92), rgba(9,24,50,.55)); }
.cta-band .inner { position: relative; padding: 64px 48px; }
.cta-band h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: #c9d8ec; }

/* ------------------------------------------------------ page banner */
.page-banner {
  background-size: cover; background-position: center;
  position: relative; padding: 84px 0 72px; color: #fff;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,44,.88), rgba(8,20,44,.5)); }
.page-banner h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.page-banner p { color: #c9d8ec; max-width: 620px; }
.banner-breadcrumb { margin-top: 14px; font-size: 13.5px; color: #9fb4d2; }
.banner-breadcrumb a { color: var(--eoi-yellow); }
.banner-breadcrumb i { font-size: 11px; margin: 0 6px; }

/* -------------------------------------------------- solutions rows */
.solution-block { scroll-margin-top: 110px; }
.solution-icon {
  width: 56px; height: 56px; border-radius: 14px; font-size: 26px;
  background: rgba(23,92,176,.09); color: var(--eoi-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.solution-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }

/* -------------------------------------------------- service cards */
.service-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid #e8edf5; height: 100%; transition: .3s;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-4px); }
.service-card .icon {
  width: 58px; height: 58px; border-radius: 14px; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--eoi-blue), var(--eoi-sky)); color: #fff;
  margin-bottom: 18px;
}
.service-card h5 { font-size: 17px; }
.service-card p { font-size: 14px; margin-bottom: 0; }

/* ---------------------------------------------------- feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 7px 0; display: flex; gap: 10px; align-items: flex-start; }
.feature-list li i { color: var(--eoi-accent); margin-top: 2px; }

/* --------------------------------------------------------- careers */
.job-card { border: 1px solid #e8edf5; border-radius: var(--radius); background: #fff; }
.job-card .job-head { cursor: pointer; padding: 22px 26px; }
.job-meta span { font-size: 13px; color: #7c8798; margin-right: 16px; }
.job-meta i { color: var(--eoi-blue); margin-right: 4px; }

/* --------------------------------------------------------- contact */
.contact-info-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); height: 100%; text-align: center;
}
.contact-info-card .icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(240,116,44,.12); color: var(--eoi-accent);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.contact-form-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 36px; }
.form-control, .form-select {
  border-radius: 9px; border-color: #dfe6f0; padding: .62rem .9rem; font-size: 14.5px;
}
.form-control:focus, .form-select:focus { border-color: var(--eoi-blue); box-shadow: 0 0 0 .2rem rgba(23,92,176,.12); }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------- footer */
.site-footer { background: #0a1a35; color: #a7b8d2; }
.footer-main { padding: 64px 0 44px; }
.footer-about { font-size: 14px; color: #a7b8d2; }
.footer-title {
  color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px;
  position: relative; padding-bottom: 10px;
}
.footer-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 30px; height: 3px; border-radius: 2px; background: var(--eoi-accent);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #a7b8d2; font-size: 14px; transition: .2s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--eoi-accent); margin-top: 3px; }
.footer-social a {
  display: inline-flex; width: 34px; height: 34px; border-radius: 8px;
  align-items: center; justify-content: center; margin-right: 6px;
  background: rgba(255,255,255,.07); color: #cdd9ec; font-size: 15px; transition: .25s;
}
.footer-social a:hover { background: var(--eoi-accent); color: #fff; transform: translateY(-2px); }
.newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.newsletter-form .form-control::placeholder { color: #8fa3bf; }
.newsletter-form .form-control:focus { background: rgba(255,255,255,.12); box-shadow: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13.5px; }

/* ------------------------------------------------------ back to top */
#backToTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 44px; height: 44px; border-radius: 12px; border: 0;
  background: var(--eoi-accent); color: #fff; font-size: 18px;
  box-shadow: 0 8px 20px rgba(240,116,44,.45);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .3s;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { background: var(--eoi-accent-dark); }

/* --------------------------------------------------------- details */
.spec-table th { width: 42%; font-weight: 600; color: var(--eoi-heading); background: var(--eoi-gray-bg); }
.spec-table th, .spec-table td { font-size: 14px; padding: .7rem .9rem; }
.blog-content { font-size: 15.5px; line-height: 1.85; }
.blog-content h5 { margin-top: 28px; font-size: 18.5px; }
.blog-content p { margin-bottom: 16px; }
.sidebar-widget { background: #fff; border: 1px solid #e8edf5; border-radius: var(--radius); padding: 24px; }
.sidebar-widget h6 { font-size: 15.5px; margin-bottom: 16px; }
.sidebar-post { display: flex; gap: 12px; margin-bottom: 14px; }
.sidebar-post img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.sidebar-post a { font-size: 13.5px; font-weight: 500; color: var(--eoi-heading); line-height: 1.4; }
.sidebar-post a:hover { color: var(--eoi-blue); }

/* fade-up on-scroll animation */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
  .section { padding: 60px 0; }
  .hero-carousel .carousel-item,
  .hero-carousel .carousel-item > .container { min-height: 480px; }
}
