/*
==============================================
   RÜZGAR İKLİMLENDİRME - CORPORATE STYLES
==============================================
*/

:root {
  --primary-color: #0b457e;       /* Corporate Blue from logo */
  --primary-dark: #062b50;
  --secondary-color: #2781d5;     /* Lighter Blue */
  --accent-color: #e63946;        /* Red accent from logo waves */
  --accent-dark: #c92a35;
  --text-dark: #2b2d42;
  --text-muted: #6c757d;
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --transition-fast: 0.3s ease;
  --font-main: 'Inter', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

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

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

.text-accent { color: var(--accent-color) !important; }
.max-w-700 { max-width: 700px; }

/* ============================================
   NAVBAR
============================================ */
.navbar {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  width: auto;
  transition: all var(--transition-fast);
}

.brand-logo-main { max-height: 58px; }

.brand-logo-daikin { max-height: 42px; }

.brand-divider {
  width: 1px;
  height: 38px;
  background: rgba(11, 69, 126, 0.18);
  flex: 0 0 auto;
}

.navbar.scrolled .brand-logo-main { max-height: 48px; }
.navbar.scrolled .brand-logo-daikin { max-height: 36px; }
.navbar.scrolled .brand-divider { height: 32px; }

.nav-link {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin: 0 10px;
  position: relative;
}

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

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

/* Buttons */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  font-weight: 600;
  padding: 10px 24px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--bg-white);
  font-weight: 600;
}
.btn-outline-light:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-color: var(--bg-white);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(11, 69, 126, 0.92), rgba(6, 43, 80, 0.85)),
    url('images/daikin-vrv-system-installation-service-1000x1000.webp') center/cover no-repeat;
  color: var(--bg-white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(39, 129, 213, 0.3), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(230, 57, 70, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero .container { z-index: 2; }

.hero h1 {
  color: var(--bg-white);
  font-size: 3.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.92;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 18px;
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-badge i { color: var(--accent-color); }

/* --- Hero Brand Card with floating cert badges --- */
.hero-brand-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 54px 44px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-brand-logo {
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(11, 69, 126, 0.24)) contrast(1.08) saturate(1.12);
}

/* Floating certification badges - positioned like stamps on the corners of the card */
.cert-badge {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 4px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(11, 69, 126, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 3;
  cursor: pointer;
}

.cert-badge img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  /* small inset so the full logo (including taglines) stays inside the circle */
  padding: 2px;
}

.cert-badge--top {
  top: -26px;
  right: -26px;
  transform: rotate(8deg);
  animation: certPulseTop 2.4s ease-in-out infinite;
}
.cert-badge--top:hover,
.cert-badge--top:focus-visible {
  animation-play-state: paused;
  transform: rotate(8deg) scale(1.14);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 0 8px rgba(255, 255, 255, 0.22);
}

.cert-badge--bottom {
  bottom: -26px;
  left: -26px;
  transform: rotate(-8deg);
  animation: certPulseBottom 2.4s ease-in-out infinite;
  animation-delay: 0.55s;
}
.cert-badge--bottom:hover,
.cert-badge--bottom:focus-visible {
  animation-play-state: paused;
  transform: rotate(-8deg) scale(1.14);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.42),
    0 0 0 8px rgba(255, 255, 255, 0.22);
}

.cert-badge:focus-visible,
.cert-mini:focus-visible {
  outline: 3px solid rgba(230, 57, 70, 0.78);
  outline-offset: 4px;
}

@keyframes certPulseTop {
  0%, 100% {
    transform: rotate(8deg) scale(1);
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(11, 69, 126, 0.12),
      0 0 0 0 rgba(255, 255, 255, 0.38);
  }
  50% {
    transform: rotate(8deg) scale(1.11);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(11, 69, 126, 0.12),
      0 0 0 12px rgba(255, 255, 255, 0);
  }
}

@keyframes certPulseBottom {
  0%, 100% {
    transform: rotate(-8deg) scale(1);
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(11, 69, 126, 0.12),
      0 0 0 0 rgba(255, 255, 255, 0.38);
  }
  50% {
    transform: rotate(-8deg) scale(1.11);
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(11, 69, 126, 0.12),
      0 0 0 12px rgba(255, 255, 255, 0);
  }
}

/* Mobile compact cert row (visible only on < lg) */
.hero-cert-mobile {
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  flex-wrap: nowrap;
  max-width: 100%;
}

.cert-mini {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--bg-white);
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  animation: certMiniPulse 2.6s ease-in-out infinite;
}

