@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --navy: #00245a;
  --navy-deep: #001a44;
  --orange: #f26522;
  --orange-dark: #d95518;
  --text: #565969;
  --muted: #cadfff;
  --light: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 0 20px 0 rgba(221, 221, 221, 0.45);
  --radius: 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: 0.5s ease; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 700; line-height: 1.25; }
p { margin-bottom: 16px; }
button:focus, input:focus, select:focus, textarea:focus { outline: none; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(1400px, calc(100% - 40px)); margin: 0 auto; }
.ptb-100 { padding: 100px 0; }
.pt-100 { padding-top: 100px; }
.pb-70 { padding-bottom: 70px; }
.pb-100 { padding-bottom: 100px; }

.common-btn {
  color: #fff;
  background: var(--orange);
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  padding: 14px 28px;
  position: relative;
  z-index: 1;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}
.common-btn:before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 0;
  background: var(--navy);
  z-index: -1;
  transition: 0.5s ease;
  border-radius: 50% 50% 0 0;
}
.common-btn:hover { color: #fff; }
.common-btn:hover:before { height: 100%; border-radius: 0; }
.common-btn i { margin-right: 4px; position: relative; top: 1px; }

.section-title { margin-bottom: 50px; }
.section-title .sub-title {
  display: inline-block;
  color: var(--navy);
  position: relative;
  margin-bottom: 10px;
  font-weight: 500;
  padding-left: 65px;
}
.section-title .sub-title:before {
  content: "";
  position: absolute;
  width: 55px; height: 1px;
  top: 12px; left: 0;
  background: var(--orange);
}
.section-title h2 { font-size: 40px; margin-bottom: 12px; }
.section-title p { max-width: 640px; }
.section-title.center { text-align: center; }
.section-title.center p { margin-left: auto; margin-right: auto; }
.section-title.light .sub-title,
.section-title.light h2,
.section-title.light p { color: #fff; }
.section-title.light .sub-title:before { background: var(--orange); }

/* Header top */
.header-top {
  background: var(--navy);
  padding: 10px 0;
  position: relative;
  z-index: 100;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-top p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
}
.header-top-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header-top-right a.mail {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}
.header-top-right a.mail i { color: var(--orange); margin-right: 6px; }
.header-top-right a.mail:hover { color: var(--orange); }
.social-info { display: flex; gap: 12px; }
.social-info a { color: #fff; font-size: 16px; }
.social-info a:hover { color: var(--orange); }

/* Navbar */
.main-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: 0.35s ease;
}
.main-nav .container-wide {
  padding-right: 0;
}
.main-nav.shrink { box-shadow: 0 0 20px rgba(221, 221, 221, 0.55); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.logo img { height: 52px; width: auto; object-fit: contain; }
.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
}
.logo-text img { height: 48px; width: 48px; object-fit: contain; }

.navbar-menu { display: flex; align-items: center; gap: 28px; }
.navbar-menu > li { position: relative; }
.navbar-menu > li > a {
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 32px 0;
}
.navbar-menu > li > a:hover,
.navbar-menu > li > a.active,
.navbar-menu > li:hover > a { color: var(--orange); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
  z-index: 20;
}
.navbar-menu > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { border-bottom: 1px dashed rgba(0, 36, 90, 0.28); }
.dropdown li:last-child { border-bottom: 0; }
.dropdown a {
  display: block;
  padding: 12px 18px;
  color: var(--navy);
  font-size: 15px;
}
.dropdown a:hover { color: var(--orange); }

.nav-tools { display: flex; align-items: center; }
.search-btn {
  width: 88px;
  height: 88px;
  background: var(--orange);
  color: #fff;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-btn:hover { background: var(--navy); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 32px;
  color: var(--navy);
  cursor: pointer;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 36, 90, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.search-overlay.open { display: flex; }
.search-box { width: min(680px, 100%); position: relative; }
.search-box input {
  width: 100%;
  height: 64px;
  border: 0;
  padding: 0 70px 0 22px;
  font-size: 18px;
}
.search-box button {
  position: absolute;
  right: 0; top: 0;
  height: 64px; width: 64px;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.search-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

/* Hero */
.banner-area {
  position: relative;
  min-height: 720px;
  background: #f4f7fb url("../images/page-banner.jpg") center/cover no-repeat;
  overflow: hidden;
}
.banner-area:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
}
.banner-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  min-height: 720px;
}
.banner-content {
  background: #fff;
  border-left: 5px solid var(--orange);
  padding: 48px 46px;
  max-width: 640px;
  margin: 120px 0 90px;
  box-shadow: 0 20px 40px rgba(0, 36, 90, 0.06);
}
.banner-content .sub-text {
  color: var(--navy);
  font-weight: 500;
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  display: inline-block;
}
.banner-content .sub-text:before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 18px; height: 28px;
  border: 2px solid var(--orange);
}
.banner-content h1 {
  font-size: 58px;
  margin-bottom: 16px;
  color: var(--navy);
}
.banner-content p { margin-bottom: 28px; max-width: 520px; }
.banner-figure {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.banner-figure img {
  max-height: 680px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 36, 90, 0.18));
}

