/* =========================================================
   AIRCORN — Complete HVAC Solutions (Bootstrap 5 Overrides)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* ---- color tokens ---- */
  --ink:        #0B2E33;   /* deep teal-black, primary text */
  --ink-soft:   #204750;
  --muted:      #56767D;   /* secondary text */
  --bg:         #F4FAFA;   /* icy off-white page background */
  --surface:    #FFFFFF;
  --surface-2:  #EAF4F4;   /* soft teal-tinted panel */
  --primary:    #146C7A;   /* steel teal — brand */
  --primary-dark:#0B4A54;
  --primary-deep:#082F36;
  --ice:        #8FDCE0;   /* icy cyan accent line/highlight */
  --ice-soft:   #D7F1F2;
  --warm:       #E8A33D;   /* single warm accent — CTAs, dial */
  --warm-dark:  #C97F1E;
  --line:       #D3E6E7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --shadow-soft: 0 12px 32px -16px rgba(11,46,51,0.25);
  --shadow-card: 0 8px 24px -12px rgba(11,46,51,0.18);
}

/* ---------- global base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
}
p {
  color: var(--ink-soft);
}
.muted {
  color: var(--muted);
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--primary);
}

/* ---------- bootstrap overrides ---------- */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: transform .18s ease, border-color .18s ease, color .18s ease;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background-color: transparent !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transform: translateY(-2px);
}
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: background-color .18s ease, transform .18s ease;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-2px);
}
.text-primary {
  color: var(--primary) !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}


/* navbar overrides */
.navbar {
  background: rgba(244,250,250,0.88) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-brand {
  padding: 0;
}
.navbar-nav .nav-link {
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.navbar-nav .nav-link:hover {
  background: var(--surface-2);
  color: var(--primary-dark);
}
.navbar-nav .nav-link.active {
  background: var(--primary) !important;
  color: #fff !important;
}
.navbar-toggler {
  border-color: var(--line);
  padding: 6px 10px;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(20, 108, 122, 0.25);
}

/* cards overrides */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--ice);
}

/* alerts overrides */
.alert-success {
  background: #E4F5E4;
  color: #256029;
  border: 1px solid #B9DFB9;
}
.alert-danger {
  background: #FBEAEA;
  color: #9B2C2C;
  border: 1px solid #F1C0C0;
}

/* forms overrides */
.form-control, .form-select {
  background-color: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.form-control:focus, .form-select:focus {
  background-color: #fff;
  border-color: var(--primary);
  color: var(--ink);
  box-shadow: 0 0 0 0.25rem rgba(20, 108, 122, 0.2);
}
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

/* ---------- brand elements ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--warm);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}
.logo > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.logo .sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.header-cta {
  display: flex; align-items: center; gap: 10px;
}
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--primary-dark);
  border: 1px solid var(--line);
  transition: background .15s ease;
}
.icon-btn:hover {
  background: var(--ice-soft);
}

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,0.6);
  transition: transform .18s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float svg {
  width: 28px; height: 28px;
}

/* ---------- inner page hero ---------- */
.page-hero {
  padding: 56px 0 44px;
  background: linear-gradient(180deg, #EAF6F6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 13px; color: var(--muted); margin-bottom: 16px; font-family: var(--font-mono);
}
.breadcrumb a {
  color: var(--primary);
}

/* ---------- top announcement banner ---------- */
.top-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 14px;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0; /* Bootstrap Alert handles padding */
}
.top-banner-btn {
  background: var(--warm);
  color: var(--primary-deep);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.top-banner-btn:hover {
  background: var(--warm-dark);
  transform: translateY(-1px);
}

/* ---------- inline promo banner ---------- */
.promo-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 220, 224, 0.25), transparent 70%);
  pointer-events: none;
}
.promo-banner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--ice-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.promo-banner-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(11, 46, 51, 0.08);
}
.brand-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  text-transform: uppercase;
}
.brand-plus {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--warm);
  font-weight: 700;
  line-height: 1;
}
.brand-logo {
  max-height: 44px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* ---------- cta-banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--primary-deep), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #fff;
}
.cta-banner h3 {
  color: #fff;
  font-size: clamp(22px,3vw,28px);
  margin-bottom: 6px;
}
.cta-banner p {
  color: #B9DBDE;
  margin: 0;
}

/* ---------- feature cards & split cards ---------- */
.feature-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card-icon svg { width: 24px; height: 24px; }

.split-card {
  display: flex;
  gap: 18px;
  padding: 24px 4px;
  border-top: 1px solid var(--line);
}
.split-card:last-child {
  border-bottom: 1px solid var(--line);
}
.split-card .ic {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-deep);
  color: var(--ice); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.split-card .ic svg { width: 26px; height: 26px; }
.split-card h3 { font-size: 19px; margin-bottom: 6px; }
.split-card p { color: var(--muted); margin: 0; font-size: 15px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag {
  font-family: var(--font-mono); font-size: 12px; padding: 5px 12px;
  border-radius: 999px; background: var(--surface-2); color: var(--primary-dark);
  border: 1px solid var(--line);
}

/* ---------- info items ---------- */
.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; }
.info-item .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-item .ic svg { width: 21px; height: 21px; }
.info-item h4 { font-size: 15px; margin: 0 0 3px; }
.info-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); margin-top: 22px; }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

