/* =======================================
   Global Styles
======================================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2 {
  padding-top: 10px;
  padding-left: 30px;
  margin-bottom: 20px;
  margin-left: 40px;
  font-weight: bold;
  font-size: 28px;
  color: rgb(53, 59, 70);
}

p {
  padding-left: 70px;
  line-height: 1.6;
  font-size: 18px;
}

/* =======================================
   Hero Banner Section
======================================= */
.background-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: auto;
  background-image: url(../images/team-brainstorming-session.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: none;
}

.hero-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 10;
}

.breadcrumb {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 3.5rem;
  opacity: 0.8;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: capitalize;
  margin: 0;
}

section.hero-banner + .about-us {
  padding-top: 20px;
}

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-now.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-now.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


/* =======================================
   About Us Section
======================================= */
.about-us-index-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 100px;
  gap: 40px;
}

.left-content {
  width: 30%;
}

.right-content {
  width: 70%;
}

.about-us-box {
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.about-us-item {
  padding: 15px;
  border: 1px solid rgb(195, 199, 208);
  color: rgb(53, 59, 70);
  margin: 5px 0;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  align-items: center;
}

.about-us-item:hover,
.about-us-item.active {
  background: red;
  color: white;
  border: none;
}

.arrow {
  font-size: 14px;
}

.quote-contact {
  margin-top: 20px;
}

.headline-text {
  color: #d02b2f;
}

.office-image-container {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}

.office-image-container img {
  width: 100%;
  height: auto;
  padding-left: 70px;
}

/* =======================================
   Contact Us Section
======================================= */
.contact-box {
  background-color: rgb(53, 59, 70);
  color: white;
  padding: 20px;
  margin: 20px;
}

.contact-title {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  margin: 40px 0 20px;
  font-weight: bold;
  text-align: center;
  width: 50%;
}

.get-in-touch-title {
  margin-top: 20px;
  margin-left: -70px;
  font-weight: bold;
  font-size: 24px;
}

.get-in-touch-p {
  font-size: 16px;
  margin-left: -70px;
  padding-bottom: 20px;
}

.contact-box-address,
.contact-box-tel,
.contact-box-time {
  padding-left: 50px;
  font-size: 15px;
  padding-bottom: 20px;
}

.contact-box .icon {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.biz,
.contact-us-tel,
.working-time {
  font-size: 20px;
  font-weight: bold;
}

.contact-box button {
  width: 100%;
  padding: 20px;
  background-color: white;
  color: rgb(53, 59, 70);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  margin: 20px 0;
}

/* =======================================
   What We Do Section
======================================= */
.what-we-do-box h2 {
  margin: 40px 0;
  padding-left: 70px;
}

.infographic-container {
  text-align: center;
  max-width: 100%;
  margin: 20px auto;
  position: relative;
  left: auto;
  padding-left: 50px;
}

.explore-services-box {
  margin-top: 40px;
}

.explore-services {
  margin-left: 70px;
  color: #d02b2f;
  font-weight: 600;
  position: relative;
  text-decoration: none;
}

.explore-services::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: #d02b2f;
  transition: width 0.3s ease-in-out;
}

.explore-services:hover::after {
  width: 100%;
}

/* =======================================
   Why Choose Us Section
======================================= */
.choose-us-box {
  background-color: rgb(240, 240, 240);
  padding: 80px 0;
}

.choose-us-box h2 {
  text-align: center;
  font-size: 28px;
}

.choose-us-box li {
  padding-left: 350px;
  font-size: 18px;
  line-height: 1.6;
}

.reasons {
  font-weight: 600;
  color: #d02b2f;
}

/* =======================================
   Call to Action Section
======================================= */
.about-us-cta {
  padding: 80px 0;
}

.about-us-cta h2 {
  font-size: 32px;
  text-align: center;
  padding-bottom: 20px;
}

.about-us-cta p {
  font-size: 20px;
  text-align: center;
  padding-bottom: 60px;
}

.cta-button {
  display: inline-block;
  background-color: #d62828;
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.cta-button:hover {
  background-color: #b71c1c;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  background-color: #c40000;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  display: none;
  z-index: 1000;
}

/* =======================================
   Responsive Styles (Grouped)
======================================= */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-right {
  animation: slideInRight 1s ease-out forwards;
}


@media (max-width: 768px) {
  .hero-banner {
    height: 200px;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .about-us-index-section {
    flex-direction: column;
    padding: 30px 20px;
  }

  .left-content,
  .right-content {
    width: 100%;
  }

  h2,
  p {
    padding-left: 0;
    margin-left: 0;
  }

  .office-image-container img,
  .explore-services {
    padding-left: 0;
    margin-left: 0;
  }

  .choose-us-box li {
    padding-left: 20px;
  }
}