:root {
  --ink: #0b1833;
  --navy: #102a5c;
  --blue: #1672e8;
  --cyan: #58c4ef;
  --paper: #f5f8fd;
  --line: #dce5f2;
}

body { color: #536174; background: var(--paper); }

#topbar {
  background: linear-gradient(100deg, #0c2454 0%, #1266cf 58%, #168ce7 100%);
  font-weight: 600;
  letter-spacing: .01em;
}

#header { height: 92px; box-shadow: 0 10px 35px rgba(13, 37, 83, .07); }
#header.header-scrolled { height: 74px; }
#header .logo { gap: 10px; color: var(--navy); font-size: 25px; letter-spacing: .2px; }
#header .logo img { width: 40px; height: 40px; max-height: none; object-fit: contain; }
#header .logo span { color: #126de1; }
.nav-menu > ul > li > a { font-weight: 600; letter-spacing: .01em; }
.nav-menu a:before { height: 3px; border-radius: 5px; background: var(--cyan); }

#hero {
  min-height: 670px;
  height: calc(100vh - 32px);
  background:
    linear-gradient(105deg, rgba(5, 21, 55, .91) 0%, rgba(12, 47, 105, .78) 43%, rgba(25, 113, 185, .31) 100%),
    url("../img/smart-solutions-hero.png") center / cover;
}
#hero:before { background: linear-gradient(180deg, rgba(7, 26, 61, .06), rgba(7, 26, 61, .25)); }
#hero .container { padding-top: 96px; max-width: 1140px; }
#hero h1 { max-width: 760px; color: white; font-size: clamp(44px, 5vw, 74px); line-height: 1.08; letter-spacing: -2px; }
#hero h1 span { color: #72d5fb; }
#hero h2 { max-width: 610px; margin: 24px 0 36px; color: rgba(255,255,255,.86); font-size: 20px; line-height: 1.65; }
#hero .btn-get-started, #contact .btn-get-started {
  padding: 14px 28px; border-radius: 5px; box-shadow: 0 12px 25px rgba(0, 32, 93, .28);
  background: var(--cyan); color: var(--ink); font-weight: 700; letter-spacing: .02em; text-transform: none;
}
#hero .btn-get-started:hover, #contact .btn-get-started:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }

.featured-services { position: relative; z-index: 2; margin-top: -88px; padding-bottom: 30px; }
.featured-services .icon-box {
  height: 100%; padding: 31px 25px; border: 1px solid rgba(219, 230, 247, .85); border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 45, 98, .12); background: rgba(255, 255, 255, .98);
}
.featured-services .icon-box:hover { transform: translateY(-8px); border-color: #91d8f5; }
.featured-services .icon-box .icon { width: 52px; height: 52px; border-radius: 12px; background: #e7f6fd; }
.featured-services .icon-box .icon i { color: #0878c8; font-size: 29px; }
.featured-services .icon-box h4 { color: var(--ink); font-size: 18px; }

section { padding: 100px 0; }
.section-title { padding-bottom: 48px; }
.section-title h2 { color: #1672e8; background: #e5f4fc; border-radius: 30px; padding: 7px 15px; display: inline-block; font-size: 12px; letter-spacing: .12em; }
.section-title h3 { color: var(--ink); font-size: clamp(31px, 3vw, 43px); line-height: 1.2; }
.section-title h3 span { color: #1672e8; }
.section-title p { max-width: 720px; margin: 18px auto 0; line-height: 1.8; }

.section-bg { background: linear-gradient(180deg, #f3f8fd, #eaf4fc); }
.about .content h3, .about .content h5 { color: var(--ink); }
.about img { max-width: 410px; display: block; margin: auto; filter: drop-shadow(0 24px 32px rgba(9, 52, 113, .18)); }
.about .content ul i { background: #e2f4fc; color: #0978cd; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }

.services .icon-box {
  border: 1px solid var(--line); border-radius: 10px; padding: 38px 28px; height: 100%;
  box-shadow: 0 10px 28px rgba(14, 48, 105, .04); text-align: left;
}
.services .icon-box:hover { background: linear-gradient(145deg, #fff, #ecf8ff); border-color: #8ed9f8; transform: translateY(-7px); }
.services .icon-box .icon { margin: 0 0 24px; width: 58px; height: 58px; border-radius: 14px; background: var(--navy); }
.services .icon-box .icon i { font-size: 29px; color: #7ad8fb; }
.services .icon-box h4 { font-size: 19px; color: var(--ink); }
.services .icon-box p { line-height: 1.75; }

.portfolio .bg-white { border: 1px solid var(--line) !important; border-radius: 10px; box-shadow: 0 10px 25px rgba(11, 38, 88, .05); transition: .3s; }
.portfolio .bg-white:hover { transform: translateY(-7px); box-shadow: 0 20px 38px rgba(11, 38, 88, .14); border-color: #95d9f4 !important; }
.portfolio h4 { color: var(--ink); font-family: Poppins, sans-serif; }
.portfolio a { color: #0878cd; font-weight: 700; }

#contact { background: linear-gradient(120deg, #0b214b, #123f85 62%, #156fbe); color: white; }
#contact .section-title h3, #contact .section-title p { color: white; }
#contact .section-title h3 span { color: #78dafa; }
#contact .section-title h2 { background: rgba(118,219,252,.16); color: #b9ecff; }
#contact .info-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; box-shadow: none; }
#contact .info-box i { color: #80dcfa; border-color: #80dcfa; }
#contact .info-box h3, #contact .info-box p, #contact .info-box a { color: white; }
#footer { background: #07152e; color: rgba(255,255,255,.75); }

@media (max-width: 992px) {
  #header { height: 72px; }
  #hero { min-height: 650px; }
  .featured-services { margin-top: 0; }
  section { padding: 74px 0; }
}
