/*======================================================
CHB ENGINEERING & CONSTRUCTION
Version 2.0
======================================================*/

:root {
  --primary: #2d2e3a;
  --secondary: #fcbf1b;
  --white: #ffffff;
  --light: #f7f8fa;
  --dark: #171922;
  --text: #666;
  --transition: 0.35s ease;
}
::selection {
  background: var(--secondary);
  color: #000;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  overflow-x: hidden;

  padding-top: 135px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
}

a {
  text-decoration: none;
}

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

section {
  overflow: hidden;
}

button:focus,
a:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}
/*=====================================
SCROLL ANIMATIONS
=====================================*/

.reveal {
  opacity: 0;

  transform: translateY(60px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;

  transform: translateY(0);
}

/* Different animation directions */

.reveal-left {
  opacity: 0;

  transform: translateX(-80px);

  transition: 0.8s ease;
}

.reveal-left.active {
  opacity: 1;

  transform: translateX(0);
}

.reveal-right {
  opacity: 0;

  transform: translateX(80px);

  transition: 0.8s ease;
}

.reveal-right.active {
  opacity: 1;

  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;

  transform: scale(0.92);

  transition: 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;

  transform: scale(1);
}
/*========================
TOP BAR
========================*/

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--dark);
  padding: 10px 0;
}

.top-bar a {
  color: #fff;
  font-size: 14px;
}

.top-bar i {
  color: var(--secondary);
  margin-right: 10px;
}
@media (max-width: 576px) {
  .top-bar a {
    font-size: 10px;
  }
}
.top-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.top-contact a {
  margin: 0;
  color: white;
}

.top-contact i {
  color: var(--secondary);
  margin-right: 8px;
}

@media (max-width: 991px) {
  .top-contact a {
    font-size: 14px;
  }

  body {
    padding-top: 90px;
  }

  .custom-navbar {
    top: 0;
  }
}

/*========================
NAVBAR
========================*/
.custom-navbar {
  position: fixed;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(45, 46, 58, 0.96);
  backdrop-filter: blur(12px);

  transition: var(--transition);
}

.custom-navbar.scrolled {
  top: 0;

  padding: 12px 0;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.navbar-collapse.show {
  margin-top: 10px;
}
.navbar-collapse.show .nav-link {
  margin-left: 3px;
}
.navbar-brand img {
  height: 70px;
  width: 70px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  transition: var(--transition);
}
.custom-navbar.scrolled .navbar-brand img {
  height: 50px;
  width: 50px;
}
@media (max-width: 768px) {
  .navbar-brand img {
    width: 45px;
    height: 45px;
  }
  .custom-navbar.scrolled .navbar-brand img {
    height: 40px;
    width: 40px;
  }
}

.nav-link {
  color: white !important;
  margin-left: 18px;
  font-size: 17px;
  font-weight: 400;
  transition: 0.3s;
}
.nav-link.active {
  color: var(--secondary) !important;
}
.nav-link:hover {
  color: var(--secondary) !important;
}

.quote-btn {
  background: var(--secondary);
  color: #000;
  padding: 14px 34px;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.35s;
}

.quote-btn:hover {
  background: #ffd452;
  color: black;
}

.quote-btn:hover {
  transform: translateY(-3px);
}
/*==================================================
HERO
==================================================*/

.hero {
  position: relative;

  min-height: 100vh;

  background: url("../images/hero.jpg");

  background-size: cover;

  background-position: center;

  display: flex;

  align-items: center;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(23, 25, 34, 0.9) 0%,

    rgba(23, 25, 34, 0.65) 55%,

    rgba(23, 25, 34, 0.3) 100%
  );
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
}

.hero-subtitle {
  display: inline-block;

  color: #fcbf1b;

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin-bottom: 25px;
}

