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

:root{
  --jdr-red:#c41c23;
  --jdr-blue:#3eb2e4;
  --jdr-gray:#606060;
  --jdr-dark:#1b1b1b;
  --jdr-light:#f6f8fb;
  --jdr-soft:#eef3f8;

  --jdr-text:#16181d;
  --jdr-text-soft:#5f6b7a;
  --jdr-text-muted:#7d8793;
  --jdr-heading:#11151b;

  --font-body:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-heading:"Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html{scroll-behavior:smooth;}

body{
  font-family: var(--font-body);
  color: var(--jdr-text);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4,.display-5,.display-6,
.section-title,
.page-hero h1,
.hero h1,
.footer .mini-title,
.navbar-brand span{
  font-family: var(--font-heading);
  color: var(--jdr-heading);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1,.display-1,.display-2,.display-3,.display-4,.display-5,.display-6{
  font-weight: 800;
}

h2,h3,h4,h5,h6{
  font-weight: 800;
}

p{
  color: var(--jdr-text-soft);
  line-height: 1.72;
  margin-bottom: 1rem;
}

.lead{
  font-size: 1.08rem;
  line-height: 1.8;
  font-weight: 500;
}

.small,
.small-note{
  line-height: 1.7;
}

.text-secondary{
  color: var(--jdr-text-muted) !important;
}

a{
  color: var(--jdr-blue);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover{color: #2798c9;}

.navbar{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.navbar-brand img{width:100px}

.navbar-brand span{
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.nav-link{
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -0.015em;
}

.nav-link.active, .nav-link:hover{color: var(--jdr-red) !important;}

.btn{
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.015em;
  border-radius: .95rem;
}

.btn-lg{
  font-size: 1rem;
  padding: .95rem 1.35rem;
}

.btn-sm{
  font-size: .9rem;
  padding: .62rem 1rem;
}

.btn-jdr{
  --bs-btn-bg: var(--jdr-red);
  --bs-btn-border-color: var(--jdr-red);
  --bs-btn-hover-bg: #a8161b;
  --bs-btn-hover-border-color: #a8161b;
  --bs-btn-color: #fff;
  --bs-btn-hover-color:#fff;
  --bs-btn-active-bg:#8c1216;
  --bs-btn-active-border-color:#8c1216;
}

.btn-outline-jdr{
  --bs-btn-color: var(--jdr-red);
  --bs-btn-border-color: rgba(196,28,35,.55);
  --bs-btn-hover-bg: var(--jdr-red);
  --bs-btn-hover-border-color: var(--jdr-red);
  --bs-btn-hover-color:#fff;
}

.badge,
.badge-jdr,
.mini-pill,
.chip,
.project-tag,
.project-chip{
  font-family: var(--font-body);
  letter-spacing: -0.01em;
}

.badge-jdr{
  background: rgba(62,178,228,.14);
  color: #0b5f80;
  border: 1px solid rgba(62,178,228,.25);
  font-weight:700;
}

.hero{
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.25rem;
  background:
    radial-gradient(900px 450px at 15% 15%, rgba(62,178,228,.18), transparent 60%),
    radial-gradient(700px 380px at 90% 25%, rgba(196,28,35,.18), transparent 60%),
    linear-gradient(180deg, var(--jdr-light), #fff 70%);
}

.hero::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 250px at 30% 85%, rgba(196,28,35,.10), transparent 70%),
    radial-gradient(650px 280px at 85% 80%, rgba(62,178,228,.12), transparent 70%);
  pointer-events:none;
}

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

.hero h1{
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero .lead{
  max-width: 64ch;
}

.hero-card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 20px 60px rgba(13, 38, 76, .10);
  border-radius: 1.25rem;
}

.kpi{
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.kpi .num{
  font-family: var(--font-heading);
  font-weight:800;
  letter-spacing:-0.04em;
  line-height: 1;
}

.kpi .label{
  color: var(--jdr-gray);
  font-weight:600;
  font-size: .92rem;
}

.section{
  padding: 5rem 0;
}

.section-alt{
  background: var(--jdr-soft);
}

.section-title{
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: .65rem;
}

.lead-muted{color: var(--jdr-gray);}

.icon-pill{
  width: 48px;
  height:48px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(62,178,228,.14);
  border: 1px solid rgba(62,178,228,.25);
  color: #0b5f80;
}

.card-hover{
  transition: transform .15s ease, box-shadow .15s ease;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.1rem;
}

.card-hover:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,.10);
}

.card-body,
.project-card-body,
.project-slide-card,
.service-mini-card,
.accreditation-card{
  text-wrap: pretty;
}

.card h4,
.card h5,
.project-card-body h3,
.project-slide-card h3,
.service-mini-card h5,
.accreditation-card h3{
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.card h5{
  font-size: 1.12rem;
}

.gallery img{
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial{
  background:#fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.1rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.testimonial .quote{
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1f26;
  line-height: 1.7;
}

.stars{
  letter-spacing: .12em;
  color: #f0b429;
}

.footer{
  background: #0f1a22;
  color: rgba(255,255,255,.80);
  font-family: var(--font-body);
}

.footer a{
  color: rgba(255,255,255,.82);
  text-decoration:none;
}

.footer a:hover{
  color: #fff;
  text-decoration:underline;
}

.footer .mini-title{
  color:#fff;
  font-weight:800;
  font-size: 1.05rem;
}

.footer .subtle{
  color: rgba(255,255,255,.70);
  line-height: 1.7;
}

.map-embed{
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: 1rem;
}

hr.footer-rule{border-color: rgba(255,255,255,.12);}

.page-hero{
  padding: 3.5rem 0 2.25rem;
  background:
    radial-gradient(900px 450px at 15% 15%, rgba(62,178,228,.16), transparent 60%),
    radial-gradient(700px 380px at 90% 25%, rgba(196,28,35,.15), transparent 60%),
    linear-gradient(180deg, var(--jdr-light), #fff 70%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.page-hero h1{
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.small-note{
  font-size:.95rem;
  color: var(--jdr-gray);
}

/* ---------- Enhanced Home Page Visuals ---------- */
.hero.hero-photo{
  padding: 6.5rem 0 5rem;
  background:
    linear-gradient(110deg, rgba(15,26,34,.92) 0%, rgba(15,26,34,.78) 45%, rgba(15,26,34,.55) 100%),
    url("../img/header-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero.hero-photo .lead-muted,
.hero.hero-photo .small-note{color: rgba(255,255,255,.78) !important;}

.hero.hero-photo .badge-jdr{
  background: rgba(62,178,228,.16);
  color: #dff6ff;
  border-color: rgba(62,178,228,.30);
}

.hero.hero-photo h1{
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
  color: #fff;
}

.hero-photo .hero-card{
  background: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.35);
}

.hero-photo .kpi{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: none;
}

.hero-photo .kpi .num{color:#fff;}
.hero-photo .kpi .label{color: rgba(255,255,255,.75);}

.section-bg{
  position: relative;
  overflow: hidden;
}

.section-bg::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 320px at 12% 25%, rgba(62,178,228,.12), transparent 60%),
    radial-gradient(650px 320px at 88% 10%, rgba(196,28,35,.10), transparent 60%),
    radial-gradient(700px 420px at 70% 90%, rgba(62,178,228,.10), transparent 60%);
  pointer-events:none;
}

.section-bg > .container{ position:relative; z-index:1; }

.section-slab{
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.section-slab-alt{
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(62,178,228,.10), transparent 60%),
    linear-gradient(180deg, var(--jdr-soft), #ffffff 85%);
}

.section-divider{
  height: 18px;
  background:
    linear-gradient(90deg, rgba(62,178,228,.0), rgba(62,178,228,.25), rgba(196,28,35,.25), rgba(196,28,35,.0));
  border-radius: 999px;
  opacity: .9;
}

.feature-card{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.feature-card .icon-pill{
  background: rgba(196,28,35,.12);
  border-color: rgba(196,28,35,.22);
  color: #8b0f13;
}

.trust-strip{
  background:
    linear-gradient(90deg, rgba(62,178,228,.10), rgba(196,28,35,.10));
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 1.25rem;
}

.mini-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  font-size: .94rem;
}

.mini-pill i{opacity:.95;}

@media (max-width: 991.98px){
  .hero.hero-photo{ padding: 5.25rem 0 4.25rem; }
}

/* ---------- Projects Slider (Home) ---------- */
.project-slider-wrap{
  border-radius: 1.25rem;
  position: relative;
}

.project-carousel{
  border-radius: 1.25rem;
}

.project-slide-img{
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
}

.project-slide-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .6s ease;
}

.carousel-item.active .project-slide-img img{
  transform: scale(1.07);
}

.project-slide-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(115deg, rgba(15,26,34,.65) 0%, rgba(15,26,34,.20) 55%, rgba(15,26,34,.05) 100%);
  pointer-events:none;
}

.project-chip{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  font-weight: 750;
  z-index: 2;
}

.project-slide-card{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  padding: 2rem;
}

.project-badge{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(62,178,228,.14);
  border: 1px solid rgba(62,178,228,.25);
  color: #0b5f80;
  font-size: 1.15rem;
}

.project-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.project-metrics .metric{
  border-radius: 1rem;
  padding: .9rem .85rem;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.project-metrics .val{
  font-family: var(--font-heading);
  font-weight: 850;
  letter-spacing: -0.03em;
  color:#191919;
}

.project-metrics .lab{
  color: var(--jdr-gray);
  font-weight: 650;
  font-size: .9rem;
}

.project-indicators{
  position: static;
  margin-top: 14px;
}

.project-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: .35;
}

.project-indicators .active{
  opacity: 1;
}

.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next{
  width: 56px;
}

.project-carousel .carousel-control-prev-icon,
.project-carousel .carousel-control-next-icon{
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}

/* Mobile polish */
@media (max-width: 991.98px){
  .project-slide-card{ padding: 1.35rem; }
  .project-slide-img{ min-height: 260px; }
}

/* =========================================================
   PROJECTS SECTION — BRAND WAVE BACKGROUND (RED + BLUE)
   + Animated Gradient + Glass Cards + Wave Separators
   ========================================================= */

.section-projects{
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  color: #fff;

  background: radial-gradient(1200px 600px at 20% 10%, rgba(62,178,228,.30), transparent 60%),
              radial-gradient(1000px 520px at 80% 80%, rgba(196,28,35,.25), transparent 60%),
              linear-gradient(135deg, rgba(10,24,40,.92), rgba(10,24,40,.82));
}

.section-projects::before{
  content:"";
  position:absolute;
  inset:-30%;
  background: linear-gradient(
    115deg,
    rgba(62,178,228,.55),
    rgba(62,178,228,.08),
    rgba(196,28,35,.55),
    rgba(196,28,35,.10)
  );
  filter: blur(40px);
  opacity: .65;
  animation: jdrFlow 10s ease-in-out infinite alternate;
  z-index: 0;
}

.section-projects::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3CradialGradient id='b' cx='30%25' cy='30%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%233EB2E4' stop-opacity='0.85'/%3E%3Cstop offset='60%25' stop-color='%233EB2E4' stop-opacity='0.15'/%3E%3Cstop offset='100%25' stop-color='%233EB2E4' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='r' cx='75%25' cy='80%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23C41C23' stop-opacity='0.80'/%3E%3Cstop offset='60%25' stop-color='%23C41C23' stop-opacity='0.14'/%3E%3Cstop offset='100%25' stop-color='%23C41C23' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0,520 C240,420 420,640 700,520 C980,400 1120,600 1600,460 L1600,900 L0,900 Z' fill='url(%23b)'/%3E%3Cpath d='M0,600 C340,740 620,440 900,600 C1160,760 1320,560 1600,700 L1600,900 L0,900 Z' fill='url(%23r)'/%3E%3Cpath d='M0,520 C240,420 420,640 700,520 C980,400 1120,600 1600,460' fill='none' stroke='white' stroke-opacity='0.16' stroke-width='5'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: .55;
  filter: blur(1px);
  z-index: 1;
}

.section-projects .container{
  position: relative;
  z-index: 3;
}

.projects-lead{
  color: rgba(255,255,255,.82);
}

.section-wave{
  position:absolute;
  left:0;
  width:100%;
  height:84px;
  z-index:2;
  opacity:.9;
  pointer-events:none;
  background-size: 1600px 84px;
  background-repeat: repeat-x;
}

.section-wave-top{
  top:-1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='84' viewBox='0 0 1600 84'%3E%3Cpath d='M0 60 C 200 10 400 110 600 60 C 800 10 1000 110 1200 60 C 1400 10 1500 40 1600 60 L1600 0 L0 0 Z' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E");
}

.section-wave-bottom{
  bottom:-1px;
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='84' viewBox='0 0 1600 84'%3E%3Cpath d='M0 60 C 200 10 400 110 600 60 C 800 10 1000 110 1200 60 C 1400 10 1500 40 1600 60 L1600 0 L0 0 Z' fill='%23ffffff' fill-opacity='0.10'/%3E%3C/svg%3E");
}

@keyframes jdrFlow{
  0%   { transform: translate3d(-2%, -2%, 0) rotate(-2deg) scale(1.05); }
  100% { transform: translate3d(2%, 2%, 0) rotate(2deg) scale(1.10); }
}

/* =========================================================
   PROJECT SLIDER STYLES (polished + non-broken)
   ========================================================= */
.project-slider-wrap{
  border-radius: 1.25rem;
  position: relative;
}

.project-carousel{
  border-radius: 1.25rem;
}

.project-slide-img{
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.project-slide-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .7s ease;
}

.carousel-item.active .project-slide-img img{
  transform: scale(1.09);
}

.project-slide-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(115deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.05) 100%);
  pointer-events:none;
}

.project-chip{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  z-index: 2;
}

.glass-card{
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.40);
  backdrop-filter: blur(12px);
}

.project-slide-card{
  border-radius: 1.25rem;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  padding: 2rem;
}

.project-badge{
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(62,178,228,.14);
  border: 1px solid rgba(62,178,228,.25);
  color: #0b5f80;
  font-size: 1.15rem;
}

.project-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.project-metrics .metric{
  border-radius: 1rem;
  padding: .9rem .85rem;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.project-metrics .val{
  font-family: var(--font-heading);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.project-metrics .lab{
  color: var(--jdr-gray);
  font-weight: 700;
  font-size: .9rem;
}

.project-indicators{
  position: static;
  margin-top: 14px;
}

.project-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: .35;
  border: 0;
}

.project-indicators .active{
  opacity: 1;
}

.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next{
  width: 56px;
}

.project-carousel .carousel-control-prev-icon,
.project-carousel .carousel-control-next-icon{
  filter: drop-shadow(0 14px 24px rgba(0,0,0,.40));
}

@media (max-width: 991.98px){
  .project-slide-card{ padding: 1.35rem; }
  .project-slide-img{ min-height: 260px; }
  .section-wave{ height: 60px; background-size: 1200px 60px; }
}

/* ---------- Projects Gallery Tiles ---------- */
.project-tile{
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
  background: #fff;
  text-decoration: none;
  height: 100%;
  min-height: 240px;
}

.project-tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s ease;
  display: block;
}

.project-tile:hover img{
  transform: scale(1.08);
}

.project-tile .overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.70) 100%);
}

.project-tile .title{
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.project-tile .meta{
  color: rgba(255,255,255,.80);
  font-weight: 600;
  font-size: .95rem;
}

/* =========================
   HOME PROJECTS 3-UP CAROUSEL
   ========================= */

.section-projects{
  position: relative;
  overflow: hidden;
}

.project-cards-wrap{
  padding-bottom: 2.25rem;
}

.project-card{
  display: block;
  height: 100%;
  text-decoration: none;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(0,0,0,.30);
}

.project-card-img{
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s ease;
  display: block;
}

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

.project-tag{
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.22);
}

.project-card-body{
  padding: 1rem 1rem 1.1rem;
  background: rgba(255,255,255,.92);
}

.section-projects .project-card-body h3{
  color: #141416;
  font-size: 1.08rem;
  line-height: 1.3;
}

.section-projects .project-card-body p{
  margin-bottom: .75rem;
  font-size: .95rem;
  line-height: 1.72;
}

.chip{
  display: inline-flex;
  align-items: center;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.72);
}

