/* =================================================================
   WEGA Services — Main Stylesheet
   2018-era corporate IT template
   Palette:  Blue #1565C0 | Teal #17B2C4 | Navy #16202C
   Fonts:    Montserrat (headings) / Open Sans (body)
   ================================================================= */

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #5a6b7b;
  background: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #16202C;
  font-weight: 700;
  line-height: 1.3;
}

a { color: #1565C0; text-decoration: none; transition: all .3s ease; }
a:hover { color: #17B2C4; text-decoration: none; }

img { max-width: 100%; height: auto; }

ul { list-style: none; }

p { margin-bottom: 15px; }

.section { padding: 100px 0; position: relative; }
.section-grey { background: #f4f8fb; }

/* ---------- Buttons ---------- */
.btn-wega,
.btn-accent,
.btn-outline-wega,
.btn-outline-light {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 13px 34px;
  border-radius: 30px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}

.btn-wega { background: #1565C0; color: #fff; border-color: #1565C0; }
.btn-wega:hover { background: #0d4f9e; border-color: #0d4f9e; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(13,79,158,.3); }

.btn-accent { background: #17B2C4; color: #fff; border-color: #17B2C4; }
.btn-accent:hover { background: #129aab; border-color: #129aab; color: #fff; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(18,154,171,.3); }

.btn-outline-wega { background: transparent; color: #1565C0; border-color: #1565C0; }
.btn-outline-wega:hover { background: #1565C0; color: #fff; transform: translateY(-3px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: #fff; color: #1565C0; border-color: #fff; transform: translateY(-3px); }

.btn-sm { padding: 9px 24px; font-size: 13px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-ring {
  width: 58px;
  height: 58px;
  border: 5px solid #e6edf3;
  border-top-color: #1565C0;
  border-right-color: #17B2C4;
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar-wega {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 22px 0;
  transition: all .4s ease;
  background: transparent;
}
.navbar-wega.scrolled {
  padding: 12px 0;
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(16,32,44,.08);
}
.navbar-wega .navbar-brand { padding: 0; }
.navbar-wega .brand-logo { height: 42px; transition: all .3s ease; }
.navbar-wega .logo-dark { display: none; }
.navbar-wega .logo-light { display: inline-block; }
.navbar-wega.scrolled .logo-dark { display: inline-block; }
.navbar-wega.scrolled .logo-light { display: none; }
.navbar-wega.scrolled .brand-logo { height: 38px; }

.navbar-wega .navbar-nav .nav-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,.9);
  padding: 8px 16px !important;
  position: relative;
}
.navbar-wega .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 16px; bottom: 2px;
  width: 0; height: 2px;
  background: #17B2C4;
  transition: width .3s ease;
}
.navbar-wega .navbar-nav .nav-link:hover::after,
.navbar-wega .navbar-nav .nav-link.active::after { width: calc(100% - 32px); }
.navbar-wega .navbar-nav .nav-link:hover,
.navbar-wega .navbar-nav .nav-link.active { color: #fff; }

.navbar-wega.scrolled .navbar-nav .nav-link { color: #16202C; }
.navbar-wega.scrolled .navbar-nav .nav-link:hover,
.navbar-wega.scrolled .navbar-nav .nav-link.active { color: #1565C0; }

.navbar-wega .nav-cta { margin-left: 14px; }
.navbar-wega .nav-cta .btn-accent { color: #fff !important; }

.navbar-toggler { border: none; color: #fff; font-size: 24px; padding: 4px 8px; }
.navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-wega.scrolled .navbar-toggler { color: #16202C; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a2742 url('../images/hero-bg.svg') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,39,66,.92) 0%, rgba(13,58,85,.78) 55%, rgba(23,178,196,.45) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 130px 0 90px; }
.hero .kicker {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7fd4e0;
  margin-bottom: 22px;
  padding: 8px 18px;
  border: 1px solid rgba(127,212,224,.4);
  border-radius: 30px;
}
.hero h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 .accent { color: #17B2C4; }
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero .hero-btns .btn-wega,
.hero .hero-btns .btn-accent { margin-right: 14px; }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-size: 22px;
  animation: bob 2s infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ---------- Section heading ---------- */
.section-head { margin-bottom: 60px; }
.section-head .kicker {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #17B2C4;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-head .head-line {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, #1565C0, #17B2C4);
  margin: 0 auto 22px;
  border-radius: 3px;
}
.section-head.text-left .head-line { margin-left: 0; }
.section-head p { max-width: 640px; margin: 0 auto; }
.section-head.text-left p { margin: 0; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 10px; box-shadow: 0 25px 50px rgba(16,32,44,.15); }
.about-experience {
  position: absolute;
  right: -10px; bottom: -25px;
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  color: #fff;
  padding: 22px 30px;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(21,101,192,.35);
  text-align: center;
}
.about-experience .num { font-family: 'Montserrat'; font-size: 38px; font-weight: 800; line-height: 1; }
.about-experience .lbl { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }

.about-text h2 { font-size: 34px; margin-bottom: 20px; }
.about-signature { margin-top: 24px; }
.about-signature .founder { font-family: 'Montserrat'; font-weight: 700; color: #16202C; }
.about-signature .role { font-size: 14px; color: #8aa0b3; }

.mv-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
}
.mv-box .mv-icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(21,101,192,.1);
  color: #1565C0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.mv-box h4 { font-size: 18px; margin-bottom: 6px; }
.mv-box p { margin: 0; font-size: 15px; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 42px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16,32,44,.06);
  border-top: 3px solid transparent;
  transition: all .35s ease;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 50px rgba(16,32,44,.13);
  border-top-color: #17B2C4;
}
.service-card .icon {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  transition: all .35s ease;
}
.service-card:hover .icon { transform: rotateY(360deg); }
.service-card h4 { font-size: 20px; margin-bottom: 14px; }
.service-card p { font-size: 15px; margin-bottom: 18px; }
.service-card .read-more {
  font-family: 'Montserrat';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #1565C0;
}
.service-card .read-more i { transition: transform .3s ease; }
.service-card .read-more:hover i { transform: translateX(5px); }

/* ---------- Counter band (parallax) ---------- */
.counter-band {
  position: relative;
  padding: 90px 0;
  background: #0a2742 url('../images/hero-bg.svg') center center / cover fixed no-repeat;
  color: #fff;
}
.counter-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(21,101,192,.92), rgba(18,154,171,.88));
}
.counter-item { position: relative; z-index: 2; text-align: center; padding: 14px 0; }
.counter-item .c-icon { font-size: 44px; margin-bottom: 12px; color: rgba(255,255,255,.9); }
.counter-item .c-num {
  font-family: 'Montserrat';
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}
.counter-item .c-num .plus { color: #cdeef2; }
.counter-item .c-label {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  color: rgba(255,255,255,.85);
}

/* ---------- Why choose us / skills ---------- */
.feature-row { display: flex; gap: 16px; margin-bottom: 30px; }
.feature-row .f-icon {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.feature-row h4 { font-size: 18px; margin-bottom: 6px; }
.feature-row p { font-size: 15px; margin: 0; }

.skill { margin-bottom: 24px; }
.skill .skill-top {
  display: flex; justify-content: space-between;
  font-family: 'Montserrat';
  font-weight: 600;
  color: #16202C;
  margin-bottom: 8px;
  font-size: 15px;
}
.skill-bar { height: 8px; background: #e6edf3; border-radius: 10px; overflow: hidden; }
.skill-bar > span {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1565C0, #17B2C4);
  border-radius: 10px;
  transition: width 1.6s ease;
}

/* ---------- Portfolio ---------- */
.pf-filter { text-align: center; margin-bottom: 40px; }
.pf-filter button {
  font-family: 'Montserrat';
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: transparent;
  border: none;
  color: #6c7a89;
  padding: 8px 20px;
  margin: 4px;
  border-radius: 30px;
  cursor: pointer;
  transition: all .3s ease;
}
.pf-filter button.active,
.pf-filter button:hover { background: #1565C0; color: #fff; }

.pf-grid { margin: 0 -12px; }
.pf-item { padding: 12px; }
.pf-inner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16,32,44,.08);
}
.pf-inner img { width: 100%; display: block; transition: transform .6s ease; }
.pf-inner:hover img { transform: scale(1.08); }
.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,39,66,.92), rgba(21,101,192,.35) 60%, transparent);
  opacity: 0;
  transition: opacity .4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.pf-inner:hover .pf-overlay { opacity: 1; }
.pf-overlay .pf-cat { color: #7fd4e0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transform: translateY(15px); transition: transform .4s ease; }
.pf-overlay h4 { color: #fff; font-size: 20px; margin: 4px 0 0; transform: translateY(15px); transition: transform .4s ease .05s; }
.pf-inner:hover .pf-overlay .pf-cat,
.pf-inner:hover .pf-overlay h4 { transform: translateY(0); }
.pf-zoom {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #17B2C4;
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0);
  transition: transform .4s ease;
}
.pf-inner:hover .pf-zoom { transform: scale(1); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo { position: relative; overflow: hidden; border-radius: 10px; }
.team-photo img { width: 100%; display: block; }
.team-social {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(21,101,192,.95), rgba(23,178,196,.0));
  padding: 50px 0 18px;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.team-photo:hover .team-social { transform: translateY(0); }
.team-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff !important;
  margin: 0 4px;
  font-size: 15px;
}
.team-social a:hover { background: #fff; color: #1565C0 !important; }
.team-card .t-name { font-family: 'Montserrat'; font-size: 19px; font-weight: 700; color: #16202C; margin: 20px 0 2px; }
.team-card .t-role { font-size: 14px; color: #17B2C4; letter-spacing: .5px; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border-radius: 10px;
  padding: 38px 34px;
  box-shadow: 0 10px 30px rgba(16,32,44,.07);
  margin: 12px;
  position: relative;
}
.testi-card .quote-mark { font-size: 46px; color: #e2eef9; position: absolute; top: 22px; right: 30px; line-height: 1; }
.testi-card .testi-text { font-size: 16px; font-style: italic; color: #5a6b7b; position: relative; z-index: 2; }
.testi-foot { display: flex; align-items: center; margin-top: 24px; }
.testi-foot img { width: 58px; height: 58px; border-radius: 50%; margin-right: 16px; object-fit: cover; }
/* Owl forces .owl-item img to width:100%; keep testimonial avatars circular */
.owl-carousel .owl-item .testi-foot img { width: 58px; height: 58px; flex: 0 0 58px; }
.testi-foot .t-name { font-family: 'Montserrat'; font-weight: 700; color: #16202C; }
.testi-foot .t-role { font-size: 13px; color: #8aa0b3; }
.testi-foot .stars { color: #ffb400; font-size: 13px; margin-top: 3px; }

/* Owl nav dots */
.owl-theme .owl-dots .owl-dot span { width: 10px; height: 10px; background: #cdd9e3; transition: all .3s ease; }
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span { background: #1565C0; width: 28px; border-radius: 6px; }
.owl-theme .owl-dots { margin-top: 30px !important; }

/* ---------- Clients ---------- */
.client-logo {
  text-align: center;
  font-family: 'Montserrat';
  font-size: 22px;
  font-weight: 700;
  color: #9fb0c0;
  padding: 18px 0;
  letter-spacing: .5px;
  transition: all .3s ease;
  opacity: .75;
}
.client-logo i { margin-right: 8px; }
.client-logo:hover { color: #1565C0; opacity: 1; transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact-info-card {
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  border-radius: 12px;
  padding: 44px 38px;
  color: #fff;
  height: 100%;
}
.contact-info-card h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.ci-row { display: flex; gap: 16px; margin-bottom: 24px; }
.ci-row .ci-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ci-row .ci-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.ci-row .ci-val { font-family: 'Montserrat'; font-weight: 600; }
.ci-row a { color: #fff; }
.ci-social { margin-top: 8px; }
.ci-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff !important;
  margin-right: 8px;
}
.ci-social a:hover { background: #fff; color: #1565C0 !important; }

.contact-form .form-control {
  border: 1px solid #e6edf3;
  border-radius: 8px;
  padding: 14px 18px;
  height: auto;
  font-size: 15px;
  margin-bottom: 18px;
  background: #f8fafc;
  transition: all .3s ease;
}
.contact-form .form-control:focus {
  border-color: #1565C0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21,101,192,.08);
  outline: none;
}
.contact-form textarea.form-control { min-height: 140px; resize: vertical; }
#form-status { display: none; margin-top: 10px; }
#form-status.ok { display: block; color: #1f9d55; }

.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgba(16,32,44,.1); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  position: relative;
  padding: 180px 0 90px;
  background: #0a2742 url('../images/hero-bg.svg') center center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,39,66,.92), rgba(23,178,196,.55));
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 46px; font-weight: 800; margin-bottom: 12px; }
.page-header .crumb { font-family: 'Montserrat'; font-size: 14px; letter-spacing: .5px; }
.page-header .crumb a { color: #cdeef2; }
.page-header .crumb span { color: #fff; }
.page-header .crumb i { margin: 0 8px; font-size: 11px; opacity: .7; }

/* ---------- Process steps ---------- */
.process-step { text-align: center; padding: 20px; }
.process-step .ps-num {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px dashed #17B2C4;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat';
  font-size: 24px; font-weight: 800;
  color: #1565C0;
  position: relative;
}
.process-step h4 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14px; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  color: #fff;
  padding: 64px 0;
}
.cta-strip h3 { color: #fff; font-size: 30px; font-weight: 800; margin: 0; }
.cta-strip p { color: rgba(255,255,255,.9); margin: 6px 0 0; }

/* ---------- Footer ---------- */
.footer { background: #16202C; color: #9fb0c0; padding: 72px 0 0; }
.footer .f-logo { height: 42px; margin-bottom: 22px; }
.footer p { font-size: 14px; line-height: 1.9; }
.footer h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer h5::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 36px; height: 2px; background: #17B2C4;
}
.footer .f-links li { margin-bottom: 11px; }
.footer .f-links a { color: #9fb0c0; font-size: 14px; }
.footer .f-links a i { font-size: 11px; margin-right: 8px; color: #17B2C4; }
.footer .f-links a:hover { color: #fff; padding-left: 6px; }
.footer .f-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.footer .f-contact li i { color: #17B2C4; margin-top: 5px; }
.footer .f-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: #cdd9e3 !important;
  margin-right: 8px; margin-top: 6px;
}
.footer .f-social a:hover { background: linear-gradient(135deg, #1565C0, #17B2C4); color: #fff !important; transform: translateY(-3px); }
.footer .f-news .form-control {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 8px; padding: 12px 16px;
}
.footer .f-news .form-control::placeholder { color: #7c8da0; }
.footer .f-news .btn-accent { width: 100%; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 56px;
  padding: 22px 0;
  font-size: 13.5px;
}
.footer-bottom a { color: #cdeef2; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1565C0, #17B2C4);
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transform: translateY(15px);
  transition: all .35s ease;
  box-shadow: 0 10px 24px rgba(21,101,192,.35);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); color: #fff !important; }

/* ---------- Helpers ---------- */
.text-accent { color: #17B2C4 !important; }
.text-primary-wega { color: #1565C0 !important; }
.bg-grey { background: #f4f8fb; }
.mt-90 { margin-top: 90px; }
