/* ================================================
   AST — Applied Science and Technologies
   Premium Professional UI v2.0
   Design: 2024 — Premium Edition
================================================ */

/* ── Custom Properties ─────────────────────────── */
:root {
  --green:       #08b14b;
  --green-dark:  #069a3f;
  --green-light: #e8f8ef;
  --red:         #e31e24;
  --red-dark:    #c4191e;
  --red-light:   #fdeaea;
  --dark:        #0a0f1a;
  --dark-soft:   #141b2d;
  --gray:        #64748b;
  --gray-light:  #f8fafc;
  --white:       #ffffff;
  --border:      #e2e8f0;
  --shadow-sm:   0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.16);
  --shadow-glow: 0 0 40px rgba(8,177,75,.15);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-xs:   6px;
  --transition:  all .35s cubic-bezier(.4,0,.2,1);
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Poppins', system-ui, sans-serif;
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

::selection { background: rgba(8,177,75,.15); color: var(--dark); }

/* ── Section Titles — Premium ────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title .label,
.section-title .label-red {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title .label {
  background: var(--green-light);
  color: var(--green);
}
.section-title .label-red {
  background: var(--red-light);
  color: var(--red);
}
.section-title h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -.5px;
}
.section-title h2 span { color: var(--green); }
.section-title h2 .text-red { color: var(--red); }
.section-title p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.75;
}
.section-divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 4px;
  margin: 20px auto 0;
}

/* ── Top Bar ───────────────────────────────────── */
.top-bar {
  background: var(--dark);
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 2px solid var(--red);
}
.top-bar .top-contact {
  color: #94a3b8;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.top-bar .top-contact i { color: var(--green); margin-right: 6px; }
.top-bar .top-social { display: flex; gap: 8px; }
.top-bar .social-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}
.top-bar .social-icon:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Main Navbar — Premium Glass ──────────────── */
.main-navbar {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none;
  padding: 0;
  transition: var(--transition);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.main-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  background: rgba(255,255,255,.98);
}
.main-navbar .navbar-brand { padding: 14px 0; }
.nav-logo { height: 54px; width: auto; object-fit: contain; }
.main-navbar .nav-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  padding: 30px 16px !important;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 22px; left: 16px; right: 16px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-radius: 3px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--green); }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }
.btn-primary-ast {
  background: var(--red);
  color: var(--white) !important;
  padding: 11px 28px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(227,30,36,.25);
}
.btn-primary-ast:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227,30,36,.35);
}
.btn-primary-ast::after { display: none !important; }

.navbar-toggler { border: 2px solid var(--green); border-radius: var(--radius-sm); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2308b14b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero Carousel — Premium ──────────────────── */
.hero-carousel { position: relative; }
.hero-carousel.carousel-fade .carousel-item { transition: opacity 1.2s ease-in-out; }
.hero-carousel .carousel-item { height: 680px; }
.hero-carousel .carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 12s ease;
}
.hero-carousel .carousel-item.active img { transform: scale(1.08); }

/* Caption — left aligned */
.hero-carousel .carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0; top: 0;
  display: flex !important;
  align-items: center;
  background: linear-gradient(90deg, rgba(10,15,26,.85) 0%, rgba(10,15,26,.55) 50%, rgba(10,15,26,.2) 100%);
  padding: 0;
  text-align: left;
}
.hero-content {
  max-width: 650px;
}

/* Hero Label */
.hero-label {
  display: inline-block;
  background: rgba(8,177,75,.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(8,177,75,.25);
  backdrop-filter: blur(6px);
}

/* Hero Title */
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
  letter-spacing: -1px;
  line-height: 1.12;
}
.hero-content h1 span { color: var(--green); }

/* Hero Description */
.hero-content p {
  color: rgba(255,255,255,.75);
  font-size: clamp(14px, 1.8vw, 17px);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.8;
}

/* Hero Buttons */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 50px; height: 50px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%; bottom: auto;
  transform: translateY(-50%);
  margin: 0 24px;
  opacity: 1;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 16px;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-50%) scale(1.1);
}

