/* =========================================================
   OTTOTRACTIONS - Corporate Theme
   Energy | Engineering | Environment
   ========================================================= */

:root {
  --otto-orange: #E8722C;
  --otto-orange-dark: #C75F1F;
  --otto-orange-light: #FFF4EC;
  --otto-navy: #1B3A5C;
  --otto-blue: #2E6BAE;
  --otto-blue-light: #EEF5FC;
  --otto-blue-accent: #4A90D4;
  --otto-dark: #2A3A4F;
  --otto-gray: #6B7A8E;
  --otto-light: #FAFBFD;
  --otto-border: #EDF1F6;
  --otto-success: #1F9D55;
  --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.04);
  --shadow-md: 0 6px 20px rgba(27, 58, 92, 0.06);
  --shadow-lg: 0 16px 40px rgba(27, 58, 92, 0.08);
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--otto-dark);
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--otto-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

p { color: var(--otto-gray); }

a { color: var(--otto-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--otto-orange); }

.text-orange { color: var(--otto-orange) !important; }
.text-navy { color: var(--otto-navy) !important; }
.text-blue { color: var(--otto-blue) !important; }
.bg-navy { background-color: var(--otto-navy) !important; }
.bg-orange { background-color: var(--otto-orange) !important; }
.bg-light-blue { background-color: var(--otto-blue-light) !important; }
.bg-light-orange { background-color: var(--otto-orange-light) !important; }
.bg-soft { background-color: var(--otto-light) !important; }

/* ========================== TOP BAR ========================== */
.top-bar {
  background: var(--otto-light);
  color: var(--otto-gray);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--otto-border);
}
.top-bar a { color: var(--otto-gray); }
.top-bar a:hover { color: var(--otto-orange); }
.top-bar .divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--otto-border);
  margin: 0 14px;
  vertical-align: middle;
}

/* ========================== NAVBAR ========================== */
.navbar-otto {
  background: #fff;
  box-shadow: 0 1px 0 var(--otto-border);
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1030;
}
.navbar-otto.scrolled { box-shadow: var(--shadow-md); }
.navbar-otto .navbar-brand img { height: 42px; }
.navbar-otto .navbar-brand .brand-text {
  display: inline-block;
  margin-left: 10px;
  font-weight: 800;
  color: var(--otto-navy);
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.navbar-otto .navbar-brand .brand-text > span:not(.brand-tag) {
  display: inline;
}
.navbar-otto .navbar-brand .brand-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--otto-orange);
  letter-spacing: 1.5px;
  margin-top: 4px;
  text-transform: uppercase;
}
.navbar-otto .nav-link {
  color: var(--otto-navy) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px !important;
  position: relative;
}
.navbar-otto .nav-link:hover,
.navbar-otto .nav-link.active { color: var(--otto-orange) !important; }
.navbar-otto .nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--otto-orange);
  border-radius: 2px;
}
.navbar-otto .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  padding: 12px;
  min-width: 240px;
  border-top: 3px solid var(--otto-blue-accent);
}
.navbar-otto .dropdown-item {
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: var(--otto-navy);
  font-weight: 500;
}
.navbar-otto .dropdown-item:hover {
  background: var(--otto-blue-light);
  color: var(--otto-blue);
}
.navbar-otto .dropdown-item i {
  color: var(--otto-orange);
  margin-right: 8px;
  width: 18px;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.2px;
  border: none;
}
.btn-otto-primary {
  background: var(--otto-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 114, 44, 0.32);
}
.btn-otto-primary:hover {
  background: var(--otto-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 114, 44, 0.42);
}
.btn-otto-outline {
  background: transparent;
  color: var(--otto-navy);
  border: 2px solid var(--otto-navy);
  padding: 10px 24px;
}
.btn-otto-outline:hover {
  background: var(--otto-navy);
  color: #fff;
  transform: translateY(-2px);
}
.btn-otto-blue {
  background: var(--otto-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27, 79, 138, 0.28);
}
.btn-otto-blue:hover {
  background: var(--otto-navy);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light-otto {
  background: #fff;
  color: var(--otto-navy);
  border: 1px solid var(--otto-border);
  box-shadow: var(--shadow-sm);
}
.btn-light-otto:hover {
  background: var(--otto-orange);
  color: #fff;
  border-color: var(--otto-orange);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ========================== HERO ========================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #F8FAFD 0%, #EEF5FC 50%, #FFF4EC 100%);
  color: var(--otto-navy);
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path fill='%231B3A5C' fill-opacity='0.015' d='M0 0h60v60H0z'/><path stroke='%231B3A5C' stroke-opacity='0.04' stroke-width='1' fill='none' d='M0 30h60M30 0v60'/></svg>");
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(74, 144, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: var(--otto-navy); margin-bottom: 22px; }
.hero h1 .highlight { color: var(--otto-orange); }
.hero .lead { color: var(--otto-gray); font-size: 1.12rem; line-height: 1.7; }
.hero .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--otto-orange);
  border: 1px solid var(--otto-orange-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero .badge-pill i { color: var(--otto-orange); }

/* Hero stats */
.hero-stats {
  background: #fff;
  border: 1px solid var(--otto-border);
  border-radius: 18px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
  box-shadow: var(--shadow-md);
}
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--otto-orange);
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--otto-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Hero side image */
.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid var(--otto-border);
}
.hero-visual img { width: 100%; display: block; }