.hero-title {
  font-size: 72px;

  color: white;

  font-weight: 800;

  line-height: 1.1;

  margin-bottom: 25px;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-text {
  color: #dddddd;

  font-size: 20px;

  line-height: 1.9;

  max-width: 720px;
}

.hero-buttons {
  margin-top: 45px;
}

.hero-btn {
  background: #fcbf1b;

  color: black;

  padding: 16px 38px;

  border-radius: 8px;

  font-weight: 600;

  margin-right: 15px;
}

.hero-btn:hover {
  background: #ffd95b;
}
.hero-btn,
.quote-btn {
  transition: 0.35s;
}

.hero-btn:hover,
.quote-btn:hover {
  transform: translateY(-4px);

  box-shadow: 0 18px 35px rgba(252, 191, 27, 0.35);
}
.hero-btn-outline {
  border: 2px solid white;

  color: white;

  padding: 16px 38px;

  border-radius: 8px;

  font-weight: 600;
}

.hero-btn-outline:hover {
  background: white;

  color: black;
}
.scroll-indicator {
  position: absolute;

  bottom: 35px;

  left: 50%;

  transform: translateX(-50%);

  z-index: 5;
}

.scroll-indicator i {
  font-size: 34px;

  color: white;

  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}
@media (max-width: 991px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-text {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-buttons .btn {
    display: block;

    margin-bottom: 15px;

    width: 100%;
  }
}
@media (max-width: 767px) {
  .hero-buttons {
    display: flex;

    flex-direction: column;

    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;

    margin: 0;
  }
}
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 13px;

    letter-spacing: 1px;

    line-height: 1.7;
  }
}
/*=====================================
ABOUT
=====================================*/

.about {
  padding: 110px 0;

  background: var(--white);
}

.section-subtitle {
  display: inline-block;

  color: var(--secondary);

  font-weight: 600;

  letter-spacing: 2px;

  margin-bottom: 15px;
}

.section-title {
  font-size: 50px;

  font-weight: 800;

  margin-bottom: 25px;
}

.about p {
  font-size: 17px;

  line-height: 1.9;

  color: #666;
}

.about-image {
  position: relative;

  overflow: hidden;
}

.about-image img {
  width: 100%;

  border-radius: 20px;
}

.experience-card {
  position: absolute;

  bottom: 30px;

  left: 30px;

  background: var(--secondary);

  padding: 25px 35px;

  border-radius: 15px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-card h2 {
  margin: 0;

  font-size: 48px;

  color: black;
}

.experience-card p {
  margin: 0;

  font-weight: 600;

  color: black;
}

.about-item {
  margin-bottom: 18px;

  font-weight: 600;

  font-size: 17px;
}

.about-item i {
  color: var(--secondary);

  margin-right: 12px;
}
/*=====================================
WHY CHOOSE US
=====================================*/

.why-us {
  padding: 100px 0;

  background: var(--light);
}

.why-card {
  background: var(--white);

  padding: 45px 30px;

  text-align: center;

  border-radius: 18px;

  height: 100%;

  transition: 0.35s;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.why-card:hover {
  transform: translateY(-12px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.why-icon {
  width: 90px;

  height: 90px;

  background: #fcbf1b;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  margin: auto;

  margin-bottom: 25px;

  font-size: 38px;

  color: #2d2e3a;
}

.why-card h4 {
  font-size: 22px;

  margin-bottom: 18px;
}

.why-card p {
  margin: 0;

  color: #666;

  line-height: 1.8;
}
.about {
  padding: 110px 0;
}

.why-us {
  padding: 100px 0;
}

/*=====================================
PROJECTS
=====================================*/

.projects {
  padding: 120px 0;

  background: var(--white);
}

.project-card {
  position: relative;

  overflow: hidden;

  border-radius: 20px;

  cursor: pointer;
}

.project-card img {
  width: 100%;

  aspect-ratio: 4/5;
  object-fit: cover;

  object-fit: cover;

  transition: 0.6s;
}

.project-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 35px;

  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));

  color: white;
}

.project-card:hover img {
  transform: scale(1.12);
}

.project-category {
  display: inline-block;

  width: max-content;

  background: var(--secondary);

  color: #000;

  font-size: 13px;

  font-weight: 600;

  padding: 8px 16px;

  border-radius: 50px;

  margin-bottom: 18px;
}

.project-overlay h3 {
  color: white;

  font-size: 28px;

  margin-bottom: 10px;
}

.project-overlay p {
  color: #ddd;

  margin-bottom: 20px;
}

.project-overlay a {
  color: white;

  font-weight: 600;

  transition: 0.3s;
}

.project-overlay a:hover {
  color: var(--secondary);
}

/*=====================================
STATISTICS
=====================================*/

.stats {
  padding: 120px 0;
  background: var(--primary);
}

.stats .section-title {
  color: #fff;
}

.stats .section-heading p {
  color: #ddd;
}

.stat-card {
  text-align: center;
  padding: 35px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: 0.35s;
  height: 100%;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
}

.stat-card h2 {
  color: var(--secondary);
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-card p {
  color: #fff;
  margin: 0;
  font-size: 18px;
}
/*=====================================
SERVICES
=====================================*/

.services {
  padding: 120px 0;

  background: var(--light);
}

.service-card {
  background: var(--white);

  border-radius: 20px;

  padding: 40px;

  height: 100%;

  transition: 0.35s;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);

  border-top: 5px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);

  border-top: 5px solid var(--secondary);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 80px;

  height: 80px;

  border-radius: 50%;

  background: rgba(252, 191, 27, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 34px;

  color: var(--secondary);

  margin-bottom: 25px;

  transition: 0.35s;
}

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
  font-size: 26px;

  margin-bottom: 18px;
}