/* Indicators — bottom left pills */
.hero-carousel .carousel-indicators {
  bottom: 32px;
  left: auto;
  right: auto;
  margin: 0;
  padding: 0 calc((100% - 1140px) / 2 + 12px);
  justify-content: flex-start;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 32px; height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
  border: none;
  margin: 0 4px;
  transition: var(--transition);
}
.hero-carousel .carousel-indicators .active {
  background: var(--green);
  width: 48px;
}

/* Hero CTA buttons — Premium */
.btn-hero-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(227,30,36,.3);
}
.btn-hero-primary:hover {
  background: var(--red-dark); border-color: var(--red-dark); color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(227,30,36,.4);
}
.btn-hero-outline {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,.3);
  display: inline-block;
  transition: var(--transition);
  margin-left: 14px;
}
.btn-hero-outline:hover {
  background: var(--green); border-color: var(--green); color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(8,177,75,.3);
}

/* ── Stats Bar — Premium ──────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 10px 0;
  position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--red));
}
.stat-card {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  transition: var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.03); }
.stat-card:last-child { border-right: none; }
.stat-card .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-card .lbl {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ── Products Section — Premium ───────────────── */
.products-section { background: var(--white); padding: 100px 0; }
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 20px 50px rgba(8,177,75,.12);
  transform: translateY(-8px);
  border-color: transparent;
}
.product-card .card-img-wrap {
  overflow: hidden;
  height: 240px;
  background: var(--gray-light);
  position: relative;
}
.product-card .card-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,.03));
  pointer-events: none;
}
.product-card .card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .card-img-wrap img { transform: scale(1.08); }
.product-card .card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  font-family: var(--font-head);
}
.product-card .card-text {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.product-card .card-footer-bar {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.btn-read-more i { transition: transform .3s; }
.btn-read-more:hover i { transform: translateX(5px); }
.btn-read-more:hover { color: var(--green-dark); }

/* Global buttons — Premium */
.btn-ast {
  background: var(--green);
  color: var(--white);
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 2px solid var(--green);
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(8,177,75,.25);
}
.btn-ast:hover {
  background: var(--green-dark); border-color: var(--green-dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8,177,75,.35);
}
.btn-ast-outline {
  background: transparent;
  color: var(--green);
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 2px solid var(--green);
  display: inline-block;
  transition: var(--transition);
}
.btn-ast-outline:hover {
  background: var(--green); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(8,177,75,.25);
}

/* ── Partners Section — Premium ───────────────── */
.partners-section {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  padding: 80px 0;
  position: relative;
}
.partners-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8,177,75,.3), transparent);
}
.partners-section .section-title h2 { color: var(--white); }
.partners-section .section-title p { color: rgba(255,255,255,.5); }
.partners-section .section-title .label,
.partners-section .section-title .label-red { background: rgba(227,30,36,.12); color: #ff6b6b; }
.partner-logo-wrap {
  background: var(--white);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  height: 110px;
  transition: var(--transition);
}
.partner-logo-wrap:hover {
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(8,177,75,.15);
  transform: translateY(-5px);
}
.partner-logo-wrap img {
  max-height: 64px; width: auto;
  opacity: .85; transition: var(--transition);
  object-fit: contain;
}
.partner-logo-wrap:hover img { opacity: 1; }

/* ── Clients Section — Premium ────────────────── */
.clients-section { padding: 90px 0; background: var(--gray-light); }
.client-logo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; align-items: center; justify-content: center;
  height: 95px;
  transition: var(--transition);
}
.client-logo-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green);
  transform: translateY(-3px);
}
.client-logo-item img {
  max-height: 56px; width: auto;
  opacity: .75; transition: var(--transition);
  object-fit: contain;
}
.client-logo-item:hover img { opacity: 1; transform: scale(1.05); }

