/* 
  WIGRO - DESIGN SYSTEM
  Modern Industrial Aesthetic
*/

:root {
  /* Theme Colors - Defaults */
  --primary-color: #FFD700; /* Gold */
  --primary-hover: #e6c200;
  --secondary-color: #1a1a1a;
  --bg-dark: #0f0f0f;
  --bg-light: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --text-white: #ffffff;
  --accent-red: #ff3e3e;
  
  /* Layout */
  --section-padding: 100px 5%;
  --header-height: 80px;
  --border-radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
  --sidebar-width: 300px;

  /* Fonts */
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Syne', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

body.boxed {
  max-width: var(--max-width);
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0,0,0,0.1);
  background-color: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 5%;
}

/* Utilities */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 70px;
  height: 4px;
  background-color: var(--primary-color);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* Letter-spacing Offset FIX for Centered Blocks */
.text-center .section-title,
.text-center p,
.hero-content h1,
.hero-content p {
  margin-right: -0.1em; /* Counteract trailing letter-spacing in centered text */
}

.section-margin { margin: 100px 0; }

/* Circular Features */
.circular-features-section {
  padding: 80px 0;
}

.circular-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.circular-feature {
  text-align: center;
  transition: var(--transition);
  padding: 30px;
  border-radius: 12px;
  background: white;
}

.circular-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.circle-icon {
  width: 120px;
  height: 120px;
  border: 1px solid #f0f0f0;
  border-radius: 50%;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  background: #fafafa;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circular-feature:hover .circle-icon {
  border-color: var(--primary-color);
  background: white;
  transform: rotateY(180deg);
  color: var(--primary-hover);
}

.circular-feature h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.circular-feature p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Video Promo */
.video-promo {
  background: #f9f9f9;
  padding: 80px 0;
  text-align: center;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--accent-red);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-top: 25px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.play-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Highlight Section */
.highlight-section {
  background: #1a1a1a;
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.highlight-image img {
  width: 100%;
  transform: scale(1.2);
}

/* Stats Section */
.stats-section {
  padding: 120px 0;
  background: #f9f9f9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.stat-number-container {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  font-family: var(--font-heading);
  position: relative;
  z-index: 2;
}

.stat-ghost {
  position: absolute;
  font-size: 6rem;
  color: rgba(11, 10, 10, 0.035);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}



/* Home Product Showcase */
.home-products-section {
  padding: 100px 0;
  background: white;
}

.home-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.home-filter-btn {
  background: none;
  border: none;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
}

.home-filter-btn:after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

.home-filter-btn.active,
.home-filter-btn:hover {
  color: var(--secondary-color);
}

.home-filter-btn.active:after {
  width: 100%;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-product-item {
  position: relative;
  aspect-ratio: 18/9;
  background: #f9f9f9;
  overflow: hidden;
  border-radius: 4px;
}

.home-product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-overlay span {
  color: white;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  transform: translateY(20px);
  transition: var(--transition);
}

.home-product-item:hover img {
  transform: scale(1.1);
}

.home-product-item:hover .product-overlay {
  opacity: 1;
}

.home-product-item:hover .product-overlay span {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .home-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Clients Section & Swiper */
.clients-section {
  padding: 100px 0;
  background: #f9f9f9;
}

.client-swiper {
  padding: 20px 0 50px;
  position: relative;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: var(--transition);
}

.swiper-slide img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: var(--transition);
}

.swiper-slide:hover img {
  opacity: 1;
  filter: grayscale(0);
}

.swiper-button-next,
.swiper-button-prev {
  background: var(--bg-dark);
  color: var(--primary-color) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 4px;
  transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem !important;
  font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color);
  color: var(--secondary-color) !important;
}

/* Header */
header {
  height: var(--header-height);
  background-color: transparent; /* Start transparent for better hero overlay */
  color: var(--text-white);
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.sticky {
  background-color: rgba(26, 26, 26, 0.85); /* Rich dark glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px; /* Slight shrink from default height */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Ensures Nav is truly centered */
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  justify-self: start;
}

nav {
  justify-self: center;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active {
  font-weight: 700;
}

header .btn-outline {
  justify-self: end;
}

/* Footer Redesign */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 100px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.5fr;
  gap: 0;
  align-items: start;
}

.footer-column {
  padding: 0 40px;
}

.footer-column:first-child {
  padding-left: 0;
}

.footer-column:last-child {
  padding-right: 0;
}

/* Vertical Dividers */
.footer-links, .footer-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.logo-icon-box {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 4px;
}

.logo-text h3 {
  font-size: 1.8rem;
  line-height: 1;
  color: white;
  letter-spacing: 2px;
}

.logo-subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--primary-color);
  margin-top: 5px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: var(--transition);
}

.footer-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* Accents */
.accent-title {
  font-size: 1.1rem;
  margin-bottom: 30px;
  padding-left: 15px;
  position: relative;
  color: white;
}

.accent-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--accent-red);
}

