/* ==========================================================================
   Novaquest Knitwear - Style Sheet
   ========================================================================== */

/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Root Variables --- */
:root {
  --primary: #0A192F;        /* Deep Navy */
  --primary-light: #172A45;  /* Lighter Navy */
  --secondary: #333333;      /* Charcoal */
  --accent: #D4AF37;         /* Gold Accent */
  --accent-hover: #C5A028;   /* Darker Gold */
  --bg-light: #F8F9FA;       /* Off-White */
  --bg-beige: #F5EFEB;       /* Warm Beige */
  --white: #FFFFFF;
  --text-dark: #1E293B;      /* Slate Dark */
  --text-muted: #64748B;     /* Slate Muted */
  --border-color: #E2E8F0;   /* Light Border */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* --- Reusable Components --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-header .subtitle {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  border: 1px solid var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.2);
}

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

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

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 24px 0;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled .logo {
  color: var(--primary);
}

header.scrolled .logo img {
  filter: none;
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

header.scrolled .hamburger span {
  background-color: var(--primary);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 120px;
  object-fit: contain;
  margin-top: -18px;
  margin-bottom: -18px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent) !important;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background-color: var(--primary);
  padding: 90px 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 30%, rgba(10, 25, 47, 0.4) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

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

.hero-content {
  max-width: 750px;
}

.hero-tagline {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: inline-block;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.hero-content h1 {
  font-size: 3.8rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* --- Internal Page Banner --- */
.page-banner {
  position: relative;
  padding: 130px 0 70px;
  color: var(--white);
  background-color: var(--primary);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-banner-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.7));
}

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.page-banner h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
}

/* --- Quick Stats Section --- */
.stats {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.stat-item h3 span {
  color: var(--accent);
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* --- About Preview Section --- */
.about-preview {
  background-color: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
  outline: none;
}

.about-preview-img img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  transform: scale(1.08);
  transform-origin: center;
  border: none;
  outline: none;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.about-preview-img:hover img {
  transform: scale(1.12);
}

.about-preview-img::before {
  content: none;
  display: none;
}

.about-preview-content .tag {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: block;
}

.about-preview-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.about-preview-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  margin-bottom: 40px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.about-feature-item span {
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
}

/* --- Process Preview Section --- */
.process-preview {
  background-color: var(--bg-light);
}

.process-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-preview-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border-top: 4px solid transparent;
  position: relative;
}

.process-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}

.process-step-num {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(10, 25, 47, 0.05);
  transition: var(--transition-smooth);
}

.process-preview-card:hover .process-step-num {
  color: rgba(212, 175, 55, 0.15);
}

.process-icon {
  margin-bottom: 24px;
  color: var(--primary);
  background-color: var(--bg-beige);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 80% 60% 70% 50%;
  transition: var(--transition-smooth);
}

.process-preview-card:hover .process-icon {
  background-color: var(--primary);
  color: var(--white);
}