/* Hero 2D illustration */
.hero-illustration {
  position: relative;
  padding: 10px;
}
.hero-illustration svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(27, 58, 92, 0.08));
  animation: floatIn 1s ease both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Rotating wind turbines — pivots around hub at SVG origin (0,0 of inner g) */
.hero-illustration .turbine-spin {
  transform-origin: 0 0;
  animation: spin 7s linear infinite;
}
.hero-illustration .turbine-spin-slow {
  transform-origin: 0 0;
  animation: spin 11s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Floating UI cards */
.hero-illustration .float-soft {
  animation: floaty 4.5s ease-in-out infinite;
  transform-box: fill-box;
}
.hero-illustration .float-delay {
  animation-delay: 1.4s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Page hero (compact for inner pages) */
.page-hero {
  background: linear-gradient(135deg, #F8FAFD 0%, #EEF5FC 100%);
  color: var(--otto-navy);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--otto-border);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(74, 144, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--otto-navy); }
.page-hero .lead { color: var(--otto-gray); max-width: 760px; }
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 18px;
  font-size: 0.88rem;
}
.page-hero .breadcrumb a { color: var(--otto-gray); }
.page-hero .breadcrumb a:hover { color: var(--otto-orange); }
.page-hero .breadcrumb-item.active { color: var(--otto-navy); font-weight: 600; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--otto-gray); }
.page-hero .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--otto-orange);
  border: 1px solid var(--otto-orange-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

/* ========================== SECTIONS ========================== */
section { padding: 90px 0; }
section.compact { padding: 60px 0; }

.section-tag {
  display: inline-block;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--otto-gray);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.7;
}
.text-center.section-subtitle { margin-left: auto; margin-right: auto; }

/* ========================== CARDS ========================== */
.service-card {
  background: #fff;
  border: 1px solid var(--otto-border);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--otto-blue-accent), var(--otto-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .icon {
  background: var(--otto-blue);
  color: #fff;
  transform: rotate(-6deg);
}
.service-card h4 { margin-bottom: 12px; font-size: 1.18rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 18px; }
.service-card .read-more {
  color: var(--otto-blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .read-more:hover { color: var(--otto-orange); }
.service-card .read-more i { transition: transform 0.3s ease; }
.service-card .read-more:hover i { transform: translateX(4px); }

/* Feature card */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--otto-border);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  border-color: var(--otto-blue-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-card .feature-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--otto-blue), var(--otto-blue-accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Stats section */
.stat-block {
  text-align: center;
  padding: 30px 16px;
}
.stat-block .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--otto-orange);
  line-height: 1;
  display: block;
}
.stat-block .stat-label {
  color: var(--otto-gray);
  font-weight: 600;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Industry card */
.industry-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--otto-border);
  padding: 30px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.industry-card:hover {
  border-color: var(--otto-blue-accent);
  box-shadow: var(--shadow-md);
}
.industry-card .industry-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

/* Process steps */
.process-step {
  position: relative;
  padding: 28px 24px 28px 90px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--otto-border);
  margin-bottom: 18px;
  transition: var(--transition);
}
.process-step:hover {
  border-color: var(--otto-blue-accent);
  transform: translateX(6px);
}
.process-step .step-number {
  position: absolute;
  left: 22px; top: 22px;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--otto-blue), var(--otto-blue-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(46, 107, 174, 0.24);
}
.process-step h5 { margin-bottom: 6px; font-size: 1.05rem; }
.process-step p { margin: 0; font-size: 0.93rem; }

