* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Rubik', Arial, sans-serif; color: #555; font-size: 15px; line-height: 1.7; background: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', Arial, sans-serif; color: #031b4e; line-height: 1.3; font-weight: 700; }
a { color: #3368c6; text-decoration: none; }
a:hover { color: #031b4e; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; background: #3368c6; color: #fff; padding: 12px 28px; border-radius: 4px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .5px; border: none; cursor: pointer; }
.btn:hover { background: #031b4e; color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: #031b4e; }
.section { padding: 80px 0; }
.section.light { background: #f6faff; }
.kicker { color: #3368c6; font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.sec-title { font-size: 34px; margin: 8px 0 14px; }
.sec-sub { max-width: 720px; margin: 0 auto 40px; color: #667; }
.center { text-align: center; }
.dash { width: 44px; height: 3px; background: #3368c6; margin: 10px 0 18px; border-radius: 2px; }
.center .dash { margin-left: auto; margin-right: auto; }
/* topbar + header */
.topbar { background: #031b4e; color: #cdd6ec; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 42px; flex-wrap: wrap; }
.tb-item { margin-right: 22px; }
.soc { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; color: #cdd6ec; border: 1px solid #3a4a72; border-radius: 50%; margin-left: 6px; font-size: 12px; }
.soc:hover { background: #3368c6; color: #fff; border-color: #3368c6; }
.site-header { background: #fff; box-shadow: 0 2px 14px rgba(3,27,78,.08); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: block; padding: 12px 13px; color: #031b4e; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; }
.main-nav li.active > a, .main-nav a:hover { color: #3368c6; }
.main-nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; box-shadow: 0 12px 30px rgba(3,27,78,.16); border-top: 3px solid #3368c6; padding: 8px 0; z-index: 60; }
.main-nav .sub li a { padding: 9px 18px; font-weight: 500; font-size: 13.5px; }
.main-nav li.has-sub:hover .sub { display: block; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hicon { color: #031b4e; font-size: 17px; position: relative; }
.cart-n { position: absolute; top: -8px; right: -12px; background: #3368c6; color: #fff; font-size: 10px; width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 50%; }
/* titlebar */
.titlebar { background: #031b4e; color: #fff; padding: 64px 0; }
.titlebar h1 { color: #fff; font-size: 40px; }
.titlebar .crumb { color: #aebadb; margin-top: 8px; font-size: 14px; }
.titlebar .crumb a { color: #fff; }
/* hero */
.hero { position: relative; overflow: hidden; background: #031b4e; }
.slide { display: none; position: relative; min-height: 560px; }
.slide.on { display: block; }
.slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,27,78,.82) 0%, rgba(3,27,78,.45) 55%, rgba(3,27,78,.15) 100%); }
.slide-in { position: relative; z-index: 2; min-height: 560px; display: flex; flex-direction: column; justify-content: center; max-width: 640px; color: #fff; }
.slide-in .kicker { color: #9db9ee; }
.slide-in h1 { color: #fff; font-size: 52px; line-height: 1.12; margin: 12px 0 18px; }
.slide-in p { color: #dbe4f7; font-size: 16px; margin-bottom: 26px; }
.dots { position: absolute; right: 30px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.dots button.on { background: #3368c6; border-color: #3368c6; }
/* icon boxes */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.icon-box { background: #fff; border: 1px solid #e6ecf7; border-radius: 8px; padding: 30px 24px; text-align: center; transition: .25s; }
.icon-box:hover { box-shadow: 0 14px 34px rgba(3,27,78,.12); transform: translateY(-4px); }
.icon-badge { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e1eeff; color: #3368c6; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 26px; line-height: 64px; }
.icon-box h3 { font-size: 18px; margin-bottom: 8px; }
/* stats */
.stats-band { background: #031b4e url('../img/bg-01.jpg') center/cover no-repeat; color: #fff; }
.stats-band .overlay { background: rgba(3,27,78,.88); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { font-family: 'Poppins', sans-serif; font-size: 44px; color: #fff; display: block; }
.stat span { color: #aebadb; letter-spacing: 1.5px; font-size: 13px; text-transform: uppercase; }
/* two-col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col img { border-radius: 8px; }
.check-list { list-style: none; margin: 18px 0; }
.check-list li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid #eef2f9; }
.check-list li:before { content: "\2713"; position: absolute; left: 0; top: 8px; color: #3368c6; font-weight: 700; }
/* progress bars */
.bar-row { margin-bottom: 22px; }
.bar-row .bar-label { display: flex; justify-content: space-between; font-family: 'Poppins', sans-serif; font-weight: 600; color: #031b4e; font-size: 14px; margin-bottom: 6px; }
.bar-track { height: 10px; background: #e1eeff; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: #3368c6; border-radius: 6px; }
/* cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid #e6ecf7; border-radius: 8px; overflow: hidden; transition: .25s; }
.card:hover { box-shadow: 0 14px 34px rgba(3,27,78,.12); transform: translateY(-4px); }
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body h3 a { color: #031b4e; }
.card-body h3 a:hover { color: #3368c6; }
.card .meta { font-size: 13px; color: #8893b9; margin-bottom: 8px; }
.readmore { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .5px; }
/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member { text-align: center; }
.member img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.member h3 { font-size: 18px; margin: 14px 0 2px; }
.member .pos { color: #3368c6; font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
/* clients */
.clients { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.clients img { max-height: 52px; width: auto; opacity: .75; filter: grayscale(1); }
.clients img:hover { opacity: 1; filter: none; }
/* blog */
.post-card img { height: 200px; }
.post-card .cat { display: inline-block; background: #e1eeff; color: #3368c6; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
/* faq */
.faq-item { border: 1px solid #e6ecf7; border-radius: 8px; margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: #f6faff; border: none; padding: 18px 22px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #031b4e; cursor: pointer; }
.faq-a { padding: 18px 22px; display: none; border-top: 1px solid #e6ecf7; }
.faq-item.open .faq-a { display: block; }
/* shop */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product { background: #fff; border: 1px solid #e6ecf7; border-radius: 8px; overflow: hidden; text-align: center; padding-bottom: 20px; }
.product img { width: 100%; height: 230px; object-fit: cover; }
.product h3 { font-size: 17px; margin: 14px 0 4px; }
.price { color: #3368c6; font-weight: 700; font-family: 'Poppins', sans-serif; }
.price del { color: #999; font-weight: 400; margin-right: 8px; }
.product .btn { margin-top: 12px; padding: 9px 20px; font-size: 13px; }
/* forms */
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border: 1px solid #dbe3f2; border-radius: 4px; font-family: 'Rubik', sans-serif; font-size: 14px; margin-bottom: 16px; }
.form textarea { min-height: 150px; resize: vertical; }
.contact-box { background: #f6faff; border-radius: 8px; padding: 28px; margin-bottom: 22px; }
.contact-box h3 { font-size: 18px; margin-bottom: 8px; }
/* newsletter + footer */
.newsletter { background: #3368c6; color: #fff; padding: 46px 0; }
.news-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.newsletter h3 { color: #fff; font-size: 26px; }
.newsletter p { color: #dbe4f7; }
.news-form { display: flex; gap: 10px; }
.news-form input { padding: 13px 16px; border: none; border-radius: 4px; min-width: 300px; font-size: 14px; }
.news-form .btn { background: #031b4e; }
.site-footer { background: #031b4e; color: #aebadb; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 6px 0; border-bottom: 1px solid #16295c; }
.site-footer a { color: #aebadb; }
.site-footer a:hover { color: #fff; }
.foot-social a { display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid #3a4a72; border-radius: 50%; margin: 14px 6px 0 0; color: #fff; }
.foot-social a:hover { background: #3368c6; border-color: #3368c6; }
.recent span { display: block; font-size: 12px; color: #7884ac; }
.copyright { border-top: 1px solid #16295c; padding: 20px 0; text-align: center; font-size: 13px; }
/* misc */
.titlebar-band { background: #e1eeff; padding: 26px 0; }
.quote-box { background: #031b4e; color: #fff; border-radius: 8px; padding: 34px; }
.quote-box h3 { color: #fff; }
.quote-box p { color: #cdd6ec; }
.sidebar h3 { font-size: 19px; margin-bottom: 12px; }
.sidebar ul { list-style: none; }
.sidebar ul li { border-bottom: 1px solid #eef2f9; }
.sidebar ul li a { display: block; padding: 11px 4px; color: #031b4e; font-weight: 500; }
.sidebar ul li a:hover, .sidebar ul li a.on { color: #3368c6; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.tag { display: inline-block; background: #e1eeff; color: #3368c6; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin: 0 6px 6px 0; }
.forum-table { width: 100%; border-collapse: collapse; }
.forum-table th, .forum-table td { border: 1px solid #e6ecf7; padding: 13px 16px; text-align: left; }
.forum-table th { background: #f6faff; color: #031b4e; font-family: 'Poppins', sans-serif; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gallery-grid .card img { height: 190px; }
.map-box { background: #e1eeff; border-radius: 8px; min-height: 260px; display: flex; align-items: center; justify-content: center; color: #3368c6; font-family: 'Poppins', sans-serif; font-weight: 600; text-align: center; padding: 30px; }
@media (max-width: 960px) {
  .icon-grid, .card-grid, .team-grid, .shop-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .two-col, .layout, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .slide-in h1 { font-size: 34px; }
  .slide, .slide-in { min-height: 440px; }
}
@media (max-width: 560px) {
  .icon-grid, .card-grid, .team-grid, .shop-grid, .gallery-grid, .card-grid.four { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
