:root {
  /* Brand colors based on your logo */
  --bs-primary: #9c7a3c; /* warm gold-brown */
  --bs-secondary: #3e3e3e; /* dark gray */
  --bs-success: #198754; /* keep if needed */
  --bs-info: #0dcaf0;
  --bs-warning: #d4af37; /* richer gold highlight */
  --bs-danger: #dc3545;
  --bs-light: #f5f5f5; /* light section background */
  --bs-dark: #2b2b2b; /* main text dark */
  --bs-white: #ffffff;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.12);

  /* Legacy / utility grays */
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;

  /* Font stacks */
  --bs-font-sans-serif: "Lato", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --bs-font-heading: "Playfair Display", serif;
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Gradient variants */
  --bs-gradient: linear-gradient(135deg, #9c7a3c 0%, #d4af37 60%);
  --bs-gradient-dark: linear-gradient(135deg, #3e3e3e 0%, #9c7a3c 70%);
  --bs-gradient-soft: linear-gradient(
    135deg,
    rgba(156, 122, 60, 0.15) 0%,
    rgba(212, 175, 55, 0) 80%
  );
}

.logo img {
  max-width: 230px;
}

/* about */

.about-main-img {
  max-width: 92%;
  /* border-radius: 1.5rem; */
  box-shadow: var(--shadow);
  object-fit: cover;
}

.about-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px #d4af3730);
}

@media (max-width: 991.98px) {
  .about-main-img {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

/* products section */

.product-section {
  font-family: "Lato", system-ui, sans-serif;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-hero {
  background: var(--bs-gradient);
  /* border-radius: 14px; */
  color: #fff;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.product-hero .badge-brand {
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  /* border-radius: 999px; */
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 5px;
}

.product-hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 0.25rem;
}

.product-hero p {
  margin-bottom: 1rem;
}

.nav-tabs .nav-link {
  /* border-radius: 8px; */
  padding: 8px 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-right: 6px;
  border: none;
  transition: background 0.25s ease;
}
.nav-tabs .nav-link.active {
  background: #fff;
  color: var(--bs-secondary);
}

.card-feature {
  border: none;
  /* border-radius: 14px; */
  padding: 1.25rem 1rem;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease;
  cursor: pointer;
  min-height: 160px;
}

.card-feature .icon {
  font-size: 1.4rem;
  color: var(--bs-primary);
  margin-bottom: 8px;
}

.card-feature h5 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--bs-secondary);
}

.card-feature p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  flex-grow: 1;
}

.card-feature:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 35px 90px rgba(60, 60, 60, 0.15);
}

.hero-illustration {
  flex: 1 1 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
}

.block-3d {
  position: relative;
  width: 120px;
  height: 85px;
  perspective: 700px;
}
.block-3d .block {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: rotateX(15deg) rotateY(-25deg);
  animation: float 6s ease-in-out infinite;
}
.block-3d .shadow {
  position: absolute;
  bottom: -8px;
  left: 8px;
  width: 120px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
  filter: blur(10px);
  border-radius: 50%;
}

