/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #F5A623;
  --orange-dark: #D4891A;
  --yellow: #F7C940;
  --navy: #1B2F5B;
  --navy-dark: #111E3A;
  --navy-light: #243d74;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
p { color: var(--gray-500); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--navy-dark);
}

.section--dark h2 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__header h2 { margin: 12px 0 16px; }
.section__header p { font-size: 1.05rem; }

.section__header--light h2 { color: var(--white); }
.section__header--light p { color: rgba(255,255,255,0.65); }

/* ===== GRID ===== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(245,166,35,0.3);
}

.badge--light {
  background: rgba(255,255,255,0.1);
  color: var(--orange);
  border-color: rgba(255,255,255,0.15);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,0.4); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--nav {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.875rem;
  border-radius: 8px;
}
.nav__links a.btn--nav,
.nav__mobile a.btn--nav { color: var(--white); }
.btn--nav:hover { background: var(--orange-dark); color: #15264a; }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-text {
  color: #15264a;
  font-size: 1rem;
  font-weight: 500;
}

.solar-highlight {
  color: var(--orange);
  font-weight: 700;
}

.nav__logo-text {
  color: #15264a;
  font-weight: 500;
}

.footer__brand span {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  color: #15264a;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--orange); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #15264a;
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 8px 24px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  color: #15264a;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav__mobile a:hover { color: var(--orange); }

.nav__mobile a:last-child { border: none; margin-top: 8px; text-align: center; }

/* Blog card read more link */
.blog-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--orange-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.blog-card__read-more:hover { gap: 10px; color: var(--orange); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1e3a72 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 75% 50%, rgba(245,166,35,0.14) 0%, transparent 65%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* LEFT */
.hero__left { display: flex; flex-direction: column; }

.hero__badge { margin-bottom: 24px; }

.highlight { color: var(--orange); }

.hero__content p {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  margin: 22px 0 34px;
  max-width: 500px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat__label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-top: 6px;
}

/* RIGHT — animated visual */
.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}

/* Pulsing glow rings */
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(245,166,35,0.25);
  animation: ring-pulse 3s ease-in-out infinite;
}

.hero__ring--1 { width: 260px; height: 260px; animation-delay: 0s; }
.hero__ring--2 { width: 360px; height: 360px; animation-delay: 0.6s; border-color: rgba(245,166,35,0.15); }
.hero__ring--3 { width: 460px; height: 460px; animation-delay: 1.2s; border-color: rgba(245,166,35,0.07); }

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: 0.6; }
}

/* Logo in centre */
.hero__logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: logo-float 4s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

.hero__logo-img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(245,166,35,0.5));
}

.hero__logo-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* Floating pills */
.hero__pill {
  position: absolute;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 3;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero__pill--1 {
  top: 50%; left: 50%;
  animation: orbit-pill 16s linear infinite;
  animation-delay: 0s;
}
.hero__pill--2 {
  top: 50%; left: 50%;
  animation: orbit-pill 16s linear infinite;
  animation-delay: -4s;
}
.hero__pill--3 {
  top: 50%; left: 50%;
  animation: orbit-pill 16s linear infinite;
  animation-delay: -8s;
}

.hero__pill--4 {
  top: 50%; left: 50%;
  animation: orbit-pill 16s linear infinite;
  animation-delay: -12s;
}

@keyframes orbit-pill {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(190px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(190px) rotate(-360deg); }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  width: 52px;
  height: 52px;
  background: rgba(245,166,35,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg { width: 28px; height: 28px; }

.card p { font-size: 0.9rem; line-height: 1.65; margin-top: 8px; }

/* ===== FEATURES ===== */
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background var(--transition);
}

.feature:hover { background: rgba(255,255,255,0.07); }

.feature__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(245,166,35,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature__icon svg { width: 24px; height: 24px; }

.feature h4 { color: var(--white); }
.feature p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--navy-dark);
  max-width: 1160px;
  margin: 0 auto;
}

.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.carousel:hover .carousel__slide img {
  transform: scale(1.03);
}

.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 20, 40, 0.95) 0%,
    rgba(11, 20, 40, 0.55) 50%,
    rgba(11, 20, 40, 0.1) 100%
  );
  display: flex;
  align-items: flex-end;
}