/* Logo card (accreditation / association) */
.logo-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid var(--otto-border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--otto-blue-accent);
}
.logo-card .logo-img {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.logo-card .logo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-card .logo-name {
  font-weight: 700;
  color: var(--otto-blue);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.logo-card .logo-desc {
  font-size: 0.82rem;
  color: var(--otto-gray);
  line-height: 1.5;
  margin: 0;
}

/* Empanelments & certifications — compact clickable logo grid.
   The BUTTON is the single card; the inner .logo-card has NO box of its own. */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cert-card {
  flex: 1 1 130px;
  max-width: 160px;
  min-width: 120px;
  background: #fff;
  border: 1px solid var(--otto-border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.cert-card::-moz-focus-inner { border: 0; }
.cert-card:hover,
.cert-card:focus,
.cert-card:focus-visible {
  border-color: var(--otto-blue-accent);
}
/* Strip the inner card so only the button renders as a box */
.cert-card .logo-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
}
.cert-card .logo-img {
  height: 68px;
  margin-bottom: 8px;
}
.cert-card .logo-name {
  font-size: 0.8rem;
}
.cert-card .cert-view {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--otto-orange);
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.cert-card:hover .cert-view,
.cert-card:focus-visible .cert-view {
  opacity: 1;
  transform: translateY(0);
}

/* PDF.js certificate viewer inside the modal */
.cert-viewer {
  height: 80vh;
  overflow: auto;
  background: #525659;
  padding: 16px;
  text-align: center;
}
.cert-viewer .cert-page {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.cert-viewer .cert-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  text-align: center;
}

/* Logo carousel */
.logo-carousel {
  position: relative;
  padding: 0 50px;
}
.logo-carousel .carousel-control-prev,
.logo-carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--otto-border);
  border-radius: 50%;
  top: 40%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.logo-carousel .carousel-control-prev { left: 0; }
.logo-carousel .carousel-control-next { right: 0; }
.logo-carousel .carousel-control-prev:hover,
.logo-carousel .carousel-control-next:hover {
  background: var(--otto-orange);
  border-color: var(--otto-orange);
}
.logo-carousel .carousel-control-prev-icon,
.logo-carousel .carousel-control-next-icon {
  width: 14px;
  height: 14px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1500%) hue-rotate(180deg);
}
.logo-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.logo-carousel .carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}
.logo-carousel .carousel-indicators {
  position: relative;
  margin-top: 24px;
  margin-bottom: 0;
}
.logo-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--otto-border);
  border: none;
  margin: 0 5px;
  opacity: 1;
  transition: var(--transition);
}
.logo-carousel .carousel-indicators .active {
  background: var(--otto-orange);
  width: 24px;
  border-radius: 5px;
}
@media (max-width: 575px) {
  .logo-carousel { padding: 0 38px; }
  .logo-card .logo-img { height: 100px; }
}

/* Certification card */
.cert-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--otto-border);
  transition: var(--transition);
  height: 100%;
}
.cert-card:hover {
  border-color: var(--otto-blue-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.cert-card .cert-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.cert-card h6 { color: var(--otto-navy); font-weight: 700; margin-bottom: 6px; }
.cert-card p { font-size: 0.85rem; margin: 0; }

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--otto-border);
  height: 100%;
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 2.4rem;
  color: var(--otto-orange);
  opacity: 0.3;
  position: absolute;
  top: 18px; right: 22px;
}
.testimonial-card p {
  font-style: italic;
  color: var(--otto-dark);
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--otto-blue);
  font-size: 0.92rem;
}

