/* ================================================================================
 * enhancements.css — Premium Visual Enhancements for RichwiseTech
 * Extends custom.css with premium buttons, animations, hover effects & polish
 * ================================================================================ */

/* ─── 0. Design Token Extensions ─────────────────────────────────────── */
:root {
  --accent-glow: rgba(172, 35, 1, 0.35);
  --accent-gradient: linear-gradient(135deg, #d42d00 0%, #ac2301 50%, #7a1800 100%);
  --accent-gradient-h: linear-gradient(135deg, #ff3a0e 0%, #d42d00 50%, #ac2301 100%);
  --dark-glass: rgba(25, 35, 36, 0.85);
  --light-glass: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 8px 32px rgba(25, 35, 36, 0.12);
  --card-shadow-hover: 0 24px 56px rgba(172, 35, 1, 0.22);
  --transition-smooth: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --border-radius-lg: 16px;
  --border-radius-pill: 100px;
}

/* ─── 1. Premium Preloader ─────────────────────────────────────────────── */
.preloader {
  background: var(--primary-color);
  background-image: radial-gradient(ellipse at center, #2a3d3e 0%, #192324 100%);
}

.loading {
  border-width: 3px;
  border-color: transparent var(--accent-color) transparent rgba(172, 35, 1, 0.3);
  animation: rotate-loading 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

/* ─── 2. Premium Button Overrides ─────────────────────────────────────── */

/* Base button — 3D gradient + animated glow ring */
.btn-default {
  background: var(--accent-gradient);
  border-radius: 6px;
  padding: 16px 52px 16px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  background-clip: padding-box;
}

.btn-default:hover {
  background: var(--accent-gradient-h);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow), 0 0 0 4px rgba(172, 35, 1, 0.18);
  transform: translateY(-3px);
  border-color: transparent;
}

.btn-default:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Arrow icon refinement */
.btn-default::before {
  width: 18px;
  height: 18px;
  transform: translate(-22px, -50%);
  filter: brightness(0) invert(1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-default:hover::before {
  transform: translate(-14px, -50%);
}

/* Sweep fill — now uses gradient accent */
.btn-default::after {
  background: linear-gradient(135deg, #7a1800 0%, #ac2301 100%);
  transform: skew(40deg);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-default:hover::after {
  transform: skew(0deg);
  left: 0;
  width: 100%;
}

/* Highlighted  (white) variant */
.btn-default.btn-highlighted {
  background: #fff;
  color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(172, 35, 1, 0.12);
}

.btn-default.btn-highlighted:hover {
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-3px);
  border-color: transparent;
}

.btn-default.btn-highlighted::after {
  background: var(--accent-gradient);
}

/* Outline / ghost variant (new utility class) */
.btn-outline-accent {
  display: inline-block;
  position: relative;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 6px;
  background: transparent;
  transition: var(--transition-smooth);
  overflow: hidden;
  z-index: 0;
}

.btn-outline-accent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn-outline-accent:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 28px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-outline-accent:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ─── 3. Header Upgrades ──────────────────────────────────────────────── */

header.main-header .header-sticky {
  backdrop-filter: blur(0px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

header.main-header .header-sticky.active {
  background: var(--dark-glass) !important;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Nav link underline sweep */
.main-menu ul li a {
  position: relative;
}

.main-menu ul li>a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  border-radius: 2px;
}

.main-menu ul li>a:hover::after,
.main-menu ul li.active>a::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Dropdown refinement */
.main-menu ul ul {
  border-radius: 12px;
  background: var(--dark-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0 !important;
}

.main-menu ul ul li a {
  font-size: 14px;
  padding: 9px 22px !important;
  transition: all 0.25s ease;
}

.main-menu ul ul li a:hover {
  padding-left: 28px !important;
  color: #fff !important;
  background: rgba(172, 35, 1, 0.25) !important;
}

/* ─── 4. Hero Enhancements ────────────────────────────────────────────── */

.hero::before {
  background: linear-gradient(180deg,
      rgba(25, 35, 36, 0.05) 0%,
      rgba(25, 35, 36, 0.35) 60%,
      rgba(25, 35, 36, 0.75) 100%);
}

/* Floating badge / scroll indicator pulse */
@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.9;
  }

  70% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
  }
}

/* Hero content text reveal animation */
.hero-content .section-title h1,
.hero-content .section-title h2 {
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── 5. Section Title Polish ─────────────────────────────────────────── */

.section-title h2 {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d4446 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.dark-section h2 {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title h1 span,
.section-title h2 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 6. Service & Project Card Upgrades ─────────────────────────────── */

.service-item,
.project-item,
.work-process-item,
.team-member-item,
.testimonial-item {
  transition: var(--transition-smooth);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

/* Generic card hover lift + shadow */
.service-item:hover,
.project-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}

/* Image zoom on hover */
.service-item .image-anime img,
.project-item .image-anime img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.service-item:hover .image-anime img,
.project-item:hover .image-anime img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

/* Service icon / category badge */
.service-item .service-icon,
.service-category-badge {
  transition: var(--transition-bounce);
}

.service-item:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* ─── 7. Project Item Overlay ─────────────────────────────────────────── */

.project-item .project-info,
.project-item .project-content {
  transition: var(--transition-smooth);
}

.project-item .project-overlay {
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(25, 35, 36, 0.5) 50%,
      rgba(172, 35, 1, 0.85) 100%);
  transition: var(--transition-smooth);
}

.project-item:hover .project-overlay {
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(25, 35, 36, 0.6) 40%,
      rgba(172, 35, 1, 0.92) 100%);
}

/* ─── 8. How We Work / Process Steps ─────────────────────────────────── */

.work-process-item {
  position: relative;
}

.work-process-item .work-process-icon {
  transition: var(--transition-bounce);
  position: relative;
}

.work-process-item:hover .work-process-icon {
  transform: scale(1.12) translateY(-6px);
}

/* Step number glow */
.work-process-item .work-process-num {
  transition: var(--transition-smooth);
  font-weight: 900;
}

.work-process-item:hover .work-process-num {
  color: var(--accent-color);
  text-shadow: 0 0 24px var(--accent-glow);
}

/* ─── 9. Stats / Counter Animation ──────────────────────────────────── */

.counter-item,
.stat-item {
  transition: var(--transition-smooth);
}

.counter-item:hover,
.stat-item:hover {
  transform: translateY(-6px);
}

.counter-number,
.stat-number {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── 10. Testimonial Cards ───────────────────────────────────────────── */

.testimonial-item {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-item:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-8px);
  border-color: rgba(172, 35, 1, 0.12);
}

/* Quote mark */
.testimonial-item .testimonial-quote,
.testimonial-item .quote-icon {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rating stars */
.testimonial-rating .fa-star,
.star-rating .fa-star {
  color: #ffb800;
  filter: drop-shadow(0 0 4px rgba(255, 184, 0, 0.5));
  transition: transform 0.2s ease;
}

.testimonial-rating .fa-star:hover,
.star-rating .fa-star:hover {
  transform: scale(1.3);
}

/* ─── 11. Skill Bars ──────────────────────────────────────────────────── */

.skill-progress .progress-bar,
.skill-line .progress-bar {
  background: var(--accent-gradient) !important;
  border-radius: 100px;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: visible;
}

/* Shimmer on progress bar */
.skill-progress .progress-bar::after,
.skill-line .progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: shimmer 2.5s infinite;
  border-radius: 100px;
}

@keyframes shimmer {
  0% {
    left: -60%;
  }

  100% {
    left: 120%;
  }
}

/* ─── 12. Contact Form Upgrades ─────────────────────────────────────────*/

.contact-form input,
.contact-form textarea,
.contact-form select,
.form-control {
  border: 1.5px solid rgba(25, 35, 36, 0.12);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.06);
  outline: none;
  background: #fff;
  transform: translateY(-1px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.form-control::placeholder {
  color: #9aacad;
  font-size: 14px;
}

/* ─── 13. Footer Enhancements ──────────────────────────────────────────── */

footer.main-footer {
  position: relative;
  overflow: hidden;
}

footer.main-footer::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(172, 35, 1, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Footer links */
.footer-menu-link a,
.footer-links a {
  transition: color 0.3s ease, padding-left 0.3s ease;
  position: relative;
}

.footer-menu-link a:hover,
.footer-links a:hover {
  color: var(--accent-color) !important;
  padding-left: 6px;
}

/* Footer social icons */
.social-links a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-bounce);
  color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover,
.footer-social a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-4px) scale(1.1);
}

/* ─── 14. Scroll-reveal Enhancements ─────────────────────────────────── */

/* Generic fade-up for AOS / WOW.js classes */
.wow,
[data-aos] {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ─── 15. Custom Scrollbar ─────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--secondery-color);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d42d00;
}

/* ─── 16. Selection Color ─────────────────────────────────────────────── */

::selection {
  background: var(--accent-color);
  color: #fff;
}

::-moz-selection {
  background: var(--accent-color);
  color: #fff;
}

/* ─── 17. Focus Ring (Accessibility) ─────────────────────────────────── */

*:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── 18. Image Hover Shimmer ─────────────────────────────────────────── */

.image-anime::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
  z-index: 2;
  pointer-events: none;
}

.image-anime:hover::before {
  left: 150%;
}

/* ─── 19. Number / Statistics Highlight ──────────────────────────────── */

.fun-fact-counter,
.odometer,
.counter {
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ─── 20. Back-to-top Button ──────────────────────────────────────────── */

.back-to-top,
#back-to-top,
.scroll-to-top {
  background: var(--accent-gradient) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px var(--accent-glow) !important;
  transition: var(--transition-bounce) !important;
  border: none !important;
}

.back-to-top:hover,
#back-to-top:hover,
.scroll-to-top:hover {
  transform: translateY(-6px) scale(1.1) !important;
  box-shadow: 0 12px 36px var(--accent-glow) !important;
}

/* ─── 21. Divider Lines ───────────────────────────────────────────────── */

.divider,
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider-color), transparent);
}

/* ─── 22. Active Nav Item ─────────────────────────────────────────────── */

.main-menu ul li.active>a,
.main-menu ul li.current>a {
  color: var(--accent-color) !important;
  font-weight: 600;
}

/* ─── 23. Responsive Button Sizing ───────────────────────────────────── */

@media (max-width: 768px) {
  .btn-default {
    padding: 14px 44px 14px 20px;
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 34px !important;
  }

  .section-title h1 {
    font-size: 52px !important;
  }
}

@media (max-width: 480px) {
  .btn-default {
    padding: 13px 40px 13px 18px;
    font-size: 13px;
  }
}

/* ─── 24. Client / Logo Carousel ────────────────────────────────────── */

.client-logo img,
.partner-logo img {
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.client-logo:hover img,
.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ─── 25. Page Banner / Breadcrumb ───────────────────────────────────── */

.page-banner,
.inner-hero,
.breadcrumb-section {
  position: relative;
}

.page-banner::after,
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fff 100%);
  pointer-events: none;
}

/* ─── 26. Global Smooth Scroll ─────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

/* ─── 27. Swiper Pagination Dots ──────────────────────────────────────── */

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  width: 28px !important;
  border-radius: 100px !important;
  box-shadow: 0 0 10px var(--accent-glow) !important;
}