/* ---------- timeline / mission-vision ---------- */
.mv-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 28px; border-left: 3px solid var(--warm);
}
.mv-card h3 { font-size: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-deep); color: #CFE7E9; padding: 64px 0 28px; }
.footer-grid-row > div { margin-bottom: 24px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .tagline { font-size: 14.5px; color: #9FC6CB; max-width: 30ch; }
.site-footer h5 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #7FB6BB; margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #CFE7E9; font-size: 14.5px; transition: color .15s ease; }
.site-footer a:hover { color: var(--ice); }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #CFE7E9; border-top: 1px solid rgba(255,255,255,0.12);
}

/* ---------- bootstrap carousel adjustments ---------- */
.carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.carousel-inner {
  border-radius: var(--radius-md);
  height: 380px;
}
.carousel-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(8, 47, 54, 0.85) 0%, rgba(8, 47, 54, 0) 100%);
  color: #fff;
  padding: 30px 20px 20px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}
.carousel-control-prev, .carousel-control-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  margin: 0 16px;
  transition: background 0.18s ease;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-deep);
  opacity: 1;
}
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  transition: background-color 0.18s ease;
}
.carousel-indicators .active {
  background-color: var(--warm);
}

@media (max-width: 991px) {
  .carousel-wrap {
    max-width: 100%;
    margin-top: 24px;
  }
}

/* ---------- industries grid in bootstrap ---------- */
.industry-card {
  position: relative;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  min-height: 150px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(8, 47, 54, 0.15);
  transition: transform .18s ease, box-shadow .18s ease;
  z-index: 1;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(8, 47, 54, 0.35);
  color: #fff;
}
.industry-card svg { 
  width: 26px; 
  height: 26px; 
  color: var(--ice); 
  margin-bottom: 14px; 
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.industry-card h4 { 
  color: #fff; 
  font-size: 16px; 
  margin: 0; 
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}



/* ---------- mobile overflow fix ---------- */
main, footer {
  overflow-x: clip;
}

@media (max-width: 767px) {
  .cta-banner {
    padding: 32px 20px;
  }
  .promo-banner {
    padding: 28px 20px;
  }
  .carousel-inner {
    height: 260px;
  }
  .carousel-item img {
    height: 260px;
  }
}

/* ---------- premium ambient background ---------- */
body {
  background-image:
    radial-gradient(ellipse 80% 50% at 5% 0%, rgba(143,220,224,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 95% 100%, rgba(215,241,242,0.16) 0%, transparent 60%);
  background-color: var(--bg);
  background-attachment: fixed;
}

/* ---------- hero premium gradient ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 65% 75% at 8% 25%, rgba(143,220,224,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 88% 35%, rgba(215,241,242,0.24) 0%, transparent 50%),
    radial-gradient(ellipse 35% 40% at 50% 85%, rgba(232,163,61,0.05) 0%, transparent 55%),
    linear-gradient(168deg, #ebf6f7 0%, #f2fafa 30%, #f6fcfc 60%, #eef6f6 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -12%;
  left: -8%;
  width: 50%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,220,224,0.13) 0%, rgba(143,220,224,0.04) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: glow-float 14s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -18%;
  right: -4%;
  width: 42%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,241,242,0.16) 0%, rgba(234,244,244,0.06) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: glow-float 18s ease-in-out infinite alternate-reverse;
}
.hero > .container {
  position: relative;
  z-index: 1;
}

@keyframes glow-float {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.65; }
  50%  { transform: translate(12px, -8px) scale(1.04); opacity: 1; }
  100% { transform: translate(-8px, 6px) scale(0.97); opacity: 0.75; }
}

/* ---------- section gradient blending ---------- */
section.py-5.bg-white {
  background: linear-gradient(180deg, #ffffff 0%, #f9fdfd 50%, #ffffff 100%) !important;
}
section.py-5[style*="surface-2"] {
  position: relative;
}
section.py-5[style*="surface-2"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 35% at 18% 50%, rgba(143,220,224,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 35% 45% at 82% 55%, rgba(215,241,242,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
section.py-5[style*="surface-2"] > .container {
  position: relative;
  z-index: 1;
}

/* ---------- page-hero gradient (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 55% 65% at 12% 35%, rgba(143,220,224,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 82% 50%, rgba(215,241,242,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #edf7f7 0%, var(--bg) 100%) !important;
}

.page-hero.has-bg {
  background: 
    linear-gradient(180deg, rgba(8, 47, 54, 0.65) 0%, rgba(8, 47, 54, 0.85) 100%),
    url('../images/about_hero_bg.png') no-repeat center/cover !important;
  padding: 80px 0 68px;
  position: relative;
}

.page-hero.has-bg .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero.has-bg .breadcrumb a {
  color: var(--ice);
}

.page-hero.has-bg .breadcrumb a:hover {
  color: #ffffff;
}

.page-hero.has-bg h1 {
  color: #ffffff;
}


/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
