/* ===== Winners Iron Works - Modern Styles ===== */

:root {
  --orange: #FF8F00;
  --orange-soft: #FFB23E;
  --red: #C62828;
  --amber: #FBBF24;
  --ink: #15181f;
  --ink-2: #1f242e;
  --body: #f6f7f9;
  --surface: #ffffff;
  --text: #2b303b;
  --muted: #6b7280;
  --border: #e7eaf0;
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 14px 40px -16px rgba(16, 24, 40, .22);
  --shadow-lg: 0 30px 70px -24px rgba(16, 24, 40, .35);
  --gradient: linear-gradient(120deg, #FF8F00 0%, #FFB23E 100%);
  --gradient-brand: linear-gradient(120deg, #FF8F00 0%, #C62828 100%);
  --gradient-dark: linear-gradient(135deg, #1f242e 0%, #15181f 100%);
  --font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* ===== Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--body);
  color: var(--text);
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.section-py {
  padding: 6rem 0;
}

/* ===== Buttons ===== */
.btn {
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition);
}

.btn-primary,
.btn-brand {
  background: var(--gradient);
  border: none;
  color: var(--ink);
  border-radius: 999px;
  padding: .7rem 1.7rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(255, 143, 0, .7);
}

.btn-primary:hover,
.btn-brand:hover {
  background: linear-gradient(120deg, #ffa31f 0%, #ffc14d 100%);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -12px rgba(255, 143, 0, .75);
}

.btn-outline-orange {
  border: 2px solid var(--orange);
  color: var(--orange);
  border-radius: 999px;
  padding: .65rem 1.6rem;
  font-weight: 700;
  background: transparent;
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(255, 143, 0, .6);
}

.btn-outline-red {
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: .65rem 1.6rem;
  font-weight: 700;
  background: transparent;
}

.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.btn-warning {
  background: var(--gradient);
  border: none;
  color: var(--ink);
  font-weight: 700;
}

.btn-warning:hover {
  background: linear-gradient(120deg, #ffa31f 0%, #ffc14d 100%);
  color: var(--ink);
  transform: translateY(-3px);
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1.05rem;
}

/* ===== Navbar (Glassmorphism) ===== */
.navbar {
  background: rgba(21, 24, 31, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: .7rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(18, 21, 27, .96);
  box-shadow: var(--shadow);
  padding: .45rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #fff;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: #fff;
  transform: scale(1.03);
}

.navbar-brand img {
  height: 50px;
  width: auto;
  margin-right: .6rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

.navbar .nav-link {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  margin: 0 .35rem;
  position: relative;
  padding: .5rem .7rem !important;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 22px;
}

.navbar .nav-link.active {
  color: #fff;
}

.dropdown-toggle::after {
  margin-left: .35rem;
  vertical-align: middle;
}

.dropdown-menu {
  background: rgba(24, 28, 36, .96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: .5rem;
  margin-top: .5rem;
}

.dropdown-item {
  color: rgba(255, 255, 255, .8);
  padding: .55rem .9rem;
  border-radius: 8px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 143, 0, .15);
  color: var(--orange-soft);
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, .08);
}

.nav-cta {
  margin-left: .6rem;
  background: var(--gradient) !important;
  color: var(--ink) !important;
  font-weight: 700;
  padding: .5rem 1.1rem !important;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(255, 143, 0, .7);
}

.nav-cta:hover {
  transform: translateY(-2px);
  color: var(--ink) !important;
}

.navbar-toggler {
  border: none;
  padding: .4rem .6rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: none;
  display: block;
  width: 1.6em;
  height: 2px;
  background: #fff;
  position: relative;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1.6em;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  margin-top: -76px;
}

.hero-carousel .carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 17, 23, .88) 0%, rgba(15, 17, 23, .55) 45%, rgba(198, 40, 40, .35) 100%);
  z-index: 1;
}

.hero-carousel .carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1420px;
  padding: 0 15rem;
  text-align: left;
  height: 100vh;
}

.hero-carousel .carousel-caption .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 143, 0, .16);
  border: 1px solid rgba(255, 143, 0, .4);
  color: var(--orange-soft);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
}

.hero-carousel .carousel-caption h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: .25s;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .45);
}

.hero-carousel .carousel-caption h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-carousel .carousel-caption p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .9);
  margin-top: 1.2rem;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: .6s;
}

.hero-carousel .carousel-caption .hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: .95s;
}

.btn-hero-primary {
  background: var(--gradient);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: #ffc14d;
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(255, 143, 0, .7);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, .75);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .45);
  border: none;
  transition: var(--transition);
}

.carousel-indicators [data-bs-target]:hover,
.carousel-indicators [data-bs-target][class*="active"] {
  background-color: var(--orange);
  transform: scale(1.25);
}

