/*
 * Siva Sankara Minerals - Core Stylesheet
 * Brand colors: Deep Blue, Sky Blue, White, Violet Accents
 * Typography: Outfit (Headings), Inter (Body)
 */

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

:root {
  /* Colors */
  --primary-dark: #07162c;
  --primary-blue: #0b2240;
  --secondary-blue: #0e3360;
  --accent-sky: #00b4d8;
  --accent-sky-rgb: 0, 180, 216;
  --accent-violet: #7209b7;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border-light: rgba(148, 163, 184, 0.15);
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, #07162c 0%, #0b2240 50%, #001f3f 100%);
  --grad-accent: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  --grad-logo: linear-gradient(135deg, #00b4d8 0%, #7209b7 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-glass-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  
  /* Styling Tokens */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  --border-radius: 12px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

ul {
  list-style: none;
}

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

/* Typography Helpers */
.title-large {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.title-section {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-dark) 30%, var(--accent-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-section-light {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-light);
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 3rem;
}

.subtitle-light {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.7);
  max-width: 650px;
  margin-bottom: 3rem;
}

.text-gradient {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary-dark);
  color: var(--text-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(11, 34, 64, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
  color: var(--text-light);
}

.header.scrolled .nav-logo h2 {
  color: var(--text-light);
}

.header.scrolled .nav-logo span {
  color: var(--accent-sky);
}

.header.scrolled .btn-nav {
  background: var(--bg-white);
  color: var(--primary-blue);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-normal);
}

.header.scrolled .nav-container {
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
}

.header.scrolled .nav-logo img {
  height: 40px;
}

.nav-logo h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-normal);
}

.nav-logo h2 span {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-sky);
  transition: var(--transition-normal);
}

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

.nav-link:hover {
  color: var(--accent-sky) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 0.75rem;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-sky);
}

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

.btn-outline-dark:hover {
  background: var(--primary-blue);
  color: var(--text-light);
}

.btn-nav {
  padding: 0.625rem 1.5rem;
  background: var(--primary-blue);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
}

.btn-nav:hover {
  transform: translateY(-1px);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--grad-glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-glass);
}

.glass-card:hover {
  background: var(--grad-glass-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
  padding-top: 100px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(var(--accent-sky-rgb), 0.15) 0%, transparent 60%);
  z-index: 2;
}

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

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

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-sky);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tagline i {
  font-size: 0.75rem;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 3rem;
  line-height: 1.5;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Statistics Counter Section */
.stats {
  background: var(--bg-white);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -1.5rem;
  height: 60%;
  width: 1px;
  background: var(--border-light);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-number span {
  background: var(--grad-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Feature Grid Cards */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 3rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--accent-sky-rgb), 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background: var(--grad-accent);
  color: var(--text-light);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

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

/* Auto-Sliding Product Carousel */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  width: max-content;
}

.product-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-sky-rgb), 0.3);
}