@keyframes float {
  0%,
  100% {
    transform: rotateX(15deg) rotateY(-25deg) translateY(0);
  }
  50% {
    transform: rotateX(15deg) rotateY(-25deg) translateY(-5px);
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .block-3d .block {
    animation: none;
  }
  .card-feature {
    transition: none;
  }
}

/* Service section */

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* why choose us */

feature-card {
  transition: transform 0.3s cubic-bezier(0.21, 1.01, 0.91, 0.55),
    box-shadow 0.3s;
}
.feature-card:hover .feature-box,
.feature-card:focus .feature-box {
  background: var(--bs-white);
  box-shadow: 0 0.5rem 2rem rgba(156, 122, 60, 0.13),
    0 4px 10px rgba(212, 175, 55, 0.1);
  transform: translateY(-8px) scale(1.03);
  border-radius: 1rem;
}
.feature-box {
  background: var(--bs-gradient-soft);
  border-radius: 0.8rem;
  box-shadow: 0 2px 12px rgba(156, 122, 60, 0.04);
  transition: background 0.4s, box-shadow 0.4s;
}
.feature-icon {
  transition: color 0.3s;
}
.feature-card:hover .feature-icon,
.feature-card:focus .feature-icon {
  color: var(--bs-warning) !important;
  filter: drop-shadow(0 2px 4px #d4af37aa);
}

/* mission-vision section */
.mv-card {
  background: rgba(255, 255, 255, 0.84);
  border-radius: 1.5rem;
  box-shadow: 0 4px 40px 0 rgba(156, 122, 60, 0.09),
    0 2px 8px 0 rgba(34, 34, 34, 0.03);
  backdrop-filter: blur(7px);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  transition: transform 0.32s cubic-bezier(0.21, 1.01, 0.91, 0.55),
    box-shadow 0.32s;
}
.mv-card:hover,
.mv-card:focus {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 6px 48px 0 rgba(156, 122, 60, 0.15),
    0 4px 16px 0 rgba(212, 175, 55, 0.1);
}
.mv-icon-wrap {
  background: linear-gradient(135deg, #f5e8c7 0%, #fff6e2 60%);
  border-radius: 50%;
  padding: 0.85rem;
  box-shadow: 0 2px 12px #d4af37a1;
  transition: box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}
.mv-card:hover .mv-icon-wrap,
.mv-card:focus .mv-icon-wrap {
  box-shadow: 0 4px 24px #9c7a3c61, 0 0 0 6px #d4af3710;
  background: linear-gradient(135deg, #fffad0 0%, #ffe0b2 70%);
}
.mv-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 1px 3px #d4af3759);
  transition: transform 0.27s;
}
.mv-card:hover .mv-icon,
.mv-card:focus .mv-icon {
  transform: scale(1.15) rotate(-4deg);
}
.mv-gradient {
  position: absolute;
  z-index: 1;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.23;
  filter: blur(17px);
  top: -60px;
  right: -50px;
  pointer-events: none;
}
.mv-gradient-vision {
  background: radial-gradient(ellipse at center, #f5e8c7 0%, #d4af37 100%);
}
.mv-gradient-mission {
  background: radial-gradient(ellipse at center, #eaf8e4 0%, #9c7a3c 100%);
}
.mv-card p,
.mv-card h3 {
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  .mv-card {
    min-height: unset;
  }
  .mv-gradient {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -20px;
  }
}

/* Product */

.product-image-card {
  background: rgba(255, 255, 255, 0.95);
  /* border-radius: 1.3rem; */
  box-shadow: 0 4px 28px #9c7a3c1c, 0 1.5px 3px #e6cf9961;
  overflow: hidden;
  border: 1.5px solid #eee;
  transition: transform 0.32s cubic-bezier(0.21, 1.01, 0.91, 0.55),
    box-shadow 0.32s, border 0.35s;
  position: relative;
}

.product-image-card:hover,
.product-image-card:focus {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 8px 36px #9c7a3c3a, 0 2px 12px #d4af3744;
  border-color: #d4af37;
  z-index: 2;
}

.product-img-top {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: filter 0.4s, transform 0.38s cubic-bezier(0.21, 1.01, 0.91, 0.55);
}

.product-image-card:hover .product-img-top,
.product-image-card:focus .product-img-top {
  filter: brightness(0.91) contrast(1.07);
  transform: scale(1.07);
}

.product-title {
  font-family: var(--bs-font-heading);
  color: var(--bs-primary);
  font-weight: 700;
  letter-spacing: 0.1px;
}

.product-desc {
  color: var(--bs-dark);
  font-size: 1.04rem;
}

@media (max-width: 767.98px) {
  .product-img-top {
    height: 150px;
  }
  .product-title {
    font-size: 1.1rem;
  }
  .product-desc {
    font-size: 0.96rem;
  }
  .product-image-card {
    border-radius: 0.7rem;
  }
}

/* Industry section */

.industry-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.3rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 2rem 1.3rem 1.4rem 1.3rem;
  transition: transform 0.3s cubic-bezier(0.21, 1.01, 0.91, 0.55),
    box-shadow 0.3s, border 0.4s;
  border: 1px solid #ede7cf;
  position: relative;
}
.industry-card:hover,
.industry-card:focus {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 60px var(--bs-primary), 0 2px 20px #d4af3730;
  border-color: var(--bs-warning);
  z-index: 2;
}

.industry-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 0.85rem;
  box-shadow: 0 2px 10px #9c7a3c24;
  transition: filter 0.34s, transform 0.32s;
}
.industry-card:hover .industry-img,
.industry-card:focus .industry-img {
  filter: brightness(0.94) contrast(1.08);
  transform: scale(1.04);
}

.industry-title {
  font-family: var(--bs-font-heading);
  color: var(--bs-primary);
  font-weight: 700;
  font-size: 1.18rem;
  margin-top: 1.1rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 767.98px) {
  .industry-img {
    max-height: 120px;
  }
  .industry-card {
    padding: 1.3rem 0.6rem;
  }
  .industry-title {
    font-size: 1rem;
  }
}

/* clients section */

.clients-projects-section {
  background: var(--bs-light);
  font-family: var(--bs-font-sans-serif);
  color: var(--bs-dark);
}

.section-title {
  font-family: var(--bs-font-heading);
  font-size: 2.7rem;
  color: var(--bs-primary);
  font-weight: 700;
}

.section-intro {
  font-size: 1.09rem;
  margin-bottom: 1.7rem;
  color: var(--bs-secondary);
}

.client-list {
  list-style: none;
  padding-left: 0;
  max-width: 460px;
  margin: 0;
}

.client-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.06rem;
  color: var(--bs-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  cursor: default;
  transition: color 0.3s;
}

.client-list li:hover {
  color: var(--bs-primary);
}

.icon-dot {
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 12px;
  height: 12px;
  background: var(--bs-warning);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bs-warning);
  transition: background 0.3s, box-shadow 0.3s;
}

.client-list li:hover .icon-dot {
  background: var(--bs-primary);
  box-shadow: 0 0 10px var(--bs-primary);
}

.clients-image-wrapper {
  position: relative;
  border-radius: 1.7rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.clients-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.clients-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    0deg,
    rgba(44, 44, 44, 0.84) 60%,
    rgba(212, 175, 55, 0.08) 100%
  );
  color: var(--bs-light);
  font-size: 1.18rem;
  font-family: var(--bs-font-sans-serif);
  font-style: italic;
  padding: 2rem 1.5rem 1.1rem 2.5rem;
  letter-spacing: 0.01em;
  border-bottom-left-radius: 1.7rem;
  border-bottom-right-radius: 1.7rem;
  box-shadow: 0 -4px 30px rgba(44, 44, 44, 0.07);
  transition: background 0.3s;
}

.clients-image-wrapper:hover .clients-overlay,
.clients-image-wrapper:focus .clients-overlay {
  background: linear-gradient(
    0deg,
    var(--bs-primary) 60%,
    rgba(212, 175, 55, 0.11) 100%
  );
  color: var(--bs-white);
}

@media (max-width: 991.98px) {
  .clients-img {
    height: 200px;
  }
  .clients-overlay {
    font-size: 1.02rem;
    padding: 1.3rem 1rem 0.9rem 1.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .clients-image-wrapper {
    margin-top: 2rem;
  }
}

/* footer */

.footer {
  background-color: var(--bs-dark); /* dark background */
  color: rgba(255, 255, 255, 0.75); /* semi-light text */
  font-family: var(--bs-font-sans-serif);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer p,
.footer a,
.footer .copyright,
.footer .btn-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer h5,
.footer .text-primary,
.footer .text-gold {
  color: var(--bs-warning); /* #d4af37 gold */
  font-family: var(--bs-font-heading);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer .logo img {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(
    0 0 4px var(--bs-primary)
  ); /* glow in warm gold #9c7a3c */
}

.footer .btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.footer .btn-link::before {
  position: absolute;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-left: -20px;
  color: var(--bs-primary);
  top: 50%;
  transform: translateY(-50%);
}

.footer .btn-link:hover,
.footer .btn-link:focus {
  color: var(--bs-warning);
  letter-spacing: 1px;
  text-decoration: none;
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
  color: var(--bs-warning);
  border-color: var(--bs-warning);
  background-color: transparent;
  transition: all 0.3s ease;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--bs-warning);
  color: var(--bs-dark);
  box-shadow: 0 0 8px var(--bs-warning);
  border-color: var(--bs-warning);
}

.me-2 i,
.me-3 i {
  font-size: 1.1rem;
}

.footer .copyright {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  padding: 25px 0;
  text-align: center;
}

.footer .copyright a {
  color: var(--bs-warning);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
  text-decoration: none;
}

.footer .copyright a:hover,
.footer .copyright a:focus {
  color: var(--bs-white);
  border-color: var(--bs-warning);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .footer .col-md-6,
  .footer .col-lg-3,
  .footer .col-lg-2,
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }
}