/* ── CTA Section — Premium ────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1526 50%, var(--dark-soft) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
}
.cta-section::after {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,177,75,.08), transparent 70%);
}
.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.cta-section p { color: rgba(255,255,255,.7); font-size: 16px; }
.btn-cta-white {
  background: var(--red);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(227,30,36,.3);
}
.btn-cta-white:hover {
  background: var(--green); border-color: var(--green); color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(8,177,75,.3);
}

/* ── Page Hero — Premium ──────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1526 50%, var(--dark-soft) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -150px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,177,75,.06), transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--red));
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: left;
  margin: 0 0 14px;
  position: relative;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.page-hero h1 span { color: var(--green); }
.breadcrumb-ast { display: flex; gap: 10px; align-items: center; position: relative; }
.breadcrumb-ast a { color: rgba(255,255,255,.5); font-size: 14px; font-weight: 500; }
.breadcrumb-ast a:hover { color: var(--green); }
.breadcrumb-ast span { color: rgba(255,255,255,.25); }
.breadcrumb-ast .current { color: var(--green); font-size: 14px; font-weight: 600; }

/* ── About Page — Premium ─────────────────────── */
.about-section { padding: 100px 0; }
.about-content p { color: #475569; font-size: 15px; line-height: 1.9; }
.about-content p + p { margin-top: 18px; }
.about-content strong { color: var(--dark); }
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0);
  transition: transform .4s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.value-card .icon {
  width: 56px; height: 56px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}
.value-card .icon i { color: var(--green); font-size: 22px; transition: var(--transition); }
.value-card:hover .icon { background: var(--green); transform: scale(1.1); }
.value-card:hover .icon i { color: var(--white); }
.value-card h5 { font-size: 17px; margin-bottom: 10px; font-family: var(--font-head); }
.value-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ── Product List Page ─────────────────────────── */
.pl-section { padding: 80px 0; background: var(--gray-light); }

/* Card */
.pl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pl-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  transform: translateY(-6px);
  border-color: var(--green);
}

/* Card Image — contained, centered, bordered bottom */
.pl-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  text-decoration: none;
}
.pl-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.pl-card:hover .pl-card-img img { transform: scale(1.05); }

/* Card Body */
.pl-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pl-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  font-family: var(--font-head);
  line-height: 1.45;
  flex: 1;
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.pl-card-title:hover { color: var(--green); }

/* Card Actions */
.pl-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pl-btn-details {
  background: var(--green);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.pl-btn-details:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(8,177,75,.25);
}
.pl-btn-pdf {
  background: var(--white);
  color: var(--red);
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border: 1px solid var(--border);
  text-decoration: none;
}
.pl-btn-pdf:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ── Product Details Page — Premium v2 ─────────── */
.product-detail-section { padding: 90px 0; background: var(--gray-light); }

/* Image Card */
.pd-image-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}
.pd-image-main {
  padding: 20px;
  background: var(--white);
}
.pd-image-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.pd-image-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(10,15,26,.8);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .5px;
}
.pd-image-badge i { color: var(--green); }

/* Features Strip */
.pd-features {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 8px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pd-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.pd-feature-item:hover { background: var(--gray-light); }
.pd-feature-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.pd-feature-icon.green { background: var(--green-light); color: var(--green); }
.pd-feature-icon.red { background: var(--red-light); color: var(--red); }
.pd-feature-item strong {
  display: block; font-size: 14px; font-weight: 700; color: var(--dark);
}
.pd-feature-item span {
  display: block; font-size: 12px; color: var(--gray); margin-top: 1px;
}

/* Product Info */
.pd-info {
  position: sticky;
  top: 100px;
}
.pd-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.pd-badge i { margin-right: 4px; }
.pd-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.pd-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 4px;
  margin-bottom: 24px;
}
.pd-description {
  color: #000000;
  font-size: 15px;
  line-height: 1.9;
}
.pd-description p { margin-bottom: 14px; color: #000000; }
.pd-description p span { color: #000000 !important; }
.pd-description table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.pd-description table td,
.pd-description table th {
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
}
.pd-description table th { background: var(--gray-light); font-weight: 700; }

/* Action Buttons — Premium */
.pd-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pd-btn-primary,
.pd-btn-secondary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  text-decoration: none;
  transition: var(--transition);
  flex: 1;
  min-width: 200px;
}
.pd-btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(8,177,75,.25);
}
.pd-btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(8,177,75,.35);
}
.pd-btn-primary i { font-size: 20px; }
.pd-btn-secondary {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.pd-btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(227,30,36,.12);
}
.pd-btn-secondary i { font-size: 20px; }
.pd-btn-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
  line-height: 1;
}
.pd-btn-text {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}

