/* ==========================================================================
   AIRCON COOLING COILS & HEAT EXCHANGERS
   Modern Industrial Engineering Design System
   Website: airconcoolingcoils.com
   ========================================================================== */

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

:root {
  --primary: #0b1a30;
  --primary-dark: #060e1b;
  --primary-light: #162a4d;
  --accent: #0284c7;
  --accent-light: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --thermal-warm: #f59e0b;
  --thermal-red: #ef4444;
  --copper: #d97706;
  --steel: #64748b;
  --steel-light: #f1f5f9;
  --border-color: #e2e8f0;
  --border-dark: #1e293b;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 4px rgba(11, 26, 48, 0.04);
  --shadow-md: 0 6px 16px rgba(11, 26, 48, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 26, 48, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.35);
}

/* Base & Typography */
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--accent-light);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Top Utility Header */
.top-bar {
  background: var(--primary-dark);
  font-size: 0.85rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar a {
  color: #cbd5e1;
}

.top-bar a:hover {
  color: var(--accent-light);
}

.top-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Main Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 0;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
  height: 46px;
  width: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
  background-color: rgba(2, 132, 199, 0.06);
}

.dropdown-menu {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 260px;
  animation: fadeInDown 0.2s ease-out;
}

.dropdown-item {
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  color: #334155;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--accent);
  transform: translateX(4px);
}

/* Engineering Buttons */
.btn-engineering {
  background: linear-gradient(135deg, var(--accent) 0%, #0369a1 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-engineering:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-outline-engineering {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-engineering:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transform: translateY(-2px);
}

.btn-thermal {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: var(--transition);
}

.btn-thermal:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.hero-industrial {
  background: linear-gradient(135deg, #071224 0%, #0b1e3b 50%, #0d2850 100%);
  color: #ffffff;
  padding: 90px 0 110px 0;
  position: relative;
  overflow: hidden;
}

.hero-industrial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 40px rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-wrap:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(11, 26, 48, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 20px;
  border-radius: 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Stat Counters Bar */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
}

.stat-box {
  text-align: center;
  padding: 10px 15px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

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

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

/* Section Common Styling */
.section-padding {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 55px;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Product Cards */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.product-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f1f5f9;
}

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

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

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 26, 48, 0.9);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

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

.product-text {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 18px;
  flex-grow: 1;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.86rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-label {
  color: #64748b;
  font-weight: 500;
}

.spec-value {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Feature Grid / 6 Pillars */
.feature-box {
  background: #ffffff;
  padding: 32px 26px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.08);
}

/* Interactive Coil Sizing Calculator Widget */
.calc-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.calc-header {
  background: linear-gradient(135deg, var(--primary) 0%, #162a4d 100%);
  color: #ffffff;
  padding: 24px 30px;
}

.calc-body {
  padding: 30px;
}

.calc-result-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 24px;
}

.calc-badge-spec {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Engineering Tech Specs Table */
.table-engineering {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.table-engineering th {
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  padding: 16px;
  border: none;
  letter-spacing: 0.03em;
}

.table-engineering td {
  padding: 14px 16px;
  font-size: 0.92rem;
  vertical-align: middle;
  border-color: #f1f5f9;
}

.table-engineering tr:hover td {
  background-color: #f8fafc;
}

/* Industry Showcase Cards */
.industry-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--primary);
  color: #ffffff;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 27, 0.92) 0%, rgba(6, 14, 27, 0.4) 70%, transparent 100%);
  z-index: 1;
}

.industry-card-content {
  position: relative;
  z-index: 2;
}

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

/* Quality Protocol Badges */
.cert-badge {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cert-badge i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
}

.cert-badge h6 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cert-badge p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Emergency Replacement Banner */
.emergency-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-left: 6px solid var(--thermal-warm);
  border-radius: 16px;
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  margin-bottom: 14px;
}

.testimonial-text {
  font-style: italic;
  color: #334155;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* RFQ Form Styling */
.form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.93rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Footer */
.footer-custom {
  background: #060e1b;
  color: #94a3b8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-bottom {
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* Floating Action Buttons (WhatsApp & Phone) */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1050;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.btn-call {
  background: var(--accent);
}

.btn-call:hover {
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.6);
}

/* Breadcrumb & Inner Page Hero */
.page-hero {
  background: linear-gradient(135deg, #071224 0%, #0c203e 100%);
  padding: 60px 0 50px 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.breadcrumb-item a {
  color: #94a3b8;
}

.breadcrumb-item.active {
  color: var(--accent-light);
}

/* Keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

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

  .stat-box {
    margin-bottom: 15px;
  }
}