/* ==========================================================================
   iCanSoft Enterprise Redesign - Modern Corporate Architecture
   Inspired by reference design: http://www.serve-india.co.in/
   Focus: High Visual Impact, Clean Cards, Interactive Videos, Modern Layout
   ========================================================================== */

:root {
  --primary-navy: #0f172a;
  --secondary-navy: #1e293b;
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-gold: #febe10;
  --brand-gold-hover: #e5aa0d;
  --brand-cyan: #06b6d4;
  --brand-emerald: #10b981;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

body {
  font-family: 'opensans-regular', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. TOP CONTACT INFO BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-navy);
  color: #e2e8f0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-item a:hover {
  color: var(--brand-gold);
}

.top-item-icon {
  color: var(--brand-gold);
  font-size: 14px;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.top-social-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
  transition: var(--transition);
}

.top-social-link:hover {
  background: var(--brand-gold);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

/* ==========================================================================
   2. STICKY MODERN NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-navy);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.05);
}

.nav-link .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

/* Modern Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  min-width: 260px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-navy);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-item a:hover {
  background: var(--bg-light);
  color: var(--brand-blue);
  padding-left: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-enquire {
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-enquire:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.btn-gold {
  background: var(--brand-gold);
  color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(254, 190, 16, 0.3);
}

.btn-gold:hover {
  background: var(--brand-gold-hover);
  color: var(--primary-navy);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary-navy);
  cursor: pointer;
}

/* ==========================================================================
   3. HIGH-IMPACT HERO SECTION WITH VIDEO WIDGET
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 60%, #1e293b 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  right: -50px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 190, 16, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(254, 190, 16, 0.15);
  border: 1px solid rgba(254, 190, 16, 0.4);
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--brand-gold);
  background: linear-gradient(90deg, #febe10 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-primary {
  background: var(--brand-gold);
  color: var(--primary-navy);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(254, 190, 16, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

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

.btn-hero-video {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-hero-video:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.hero-metric-item h4 {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-gold);
  margin-bottom: 4px;
}

.hero-metric-item p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Video Card in Hero */
.hero-video-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.video-switcher-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 10px;
}

.video-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.video-tab-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
}

.video-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(254, 190, 16, 0.5);
  color: var(--brand-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.video-card-footer {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  padding: 0 4px;
}

/* ==========================================================================
   4. STATS COUNTER STRIP
   ========================================================================== */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
  box-shadow: var(--shadow-sm);
}

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

.stat-box {
  padding: 10px;
}

.stat-icon {
  font-size: 32px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   5. SECTION HEADERS (VISUAL FIRST)
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-light);
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   6. CORE SERVICES MATRIX (VISUAL CARDS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-blue);
}

.service-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1e293b;
}

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

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

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--brand-gold);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.service-features-list {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-feature-item span.icon {
  color: var(--brand-emerald);
  font-weight: bold;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  gap: 8px;
  color: var(--brand-blue-hover);
}

.btn-card-enquire {
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-enquire:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

/* ==========================================================================
   7. ENTERPRISE SOFTWARE PRODUCTS SHOWCASE
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.product-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.product-card-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.product-specs-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.product-spec-item {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 9px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-spec-item::before {
  content: "✔";
  color: var(--brand-emerald);
  font-weight: bold;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.btn-product-demo {
  flex: 1;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-product-demo:hover {
  background: var(--brand-emerald);
  color: #ffffff;
}

/* ==========================================================================
   8. DEDICATED VIDEO SHOWCASE CENTER
   ========================================================================== */
.video-showcase-section {
  background: #0b132b;
  color: #ffffff;
  padding: 85px 0;
  position: relative;
}

.video-center-container {
  max-width: 1000px;
  margin: 0 auto;
}

.video-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.showcase-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.showcase-tab.active {
  background: var(--brand-gold);
  color: var(--primary-navy);
  border-color: var(--brand-gold);
  box-shadow: 0 4px 15px rgba(254, 190, 16, 0.4);
}

.main-video-player-frame {
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.12);
  position: relative;
  aspect-ratio: 16 / 9;
}

.main-video-player-frame video {
  width: 100%;
  height: 100%;
}

.video-player-details {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.video-title-desc h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.video-title-desc p {
  font-size: 14px;
  color: #94a3b8;
}

/* ==========================================================================
   9. VISUAL PROCESS WORKFLOW INFOGRAPHIC
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.process-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   10. INTERACTIVE ENQUIRY SECTION (INSPIRED BY SERVE-INDIA.CO.IN)
   ========================================================================== */
.enquiry-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 80px 0;
}

.enquiry-card-container {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-width: 960px;
  margin: 0 auto;
}

.enquiry-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.enquiry-form-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.enquiry-form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

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

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-navy);
  margin-bottom: 8px;
}

.form-label span.req {
  color: #ef4444;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: #f8fafc;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.btn-submit-enquiry {
  width: 100%;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
}

.btn-submit-enquiry:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   11. RICH CORPORATE FOOTER
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #005a9e 0%, #003366 100%);
  color: #e0f2fe;
  padding: 70px 0 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--brand-gold);
}

.footer-about p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #cbd5e1;
}

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

.footer-link-item {
  margin-bottom: 10px;
}

.footer-link-item a {
  color: #94a3b8;
  display: inline-block;
  transition: var(--transition);
}

.footer-link-item a:hover {
  color: var(--brand-gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.footer-contact-icon {
  color: var(--brand-gold);
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--brand-gold);
}

/* ==========================================================================
   12. MODAL ENQUIRY POPUP
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid, .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 34px;
  }
  .services-grid, .products-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .enquiry-card-container {
    padding: 24px;
  }
}