/* Contact Quick Strip */
.pd-contact-strip {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pd-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.pd-contact-item i {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.pd-contact-item:nth-child(1) i { background: var(--green-light); color: var(--green); }
.pd-contact-item:nth-child(2) i { background: var(--red-light); color: var(--red); }
.pd-contact-item:nth-child(3) i { background: #dcfce7; color: #16a34a; }
.pd-contact-item a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}
.pd-contact-item a:hover { color: var(--green); }

/* Legacy compat */
.product-detail-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--gray-light);
  box-shadow: var(--shadow-md);
}
.product-detail-img-wrap img { width: 100%; height: auto; display: block; }
.product-detail-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-family: var(--font-head); color: var(--dark);
  margin-bottom: 10px; font-weight: 800;
}
.product-divider {
  width: 50px; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 4px; margin-bottom: 24px;
}
.btn-catalog-lg {
  background: var(--green); color: var(--white);
  padding: 14px 38px; border-radius: 50px;
  font-weight: 700; font-size: 13px;
  border: 2px solid var(--green);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-catalog-lg:hover { background: var(--green-dark); color: var(--white); }

@media (max-width: 767.98px) {
  .pd-actions { flex-direction: column; }
  .pd-btn-primary, .pd-btn-secondary { min-width: auto; flex: auto; }
  .pd-contact-strip { flex-direction: column; gap: 12px; }
  .pd-info { position: static; }
}

/* ── Contact Page — Premium v3 ────────────────── */
.contact-section { padding: 80px 0; background: var(--gray-light); }

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.map-wrap iframe { display: block; }

/* Info Card — Dark */
.contact-info-card {
  background: linear-gradient(135deg, var(--dark) 0%, #0d1526 100%);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
}
.contact-info-card::after {
  content: ''; position: absolute;
  bottom: -100px; right: -100px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,177,75,.06), transparent 70%);
}
.contact-info-card h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.contact-info-item .icon-wrap {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(8,177,75,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.contact-info-item:hover .icon-wrap { background: var(--green); }
.contact-info-item .icon-wrap i { color: var(--green); font-size: 16px; transition: var(--transition); }
.contact-info-item:hover .icon-wrap i { color: var(--white); }
.contact-info-item .txt strong {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
  font-weight: 700;
}
.contact-info-item .txt span,
.contact-info-item .txt a {
  color: var(--white);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}
.contact-info-item .txt a:hover { color: var(--green); }

/* Form Card — White */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  border-top: 4px solid var(--green);
  box-shadow: var(--shadow-md);
}
.contact-form-card h4 {
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 28px;
}
.form-group-ast { margin-bottom: 20px; }
.form-label-ast {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.form-control-ast {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--dark);
  background: var(--gray-light);
  transition: var(--transition);
  outline: none;
  font-family: var(--font-body);
}
.form-control-ast:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(8,177,75,.08);
  background: var(--white);
}
.form-control-ast::placeholder { color: #94a3b8; }
textarea.form-control-ast { resize: vertical; min-height: 140px; }

/* ── Careers Page — Premium ───────────────────── */
.careers-section { padding: 90px 0; background: var(--gray-light); }
.career-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transition: var(--transition);
}
.career-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateX(6px);
}
.career-card .job-icon {
  width: 58px; height: 58px; min-width: 58px;
  background: linear-gradient(135deg, var(--green-light), rgba(8,177,75,.15));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.career-card:hover .job-icon { background: var(--green); }
.career-card .job-icon i { color: var(--green); font-size: 22px; transition: var(--transition); }
.career-card:hover .job-icon i { color: var(--white); }
.career-card .job-info { flex: 1; }
.career-card .job-info h5 {
  font-size: 17px; font-family: var(--font-head); color: var(--dark); margin-bottom: 6px;
}
.career-card .job-info .badge-dept {
  background: var(--green-light); color: var(--green);
  padding: 4px 14px; border-radius: 50px; font-size: 11px; font-weight: 700;
}
.btn-apply {
  background: var(--green); color: var(--white);
  padding: 11px 30px; border-radius: 50px;
  font-weight: 700; font-size: 12px; letter-spacing: .8px;
  text-transform: uppercase;
  border: 2px solid var(--green);
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(8,177,75,.2);
}
.btn-apply:hover {
  background: var(--green-dark); border-color: var(--green-dark); color: var(--white);
  transform: translateY(-2px);
}

/* Career Detail */
.career-detail-section { padding: 90px 0; }
.career-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.career-detail-card h2 { font-family: var(--font-head); color: var(--dark); margin-bottom: 8px; }
.career-detail-card h2 span { color: var(--green); }
.career-detail-card .desc { color: #475569; font-size: 15px; line-height: 1.9; }
.career-detail-card .desc ul { list-style: disc; padding-left: 20px; }
.career-detail-card .desc li { margin-bottom: 8px; }
.btn-back {
  background: var(--gray-light); color: var(--dark);
  padding: 11px 24px; border-radius: 50px;
  font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
  letter-spacing: .3px;
}
.btn-back:hover { background: var(--dark); color: var(--white); }

/* ── Why Choose AST — Premium ─────────────────── */
.why-choose-section { padding: 100px 0; background: var(--white); }
.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0); transition: transform .4s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-10px);
  border-color: transparent;
}
.why-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--green-light), rgba(8,177,75,.12));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  transition: var(--transition);
}
.why-icon i { font-size: 28px; color: var(--green); transition: var(--transition); }
.why-card:hover .why-icon {
  background: var(--green);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(8,177,75,.3);
}
.why-card:hover .why-icon i { color: var(--white); }
.why-card h5 { font-size: 17px; font-family: var(--font-head); color: var(--dark); margin-bottom: 12px; }
.why-card p { color: var(--gray); font-size: 14px; line-height: 1.75; margin: 0; }