.cert-mini img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  padding: 2px;
  display: block;
  margin: 6%;
}

.cert-mini-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

@keyframes certMiniPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0.85;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--bg-white);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
  0%   { opacity: 1; top: 8px; }
  60%  { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ============================================
   STATS BAR
============================================ */
.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: -60px;
  padding: 0 0 42px;
}

.stats-bar .container {
  background: linear-gradient(135deg, var(--primary-color), #0f68ad);
  border-radius: 12px;
  box-shadow: 0 22px 50px rgba(11, 69, 126, 0.28);
  overflow: hidden;
}

.stat-item {
  min-height: 180px;
  padding: 36px 20px 30px;
  text-align: center;
  color: var(--bg-white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}

.stat-item:hover { background: rgba(255, 255, 255, 0.1); }
.stats-bar .col-md-3:last-child .stat-item { border-right: 0; }

.stat-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 12px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number,
.stat-suffix {
  display: inline-block;
  color: var(--bg-white);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.stat-suffix {
  color: var(--accent-color);
  font-size: 2.2rem;
}

.stat-item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ============================================
   SECTION COMMON
============================================ */
.section-padding { padding: 100px 0; }

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.4rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ============================================
   ABOUT
============================================ */
.about-img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-features .icon-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}

.about-features .icon-box i {
  font-size: 1.6rem;
  color: var(--secondary-color);
  background: rgba(39, 129, 213, 0.12);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   SERVICES
============================================ */
.services { background-color: var(--bg-white); }

.service-card {
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39, 129, 213, 0.3);
}

.service-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 69, 126, 0.55));
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: var(--bg-white);
  font-size: 1.1rem;
}

.service-overlay i {
  background: var(--accent-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.service-card:hover .service-overlay { opacity: 1; }

.service-body { padding: 22px; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(39, 129, 213, 0.12);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--secondary-color);
  color: var(--bg-white);
}

.service-body h4 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent-color);
  font-size: 0.92rem;
  margin-top: 8px;
}

.service-card:hover .service-link i { transform: translateX(4px); }
.service-link i { transition: transform var(--transition-fast); }

/* ============================================
   WHY-US (matches HTML class names)
============================================ */
.why-us { background-color: var(--bg-light); }

.why-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition-fast);
  border-bottom: 4px solid transparent;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent-color);
}