.proj-control{
  width: auto;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
}

.proj-control-icon{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.carousel-control-prev.proj-control{ left: -6px; }
.carousel-control-next.proj-control{ right: -6px; }

.project-indicators{
  position: static;
  margin-top: 1.25rem;
}

.project-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  margin: 0 5px;
}

/* =========================
   PROJECT CATEGORY TABS
   ========================= */

.project-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:2rem;
}

.project-tab{
  border:0;
  background:rgba(255,255,255,.92);
  color:#1f2937;
  font-family: var(--font-body);
  font-weight:800;
  font-size:1rem;
  letter-spacing:-0.02em;
  padding:.95rem 1.4rem;
  border-radius:1rem;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  transition:all .2s ease;
}

.project-tab:hover{
  transform:translateY(-2px);
}

.project-tab.active{
  background:var(--jdr-red);
  color:#fff;
}

.project-category{
  display:none;
}

.project-category.active{
  display:block;
}

/* =========================
   PROJECT CARDS
   ========================= */

.project-cards-wrap{
  padding-bottom:2rem;
}

.project-card{
  display:block;
  height:100%;
  text-decoration:none;
  border-radius:1.35rem;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(12px);
  box-shadow:0 18px 55px rgba(0,0,0,.22);
  transition:transform .25s ease, box-shadow .25s ease;
}

