body {
  font-family: "Roboto", sans-serif;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.4);
  /* Optional for readability */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.z-1 {
  z-index: 2 !important;
}


.navbar {
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link {
  color: #333;
  font-weight: 500;
  margin-right: 15px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #eceae5;
  /* highlight color */
}

.navbar .btn {
  font-weight: 600;
}

.btn-quote {
  background-color: #042b55;
  /* Bootstrap primary blue */
  color: #fff;
  font-weight: 600;
  width: 180px;
  padding: 12px 20px;
  text-align: center;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.btn-quote:hover {
  background-color: #3777bd;
  /* Darker blue on hover */
  color: white;
}

.marq {
  background: linear-gradient(to right, rgba(1, 25, 53, 0.8), rgba(0, 168, 255, 0.4));
}

.Explore {
  color: #042b55;
}

.product-card {
  height: 280px;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.overlay-content {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 20% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

.text-content {
  z-index: 3;
  color: #000;
}

.bg-rose {
  background-color: white;
}

.bg-yellow {
  background-color: white;

}

@media (max-width: 768px) {
  .product-card {
    height: auto;
    flex-direction: column;
  }


  .text-content {
    text-align: center;
  }
}

/* card is design */
.card-box {
  position: relative;
  transition: all 0.3s ease;
}

.card-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: #001f3f;
  /* Blue color */
  transition: width 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.card-box:hover::after {
  width: 100%;
}

/* Overlap section upward from banner */
.service-cards {
  margin-top: -80px;
  /* this creates overlap effect */
}

/* Icon on top of each card */
.icon-circle {
  background-color: #001f3f;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -55px;
  /* pull it above the card */
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #eee;
}

.card-box:hover .icon-circle {
  background-color: #ec7c14;
  /* Orange or any color */
}

.crd-title {
  color: #042b55;
}

/* Responsive */
@media (max-width: 768px) {
  .service-cards {
    margin-top: 0;
  }

  .icon-circle {
    margin-top: -30px;
  }
}

/* about-us section design */
.headline {

  font-weight: 400;
  font-size: 38px;
  line-height: 47px;
  letter-spacing: 0%;
  color: #535967;
}

.buildrich-highlight {
  font-weight: 700;
  background: linear-gradient(90deg, #5a83f5 0%, #01274d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.about-description {
  text-align: justify;
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
}

/* product slider section design */
.project-card {
  height: 300px;
  background-color: #f8f9fa;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-card {
  width: 100%;
  height: 400px;
  /* Adjust for taller card like demo */
  margin-right: 20px;
  /* Space between cards */
  flex: 0 0 30%;
  /* For 3 items in a row on desktop */
  transition: transform 0.3s ease;
}

.project-img {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(1, 25, 53, 0.9), rgba(0, 168, 255, 0.1));
  /* smooth top fade */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background-color: #ec7c14;
  color: #fff;
}

.btn-icon i {
  font-size: 16px;
}


/* services section card design */
.service-card {
  border: 1px solid rgb(5, 5, 173);
  background-color: #f9f9ff;
  border-radius: 15px;
  text-align: center;
  padding: 40px 20px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 40px;
  color: white;
  z-index: 1;
  position: relative;
}

.icon-pink {
  background-color: #ff4f93;
}

.icon-orange {
  background-color: #ff6c3e;
}

.icon-purple {
  background-color: #a34eff;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}

.service-card p {
  color: #555;
  font-size: 15px;
  z-index: 1;
  position: relative;
}

.read-more {
  margin-top: 20px;
  display: inline-block;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  border: 2px solid #e0e0e0;
  padding: 8px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.read-more:hover {
  background-color: #042b55;
  color: #fff;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(107, 83, 246, 0.58), rgba(21, 4, 117, 0.4)), var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;

}

.service-card:hover h5,
.service-card:hover p,
.service-card:hover .read-more {
  color: #fff;
  position: relative;
  z-index: 1;
}


@media (max-width: 767px) {
  .service-card {
    margin-bottom: 20px;
  }
}


/* footer section design */

footer a:hover {
  color: #ffd700;
}

footer i {
  font-size: 16px;
}

/* partners card or images section */
.partner-card {
  border: 1px solid #eee;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.partner-card img {
  max-height: 125px;
  object-fit: contain;
}

/* video display section design */
.video-section {
  position: relative;
  width: 100%;
  max-width: auto;
  margin: auto;
  /* padding: 20px;  */
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.video-thumbnail .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(1, 25, 53, 0.8), rgba(0, 168, 255, 0.4));
  /* border-radius: 10px; */
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 60px;
  color: white;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-frame {
  display: none;
  position: relative;
  margin-top: 20px;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive Adjustments */
@media (max-width: 576px) {
  .play-icon {
    font-size: 40px;
  }

  .close-btn {
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 24px;
    top: -8px;
    right: -8px;
  }

  .iframe-wrapper {
    padding-bottom: 56.25%;
    /* Keep 16:9 ratio */
    height: auto;
  }

  .iframe-wrapper iframe {
    height: 100%;
  }

  .video-frame {
    margin-top: 10px;
  }

  .video-thumbnail img {
    border-radius: 4px;
  }
}


/* .product-card section  */

.product-section .card {
  border: 1px solid #ddd;
  transition: 0.3s;
}

.product-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 28px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .product-card {
    text-align: center;
  }

  .product-section .card-title {
    font-size: 18px;
  }

  .product-section .card-text {
    font-size: 14px;
  }
}

/* contact us section design */
.contact-section .form-control {
  border-radius: 0.5rem;
  border: none;
}

.contact-section .form-control:focus {
  box-shadow: none;
  border: 2px solid #fff;
  background-color: #f1f1f1;
  color: #000;
}


/* accordation section design */
.accordion-button:not(.collapsed) {
  background-color: #032457;
  /* Bootstrap Primary Blue */
  color: #fff;
  font-weight: 500;
}

.accordion-button:focus {
  box-shadow: none;
  /* Optional: remove default focus glow */
}

.accordion-body {
  background-color: #ffffff;
  /* Light gray background */
  border-left: 4px solid #0d6efd;
  /* Blue accent bar */
  padding: 1rem 1.25rem;
  border-radius: 0.375rem;
  /* Rounded corners */
  /* Text-muted effect */
  font-size: 15px;
  transition: all 0.3s ease;
}

.accordion-body:hover {
  background-color: #e9f1ff;
  /* Light blue on hover */
}

.blue-border {
  border: 2px solid #042a64 !important;
  /* Bootstrap blue */
  border-radius: 8px;
  /* Optional: rounded corners */
}

/* broucher download section design */
.training-banner {
  background: url('images/buildrich-bg.png') center center / cover no-repeat;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.training-banner .overlay {
  /* background: rgba(225, 234, 238, 0.85);  */

  width: 100%;
  height: 100%;
}

.text-area h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-area p {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .text-area h1 {
    font-size: 1.5rem;
  }

  .text-area p {
    font-size: 1rem;
  }

  .btn-area a {
    width: 100%;
    display: inline-block;
    font-size: 1rem;
  }
}

/* social icon for sticky */
.social-sticky-icons {
  position: fixed;
  top: 45%;
  right: 15px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

.social-sticky-icons a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  transition: all 0.3s ease;
}

.facebook {
  background-color: #3b5998;
}

.linkedin {
  background-color: #0077b5;
}

.youtube {
  background-color: #ff0000;
}

.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.whatsapp {
  background-color: #25D366;
}

.social-sticky-icons a:hover {
  transform: scale(1.1);
}


/*  our team section design */