@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap");

:root {
  --theme-color: #ea1826;
  --theme-color-1: #102039;
  --text-muted: #787878;
  --light-bg: #f6f7f9;
  --border: #ececec;
  --white: #ffffff;
  --primary-font: "Inter", sans-serif;
  --secondary-font: "Roboto", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--secondary-font);
  font-size: 16px;
  line-height: 26px;
  color: var(--theme-color-1);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; margin: 0; padding: 0; }
p { color: var(--text-muted); margin-bottom: 15px; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--primary-font);
  color: var(--theme-color-1);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

h1 { font-size: 64px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 24px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

.container { max-width: 1320px; }

.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.bg-light { background: var(--light-bg) !important; }
.bg-navy { background: var(--theme-color-1); }
.bg-red { background: var(--theme-color); }

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sub-title::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--theme-color);
}

.section-title { margin-bottom: 18px; }
.section-text { max-width: 640px; }

.primary-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--theme-color);
  color: #fff !important;
  border: 1px solid var(--theme-color);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.4s;
}
.primary-btn i { font-size: 12px; }
.primary-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--theme-color-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.4s;
  z-index: -1;
}
.primary-btn:hover::after { transform: scaleX(1); }

.primary-btn.navy {
  background: var(--theme-color-1);
  border-color: var(--theme-color-1);
}
.primary-btn.navy::after { background: var(--theme-color); }

/* Header */
.header-top {
  background: var(--theme-color-1);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}
.header-top a { color: #fff; }
.header-top a:hover { color: var(--theme-color); }
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-top-info {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.header-top-info span,
.header-top-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-top-info i { color: var(--theme-color); }
.header-socials { display: flex; gap: 16px; }
.header-socials a:hover { color: var(--theme-color); }

.header-main {
  background: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(16, 32, 57, 0.06);
}
.header-main.sticky { box-shadow: 0 8px 24px rgba(16, 32, 57, 0.12); }
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo img,
.logo svg { height: 58px; width: auto; }
.logo-white img,
.logo-white svg { height: 58px; width: auto; }

.main-menu { display: flex; align-items: center; gap: 28px; }
.main-menu a {
  font-family: var(--primary-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-color-1);
}
.main-menu a:hover,
.main-menu a.active { color: var(--theme-color); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.quote-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.quote-circle::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--theme-color);
  border-radius: 50%;
}
.quote-circle i { transform: rotate(-45deg); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--theme-color-1);
  font-size: 24px;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 0 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active,
.mobile-menu a:hover { color: var(--theme-color); }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 32, 57, 0.92) 0%, rgba(11, 21, 38, 0.55) 58%, rgba(0, 0, 0, 0.08) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 140px 0 180px; }
.hero-kicker {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  color: #fff;
  font-size: 62px;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero p { color: #fff; font-size: 18px; line-height: 32px; max-width: 580px; }
.hero-line {
  width: 180px;
  height: 3px;
  background: var(--theme-color);
  margin: 18px 0 28px;
  position: relative;
}
.hero-line::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -18px;
  width: 90px;
  height: 38px;
  border: 2px solid var(--theme-color);
  border-left: 0;
  border-radius: 0 40px 40px 0;
}

/* Feature strip */
.feature-strip { margin-top: -70px; position: relative; z-index: 3; }
.feature-card {
  background: #fff;
  padding: 32px 24px;
  box-shadow: 0 14px 40px rgba(16, 32, 57, 0.08);
  height: 100%;
  display: flex;
  gap: 18px;
}
.icon-box {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}
.icon-box::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--theme-color);
  border-radius: 50%;
}
.feature-card h5 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 15px; }

/* About */
.about-images { position: relative; min-height: 520px; }
.about-images .img-main {
  width: 72%;
  height: 460px;
  object-fit: cover;
}
.about-images .img-small {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 48%;
  height: 250px;
  object-fit: cover;
  border: 10px solid #fff;
  box-shadow: 0 12px 30px rgba(16, 32, 57, 0.12);
}
.experience-badge {
  position: absolute;
  left: 0;
  bottom: 80px;
  background: var(--theme-color);
  color: #fff;
  padding: 22px 20px;
  width: 130px;
  text-align: center;
}
.experience-badge strong { display: block; font-size: 32px; line-height: 1; }
.experience-badge span { font-size: 13px; }

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--theme-color-1);
  font-weight: 500;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--theme-color);
  position: absolute;
  left: 0;
}