.project-card:hover{
  transform:translateY(-5px);
  box-shadow:0 25px 70px rgba(0,0,0,.30);
}

.project-card-img{
  position:relative;
  height:240px;
  overflow:hidden;
}

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

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

.project-tag{
  position:absolute;
  left:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.5rem .8rem;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-weight:800;
  font-size:.85rem;
  border:1px solid rgba(255,255,255,.20);
}

.project-card-body{
  background:rgba(255,255,255,.94);
  padding:1rem 1rem 1.15rem;
}

.project-card-body h3{
  color:#101114;
}

.chip{
  display:inline-flex;
  align-items:center;
  padding:.38rem .65rem;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  color:rgba(0,0,0,.72);
  font-size:.82rem;
  font-weight:700;
}

.proj-control{
  width:auto;
  opacity:1;
  top:50%;
  transform:translateY(-50%);
}

.proj-control-icon{
  width:46px;
  height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  backdrop-filter:blur(10px);
  box-shadow:0 14px 40px rgba(0,0,0,.25);
}

.carousel-control-prev.proj-control{ left:-8px; }
.carousel-control-next.proj-control{ right:-8px; }

.project-indicators{
  position:static;
  margin-top:1.25rem;
}

.project-indicators [data-bs-target]{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  margin:0 5px;
}