/* Features */
.feature-area { margin-top: -50px; position: relative; z-index: 3; padding-bottom: 40px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 35px 30px 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.45s ease;
}
.feature-item:before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: var(--navy);
  z-index: -1;
  transition: 0.45s ease;
}
.feature-item:hover { transform: translateY(-10px); }
.feature-item:hover:before { height: 100%; }
.feature-item i {
  color: var(--orange);
  font-size: 48px;
  margin-bottom: 16px;
  display: inline-block;
  transition: 0.45s ease;
}
.feature-item h3 { font-size: 22px; margin-bottom: 10px; }
.feature-item h3 a { color: var(--navy); }
.feature-item p { margin-bottom: 0; transition: 0.45s ease; }
.feature-item:hover i,
.feature-item:hover h3 a,
.feature-item:hover p { color: #fff; }

/* About */
.about-area { padding: 80px 0 100px; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-photos img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.about-photos img.tall { grid-row: span 2; height: 476px; }
.experience-badge {
  background: var(--navy);
  color: #fff;
  width: 118px; height: 118px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 18px; bottom: 18px;
  border: 6px solid #fff;
  z-index: 2;
}
.experience-badge strong { font-size: 28px; color: var(--orange); line-height: 1; }
.experience-badge span { font-size: 12px; text-align: center; line-height: 1.2; color: #fff; }
.about-photos-wrap { position: relative; }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 28px; }
.check-list li {
  flex: 0 0 46%;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-list i {
  width: 28px; height: 28px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Services dark */
.service-area {
  background: var(--navy);
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
.service-area:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 101, 34, 0.12), transparent 28%),
    linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 41%, transparent 42%);
  pointer-events: none;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: #fff;
  padding: 32px 28px 24px;
  position: relative;
  transition: 0.45s ease;
  min-height: 250px;
}
.service-card:hover { transform: translateY(-10px); }
.service-card span {
  color: var(--orange);
  font-weight: 700;
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 24px; margin-bottom: 10px; }
.service-card h3 a { color: var(--navy); }
.service-card h3 a:hover { color: var(--orange); }
.service-card p { margin-bottom: 8px; }
.service-icon {
  width: 70px; height: 70px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--orange);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 28px; bottom: -28px;
  transition: 0.5s ease;
}
.service-card:hover .service-icon { transform: rotateY(360deg); }