.carousel__content {
  padding: 40px 48px;
  max-width: 680px;
}

.carousel__content .project-card__tag {
  margin-bottom: 12px;
}

.carousel__content h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.carousel__content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.925rem;
  line-height: 1.7;
}

/* Prev / Next buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
}

.carousel__btn svg { width: 20px; height: 20px; }

.carousel__btn--prev { left: 20px; }
.carousel__btn--next { right: 20px; }

.carousel__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: 20px;
  right: 48px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel__dot.active {
  background: var(--orange);
  transform: scale(1.35);
}

/* Counter */
.carousel__counter {
  position: absolute;
  bottom: 20px;
  left: 48px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 10;
}

/* Responsive */
@media (max-width: 700px) {
  .carousel__slide { aspect-ratio: 4 / 3; }
  .carousel__content { padding: 24px 20px; }
  .carousel__content p { display: none; }
  .carousel__dots { right: 50%; transform: translateX(50%); }
  .carousel__counter { display: none; }
  .carousel__btn { width: 38px; height: 38px; }
  .carousel__btn--prev { left: 10px; }
  .carousel__btn--next { right: 10px; }
}

/* ===== PROJECT CARDS GRID ===== */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.pcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(11, 20, 40, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11, 20, 40, 0.14);
}

.pcard__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

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

.pcard:hover .pcard__img-wrap img {
  transform: scale(1.04);
}

.pcard__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pcard__tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  align-self: flex-start;
}

.pcard__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
  margin: 0;
}

.pcard__body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.pcard__body .btn {
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .pcard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pcard__img-wrap {
    aspect-ratio: 4 / 3;
  }

  .pcard__body {
    padding: 20px 20px 24px;
  }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 25, 0.93);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox__frame {
  position: relative;
  z-index: 2;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active .lightbox__frame {
  transform: scale(1);
}

.lightbox__frame img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

.lightbox__caption {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}

.lightbox__counter {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.1);
}

.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.lightbox__nav:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.lightbox__nav svg { width: 22px; height: 22px; }

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

@media (max-width: 600px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__caption { font-size: 0.875rem; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #e8921a 100%);
  padding: 64px 24px;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-top: 6px; }

.cta-banner .btn--primary {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  flex-shrink: 0;
}

.cta-banner .btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}

.form__group textarea { resize: vertical; min-height: 120px; }

.form__success,
.form__error {
  display: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form__success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form__error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 36px 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__detail strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact__detail span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.contact__tagline {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.contact__tagline img {
  height: 48px;
  width: auto;
  margin: 0 auto;
}

.contact__tagline p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--orange-dark);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 36px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img { height: 32px; width: auto; }

.footer__brand span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer__brand strong { color: var(--orange); }

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--orange); }

/* ===== SOCIAL ICONS ===== */
.footer__social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-icon svg { width: 17px; height: 17px; }
.social-icon:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.social-icon--wa:hover { background: #25D366; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  flex-shrink: 0;
  animation: wa-pulse 2.5s ease-in-out infinite;
  transition: transform var(--transition);
}

.whatsapp-float:hover .whatsapp-float__btn {
  transform: scale(1.1);
}

.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.1); }
}