/* ─── End of enhancements.css ───────────────────────────────────────── */

/* ─── 28. Stats Bar ────────────────────────────────────────────────────── */

.stats-bar {
  background: var(--primary-color);
  padding: 40px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(172, 35, 1, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.stat-item {
  text-align: center;
  padding: 16px 20px;
  position: relative;
  transition: var(--transition-smooth);
  cursor: default;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item:hover .stat-number {
  filter: brightness(1.2);
}

/* ─── 29. Service Image Heights ──────────────────────────────────────── */

.service-image figure.image-anime,
.service-image {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.service-image img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.service-item:hover .service-image img {
  transform: scale(1.08);
}

/* ─── 30. Project Image Heights ──────────────────────────────────────── */

.project-featured-image figure.image-anime {
  overflow: hidden;
  border-radius: 12px;
}

.project-featured-image img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.project-item:hover .project-featured-image img {
  transform: scale(1.06);
}

/* ─── 31. Hero Button Gap Fix ────────────────────────────────────────── */

.hero-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
}

.hero-btn .btn-default {
  flex-shrink: 0;
}

/* ─── 32. Section Spacing Fixes ──────────────────────────────────────── */

.about-us,
.our-services,
.why-choose-us,
.how-we-work,
.our-project {
  padding: 100px 0;
}

.our-services {
  background: var(--secondery-color);
}

.how-we-work {
  background: var(--primary-color);
}

/* ─── 33. All Services / Projects CTA Centering ──────────────────────── */

.all-services-btn,
.all-projects-btn {
  text-align: center;
  margin-top: 24px;
}

/* ─── 34. Hero Content Bottom Spacing ────────────────────────────────── */

.hero-content .section-title h1 {
  font-size: clamp(42px, 5.5vw, 80px);
  line-height: 1.08;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

.hero-content .section-title h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .section-title h3 {
  color: rgba(255, 255, 255, 0.75);
}

.hero-content .section-title p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 580px;
  margin-top: 24px;
}

/* ─── 35. Why Choose Us Icon Box ─────────────────────────────────────── */

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  transition: var(--transition-smooth);
  margin-bottom: 8px;
}

.why-choose-item:hover {
  background: rgba(172, 35, 1, 0.05);
  transform: translateX(6px);
}

.why-choose-item .icon-box {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.why-choose-item .icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-choose-item-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.why-choose-item-content p {
  font-size: 14px;
  color: #6b7b7c;
  line-height: 1.6;
  margin: 0;
}

/* ─── 36. Project Content Typography ────────────────────────────────── */

.project-content {
  padding: 16px 4px;
}

.project-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.project-content p {
  font-size: 13px;
  color: #7a8b8c;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── 37. Service Content Typography ────────────────────────────────── */

.service-content {
  padding: 16px;
 
}

.service-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #101111f7;
  margin-bottom: 8px;
}

.service-content p {
  font-size: 13px;
  color: #7a8b8c;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── 38. How We Work Items ─────────────────────────────────────────── */

.how-we-work-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
  text-transform: capitalize;
}

.how-we-work-content p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

/* ─── 39. Mobile Responsive Fixes ────────────────────────────────────── */

@media (max-width: 991px) {

  .about-us,
  .our-services,
  .why-choose-us,
  .how-we-work,
  .our-project {
    padding: 70px 0;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 11px;
  }

  .why-choose-item {
    padding: 14px;
  }
}

@media (max-width: 767px) {
  .stats-bar {
    padding: 28px 0;
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .service-image img {
    height: 200px;
  }

  .project-featured-image img {
    height: 260px;
  }

  .about-us,
  .our-services,
  .why-choose-us,
  .how-we-work,
  .our-project {
    padding: 56px 0;
  }
}