/* Links */
.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links ul li a::before {
  content: '\f111';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.4rem;
  color: var(--accent-red);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Contact Info */
.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.contact-info-list {
  margin-bottom: 30px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.contact-line i {
  color: var(--accent-red);
  width: 20px;
}

/* Social Boxes */
.footer-social-boxes {
  display: flex;
  gap: 12px;
}

.social-box {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-box.facebook { background: #3b5998; }
.social-box.instagram { background: #55acee; } /* Using Twitter-like blue for IG per design reference colors */
.social-box.linkedin { background: #007bb5; }
.social-box.twitter { background: #1da1f2; }

.social-box:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .footer-column {
    padding: 0;
    border: none !important;
  }
  .footer-contact {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact {
    grid-column: span 1;
  }
}

/* --- HERO SLIDER --- */
.hero-swiper {
  width: 100%;
  height: 80vh;
  position: relative;
}

.hero-slide {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Subtle overlay for readability */
  z-index: 1;
}

.hero-slide-1 {
  background-image: url('assets/hero-slider-1.png');
}

.hero-slide-2 {
  background-image: url('assets/hero-slider-2.png');
}

.hero-slide-3 {
  background-image: url('assets/hero-slider-3.png');
}

.hero-logo-large {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 5%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 0.3s;
}

.swiper-slide-active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
  text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* Hero Navigation */
.hero-prev, .hero-next {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(5px);
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white !important;
  transition: var(--transition);
}

.hero-prev:after, .hero-next:after {
  font-size: 1.2rem !important;
  font-weight: 900;
}

.hero-prev:hover, .hero-next:hover {
  background: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  border-color: var(--primary-color);
}

.hero-prev { left: 30px !important; }
.hero-next { right: 30px !important; }

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-modal {
  position: absolute;
  top: -45px;
  right: -10px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.close-modal:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }
  .close-modal {
    top: -40px;
    right: 0;
  }
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20ba5a;
  color: #fff;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 105px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

/* --- About Page Expansion Styles --- */
.about-hero {
    background: var(--secondary-color);
    padding: 100px 0;
    color: white;
    text-align: center;
}
.about-section {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    align-items: center;
}
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}
.mv-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: var(--border-radius);
    border-top: 5px solid var(--primary-color);
}

/* Timeline */
.about-timeline {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.timeline-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 40px 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  opacity: 0.3;
}

.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 25px;
  z-index: 2;
  box-shadow: 0 0 15px var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

/* Facility Grid */
.facility-section {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: white;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.facility-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.facility-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feat-item {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid var(--primary-color);
}

/* Certifications */
.cert-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.cert-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.cert-item {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  filter: grayscale(1);
  transition: var(--transition);
}

.cert-item i {
  font-size: 3rem;
  color: var(--secondary-color);
}

.cert-item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.1);
}

/* Leadership */
.team-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.member-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.member-info {
  padding: 30px;
}

.member-info h4 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.member-info span {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-bio {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .timeline-container::before { left: 30px; }
  .timeline-item { width: 100%; padding-left: 70px; text-align: left !important; }
  .timeline-dot { left: 20px !important; }
  .facility-grid { grid-template-columns: 1fr; }
}

/* --- Product Detail Page Styles --- */
.breadcrumb-nav {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-nav a {
    color: var(--secondary-color);
    font-weight: 600;
}

.product-detail-section {
    padding: 40px 0 100px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-gallery {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 120px;
}

.detail-gallery img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.detail-info h1 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.detail-info .category-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}

.detail-short-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.detail-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.detail-description {
    margin-top: 40px;
}

.detail-description h3 {
    margin-bottom: 20px;
}

.detail-description p {
    color: var(--text-muted);
    line-height: 1.8;
}

.specs-container {
    margin-top: 60px;
    background: #fdfdfd;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.spec-table td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.spec-table td:first-child {
    width: 40%;
    color: var(--secondary-color);
    font-weight: 600;
}

.spec-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 991px) {
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-gallery { position: static; height: 350px; }
    .detail-info h1 { font-size: 2rem; }
}

/* --- Global Product Card & Grid Styles --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

.product-image {
    height: 220px;
    background: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    border-bottom: 1px solid #f5f5f5;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f8f9fa;
    color: var(--secondary-color);
    border: 1px solid #eee;
}

.product-card:hover .btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Related Solutions Section Theme */
.related-solutions-section {
    background: #fafafa;
    padding: 100px 0;
    border-top: 1px solid #eee;
    margin-top: 50px;
}


/* --- Subpage Header System --- */
.subpage-header {
    background: var(--secondary-color);
    padding: calc(var(--header-height) + 60px) 0 60px;
    color: white;
    text-align: center;
    position: relative;
}

.subpage-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.subpage-header .section-title {
    color: white;
    margin-bottom: 15px;
}

.subpage-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.subpage-header .breadcrumb-nav {
    padding-top: 0;
    padding-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.subpage-header .breadcrumb-nav a {
    color: white;
    opacity: 0.8;
}

.subpage-header .breadcrumb-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}


/* --- Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    padding: 100px 0;
}

.contact-info-panel {
    background: #fdfdfd;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item i {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid #f9f9f9;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.contact-form-container {
    background: white;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-radius: 15px;
    border: 1px solid #f5f5f5;
}

.form-title {
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.form-group input, 
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 25px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fcfcfc;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.05);
}

.map-section {
    width: 100%;
    height: 500px;
    position: relative;
    background: #eee;
    margin-bottom: -5px; /* Seal with footer */
}

.map-section iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.2) contrast(1.1);
    transition: filter 0.5s ease;
}

.map-section:hover iframe {
    filter: saturate(1) contrast(1);
}

@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-container { padding: 40px; }
}