/* =========================
   HEATING SERVICES SECTION
   ========================= */

.service-mini-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:1.2rem;
  padding:1.35rem;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

.service-mini-card p{
  font-size: .96rem;
  line-height: 1.72;
}

.accreditation-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:1.5rem;
  padding:2rem;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.accreditation-logo-wrap{
  background:#f8fafc;
  border:1px solid rgba(0,0,0,.06);
  border-radius:1.15rem;
  padding:1.25rem;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:130px;
}

.accreditation-logo{
  max-width:100%;
  height:auto;
  display:block;
}

.gas-safe-logo{
  max-height:110px;
}

.superfoil-logo{
  max-height:90px;
}

/* Forms */
.form-label{
  font-size:.92rem;
  font-weight:700;
  color:var(--jdr-heading);
  margin-bottom:.45rem;
  letter-spacing:-0.01em;
}

.form-control,
.form-select,
textarea{
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--jdr-text);
  border-radius: .9rem;
  padding: .85rem 1rem;
}

.form-control::placeholder,
textarea::placeholder{
  color:#9aa3af;
}

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

@media (max-width: 991.98px){
  body{
    font-size: 15.8px;
  }

  .section{
    padding: 4.25rem 0;
  }

  .project-card-img{
    height:220px;
  }

  .carousel-control-prev.proj-control,
  .carousel-control-next.proj-control{
    display:none;
  }

  .section-title{
    line-height: 1.15;
  }

  .hero h1{
    line-height: 1.05;
  }
}