.product-image-container {
  height: 240px;
  background: radial-gradient(circle, #f8fafc 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--grad-accent);
  color: var(--text-light);
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.product-mesh-tag {
  font-size: 0.875rem;
  color: var(--accent-sky);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.product-details-list {
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.product-detail-label {
  color: var(--text-muted);
}

.product-detail-val {
  font-weight: 600;
  color: var(--primary-dark);
}

.product-card .btn-quote {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-light);
  color: var(--primary-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.product-card:hover .btn-quote {
  background: var(--grad-accent);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.slider-btn:hover {
  background: var(--primary-blue);
  color: var(--text-light);
  border-color: transparent;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-dot.active {
  background: var(--accent-sky);
  width: 25px;
  border-radius: 5px;
}

/* Process Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  gap: 2.5rem;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
}

.timeline-item-left {
  justify-content: flex-start;
}

.timeline-item-right {
  justify-content: flex-end;
}

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--bg-white);
  border: 4px solid var(--accent-sky);
  border-radius: 50%;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-sky);
  transform: translateX(-50%) scale(1.25);
}

.timeline-content {
  width: 45%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.timeline-item-left .timeline-content {
  margin-right: auto;
  text-align: right;
}

.timeline-item-right .timeline-content {
  margin-left: auto;
  text-align: left;
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--accent-sky-rgb), 0.3);
}

.timeline-step {
  font-size: 0.8rem;
  color: var(--accent-sky);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

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

/* Sourcing Map & Interactive Elements */
.sourcing-map-container {
  position: relative;
  background: var(--primary-blue);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sourcing-map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(var(--accent-sky-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.map-svg {
  width: 100%;
  max-width: 800px;
  height: auto;
  position: relative;
  z-index: 5;
}

.map-marker {
  cursor: pointer;
}

.map-marker circle {
  fill: var(--accent-sky);
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2px;
  transition: var(--transition-normal);
}

.map-marker:hover circle {
  fill: var(--accent-violet);
  transform: scale(1.3);
  transform-origin: center;
}

.map-marker-pulse {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  transform-origin: center;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.map-line {
  stroke: var(--accent-sky);
  stroke-width: 1.5;
  stroke-dasharray: 6 3;
  animation: dash 30s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -1000;
  }
}

.map-legend {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  z-index: 5;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-sky);
}

.legend-color.destination {
  background: var(--accent-violet);
}

/* Industries served */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-accent);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card:hover * {
  color: var(--text-light) !important;
}

.industry-icon {
  font-size: 2.5rem;
  color: var(--accent-sky);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.industry-card h3 {
  font-size: 1.35rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

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

/* Quality Parameters and Chemical Specification Sheet */
.qa-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.qa-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.qa-specs-table th,
.qa-specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.qa-specs-table th {
  background: var(--primary-blue);
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.qa-specs-table tr:nth-child(even) {
  background: var(--bg-light);
}

.qa-specs-table tr {
  border-bottom: 1px solid var(--border-light);
}

.qa-card-icon-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.qa-icon-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qa-icon-card-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: 'Outfit', sans-serif;
}

.qa-icon-card-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Infrastructure Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7, 22, 44, 0.8) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  transition: var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item h4 {
  color: var(--text-light);
  font-size: 1.25rem;
}

.gallery-item.large {
  grid-row: span 2;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--accent-sky-rgb), 0.3);
}

.blog-image {
  height: 200px;
  background: var(--primary-blue);
  overflow: hidden;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-meta {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-content {
  padding: 0 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-sky);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  color: var(--primary-blue);
}

/* Contact Details & Premium Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  color: var(--primary-blue);
  margin-bottom: 0.35rem;
}

.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-text a:hover {
  color: var(--accent-sky);
}

.card-preview {
  margin-top: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-sky);
  letter-spacing: 0.05em;
}

.card-images {
  display: flex;
  gap: 1rem;
}

.card-img-wrapper {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-normal);
}

.card-img-wrapper:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* B2B Quote & Contact Forms */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--accent-sky);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.google-map {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

/* Floating Widgets */
.widgets-container {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.widget-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
}

.widget-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.widget-whatsapp {
  background-color: #25D366;
}

.widget-quote {
  background: var(--grad-accent);
}

.widget-tooltip {
  position: absolute;
  right: 75px;
  background: var(--primary-blue);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.widget-btn:hover .widget-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Footer styling */
.footer {
  background-color: var(--primary-dark);
  color: rgba(248, 250, 252, 0.7);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .logo img {
  height: 50px;
  width: auto;
}

.footer-brand .logo h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand .logo h3 span {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  color: rgba(248, 250, 252, 0.5);
  letter-spacing: 0.15em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 1.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.65);
}

.footer-link:hover {
  color: var(--accent-sky);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent-sky);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a:hover {
  color: var(--accent-sky);
}

/* Mobile Navigation Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1010;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 3px;
  transition: var(--transition-normal);
}

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

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Interactive Card Modals (Lightbox) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 22, 44, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition-normal);
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--primary-blue);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .qa-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  .section {
    padding: 5rem 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
    z-index: 1005;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    color: var(--text-light);
    font-size: 1.25rem;
  }
  .nav-actions {
    display: none;
  }
  .timeline::after {
    left: 2rem;
    transform: none;
  }
  .timeline-item {
    width: 100%;
    justify-content: flex-start;
  }
  .timeline-content {
    width: calc(100% - 4.5rem);
    margin-left: 4.5rem !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  .timeline-dot {
    left: 2rem;
    transform: translateX(-50%);
  }
  .timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.25);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.large {
    grid-row: span 1;
  }
  .gallery-item {
    height: 250px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 550px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
  }
  .product-card {
    width: 100%;
  }
}

/* Animations support (for GSAP fallback or enhancement) */
.gsap-fade-in {
  opacity: 0;
  transform: translateY(30px);
}

/* Digital Business Cards on Contact page */
.digital-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  width: 100%;
}

.digital-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 270px;
  background-image: linear-gradient(135deg, rgba(0, 180, 216, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  border-left: 5px solid var(--primary-blue);
  transition: var(--transition-normal);
  aspect-ratio: 1.65;
}

.digital-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent-sky);
}

.card-header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.card-header-logo img {
  height: 38px;
  width: auto;
  border-radius: 4px;
}

.card-header-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card-header-title span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.card-particulars .particulars-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-blue);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.particulars-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
}

.particulars-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
}

.card-firm-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.card-firm-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-proprietor-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary-blue);
  line-height: 1.2;
}

.card-proprietor-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-contact-details {
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.card-contact-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.card-contact-item i {
  color: var(--accent-sky);
  font-size: 0.85rem;
  margin-top: 0.05rem;
}

/* 3D Floating Animations */
@keyframes float3d {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-3d {
  animation: float3d 5s ease-in-out infinite;
}

/* Subpage Hero Background Image Styling */
.hero-subpage {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark) !important;
  padding-top: 180px !important;
  padding-bottom: 80px !important;
  display: flex;
  align-items: center;
}

.hero-subpage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(var(--accent-sky-rgb), 0.15) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-subpage .hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 1;
  transition: var(--transition-slow);
}

.hero-subpage .container {
  position: relative;
  z-index: 3;
  width: 100%;
}