/* Case study card */
.case-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--otto-border);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-card .case-img {
  height: 200px;
  background: linear-gradient(135deg, var(--otto-blue), var(--otto-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.case-card .case-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 42, 71, 0.65), rgba(232, 114, 44, 0.55));
}
.case-card .case-img i { z-index: 2; }
.case-card .case-img .case-cat {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--otto-orange);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.case-card .case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-card .case-results {
  display: flex;
  gap: 14px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}
.case-card .case-results span {
  background: var(--otto-orange-light);
  color: var(--otto-orange);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.case-card .case-services {
  font-size: 0.82rem;
  color: var(--otto-gray);
  border-top: 1px solid var(--otto-border);
  padding-top: 14px;
  margin-top: auto;
}

/* Article card */
.article-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--otto-border);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.article-card .article-img {
  height: 180px;
  background: linear-gradient(135deg, var(--otto-blue-accent), var(--otto-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 2.6rem;
}
.article-card .article-body { padding: 22px; }
.article-card .article-cat {
  display: inline-block;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.article-card .article-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--otto-gray);
  margin-bottom: 10px;
}
.article-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--otto-navy);
}

/* Tabs */
.nav-pills .nav-link {
  color: var(--otto-navy);
  background: var(--otto-light);
  font-weight: 600;
  margin: 0 6px 8px 0;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.nav-pills .nav-link.active {
  background: var(--otto-orange);
  color: #fff;
}

/* List with check */
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--otto-dark);
  font-weight: 500;
}
.check-list li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--otto-orange);
  font-size: 1.2rem;
  top: 8px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #F4F8FC 0%, #EEF5FC 100%);
  color: var(--otto-navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--otto-border);
  border-bottom: 1px solid var(--otto-border);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 5%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(74, 144, 212, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
}
.cta-section h2 { color: var(--otto-navy); margin-bottom: 16px; }
.cta-section p { color: var(--otto-gray); font-size: 1.1rem; }
.cta-section > .container { position: relative; z-index: 2; }
.cta-section .btn-light-otto {
  background: #fff;
  color: var(--otto-navy);
  border: 1px solid var(--otto-border);
}
.cta-section .btn-light-otto:hover {
  background: var(--otto-navy);
  color: #fff;
  border-color: var(--otto-navy);
}

/* Form */
.form-control, .form-select {
  border: 1.5px solid var(--otto-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--otto-orange);
  box-shadow: 0 0 0 4px rgba(232, 114, 44, 0.1);
}
.form-label {
  font-weight: 600;
  color: var(--otto-navy);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* Contact info card */
.contact-info {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--otto-border);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.contact-info:hover {
  border-color: var(--otto-blue-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.contact-info .ci-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--otto-blue), var(--otto-blue-accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.contact-info h6 { color: var(--otto-navy); font-weight: 700; margin-bottom: 8px; }
.contact-info p { font-size: 0.9rem; margin: 0; }

/* IoT dashboard preview card */
.dashboard-preview {
  background: linear-gradient(135deg, #0F2A47, #1B4F8A);
  border-radius: 16px;
  padding: 30px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.dashboard-preview .metric-tile {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}
.dashboard-preview .metric-tile .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.dashboard-preview .metric-tile .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--otto-orange);
  margin: 4px 0;
}
.dashboard-preview .metric-tile .delta {
  font-size: 0.85rem;
  color: #6CDCA0;
}

/* Trust badges */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--otto-border);
  border-bottom: 1px solid var(--otto-border);
  padding: 30px 0;
}
.trust-strip .trust-item {
  text-align: center;
  color: var(--otto-gray);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.trust-strip .trust-item i { color: var(--otto-orange); font-size: 1.4rem; }

/* Founder card */
.founder-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--otto-border);
  height: 100%;
  transition: var(--transition);
}
.founder-card:hover { box-shadow: var(--shadow-md); }
.founder-card .founder-img {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--otto-blue), var(--otto-navy));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  border: 4px solid var(--otto-orange-light);
}
.founder-card h5 { color: var(--otto-navy); margin-bottom: 4px; }
.founder-card .role {
  color: var(--otto-orange);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.founder-card .email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--otto-blue-light);
  color: var(--otto-blue);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