.service-card p {
  line-height: 1.8;

  margin-bottom: 25px;
}

.service-card a {
  color: var(--primary);

  font-weight: 600;
}

.service-card a:hover {
  color: var(--secondary);
}

/*=====================================
CTA
=====================================*/

.cta {
  position: relative;

  padding: 140px 0;

  background: url("../images/cta-bg.jpg");

  background-size: cover;

  background-position: center;
}

.cta-overlay {
  position: absolute;

  inset: 0;

  background: rgba(23, 25, 34, 0.82);
}

.cta .container {
  position: relative;

  z-index: 2;
}

.cta-title {
  color: white;

  font-size: 58px;

  margin-bottom: 25px;
}

.cta p {
  color: #ddd;

  font-size: 20px;

  line-height: 1.9;

  max-width: 760px;

  margin: auto;
}

.text-white {
  color: white !important;
}
.btn-primary-custom {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 16px 38px;

  background: var(--secondary);

  color: #000;

  border-radius: 10px;

  font-weight: 600;

  transition: 0.35s;
}

.btn-primary-custom:hover {
  transform: translateY(-4px);

  box-shadow: 0 15px 30px rgba(252, 191, 27, 0.35);

  color: #000;
}

.btn-outline-custom {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 16px 38px;

  border: 2px solid #fff;

  color: #fff;

  border-radius: 10px;

  font-weight: 600;

  transition: 0.35s;
}

.btn-outline-custom:hover {
  background: var(--white);

  color: #000;
}
/*=====================================
FOOTER
=====================================*/

.footer {
  background: #171922;

  color: #bbb;

  padding: 90px 0 30px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 25px;
}

.footer-about {
  line-height: 1.9;

  margin-bottom: 30px;
}

.footer h4 {
  color: #fff;

  margin-bottom: 25px;

  font-size: 22px;
}

.footer ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.footer ul li {
  margin-bottom: 15px;
}

.footer ul li a {
  color: #bbb;

  transition: 0.3s;
}

.footer ul li a:hover {
  color: var(--secondary);
}

.footer-contact i {
  color: var(--secondary);

  margin-right: 12px;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);

  margin: 50px 0 25px;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-contact {
    padding: 0;
  }

  .footer-contact li {
    justify-content: center;

    display: flex;
  }
}
.footer-contact {
  word-break: break-word;
}
/*=====================================
PAGE BANNER
=====================================*/

.page-banner {
  position: relative;

  padding: 180px 0 120px;

  background: url("../images/hero.jpg");

  background-size: cover;

  background-position: center;
}

.banner-overlay {
  position: absolute;

  inset: 0;

  background: rgba(23, 25, 34, 0.75);
}

.page-banner .container {
  position: relative;

  z-index: 2;
}

.banner-title {
  color: var(--white);

  font-size: clamp(3rem, 6vw, 4.5rem);

  margin: 20px 0;
}

.breadcrumb-custom {
  color: #ddd;

  font-size: 17px;
}

.breadcrumb-custom a {
  color: var(--secondary);
}

.breadcrumb-custom span {
  margin: 0 10px;
}
/*=====================================
ABOUT COMPANY
=====================================*/

.about-company {
  padding: 120px 0;

  background: var(--white);
}

.about-company-image {
  position: relative;

  overflow: hidden;

  border-radius: 20px;
}

.about-company-image img {
  width: 100%;

  border-radius: 20px;
}

.about-company p {
  font-size: 17px;

  line-height: 1.9;

  margin-bottom: 20px;
}

.about-company .experience-card {
  border-radius: 20px;
}
/*=====================================
MISSION VALUES
=====================================*/

.mission-values {
  padding: 120px 0;

  background: var(--light);
}