.process-preview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.process-preview-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
  background-color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 8px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-icon {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
  color: var(--accent);
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
  background-color: var(--accent);
  color: var(--white);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Products / Capabilities Section --- */
.products-capabilities {
  background-color: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: #f0f0f0;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-info {
  padding: 24px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA Banner --- */
.cta-banner {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

/* --- About Page Details --- */
.intro-section {
  background-color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.intro-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.intro-img {
  position: relative;
}

.intro-img img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* Vision & Mission Cards */
.vision-mission {
  background-color: var(--bg-light);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vm-card {
  background-color: var(--white);
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent);
}

.vm-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Infrastructure */
.infra-section {
  background-color: var(--white);
}

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

.infra-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.infra-img-grid img {
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.infra-img-grid img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.infra-img-large {
  grid-row: span 2;
  height: 100%;
  object-fit: cover;
}

.infra-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.infra-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.infra-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.infra-list-item {
  display: flex;
  gap: 15px;
}

.infra-list-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.infra-list-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.infra-list-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Quality Policy */
.quality-section {
  background-color: var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quality-section::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -10%;
  width: 50%;
  height: 120%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 75%);
  pointer-events: none;
}

.quality-section h2 {
  color: var(--white);
}

.quality-section h2::after {
  background-color: var(--accent);
}

.quality-content {
  max-width: 900px;
  margin: 0 auto;
}

.quality-intro {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.quality-card {
  background-color: var(--primary-light);
  padding: 35px 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.quality-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.quality-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.quality-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Sustainability */
.sustainability-section {
  background-color: var(--white);
}

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

.sus-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.sus-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.sus-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.sus-badge {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sus-badge svg {
  color: #10B981; /* Green */
}

.sus-img img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

/* Milestones Timeline */
.timeline-section {
  background-color: var(--bg-light);
}

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

.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--white);
  border: 4px solid var(--accent);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-smooth);
}

.timeline-item:hover::after {
  background-color: var(--accent);
  transform: scale(1.2);
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -8px;
}

.timeline-content {
  padding: 24px;
  background-color: var(--white);
  position: relative;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Profile Page (Garment Processes) --- */
/* Process Nav Tabs */
.process-nav {
  position: sticky;
  top: 79px;
  background-color: var(--white);
  z-index: 99;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  transition: var(--transition-smooth);
}

header.scrolled + main .process-nav {
  top: 69px;
}

.process-nav-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border-color);
}

.process-nav-container::-webkit-scrollbar {
  height: 4px;
}

.process-nav-container::-webkit-scrollbar-thumb {
  background-color: var(--accent);
  border-radius: 4px;
}

.process-nav-container::-webkit-scrollbar-track {
  background-color: var(--border-color);
}

.process-tab {
  flex-shrink: 0;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.process-tab:hover,
.process-tab.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Timeline Overview */
.process-overview {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.overview-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 20px 0;
}

.overview-timeline::before {
  content: '';
  position: absolute;
  height: 2px;
  background-color: var(--border-color);
  top: 40px;
  left: 20px;
  right: 20px;
  z-index: 1;
}

.overview-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  min-width: 80px;
  cursor: pointer;
}

.overview-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.overview-step:hover .overview-dot {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.overview-step.active .overview-dot {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.overview-step span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.overview-step:hover span,
.overview-step.active span {
  color: var(--primary);
}

/* Process Cards Section */
.process-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--white);
}

.process-section:nth-child(even) {
  background-color: var(--bg-light);
}

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

.process-section:nth-child(even) .process-grid .process-img-container {
  order: 2;
}

.process-section:nth-child(even) .process-grid .process-content-container {
  order: 1;
}

.process-img-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/2;
}

.process-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.process-img-container:hover img {
  transform: scale(1.05);
}

.process-num-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.process-content-container {
  padding: 10px 0;
}

.process-content-container .process-tag {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.process-content-container h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.process-content-container .process-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.process-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-feature-li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.process-feature-li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.process-feature-li span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* --- Contact Page Details --- */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  background-color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-details h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-info-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  white-space: pre-line;
}

.contact-form-panel {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-form-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Map Section */
.map-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.map-placeholder {
  width: 100%;
  height: 450px;
  background-color: #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.map-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(1);
}

.map-card-info {
  position: relative;
  z-index: 2;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 400px;
}

.map-card-info h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.map-card-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(150%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2000;
  border-left: 4px solid var(--accent);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Footer --- */
footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-about p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.social-links {
  display: none;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background-color: var(--primary-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.875rem;
}

/* --- Scroll Reveal Animations --- */
body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
  box-shadow: var(--shadow-md);
  border: none;
}

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

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

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  :root {
    --container-width: 960px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .about-preview-grid,
  .intro-grid,
  .infra-grid,
  .sus-grid {
    gap: 40px;
  }
  
  .process-preview-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 45px 0;
  }

  .section-header {
    margin: 0 auto 28px;
  }

  header {
    padding: 16px 0;
    background-color: var(--primary); /* Keep background solid on mobile to ensure logo contrast */
  }
  
  header.scrolled {
    padding: 12px 0;
  }
  
  .logo {
    max-width: 260px;
  }

  .logo img {
    height: 68px;
    margin-top: -14px;
    margin-bottom: -14px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-light);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: var(--white);
    font-size: 1.1rem;
  }
  
  /* Hamburger animation active state */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-content h1 {
    font-size: 2.4rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  .page-banner {
    padding: 105px 0 52px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .about-preview-grid,
  .intro-grid,
  .infra-grid,
  .sus-grid,
  .vm-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-section:nth-child(even) .process-grid .process-img-container {
    order: 1;
  }

  .process-section:nth-child(even) .process-grid .process-content-container {
    order: 2;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .timeline-container::after {
    left: 30px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }
  
  .timeline-item::after {
    left: 22px;
  }
  
  .right {
    left: 0%;
  }
  
  .process-nav {
    display: none;
  }
  
  .contact-form-panel {
    padding: 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .process-preview-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .page-banner h1 {
    font-size: 2.2rem;
  }
}