.service-cards-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-box {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 40px 30px 32px;
  transition: 0.4s ease;
}
.service-box:hover { transform: translateY(-8px); }
.service-box i { color: var(--orange); font-size: 42px; margin-bottom: 16px; display: inline-block; }
.service-box h3 { font-size: 22px; margin-bottom: 12px; }
.service-box p { margin-bottom: 22px; }
.arrow-btn {
  width: 46px; height: 46px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.arrow-btn:hover { background: var(--navy); color: #fff; }

/* Counter */
.counter-area {
  background: var(--navy);
  padding: 55px 0;
  position: relative;
}
.counter-area:after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,0.025) 40px 80px);
  pointer-events: none;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.counter-item { text-align: center; color: #fff; }
.counter-item h2 { color: var(--orange); font-size: 42px; margin-bottom: 6px; }
.counter-item p { margin: 0; color: #fff; }

/* Pricing */
.pricing-area { padding: 100px 0 70px; background: #fff; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  padding: 0 0 36px;
  overflow: hidden;
  transition: 0.4s ease;
}
.price-card:hover { transform: translateY(-8px); }
.price-card .head { padding: 28px 20px 10px; }
.price-card .head h3 {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.price-card .head h3 i { color: var(--navy); }
.price-amount {
  background: #ffe8dc;
  color: var(--orange);
  font-size: 36px;
  font-weight: 700;
  padding: 18px 10px;
  margin: 12px 0 24px;
}
.price-amount span { font-size: 18px; font-weight: 500; }
.price-card ul { padding: 0 30px; text-align: left; margin-bottom: 28px; }
.price-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text);
}
.price-card ul li:before {
  content: "\ea6e";
  font-family: "boxicons";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.price-card.active .head h3,
.price-card.active .head h3 i { color: #fff; }
.price-card.active .head { background: var(--orange); padding-bottom: 16px; color: #fff; }
.price-card.active .price-amount { background: var(--orange); color: #fff; margin-top: 0; }
.price-card.active ul li:before { color: var(--orange); }

/* Skills */
.skills-area { padding: 0 0 100px; }
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.skills-photo { min-height: 520px; background-size: cover; background-position: center; }
.skills-content { padding: 70px 50px; background: #fff; }
.skill-item { margin-bottom: 22px; }
.skill-item h4 { font-size: 18px; margin-bottom: 10px; }
.skill-item p { font-size: 15px; margin: 0; }
.progress {
  height: 8px;
  background: #eee;
  overflow: hidden;
  margin-top: 8px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--orange);
}

/* Projects */
.projects-area { padding: 100px 0 70px; background: var(--light); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-item {
  position: relative;
  overflow: hidden;
}
.project-item img { width: 100%; height: 280px; object-fit: cover; transition: 0.5s ease; }
.project-item:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 36, 90, 0.78));
  display: flex;
  align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: 0.4s ease;
}
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay h3 { color: #fff; font-size: 20px; margin: 0; }
.project-overlay span { color: var(--orange); font-size: 14px; }

/* Team */
.team-area { padding: 100px 0 70px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-grid.three { grid-template-columns: repeat(3, 1fr); }
.team-card {
  text-align: center;
  padding: 20px 16px 28px;
  box-shadow: var(--shadow);
  background: #fff;
  transition: 0.4s ease;
}
.team-card:hover { transform: translateY(-8px); }
.team-card .photo {
  width: 210px; height: 210px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
}
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card span { color: var(--orange); display: block; margin-bottom: 4px; }
.team-card h3 { font-size: 20px; margin: 0; }

/* Testimonials */
.testimonials-area { padding: 40px 0 100px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 36px 32px 28px;
  position: relative;
}
.testimonial-card h3 { color: var(--orange); font-size: 22px; margin-bottom: 12px; }
.testimonial-card p { margin-bottom: 24px; }
.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-meta h4 { font-size: 16px; margin-bottom: 2px; }
.testimonial-meta span { font-size: 14px; color: var(--text); }
.quote-icon {
  width: 56px; height: 48px;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 78% 100%, 0 100%);
}

/* Newsletter */
.newsletter-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: -55px;
}
.newsletter-box {
  background: var(--orange);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  align-items: center;
  padding: 32px 40px;
}
.newsletter-box span { color: #fff; font-size: 14px; display: block; }
.newsletter-box h2 { color: #fff; font-size: 30px; margin: 0; }
.newsletter-form {
  display: flex;
  background: #fff;
  height: 54px;
}
.newsletter-form input {
  flex: 1;
  border: 0;
  padding: 0 18px;
  font-size: 15px;
}
.newsletter-form button {
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 0 22px;
  font-weight: 500;
  cursor: pointer;
}
.newsletter-form button:hover { background: #001433; }

/* Footer */
footer {
  background: var(--navy);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
footer:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(125deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(125deg, transparent 75%, rgba(255,255,255,0.04) 75%);
  background-size: 180px 180px;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.footer-item h3 { color: #fff; font-size: 22px; margin-bottom: 22px; }
.footer-item p { color: var(--muted); }
.footer-logo img { height: 54px; width: auto; margin-bottom: 18px; object-fit: contain; }
.footer-item .social-info { margin-top: 16px; }
.footer-links li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}
.footer-links li:before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0; top: 9px;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: #fff; letter-spacing: 0.4px; }
.footer-company li { color: var(--muted); margin-bottom: 12px; }
.footer-company span { color: #fff; font-weight: 500; }
.footer-company a { color: var(--muted); }
.footer-company a:hover { color: #fff; }
.copyright-area {
  margin-top: 50px;
  border-top: 1px solid #1b437f;
  padding: 22px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.copyright-area p { margin: 0; color: var(--muted); font-size: 15px; }
.copyright-area a { color: #fff; border-bottom: 1px solid #fff; margin: 0 4px; }
.copyright-area a:hover { color: var(--orange); border-color: var(--orange); }

/* Page title */
.page-title-area {
  height: 360px;
  position: relative;
  background: url("../images/page-banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}
.page-title-area:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 36, 90, 0.82) 18%, rgba(0, 36, 90, 0.18) 70%);
}
.title-content {
  position: relative;
  z-index: 1;
  padding-left: 22px;
  border-left: 3px solid var(--orange);
}
.title-content h2 { color: #fff; font-size: 48px; margin-bottom: 8px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 15px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { font-size: 16px; }

/* Pagination */
.pagination-area { text-align: center; margin-top: 20px; padding-bottom: 80px; }
.pagination-area ul { display: inline-flex; gap: 8px; }
.pagination-area a,
.pagination-area span {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0d4c6;
  color: var(--navy);
  background: #fff;
  font-weight: 500;
}
.pagination-area .active,
.pagination-area a:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* Forms */
.form-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.form-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}
.form-group { margin-bottom: 16px; position: relative; }
.form-group i {
  position: absolute;
  left: 14px; top: 16px;
  color: #9aa3b5;
}
.form-control, .form-select, textarea.form-control {
  width: 100%;
  height: 52px;
  border: 1px solid #e6e8ef;
  padding: 0 16px 0 42px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  font-family: inherit;
}
textarea.form-control { height: 140px; padding-top: 14px; resize: vertical; }
.form-control:focus, .form-select:focus { border-color: var(--orange); }
.form-select {
  padding-left: 42px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300245a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 12px 0 18px; }
.checkbox input { margin-top: 4px; }
.error-text { color: #d32f2f; font-size: 13px; margin-top: 4px; display: none; }
.form-group.invalid .form-control,
.form-group.invalid .form-select { border-color: #d32f2f; }
.form-group.invalid .error-text { display: block; }
.form-side img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.form-side { position: relative; overflow: hidden; }
.follow-box {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(0, 36, 90, 0.78);
  color: #fff;
  padding: 14px 18px;
}
.follow-box span { display: block; font-size: 13px; opacity: 0.8; }
.follow-box strong { display: block; margin-bottom: 8px; }
.follow-box a { color: #fff; margin-right: 8px; }
.follow-box a:hover { color: var(--orange); }
.common-btn.full { width: 100%; text-align: center; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: -70px auto 50px;
  position: relative;
  z-index: 3;
}
.info-card {
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.info-card img { width: 100%; height: 170px; object-fit: cover; }
.info-card .body { padding: 18px 18px 20px; display: flex; gap: 12px; }
.info-card i { color: var(--orange); font-size: 22px; }
.info-card h4 { font-size: 18px; margin-bottom: 6px; }
.info-card p { margin: 0; font-size: 15px; }

/* Legal */
.legal-content {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 50px 48px;
}
.legal-content h2 { font-size: 28px; margin: 28px 0 12px; }
.legal-content h3 { font-size: 20px; margin: 22px 0 10px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content ul li { list-style: disc; margin-bottom: 8px; }

/* Quote inner */
.quote-area { padding: 80px 0 40px; }

/* Success modal */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 36, 90, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}
.success-modal.open { display: flex; }
.success-card {
  background: #fff;
  max-width: 480px;
  width: 100%;
  text-align: center;
  padding: 42px 32px;
  position: relative;
}
.success-card i {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #e9f8ee;
  color: #1e9d4b;
  font-size: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.success-card h3 { margin-bottom: 10px; }
.success-close {
  margin-top: 18px;
}

.go-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  background: var(--orange);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  font-size: 22px;
}
.go-top.show { display: flex; }
.go-top:hover { background: var(--navy); color: #fff; }

/* Responsive */
@media (max-width: 1199px) {
  .banner-content h1 { font-size: 46px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar-menu { gap: 18px; }
}
@media (max-width: 991px) {
  .menu-toggle { display: block; margin-right: 8px; }
  .search-btn { width: 64px; height: 72px; }
  .nav-inner { min-height: 72px; }
  .info-cards { margin-top: 0; }
  .navbar-menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 24px 24px;
    box-shadow: var(--shadow);
    gap: 0;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu > li { width: 100%; }
  .navbar-menu > li > a { padding: 12px 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }
  .navbar-menu > li.open .dropdown { display: block; }
  .banner-wrap { grid-template-columns: 1fr; min-height: auto; }
  .banner-content { margin: 80px auto 30px; }
  .banner-figure img { max-height: 420px; margin: 0 auto; }
  .feature-grid,
  .service-grid,
  .service-cards-light,
  .pricing-grid,
  .project-grid,
  .counter-grid,
  .info-cards { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .skills-grid,
  .form-layout,
  .newsletter-box,
  .testimonial-grid { grid-template-columns: 1fr; }
  .skills-content { padding: 40px 24px; }
  .page-title-area { height: 280px; }
  .title-content h2 { font-size: 36px; }
}
@media (max-width: 767px) {
  .header-top-inner { flex-direction: column; text-align: center; }
  .header-top-right { flex-direction: column; gap: 8px; }
  .banner-content { padding: 28px 22px; }
  .banner-content h1 { font-size: 34px; }
  .section-title h2 { font-size: 30px; }
  .feature-grid,
  .service-grid,
  .service-cards-light,
  .pricing-grid,
  .project-grid,
  .counter-grid,
  .team-grid,
  .team-grid.three,
  .info-cards,
  .footer-grid { grid-template-columns: 1fr; }
  .about-photos { grid-template-columns: 1fr; }
  .about-photos img,
  .about-photos img.tall { height: 240px; }
  .check-list li { flex: 0 0 100%; }
  .legal-content, .form-card { padding: 28px 20px; }
  .newsletter-box { padding: 24px 18px; }
  .newsletter-box h2 { font-size: 24px; }
  .newsletter-form { flex-direction: column; height: auto; }
  .newsletter-form input { height: 48px; }
  .newsletter-form button { height: 48px; }
}
