/* ==============================================================
   🌐 GLOBAL STYLES & VARIABLES
================================================================= */
:root {
  --brand-orange: #e65c00;
  --text-dark: #333333;
  --footer-dark: #2c1f0c;
}

body {
  font-family: "Segoe UI", "Lucida Sans Unicode", "Geneva", sans-serif;
  color: var(--text-dark);
}

.text-orange {
  color: #e65c00;
}

.bg-orange {
  background-color: #e65c00;
}

/* --------------------------------------------------------------
   NAVBAR STYLES (Global)
-------------------------------------------------------------- */
.navbar .nav-link {
  color: #000;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #e65c00;
}

/* --------------------------------------------------------------
   COMMON ANIMATIONS
-------------------------------------------------------------- */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.fade-in,
.fadeInUp,
.fadeInRight {
  opacity: 0;
}

.fade-in.visible,
.fadeInUp.visible,
.fadeInRight.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FadeInRight animation */
.fadeInRight {
  animation: fadeInRight 0.8s forwards;
}

/* FadeInUp animation */
.fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

/* Staggered fade delays */
.delay-0 {
  animation-delay: 0s;
}
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}
.delay-7 {
  animation-delay: 0.7s;
}

.invisible {
  opacity: 0;
}

/* --------------------------------------------------------------
   HERO SECTION (Global use)
-------------------------------------------------------------- */
.hero-section {
  background-color: var(--brand-orange);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-section h1,
.hero-section p {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.hero-section p {
  animation-delay: 0.4s;
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
}

/* Hero images */
.hero-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  animation: fadeInRight 1s ease-in-out;
  border-bottom: 10px solid #ffffff;
}

/* --------------------------------------------------------------
   CLIENTS SLIDER / LOGOS (Home Page)
-------------------------------------------------------------- */

.client-row {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}

.client-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  animation: scrollLeft 20s linear infinite;
}

.client-logo {
  flex: 0 0 auto;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.3s ease;
}

/* This single class handles the fade-in */
.client-logo.visible {
  opacity: 1;
  transform: translateX(0);
}

.client-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Scrolling animation */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Stop scrolling on large screens */
@media (min-width: 992px) {
  .client-track {
    animation: none;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
  }

  .client-logo {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Scrolling only on smaller screens */
@media (max-width: 991.98px) {
  .original-logos,
  .duplicate-logos {
    animation: scrollLeft 20s linear infinite;
  }

  .duplicate-logos {
    display: flex;
  }
}

@media (min-width: 992px) {
  .duplicate-logos {
    display: none;
  }
}

/* --------------------------------------------------------------
   ABOUT PAGE
-------------------------------------------------------------- */
/* .section-title {
  font-weight: bold;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background-color: var(--brand-orange);
  display: block;
  margin-top: 5px;
} */

/* --------------------------------------------------------------
   SOLUTION PAGE
-------------------------------------------------------------- */
.our-solutions-section {
  /* background: linear-gradient(90deg, #fff, #fdf9f4); */
  background-color: #e65c00;
}
.nav-wrapper {
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 20px;
}
.nav-pills {
  background-color: #fff;
  border-radius: 10px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  padding: 10px;
}
.our-solutions-section .nav-link {
  border-radius: 5px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.our-solutions-section .nav-link.active,
.our-solutions-section .nav-link:hover {
  background-color: #e65c00;
  color: white;
}

.our-solutions-section .tab-pane-wrapper {
  background-color: #fff;
  /* border-radius: 10px; */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  border-left: 3px solid #e65c00;
}

/* Accordion styles */
.accordion-button {
  font-weight: 600;
  color: #e65c00;
}

.accordion-button:not(.collapsed) {
  background-color: #e65c00;
  color: #fff;
}

.accordion-body {
  background: #fff;
}

.tab-pane {
  animation-duration: 0.8s;
}

/* Solution cards */
.solution-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-bottom: 30px;
}

.solution-card:hover {
  background-color: #e65c00;
  transform: translateY(-25px);
  border-color: #e65c00;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.solution-card:hover h5,
.solution-card:hover p {
  color: #fff;
}

.solution-card .solution-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.solution-card .solution-content {
  flex-grow: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.solution-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------
   CORE VALUES SECTION
-------------------------------------------------------------- */
.core-values-list i {
  flex-shrink: 0;
}

.core-values-list li {
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.core-values-list li:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------
   WHY CHOOSE US SECTION
-------------------------------------------------------------- */
.why-choose-us {
  background: #fff9f4;
}

.why-choose-us h2 {
  color: var(--brand-orange);
}

.why-item {
  margin-bottom: 40px;
}

.why-content {
  display: flex;
  align-items: center;
  background: rgba(245, 130, 32, 0.1);
  padding: 20px 30px;
  border-radius: 50px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.why-content.reverse {
  flex-direction: row-reverse;
}

.why-content:hover {
  background: var(--brand-orange);
}

.why-content:hover .icon-box,
.why-content:hover .text-box h5,
.why-content:hover .text-box p {
  color: #fff;
}

.icon-box {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 25px;
  transition: transform 0.3s ease;
}

.why-content.reverse .icon-box {
  margin-right: 0;
  margin-left: 25px;
}

.why-content:hover .icon-box {
  transform: scale(1.2);
}

.text-box h5 {
  color: var(--brand-orange);
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.text-box p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .why-content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .why-content.reverse {
    flex-direction: column;
  }
  .icon-box {
    margin: 0 0 15px 0;
  }
}

/* --------------------------------------------------------------
   CONTACT PAGE
-------------------------------------------------------------- */

.contact-info {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
}

.contact-info i {
  min-width: 30px;
}

.contact-section .form-control {
  border-radius: 0.1rem;
  transition: border-color 0.3s ease;
}

.contact-section .form-control:focus {
  border-color: #e65c00;
  box-shadow: 0 0 0 0.15rem rgba(255, 102, 0, 0.25);
}

.contact-section .btn-orange {
  background-color: #e65c00;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.contact-section .btn-orange:hover {
  background-color: #ff6600;
}

.btn-orange {
  background-color: #ff6600;
  border: none;
}

.btn-orange:hover {
  background-color: #e65c00;
}

/* --------------------------------------------------------------
   FOOTER
-------------------------------------------------------------- */
footer {
  background-color: var(--footer-dark);
  color: #fff;
  padding: 40px 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--brand-orange);
  color: #fff;
  border-radius: 50%;
  padding: 10px 12px;
  cursor: pointer;
  z-index: 999;
  display: none;
}

.line-title {
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}

.line-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 20px;
  background: url("/assets/img/curve-line.svg") no-repeat center bottom;
  /* background-color: red; */
  background-size: 100% auto;
  position: absolute;
  left: 0;
  bottom: 0;
}

.partner-card {
  background-color: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateX(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  background-color: #e65c00;
  color: white;
}

.partner-card:hover h5 {
  color: white;
}