.carousel-control-prev,
.carousel-control-next {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
  top: auto;
  bottom: 26px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.carousel-control-prev { left: auto; right: 90px; }
.carousel-control-next { right: 30px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--orange);
  transform: scale(1.12);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  position: relative;
  padding: 9rem 0 5rem;
  background: var(--gradient-dark);
  color: #fff;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 85% -10%, rgba(255, 143, 0, .35), transparent 60%),
  radial-gradient(700px 400px at 0% 120%, rgba(198, 40, 40, .35), transparent 55%);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: .8rem;
}

.page-header h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-header p {
  color: rgba(255, 255, 255, .8);
  max-width: 620px;
  font-size: 1.05rem;
}

.breadcrumb-modern {
  background: transparent;
  padding: 0;
  margin-bottom: 1.2rem;
}

.breadcrumb-modern .breadcrumb-item,
.breadcrumb-modern .breadcrumb-item a {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item a:hover {
  color: var(--orange-soft);
}

.breadcrumb-modern .breadcrumb-item.active {
  color: #fff;
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, .4);
}

/* ===== Section Titles ===== */
.section-title {
  text-align: center;
  margin-bottom: 3.2rem;
  position: relative;
}

.section-title .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .6rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient);
  margin: .9rem auto 0;
}

.section-title p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Stats ===== */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 143, 0, .4);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: .95rem;
  margin-top: .5rem;
  font-weight: 500;
}

/* ===== About ===== */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section .bg-shape {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: .08;
  z-index: 0;
}

.about-section .bg-shape-1 {
  top: -70px;
  right: -50px;
}

.about-section .bg-shape-2 {
  bottom: -90px;
  left: -70px;
  background: var(--gradient-brand);
}

.about-section .about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.about-content .lead {
  font-size: 1.1rem;
}

.highlight-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.company-mission {
  background: var(--gradient-dark);
  padding: 3rem;
  border-radius: var(--radius);
  margin-top: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.company-mission::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 0, .35), transparent 70%);
}

.company-mission h3 {
  color: var(--orange-soft);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.company-mission p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 0;
}

/* ===== Cards (Service / Product) ===== */
.card-service,
.card-product {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--surface);
  height: 100%;
  position: relative;
}

.card-service:hover,
.card-product:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 143, 0, .45);
}

.card-service .card-img-top,
.card-product .card-img-top {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition);
}

.card-service:hover .card-img-top,
.card-product:hover .card-img-top {
  transform: scale(1.08);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.6rem;
  box-shadow: 0 12px 24px -10px rgba(255, 143, 0, .7);
  flex-shrink: 0;
}

.card-service .service-icon {
  position: absolute;
  top: 20px;
  left: 24px;
}

.card-service .card-body {
  padding: 2rem 1.5rem 1.5rem;
}

.card-service .card-title,
.card-product .card-title {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .6rem;
}

/* ===== Value Cards ===== */
.value-card {
  text-align: center;
  padding: 2.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 143, 0, .4);
}

.value-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  color: var(--ink);
  font-size: 1.9rem;
  box-shadow: 0 14px 28px -12px rgba(255, 143, 0, .7);
}

.value-card h4 {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: .5rem;
  font-size: 1.15rem;
}

/* ===== Testimonial ===== */
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 4px;
  left: 18px;
  font-size: 4.5rem;
  color: rgba(255, 143, 0, .18);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card .quote {
  font-style: italic;
  color: #475061;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.testimonial-card .client {
  font-weight: 700;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ===== Timeline (About) ===== */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  position: relative;
  padding-left: 2.4rem;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(var(--orange), rgba(255, 143, 0, .15));
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px rgba(255, 143, 0, .25);
}

.timeline-year {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange);
  min-width: 110px;
}

.timeline-content h5 {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: .3rem;
}

.timeline-content p {
  color: var(--muted);
  margin-bottom: 0;
}

/* ===== Team ===== */
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  background: var(--surface);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin: -40px auto 1rem;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.team-card::before {
  content: '';
  display: block;
  height: 90px;
  background: var(--gradient);
}

.team-card:hover .team-img {
  border-color: var(--orange);
  transform: scale(1.06);
}

.team-card .card-title {
  color: var(--ink);
  font-weight: 700;
}