/* Services */
.service-card {
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 32, 57, 0.06);
  overflow: hidden;
  height: 100%;
  transition: 0.35s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card .thumb { height: 230px; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 28px 24px 32px; position: relative; }
.service-card .icon-box {
  margin-top: -54px;
  margin-bottom: 18px;
}
.service-card h4 { margin-bottom: 10px; }
.read-more {
  color: var(--theme-color);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* Process */
.process-wrap { position: relative; }
.process-card { text-align: center; padding: 10px 18px; }
.process-num {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px dashed #c9cdd3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color);
  font-size: 26px;
  position: relative;
  background: #fff;
}
.process-line {
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #d4d7dc 0 10px, transparent 10px 20px);
  z-index: 0;
}

/* Projects */
.project-card { position: relative; overflow: hidden; }
.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.5s;
}
.project-card:hover img { transform: scale(1.07); }
.project-card .overlay {
  position: absolute;
  inset: auto 20px 20px 20px;
  background: rgba(16, 32, 57, 0.88);
  color: #fff;
  padding: 18px 20px;
  transform: translateY(12px);
  opacity: 0;
  transition: 0.35s;
}
.project-card:hover .overlay { opacity: 1; transform: none; }
.project-card .overlay h5,
.project-card .overlay p { color: #fff; margin: 0; }
.project-card .overlay p { color: #d7dbe2; font-size: 14px; }

/* Testimonials */
.testimonial-panel {
  background: var(--theme-color);
  color: #fff;
  padding: 50px 36px;
  height: 100%;
}
.testimonial-panel h3,
.testimonial-panel p,
.testimonial-panel h5 { color: #fff; }
.testimonial-panel p { color: rgba(255, 255, 255, 0.86); }
.testimonial-card {
  background: #fff;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(16, 32, 57, 0.06);
  height: 100%;
}
.quote-mark {
  font-size: 42px;
  color: var(--theme-color);
  line-height: 1;
  margin-bottom: 12px;
}
.stars { color: #f5b301; margin-bottom: 12px; }
.author { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

/* Stats */
.stats-row {
  background: #fff;
  box-shadow: 0 12px 36px rgba(16, 32, 57, 0.08);
  padding: 36px 10px;
}
.stat-item { text-align: center; padding: 10px; }
.stat-item i { color: var(--theme-color); font-size: 28px; margin-bottom: 8px; }
.stat-item h3 { color: var(--theme-color-1); }

/* CTA */
.cta-section { background: var(--theme-color-1); }
.cta-media {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}
.cta-content { padding: 70px 40px; color: #fff; }
.cta-content h2,
.cta-content p { color: #fff; }

/* Why choose */
.choose-box {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.choose-box .icon-box { background: #fff; color: var(--theme-color); box-shadow: 0 8px 20px rgba(16, 32, 57, 0.08); }
.choose-box .icon-box::after { border-color: #f1c6c9; }
.choose-media { position: relative; }
.choose-media img { width: 100%; height: 520px; object-fit: cover; }

/* Team */
.team-card {
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 57, 0.07);
  overflow: hidden;
  height: 100%;
}
.team-card img { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.team-card .info {
  padding: 22px 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-card .info span { color: var(--text-muted); font-size: 14px; }
.share-btn {
  width: 38px;
  height: 38px;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing */
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 42px 32px;
  height: 100%;
  position: relative;
  transition: 0.3s;
}
.price-card.active,
.price-card:hover {
  border-color: var(--theme-color);
  box-shadow: 0 16px 40px rgba(234, 24, 38, 0.12);
}
.price-card .amount {
  font-size: 48px;
  color: var(--theme-color);
  font-family: var(--primary-font);
  font-weight: 700;
}
.price-card .amount small { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.price-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--theme-color-1);
}
.popular-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--theme-color);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  font-weight: 600;
}

/* Forms */
.form-card {
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 32, 57, 0.08);
  padding: 42px 36px;
}
.form-control,
.form-select,
textarea.form-control {
  height: 56px;
  border: 0;
  border-bottom: 1px solid #d9dce1;
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  color: var(--theme-color-1);
  box-shadow: none !important;
}
textarea.form-control { height: 140px; resize: vertical; }
.form-control:focus,
.form-select:focus { border-color: var(--theme-color); }
.form-label { font-size: 14px; font-weight: 600; color: var(--theme-color-1); }
.field-error { color: var(--theme-color); font-size: 13px; margin-top: 6px; display: none; }
.is-invalid + .field-error,
.field-wrap.is-invalid .field-error { display: block; }
.form-control.is-invalid,
.form-select.is-invalid { border-color: var(--theme-color); }
.form-success {
  display: none;
  background: #e8f8ee;
  border: 1px solid #b7e4c7;
  color: #1b7a3d;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }
.contact-info-card {
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 57, 0.06);
  padding: 28px 22px;
  margin-bottom: 20px;
}
.contact-info-card i { color: var(--theme-color); font-size: 22px; margin-bottom: 10px; }

/* Page banner */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 32, 57, 0.94) 0%, rgba(16, 32, 57, 0.72) 48%, rgba(16, 32, 57, 0.28) 100%);
}
.page-banner-content { position: relative; z-index: 2; padding: 90px 0 80px; }
.page-banner h1 { color: #fff; font-size: 64px; margin-bottom: 12px; }
.breadcrumb-nav { color: #d5d8de; font-size: 15px; }
.breadcrumb-nav a { color: #fff; }
.breadcrumb-nav a:hover { color: var(--theme-color); }
.page-banner .deco-line {
  position: absolute;
  right: 12%;
  top: 46%;
  width: 220px;
  height: 3px;
  background: var(--theme-color);
  z-index: 2;
}
.page-banner .deco-line::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -22px;
  width: 110px;
  height: 46px;
  border: 3px solid var(--theme-color);
  border-left: 0;
  border-radius: 0 46px 46px 0;
}

/* Legal */
.legal-content h3 { margin: 32px 0 12px; }
.legal-content h4 { margin: 24px 0 10px; }
.legal-content p,
.legal-content li { color: var(--text-muted); }
.legal-content ul,
.legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content li { list-style: disc; margin-bottom: 8px; }

/* Sidebar widgets like reference */
.side-widget { margin-bottom: 24px; }
.side-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(16, 32, 57, 0.05);
  font-weight: 600;
}
.side-list a:hover,
.side-list a.active {
  background: var(--theme-color);
  color: #fff;
}
.help-widget {
  background: var(--theme-color-1);
  color: #fff;
  text-align: center;
  padding: 36px 24px;
}
.help-widget img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}
.help-widget h5,
.help-widget p { color: #fff; }

/* Footer */
.footer {
  background: var(--theme-color-1);
  color: #fff;
  padding-top: 80px;
}
.footer p,
.footer a,
.footer li { color: #d7dbe2; }
.footer h4 { color: #fff; margin-bottom: 22px; font-size: 20px; }
.footer-about p { margin: 18px 0 22px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-socials a:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { position: relative; padding-left: 16px; }
.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--theme-color);
}
.footer-links a:hover { color: var(--theme-color); }
.footer-posts .post {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-posts img { width: 72px; height: 72px; object-fit: cover; }
.footer-posts span { color: #b7bcc6; font-size: 13px; }
.footer-posts h6 { color: #fff; font-size: 15px; margin-top: 4px; }
.footer-posts a:hover h6 { color: var(--theme-color); }
.footer-subscribe input {
  width: 100%;
  height: 56px;
  border: 0;
  padding: 0 16px;
  margin-bottom: 10px;
}
.footer-subscribe .primary-btn { width: 100%; justify-content: center; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 50px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom,
.footer-bottom a { color: #c9ced6; font-size: 14px; }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--theme-color); }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  background: var(--theme-color);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.back-top.show { display: flex; }

/* Extra */
.play-btn {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.img-frame { position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.service-icon-grid .item {
  background: #fff;
  padding: 28px 22px;
  box-shadow: 0 10px 24px rgba(16, 32, 57, 0.06);
  height: 100%;
}
.service-icon-grid .item i { color: var(--theme-color); font-size: 28px; margin-bottom: 12px; }

@media (max-width: 1199px) {
  h1, .hero h1, .page-banner h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .main-menu { gap: 16px; }
  .header-actions .primary-btn { display: none; }
}

@media (max-width: 991px) {
  .main-menu { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { min-height: 560px; }
  .hero-content { padding: 90px 0 140px; }
  .about-images { min-height: auto; margin-bottom: 30px; }
  .about-images .img-main,
  .about-images .img-small { position: relative; width: 100%; height: 280px; right: auto; bottom: auto; }
  .about-images .img-small { margin-top: 16px; }
  .process-line { display: none; }
  .page-banner .deco-line { display: none; }
  .cta-content { padding: 50px 20px; }
  .section { padding: 80px 0; }
}

@media (max-width: 767px) {
  h1, .hero h1, .page-banner h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .header-top-info { display: none; }
  .feature-strip { margin-top: 0; }
  .form-card { padding: 28px 18px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