/* Sidebar / aside */
.sidebar-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--otto-border);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-card h5 {
  color: var(--otto-navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--otto-blue-accent);
  display: inline-block;
}

/* ========================== FOOTER ========================== */
.footer {
  background: #F4F7FB;
  color: var(--otto-gray);
  padding: 70px 0 0;
  border-top: 1px solid var(--otto-border);
}
.footer h5.text-white { color: var(--otto-navy) !important; }
.footer .footer-brand p { color: var(--otto-gray); }
.footer h6 {
  color: var(--otto-navy);
  font-weight: 700;
  margin-bottom: 22px;
  font-size: 1rem;
  position: relative;
  padding-bottom: 10px;
}
.footer h6::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--otto-orange);
}
.footer p { color: var(--otto-gray); font-size: 0.9rem; }
.footer a { color: var(--otto-gray); font-size: 0.9rem; }
.footer a:hover { color: var(--otto-orange); padding-left: 4px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; transition: var(--transition); }
.footer .footer-brand img { height: 46px; margin-bottom: 16px; }
.footer .footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer .social-links { display: flex; gap: 10px; margin-top: 20px; }
.footer .social-links a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--otto-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--otto-navy);
  font-size: 1.05rem;
}
.footer .social-links a:hover {
  background: var(--otto-orange);
  color: #fff;
  border-color: var(--otto-orange);
  padding-left: 0;
  transform: translateY(-3px);
}
.footer .footer-contact li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--otto-gray);
  font-size: 0.88rem;
}
.footer .footer-contact li i {
  position: absolute;
  left: 0; top: 11px;
  color: var(--otto-orange);
  font-size: 1rem;
}
.footer-bottom {
  border-top: 1px solid var(--otto-border);
  padding: 20px 0;
  margin-top: 50px;
  font-size: 0.85rem;
  color: var(--otto-gray);
}
.footer-bottom a { color: var(--otto-gray); margin: 0 8px; }

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--otto-blue-light), #fff);
  border: 1px dashed var(--otto-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--otto-blue);
  min-height: 280px;
  padding: 30px;
  text-align: center;
}
.img-placeholder i { font-size: 3.5rem; opacity: 0.5; margin-bottom: 10px; }
.img-placeholder small { font-size: 0.78rem; color: var(--otto-gray); }

/* Content image */
.content-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
}
.content-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--otto-light);
}
.content-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27, 58, 92, 0.1) 100%);
  pointer-events: none;
}

/* Animated underline link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--otto-orange);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow i { transition: transform 0.3s ease; }

/* Mega dropdown for services */
.mega-dropdown {
  min-width: 580px !important;
  padding: 24px !important;
}
.mega-dropdown .row { margin: 0; }
.mega-dropdown .dropdown-item {
  padding: 10px 12px;
  border-radius: 8px;
  white-space: normal;
}
.mega-dropdown .dropdown-item small {
  display: block;
  color: var(--otto-gray);
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 2px;
}

/* WhatsApp / Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1040;
  background: var(--otto-orange);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(232, 114, 44, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.floating-cta:hover {
  color: #fff;
  background: var(--otto-orange-dark);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }

/* Responsive */
@media (max-width: 991px) {
  .hero { padding: 80px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px; }
  .navbar-otto .navbar-brand .brand-text { font-size: 1.1rem; }
  .navbar-otto .navbar-collapse {
    background: #fff;
    margin-top: 14px;
    padding: 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
  }
  .mega-dropdown { min-width: 100% !important; }
  section { padding: 60px 0; }
  .page-hero { padding: 60px 0 50px; }
}
@media (max-width: 575px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .top-bar { display: none; }
}