.why-icon-wrap {
  width: 76px;
  height: 76px;
  background: rgba(39, 129, 213, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  transition: var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
  background: var(--secondary-color);
  color: var(--bg-white);
  transform: scale(1.05);
}

.why-card h5 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* ============================================
   BRANDS MARQUEE
============================================ */
.brands-section {
  background: var(--bg-white);
  padding: 60px 0 70px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.brands-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.brands-track-wrapper {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brands-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: brands-marquee 40s linear infinite;
}

.brands-track:hover { animation-play-state: paused; }

.brand-item {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.6;
  white-space: nowrap;
  transition: all var(--transition-fast);
  letter-spacing: -0.3px;
}

.brand-item:hover {
  color: var(--primary-color);
  opacity: 1;
}

@keyframes brands-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   CERTIFICATES
============================================ */
.certificates {
  background-color: var(--primary-color);
  color: var(--bg-white);
  background-image:
    radial-gradient(ellipse at top right, rgba(39, 129, 213, 0.4), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(230, 57, 70, 0.15), transparent 60%);
}

.certificates .section-title h2 { color: var(--bg-white); }

.certificates-row {
  flex-wrap: nowrap;
}

.certificates-row > [class*="col-"] {
  flex: 0 0 20%;
  max-width: 20%;
}

.certificate-item {
  background: var(--bg-white);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.certificate-item img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: top center;
  background: #f4f7fb;
  border-radius: 6px;
  display: block;
}

.certificate-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-label {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  padding-bottom: 4px;
}

/* ============================================
   CONTACT
============================================ */
.contact-info-box {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-detail {
  display: flex;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-detail i {
  font-size: 22px;
  color: var(--accent-color);
  margin-right: 18px;
  margin-top: 3px;
  width: 28px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
  padding: 12px 15px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background-color: #fcfcfc;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(39, 129, 213, 0.18);
}

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

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(39, 129, 213, 0.1);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
  flex: 0 0 auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.social-link:hover { color: var(--accent-color); }

.social-link:hover .social-btn,
.social-btn:hover {
  background: var(--accent-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
============================================ */
footer {
  background-color: var(--primary-dark);
  color: #d1e2f3;
  padding: 60px 0 20px;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 20px;
  background: white;
  padding: 12px 16px;
  border-radius: 10px;
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.05rem;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

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

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

.footer-links a {
  color: #d1e2f3;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* ============================================
   FLOATING UI (WhatsApp + Scroll-to-top)
============================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  z-index: 998;
  transition: var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--bg-white);
  background: #1ebe5b;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: ws-pulse 2s infinite;
}

@keyframes ws-pulse {
  0%   { transform: scale(0.95); opacity: 1; }
  70%  { transform: scale(1.2);  opacity: 0; }
  100% { transform: scale(1.2);  opacity: 0; }
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(11, 69, 126, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 997;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* ============================================
   MODAL EXTRAS
============================================ */
.modal-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.modal-brands .badge {
  font-weight: 600;
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: 999px;
}

.modal-content { border-radius: 14px; border: none; }
.modal-header { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }

.hero-cert-modal-content .modal-body {
  text-align: center;
  padding: 28px;
}

.hero-cert-modal-logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid rgba(11, 69, 126, 0.12);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(11, 69, 126, 0.14);
}

.hero-cert-modal-logo img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1199.98px) {
  .hero h1 { font-size: 2.8rem; }
  .cert-badge { width: 96px; height: 96px; }
  .hero-brand-logo { width: min(100%, 380px); }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 110px 0 60px;
    text-align: left;
  }
  .hero h1 { font-size: 2.4rem; }
  .hero p.lead { font-size: 1.05rem; }
  .stats-bar { margin-top: -30px; padding-bottom: 28px; }
  .hero-scroll-indicator { display: none; }
  .section-padding { padding: 70px 0; }
  .certificates-row {
    flex-wrap: wrap;
  }
  .certificates-row > [class*="col-"] {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

@media (max-width: 767.98px) {
  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1rem; }
  .hero-badge { font-size: 0.82rem; padding: 7px 14px; }
  .stats-bar { margin-top: 0; padding-bottom: 28px; }
  .stats-bar .container { border-radius: 0; }
  .stat-item {
    min-height: 150px;
    padding: 26px 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .stats-bar .col-6:nth-child(2) .stat-item { border-right: 0; }
  .stats-bar .col-6:nth-child(n+3) .stat-item { border-bottom: 0; }
  .stat-number { font-size: 2.4rem; }
  .stat-suffix { font-size: 1.6rem; }
  .stat-icon { font-size: 1.5rem; margin-bottom: 8px; }
  .stat-item p { font-size: 0.78rem; letter-spacing: 0.4px; }
  .hero-cert-mobile {
    margin-top: 18px;
    padding: 10px 12px;
    gap: 10px;
  }
  .cert-mini { width: 44px; height: 44px; }
  .cert-mini-text { font-size: 0.72rem; }
  .section-padding { padding: 60px 0; }
  .section-title h2 { font-size: 1.9rem; }
  .brand-logo-main { max-height: 42px; }
  .brand-logo-daikin { max-height: 32px; }
  .brand-divider { height: 28px; }
  .navbar-brand { gap: 8px; }
  .certificates-row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .certificate-item img { height: 190px; }
  .contact-info-box,
  .contact-form { padding: 28px; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; }
  .scroll-top { bottom: 80px; }
}

@media (max-width: 480px) {
  .cert-mini-text { display: none; }
  .hero-cert-mobile { width: fit-content; padding: 8px 12px; }
  .hero .btn-lg {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .brand-logo-main { max-height: 36px; }
  .brand-logo-daikin { max-height: 28px; }
  .brand-divider { height: 24px; }
}

/* Extra-small phones (320px) */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.7rem; }
  .hero p.lead { font-size: 0.95rem; }
  .hero .btn-lg { display: block; width: 100%; margin-right: 0 !important; }
  .stat-number { font-size: 2rem; }
  .stat-suffix { font-size: 1.4rem; }
  .section-title h2 { font-size: 1.7rem; }
  .contact-info-box,
  .contact-form { padding: 22px; }
}

/* ============================================
   ACCESSIBILITY (keyboard focus rings)
============================================ */
:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

.form-control:focus-visible,
.form-select:focus-visible {
  outline: 0; /* uses Bootstrap's box-shadow focus */
}

/* Reduced motion: disable marquee + animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .brands-track { animation: none !important; }
  .whatsapp-float::before { animation: none !important; }
  .wheel { animation: none !important; }
}

/* ============================================
   SCROLL PROGRESS BAR (top of viewport)
============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  z-index: 1100;
  transition: width 0.05s linear;
  pointer-events: none;
}