/* ── Footer — Premium ─────────────────────────── */
.site-footer { background: var(--dark); position: relative; }
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8,177,75,.3), transparent);
}
.footer-top { padding: 80px 0 56px; }
.footer-heading {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 3px;
}
.footer-text { color: #94a3b8; font-size: 14px; line-height: 1.85; }
.footer-social { display: flex; gap: 10px; }
.footer-social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social-icon:hover {
  background: var(--green); border-color: var(--green); color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(8,177,75,.3);
}
.footer-links li { margin-bottom: 12px; }
.footer-links li a {
  color: #94a3b8; font-size: 14px;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-links li a i { font-size: 10px; transition: transform .3s; }
.footer-links li a:hover { color: var(--green); padding-left: 6px; }
.footer-links li a:hover i { transform: translateX(3px); }
.footer-contact-list li {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px;
}
.footer-contact-list li i { color: var(--green); font-size: 14px; margin-top: 4px; flex-shrink: 0; }
.footer-contact-list li span { color: #94a3b8; font-size: 14px; }
.footer-contact-list li span a { color: #94a3b8; }
.footer-contact-list li span a:hover { color: var(--green); }
.visitor-stats .stat-item {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.visitor-stats .stat-item:hover { background: rgba(8,177,75,.05); border-color: rgba(8,177,75,.15); }
.visitor-stats .stat-item i { color: var(--green); font-size: 20px; }
.visitor-stats .stat-item .stat-label {
  display: block; color: rgba(255,255,255,.4);
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;
}
.visitor-stats .stat-item .stat-value {
  color: var(--white); font-size: 22px; font-weight: 800; font-family: var(--font-head);
}
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 20px 0;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--red), var(--green)) 1;
}
.footer-bottom p, .footer-bottom a { color: #64748b; font-size: 13px; }
.footer-bottom a:hover { color: var(--green); }

/* ── Scroll to Top — Premium ──────────────────── */
.scroll-to-top {
  position: fixed; bottom: 90px; right: 24px;
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(227,30,36,.35);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover {
  background: var(--red-dark); color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(227,30,36,.4);
}

/* ── WhatsApp Widget ──────────────────────────── */
.floating-wpp, #myDiv.floating-wpp, div.floating-wpp {
  z-index: 9999 !important;
  left: 20px !important; right: auto !important; bottom: 20px !important;
}
.floating-wpp .floating-wpp-popup { left: 0 !important; right: auto !important; }

/* ── Scroll Reveal Animations ─────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.animate-on-scroll { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
.animate-on-scroll.animated { opacity: 1; }
.animate-on-scroll.animated.fade-up { animation: fadeInUp .7s ease forwards; }
.animate-on-scroll.animated.fade-left { animation: fadeInLeft .7s ease forwards; }
.animate-on-scroll.animated.fade-right { animation: fadeInRight .7s ease forwards; }
.animate-on-scroll.animated.scale-in { animation: scaleIn .6s ease forwards; }
.animate-delay-1 { animation-delay: .1s !important; }
.animate-delay-2 { animation-delay: .2s !important; }
.animate-delay-3 { animation-delay: .3s !important; }
.animate-delay-4 { animation-delay: .4s !important; }

/* ── Focus Accessibility ──────────────────────── */
.btn-ast:focus, .btn-ast-outline:focus, .btn-hero-primary:focus,
.btn-hero-outline:focus, .btn-primary-ast:focus, .btn-apply:focus,
.btn-catalog-lg:focus {
  outline: 2px solid var(--green); outline-offset: 3px;
}

/* ── Responsive — Premium ─────────────────────── */
@media (max-width: 991.98px) {
  .main-navbar .nav-link { padding: 12px 16px !important; }
  .main-navbar .nav-link::after { display: none; }
  .btn-primary-ast { margin: 12px 0 4px 16px; display: inline-block; }
  .hero-carousel .carousel-item { height: 500px; }
  .hero-carousel .carousel-indicators { padding: 0 20px; }
  .top-bar .top-contact { gap: 14px; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 20px; margin-bottom: 0; }
  .stat-card:last-child { border-bottom: none; }
  .products-section, .about-section, .why-choose-section { padding: 70px 0; }
}
@media (max-width: 767.98px) {
  .hero-carousel .carousel-item { height: 420px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 13px; margin-bottom: 20px; }
  .hero-label { font-size: 10px; padding: 6px 14px; margin-bottom: 14px; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 24px; font-size: 11px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { width: 40px; height: 40px; margin: 0 10px; font-size: 14px; }
  .hero-carousel .carousel-caption { background: linear-gradient(90deg, rgba(10,15,26,.9) 0%, rgba(10,15,26,.6) 60%, rgba(10,15,26,.3) 100%); }
  .contact-form-card, .contact-info-card { padding: 28px 20px; }
  .page-hero { padding: 55px 0 45px; }
  .page-hero h1 { font-size: 1.7rem; }
  .career-card { flex-direction: column; align-items: flex-start; }
  .top-bar .top-contact { display: none; }
  .career-detail-card { padding: 28px 20px; }
  .section-title { margin-bottom: 40px; }
}
@media (max-width: 575.98px) {
  .hero-carousel .carousel-item { height: 360px; }
  .hero-content h1 { font-size: 1.5rem; }
  .btn-hero-primary, .btn-hero-outline { padding: 10px 20px; font-size: 10px; }
  .hero-btns { gap: 8px; }
  .stat-card .num { font-size: 1.8rem; }
}