.value-card {
  background: #fff;

  padding: 45px;

  border-radius: 20px;

  height: 100%;

  text-align: center;

  transition: var(--transition);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 90px;

  height: 90px;

  margin: auto;

  margin-bottom: 25px;

  border-radius: 50%;

  background: rgba(252, 191, 27, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 38px;

  color: var(--secondary);
}

.about-features {
  padding: 120px 0;
}

.timeline-section {
  padding: 120px 0;

  background: var(--light);
}

.timeline {
  border-left: 4px solid var(--secondary);

  padding-left: 35px;
}

.timeline-item {
  margin-bottom: 50px;

  position: relative;
}

.timeline-item::before {
  content: "";

  position: absolute;

  left: -45px;

  top: 6px;

  width: 18px;

  height: 18px;

  background: var(--secondary);

  border-radius: 50%;
}

.timeline-item h4 {
  margin-bottom: 10px;

  font-size: 28px;
}

/*=====================================
CONTACT PAGE
=====================================*/

.contact-section {
  padding: 120px 0;

  background: var(--white);
}

.contact-card {
  display: flex;

  gap: 22px;

  align-items: flex-start;

  background: #fff;

  padding: 28px;

  border-radius: 18px;

  margin-bottom: 22px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-icon {
  width: 70px;

  height: 70px;

  border-radius: 50%;

  background: rgba(252, 191, 27, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 28px;

  color: var(--secondary);

  flex-shrink: 0;
}

.contact-card h5 {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--text);
}

.contact-card a:hover {
  color: var(--secondary);
}

.contact-card p {
  margin: 0;
}

.contact-form {
  background: #fff;

  padding: 45px;

  border-radius: 20px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.form-control,
.form-select {
  height: 56px;

  border-radius: 10px;

  border: 1px solid #ddd;
}

textarea.form-control {
  height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary);

  box-shadow: none;
}

@media (max-width: 991px) {
  .contact-form {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;

    text-align: center;

    align-items: center;
  }
}
/*=====================================
MAP
=====================================*/

.map-section {
  padding: 120px 0;

  background: var(--white);
}

.map-wrapper {
  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  width: 100%;

  height: 450px;

  border: 0;
}

/*=====================================
SERVICES INTRO
=====================================*/

.services-intro {
  padding: 120px 0 70px;

  background: var(--white);
}

.services-intro p {
  font-size: 18px;

  line-height: 1.9;

  max-width: 850px;

  margin: auto;
}
/*=====================================
PROCESS
=====================================*/

.process {
  padding: 120px 0;

  background: var(--light);
}

.process-card {
  background: #fff;

  border-radius: 20px;

  padding: 45px 25px;

  text-align: center;

  height: 100%;

  position: relative;

  transition: var(--transition);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.process-card:hover {
  transform: translateY(-10px);
}

.process-number {
  position: absolute;

  top: 18px;

  right: 20px;

  font-size: 34px;

  font-weight: 800;

  color: rgba(252, 191, 27, 0.2);
}

.process-icon {
  width: 90px;

  height: 90px;

  margin: auto;

  margin-bottom: 25px;

  border-radius: 50%;

  background: rgba(252, 191, 27, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--secondary);

  font-size: 38px;
}

.process-card h4 {
  margin-bottom: 18px;
}

.process-card p {
  margin: 0;

  line-height: 1.8;
}
/*=====================================
INDUSTRIES
=====================================*/

.industries {
  padding: 120px 0;

  background: var(--white);
}

.industry-card {
  background: #fff;

  border-radius: 18px;

  padding: 45px 25px;

  text-align: center;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  transition: var(--transition);

  height: 100%;
}

.industry-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.industry-card i {
  font-size: 48px;

  color: var(--secondary);

  margin-bottom: 20px;

  display: block;
}

.industry-card h5 {
  margin: 0;

  font-size: 20px;
}

/*=====================================
PROJECTS INTRO
=====================================*/

.projects-intro {
  padding: 120px 0;

  background: var(--white);
}

.projects-intro p {
  font-size: 17px;

  line-height: 1.9;

  margin-bottom: 20px;
}

/*=====================================
PROJECTS PAGE
=====================================*/

.projects-page {
  padding: 120px 0;

  background: var(--light);
}

.project-box {
  background: #fff;

  border-radius: 20px;

  overflow: hidden;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);

  transition: 0.35s;

  height: 100%;
}

.project-box:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.project-box img {
  width: 100%;

  height: 280px;

  object-fit: cover;
}

.project-content {
  padding: 30px;
}

.project-location {
  color: #777;

  font-size: 15px;

  margin-bottom: 18px;
}

.project-location i {
  color: var(--secondary);

  margin-right: 8px;
}

.project-content h3 {
  margin: 18px 0 12px;
}

.project-content p {
  line-height: 1.8;
}
/*=====================================
PROJECT GALLERY
=====================================*/

.project-gallery {
  padding: 120px 0;

  background: var(--white);
}

.gallery-img {
  width: 100%;

  aspect-ratio: 4/3;

  object-fit: cover;

  border-radius: 18px;

  transition: 0.4s;

  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.04);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
