/* ==========================================================================
   SIVA STEELS — Premium Corporate Design System
   Color Palette: Deep Industrial Navy, Metallic Steel, Molten Amber/Orange
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Brand Colors */
  --bg-darker: #060913;
  --bg-main: #0b1120;
  --bg-card: #131c31;
  --bg-card-hover: #1c2945;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-light: rgba(255, 255, 255, 0.04);
  
  --border-color: rgba(226, 232, 240, 0.12);
  --border-color-glow: rgba(249, 115, 22, 0.4);
  
  --accent-orange: #f97316;
  --accent-orange-bright: #ff6b00;
  --accent-orange-glow: rgba(249, 115, 22, 0.35);
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  
  --steel-light: #f8fafc;
  --steel-silver: #cbd5e1;
  --steel-muted: #94a3b8;
  --steel-dark: #334155;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Transitions & Shadows */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 10px 30px rgba(249, 115, 22, 0.25);
  --shadow-cyan: 0 10px 30px rgba(56, 189, 248, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-darker);
  color: var(--steel-silver);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--steel-light);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Utility Layout Classes */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

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

.text-orange { color: var(--accent-orange); }
.text-cyan { color: var(--accent-cyan); }
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--steel-silver) 50%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-fire {
  background: linear-gradient(135deg, #fff 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent-orange);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
}

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

.section-header h2 {
  font-size: 2.75rem;
  margin: 16px 0 20px;
  letter-spacing: -0.5px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange-bright), #ea580c);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, #ff7a1a, var(--accent-orange-bright));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--steel-light);
  border-color: rgba(226, 232, 240, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-outline-orange {
  background: transparent;
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn-outline-orange:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
}

/* Top Ticker Bar */
.top-ticker {
  background: #04070d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 8px 0;
  color: var(--steel-muted);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.ticker-title {
  background: var(--accent-orange);
  color: #fff;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ticker-content {
  display: inline-flex;
  gap: 40px;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item .val {
  color: var(--steel-light);
  font-family: var(--font-mono);
  font-weight: 600;
}

.ticker-item .up { color: #22c55e; }
.ticker-item .down { color: #ef4444; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(6, 9, 19, 0.95);
  border-bottom-color: var(--border-color-glow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent-orange-bright), #b91c1c);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  20%, 100% { transform: translateX(100%) rotate(45deg); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel-silver);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--steel-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  --accent-orange: #f59e0b;
  --accent-orange-bright: #fbbf24;
  --accent-orange-glow: rgba(245, 158, 11, 0.35);
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, rgba(6, 9, 19, 0.75) 0%, rgba(11, 17, 32, 0.95) 100%), 
              url('../assets/images/hero_factory.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-body);
  font-size: 3.8rem;
  line-height: 1.1;
  margin: 24px 0;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--steel-silver);
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
  font-weight: 800;
}

.hero-stat-item p {
  font-size: 0.875rem;
  color: var(--steel-muted);
  margin-top: 4px;
}

/* Floating Interactive Card in Hero */
.hero-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
}

.hero-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-rfq-form .form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-silver);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(226, 232, 240, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

select.form-control option {
  background: var(--bg-darker);
  color: #fff;
}

/* Feature Grid & Cards */
.features-section {
  background: var(--bg-main);
  position: relative;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

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

/* Interactive Calculator Section */
.calc-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-darker) 100%);
  position: relative;
}

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.calc-inputs h3 {
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.calc-results {
  background: rgba(6, 9, 19, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-header {
  font-size: 1.1rem;
  color: var(--steel-silver);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.res-value-main {
  text-align: center;
  padding: 24px 0;
}

.res-value-main .val {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-orange);
  line-height: 1;
}

.res-value-main .unit {
  font-size: 1rem;
  color: var(--steel-muted);
  margin-top: 6px;
  display: block;
}

.res-grid-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 12px;
}

.res-item label {
  font-size: 0.75rem;
  color: var(--steel-muted);
  text-transform: uppercase;
  display: block;
}

.res-item span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel-light);
  font-family: var(--font-mono);
}

/* Products Showcase */
.products-section {
  background: var(--bg-darker);
}

.product-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--steel-silver);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-orange);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-info p {
  color: var(--steel-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-specs-mini {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--steel-silver);
}

.spec-pill {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Grade Comparison Matrix Section */
.matrix-section {
  background: var(--bg-main);
}

.table-responsive {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.matrix-table th, .matrix-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}

.matrix-table th {
  background: #0d1527;
  color: var(--steel-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.matrix-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.matrix-table td.grade-name {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-orange);
}

.rating-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
  border-radius: 3px;
}

/* Projects Showcase */
.projects-section {
  background: var(--bg-darker);
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 9, 19, 0.95) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-fast);
}

.project-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.project-overlay p {
  color: var(--steel-muted);
  font-size: 0.9rem;
}

.project-meta {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--accent-orange);
  font-family: var(--font-mono);
}

/* Sustainability & Green Steel */
.sustainability-section {
  background: linear-gradient(135deg, #091322 0%, #061e1b 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.green-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.green-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  padding: 32px;
}

.green-card:hover {
  border-color: #10b981;
}

.green-card .feature-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Testimonials / Trust Section */
.testimonials-section {
  background: var(--bg-main);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--steel-silver);
  font-style: italic;
  margin-bottom: 24px;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--steel-light);
}

.author-info p {
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

/* Contact & RFQ Modal Section */
.contact-section {
  background: var(--bg-darker);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

/* Footer */
footer {
  background: #04070e;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  color: var(--steel-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin: 16px 0 24px;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--steel-light);
  font-size: 1.1rem;
  margin-bottom: 20px;

}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

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

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color-glow);
  border-radius: 20px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--steel-silver);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--accent-orange);
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-orange);
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }
  .nav-menu.active {
    clip-path: circle(150% at 100% 0);
  }
  .mobile-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Custom About Us Section Color */
#about {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important;
}

/* Feature Slider Mobile Responsive */
.feature-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
}
.feature-slider::-webkit-scrollbar {
  height: 8px;
}
.feature-slider::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.feature-slider::-webkit-scrollbar-thumb {
  background: var(--accent-orange);
  border-radius: 4px;
}
.feature-slider > .feature-card {
  flex: 0 0 calc(33.333% - 20px);
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .feature-slider > .feature-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .feature-slider > .feature-card {
    flex: 0 0 85%;
  }
}