.whatsapp-float__bubble {
  background: var(--white);
  color: var(--navy-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__bubble {
  opacity: 1;
  transform: translateX(0);
}

/* Show bubble on mobile after 3s automatically */
@keyframes bubble-show {
  0%, 60%  { opacity: 0; transform: translateX(10px); }
  70%, 90% { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(10px); }
}

@media (max-width: 700px) {
  .whatsapp-float__bubble {
    animation: bubble-show 5s ease 3s forwards;
  }
}

/* ===== FOOTER COPY ===== */
.footer__copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

/* ===== BLOG PAGE ===== */
.nav__active { color: var(--orange) !important; }

.blog-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.blog-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.blog-hero__inner .badge { margin-bottom: 20px; }
.blog-hero__inner h1 { color: var(--white); margin: 12px 0 16px; }
.blog-hero__inner p { color: rgba(255,255,255,0.65); font-size: 1.1rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card:hover .blog-card__read-more { gap: 10px; color: var(--orange); }

.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.blog-card__img--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__tag {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-500);
}

.blog-card a { color: inherit; text-decoration: none; display: contents; }

/* Individual article page styles */
.article-hero { padding: 140px 0 60px; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.article-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.article-hero__inner h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.article-hero__inner p { color: rgba(255,255,255,0.65); margin-top: 12px; }

.article-body { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article-body h2 { color: var(--navy); font-size: 1.5rem; margin: 40px 0 16px; }
.article-body h3 { color: var(--navy); margin: 28px 0 12px; }
.article-body p { color: var(--gray-700); line-height: 1.8; margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 24px; color: var(--gray-700); line-height: 1.8; margin-bottom: 18px; }
.article-body img { width: 100%; border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow); }
.article-body .article-meta { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { order: -1; }

  /* Hero stacks on tablet/mobile */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 88px 24px 110px; /* generous top space before rings start, big bottom before white section */
  }
  .hero__right {
    height: 320px;
    order: -1;
    margin-top: 8px;         /* small extra space above the orbital visual */
    margin-bottom: 28px;     /* small gap between rings and heading text */
    overflow: hidden;
  }
  .hero__ring--3 { display: none; }
  /* Scale rings down so they don't fill the full phone width */
  .hero__ring--1 { width: 200px; height: 200px; }
  .hero__ring--2 { width: 290px; height: 290px; }
  .hero__content p { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__stats {
    justify-content: center;
    margin-top: 40px;        /* push stats away from the CTA buttons */
    margin-bottom: 48px;     /* big gap between stats and the bottom of the blue section */
  }
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .hero__stats { gap: 28px; flex-wrap: wrap; }

  .form__row { grid-template-columns: 1fr; }

  .cta-banner__inner { flex-direction: column; text-align: center; }

  .footer__inner { justify-content: center; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  /* Phone-specific: tighter rings, keep spacing generous */
  .hero__inner {
    padding: 80px 20px 100px; /* top space before rings start on small phones */
  }
  .hero__right {
    height: 270px;
    margin-top: 4px;
    margin-bottom: 24px;
  }
  .hero__ring--1 { width: 170px; height: 170px; }
  .hero__ring--2 { width: 240px; height: 240px; }
}

/* ===== MOBILE OPTIMISATIONS ===== */

/* Orbit keyframes — radius matches ring sizes set per breakpoint */
@keyframes orbit-pill-sm {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(115px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(115px) rotate(-360deg); }
}

@keyframes orbit-pill-xs {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg); }
}

/* Tablet / large mobile — all 4 pills, medium orbit */
@media (max-width: 900px) {
  .hero__pill--1,
  .hero__pill--2,
  .hero__pill--3,
  .hero__pill--4 {
    animation-name: orbit-pill-sm;
    font-size: 0.72rem;
    padding: 6px 12px;
    gap: 6px;
  }
}

/* Small phones — tighter orbit so pills sit inside the smaller rings */
@media (max-width: 480px) {
  .hero__pill--1,
  .hero__pill--2,
  .hero__pill--3,
  .hero__pill--4 {
    animation-name: orbit-pill-xs;
    font-size: 0.65rem;
    padding: 5px 10px;
  }
}

/* Nav — ensure logo never clips on small screens */
@media (max-width: 480px) {
  .nav__inner {
    height: 64px;
    padding: 0 16px;
  }
  .nav__logo-img { height: 28px; }
  .nav__logo-text { font-size: 0.82rem; }
  .nav__burger span { background: #15264a; }

  /* Push hero content below the taller nav */
  .hero { padding-top: 64px; }
}

/* Contact form — full width on mobile */
@media (max-width: 700px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__form {
    width: 100%;
  }

  .form__group input,
  .form__group select,
  .form__group textarea {
    width: 100%;
    font-size: 1rem; /* prevent iOS zoom on focus */
  }

  .contact__info {
    width: 100%;
    padding: 24px 20px;
  }

  .btn--full {
    width: 100%;
    font-size: 1rem;
    padding: 14px;
  }
}

/* General mobile padding so nothing bleeds to edge */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .contact__info {
    padding: 20px 16px;
  }

  .form__group input,
  .form__group select,
  .form__group textarea {
    padding: 13px 14px;
  }

  .hero__stats {
    gap: 20px;
  }

  .stat__number { font-size: 1.8rem; }
}