.team-card .team-role {
  color: var(--orange);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

.team-card .card-text {
  color: var(--muted);
  font-size: .92rem;
  padding: 1.2rem;
}

/* ===== Service detail rows (Services page) ===== */
.service-row h2 {
  color: var(--ink);
  font-weight: 700;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .7rem;
  color: var(--text);
}

.service-feature i {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: .2rem;
}

/* ===== Contact ===== */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-info {
  background: var(--gradient-dark);
  padding: 2.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-info h3 {
  color: var(--orange-soft);
  margin-bottom: 1.8rem;
  font-weight: 800;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, .85);
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 143, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--orange-soft);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-form {
  background: var(--surface);
  padding: 2.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-form h3 {
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 1.6rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #fbfcfe;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(255, 143, 0, .18);
  background: #fff;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--ink);
}

.input-focus .input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.input-focus:focus-within .input-icon {
  opacity: 1;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(25%);
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  background: var(--gradient-brand);
  color: #fff;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%),
  radial-gradient(600px 300px at 0% 100%, rgba(0, 0, 0, .18), transparent 60%);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* ===== Project Slider ===== */
.project-section {
  position: relative;
  overflow: hidden;
}

.project-carousel .carousel-item {
  transition: transform .8s ease, opacity .8s ease;
}

.project-carousel .carousel-inner {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-carousel .carousel-caption {
  background: linear-gradient(0deg, rgba(15, 17, 23, .92) 0%, rgba(198, 40, 40, .55) 100%);
  text-align: left;
  padding: 1.8rem 2rem;
  border-top: 3px solid var(--orange);
}

.project-carousel .carousel-caption h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.project-carousel .carousel-caption p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 0;
}

.project-counter {
  background: rgba(255, 255, 255, .92) !important;
  color: var(--ink) !important;
  border-radius: 999px;
  padding: .35rem 1rem !important;
  font-weight: 700;
}

/* ===== Footer ===== */
footer {
  background: var(--gradient-dark);
  color: #fff;
  padding-top: 4rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

footer h4,
footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.3rem;
  position: relative;
}

footer h5::after {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  background: var(--gradient);
  margin-top: .6rem;
  border-radius: 3px;
}

footer p,
footer .text-muted {
  color: rgba(255, 255, 255, .65) !important;
}

footer a:not(.social-icon) {
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
  display: inline-block;
}

footer a:not(.social-icon):hover {
  color: var(--orange-soft);
  transform: translateX(4px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-radius: 12px;
  margin-right: .5rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient);
  color: var(--ink);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  text-align: center;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(255, 143, 0, .7);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1030;
  border: none;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(255, 143, 0, .8);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Lift the back-to-top button when the footer is in view so it never
overlaps the footer (it stays visible on screen). */
.back-to-top.near-footer {
  bottom: 24px;
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.preloader .spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(255, 255, 255, .15);
  border-top: 4px solid var(--orange);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

.preloader .brand-text {
  color: #fff;
  font-weight: 800;
  letter-spacing: .15em;
  font-size: 1.1rem;
  opacity: .85;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s ease;
}

/* ===== Animations ===== */
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  0% { opacity: 0; transform: scale(.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.pulse-slow { animation: pulse 2.5s ease infinite; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .about-section .bg-shape { display: none; }
}

@media (max-width: 768px) {
  .section-py { padding: 4rem 0; }
  .page-header { padding: 7rem 0 3.5rem; }
  .contact-info, .contact-form { padding: 1.8rem; }
  .company-mission { padding: 2rem; }
  .hero-carousel { height: 100vh; }
  .hero-carousel .carousel-caption { padding: 0 1.25rem; }
}

@media (max-width: 576px) {
  .back-to-top {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }
  .wa-float {
    right: 14px;
    bottom: 84px;
  }
}

/* ===== Project Portfolio Grid ===== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 143, 0, .4);
}
.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15, 17, 23, .92) 0%, rgba(198, 40, 40, .55) 100%);
  color: #fff;
  padding: 1.8rem 2rem;
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.project-overlay h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.project-overlay p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 0;
  font-size: .95rem;
}

/* ===== Product Image Lightbox ===== */
.card-product .card-img-top {
  cursor: zoom-in;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 23, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: scale(.94);
  transition: transform .3s ease;
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover {
  background: var(--orange);
  color: var(--ink);
  transform: scale(1.1) rotate(90deg);
}

/* ===== Products Category Filter (Sidebar) ===== */
.product-filter {
  border-radius: var(--radius);
}
.product-filter.sticky-lg-top {
  top: 90px;
}
.product-filter .card-body {
  padding: 1.6rem 1.4rem;
}
.product-filter h5 {
  color: var(--ink);
  letter-spacing: -0.02em;
}
.product-filter-list li {
  margin-bottom: .35rem;
}
.product-filter-list li:last-child {
  margin-bottom: 0;
}
.filter-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .65rem;
}
.filter-btn::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: var(--transition);
}
.filter-btn:hover {
  background: rgba(255, 143, 0, .1);
  color: var(--orange);
}
.filter-btn.active {
  background: var(--gradient);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(255, 143, 0, .7);
}
.filter-btn.active::before {
  background: var(--ink);
}

/* ===== Floating Social Icons ===== */
.wa-float {
  position: fixed;
  right: 15px;
  bottom: 85px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-item:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45);
  color: #fff;
}

/* Platform brand colors */
.wa-item-1 { background: #075E54; }        /* WhatsApp - Mr. Koh */
.wa-item-2 { background: #128C7E; }        /* WhatsApp - Elaine */
.wa-item-tiktok { background: #000000; }
.wa-item-facebook { background: #1877F2; }
.wa-item-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.wa-item-xhs {
  background: #FF2442;
  font-size: .85rem;
  font-weight: 700;
}

@media (max-width: 576px) {
  .wa-item {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
}