/* ====================================================================
   JustHome — Theme Stylesheet (GOVERNMENT PROJECTS + FAQ - FIXED)
   - White body with green shades
   - Glass effect (frosted panels)
   - Transparent elements
   - Rounded corners on all images
   - ALL SECTIONS have EQUAL SIZED elements
   - Navbar FIXED at top (transparent, blur on mobile)
   - Footer TRANSPARENT (no background anywhere)
   - Fully responsive with Bootstrap Icons
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --jh-black:        #07100c;
  --jh-black-soft:   #0d1812;
  --jh-green-deep:   #0f3d24;
  --jh-green:        #1f7a4d;
  --jh-green-bright: #34d399;
  --jh-white:        #f3f7f4;
  --jh-muted:        #4a6b5a;
  --jh-hairline:     rgba(52,211,153,0.18);

  /* ---- Glass tokens ---- */
  --glass-bg:         rgba(255,255,255,0.10);
  --glass-bg-strong:  rgba(255,255,255,0.18);
  --glass-border:     rgba(52,211,153,0.25);
  --glass-blur:       blur(16px) saturate(160%);

  /* ---- Type tokens ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Layout tokens ---- */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  
  /* ---- Fixed sizes ---- */
  --section-padding: 3.5rem 0;
  --card-height: 100%;
  --image-height: 300px;
  --carousel-image-height: 420px;
  --navbar-height: 76px;
  --container-max-width: 1320px;
}

/* ====================================================================
   Reset / page ground — White with green shades
   ==================================================================== */

body{
  background-color: #f2f8f5 !important;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(52,211,153,0.07) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(31,122,77,0.06) 0%, transparent 50%);
  color: #1a2e24;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
  padding-top: calc(var(--navbar-height) + 10px);
}

/* Faint blueprint grid + ambient green glow behind everything */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(31,122,77,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,122,77,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
body::after{
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52,211,153,0.10), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-display);
  font-weight: 600;
  color: #0d2b1e;
  letter-spacing: -0.01em;
}

p, .lead, li, a{
  font-family: var(--font-body);
}
p, .lead{ 
  color: #2b4a3a; 
}

/* Eyebrow labels */
span.text-muted{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jh-green-bright) !important;
  margin-bottom: 0.5rem;
}

a{ 
  color: var(--jh-green); 
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover{ 
  color: #0f3d24; 
}

::selection{ 
  background: var(--jh-green); 
  color: var(--jh-white); 
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible{
  outline: 2px solid var(--jh-green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

/* ====================================================================
   CONTAINER FIX — All containers use 1320px max-width
   ==================================================================== */

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl{
  max-width: var(--container-max-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px;
  padding-right: 24px;
}

/* ====================================================================
   Navigation — FIXED NAVBAR (transparent, blur background on mobile)
   ==================================================================== */

/* Navbar section - FIXED and TRANSPARENT */
.container.px-3.px-lg-4 > section.py-2.py-md-3,
section.py-2.py-md-3{
  padding: 0 !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 12px 20px 0 20px !important;
  background: transparent !important;
  transition: all 0.3s ease;
  max-width: var(--container-max-width) !important;
  margin: 0 auto !important;
  width: 100%;
}
.container.px-3.px-lg-4 > section.py-2.py-md-3 .container-fluid,
section.py-2.py-md-3 .container-fluid{
  max-width: var(--container-max-width) !important;
  padding: 0;
  margin: 0 auto;
}
.container.px-3.px-lg-4 > section.py-2.py-md-3 .container-fluid .container-fluid,
section.py-2.py-md-3 .container-fluid .container-fluid{
  padding: 0 !important;
  max-width: 100% !important;
}

nav.navbar{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0.6rem 1.25rem;
  width: 100%;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

/* ===== NAVBAR BRAND WITH LOGO ===== */
.navbar-brand{
  font-family: var(--font-display);
  font-weight: 700;
  color: #0d2b1e !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand img{
  height: 70px !important;
  width: auto !important;
  border-radius: 0 !important;
}
.navbar-brand .logo-icon{
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--jh-green-bright);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  line-height: 36px;
  flex-shrink: 0;
}
.navbar-brand .brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.navbar-brand .brand-text .main{
  font-size: 1.1rem;
  font-weight: 800;
  color: #0d2b1e;
}
.navbar-brand .brand-text .main span{
  color: var(--jh-green-bright);
}
.navbar-brand .brand-text .sub{
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: var(--jh-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.navbar-brand::before{
  display: none;
}

.navbar-nav .nav-link{
  color: #2b4a3a !important;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0.2rem;
  margin: 0 0.6rem;
  transition: color 0.2s var(--ease);
}
.navbar-nav .nav-link::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--jh-green-bright);
  transition: width 0.25s var(--ease);
}
.navbar-nav .nav-link:hover{ 
  color: #0d2b1e !important; 
}
.navbar-nav .nav-link:hover::after{ 
  width: 100%; 
}
.navbar-nav .nav-link.active{
  color: var(--jh-green) !important;
}
.navbar-nav .nav-link.active::after{
  width: 100%;
}

.navbar-toggler{
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(52,211,153,0.2);
  padding: 0.5rem 0.75rem;
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(7, 16, 12, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: none !important;
}
.navbar-collapse{
  background: transparent !important;
  border-radius: var(--radius-md);
}

/* ====================================================================
   Mobile Navigation - 3 Lines with Transparent Blur Background
   ==================================================================== */

@media (max-width: 991.98px){
  /* Navbar background becomes glass blur on mobile */
  .container.px-3.px-lg-4 > section.py-2.py-md-3,
  section.py-2.py-md-3{
    background: rgba(255,255,255,0.70) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(52,211,153,0.10) !important;
    padding: 8px 12px 0 12px !important;
    max-width: 100% !important;
  }
  
  nav.navbar{
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  .navbar-collapse{ 
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: var(--radius-md);
    padding: 0.75rem; 
    margin-top: 0.5rem;
    border: 1px solid rgba(52,211,153,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  }
  
  .navbar-nav .nav-link{
    padding: 0.6rem 0.8rem;
    margin: 0.2rem 0;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  
  .navbar-nav .nav-link:hover{
    background: rgba(52,211,153,0.08) !important;
    border-radius: 8px;
  }
  
  .navbar-nav .nav-link::after{
    display: none;
  }
  
  .navbar-toggler{
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(52,211,153,0.15);
  }
  
  .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(7, 16, 12, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Show 3 lines (hamburger) on mobile */
  .navbar-toggler{
    display: flex !important;
  }
  
  /* Mobile brand smaller */
  .navbar-brand img{
    height: 50px !important;
  }
  .navbar-brand .logo-icon{
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.7rem;
  }
  .navbar-brand .brand-text .main{
    font-size: 0.95rem;
  }
  .navbar-brand .brand-text .sub{
    font-size: 0.45rem;
  }
}

/* ====================================================================
   Section styling
   ==================================================================== */

section.py-5{
  padding: var(--section-padding);
}

section.py-5 .display-5{
  font-size: 2.8rem;
  font-weight: 700;
  color: #0d2b1e;
}
section.py-5 .display-6{
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d2b1e;
}
section.py-5 .lead{
  font-size: 1.15rem;
  color: #2b4a3a;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* ====================================================================
   Cards — Glass Effect (for project cards)
   ==================================================================== */

.card{
  background: rgba(255,255,255,0.50) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.18) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04) !important;
}
.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
}

.card .row.g-0{
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
}

.card .col-sm-5,
.card .col-sm-7{
  padding: 0;
}

.card-body{
  background: transparent !important;
  padding: 1.5rem 1.5rem 1.5rem 1rem !important;
}
.card-body h5{
  font-family: var(--font-display);
  color: #0d2b1e;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card-body p{
  color: #2b4a3a;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Project images inside cards - FIXED PADDING */
.project-img{
  height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-md) !important;
  display: block;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure the image container has no padding */
.card .col-sm-5{
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* For mobile view, adjust image */
@media (max-width: 575.98px){
  .card .col-sm-5{
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .project-img{
    height: 180px;
  }
  .card-body{
    padding: 1.25rem !important;
  }
}

/* Badge styling */
.badge{
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px !important;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.badge.bg-success{
  background: var(--jh-green) !important;
  color: #fff !important;
}
.badge.bg-primary{
  background: var(--jh-green-bright) !important;
  color: #0d2b1e !important;
}
.badge.bg-warning{
  background: #fbbf24 !important;
  color: #0d2b1e !important;
}

/* ====================================================================
   Accordion / FAQ — Glass Effect
   ==================================================================== */

.accordion-item{
  background: rgba(255,255,255,0.40) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52,211,153,0.12) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-item:last-child{
  margin-bottom: 0;
}

.accordion-header .accordion-button{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: #0d2b1e;
  transition: background 0.2s var(--ease);
}
.accordion-header .accordion-button:hover{
  background: rgba(52,211,153,0.06) !important;
}
.accordion-header .accordion-button:not(.collapsed){
  background: rgba(52,211,153,0.08) !important;
  color: var(--jh-green);
}
.accordion-header .accordion-button:focus{
  box-shadow: none !important;
  border-color: transparent !important;
}
.accordion-header .accordion-button .text-muted{
  color: var(--jh-green-bright) !important;
}
.accordion-header .accordion-button i{
  color: var(--jh-green-bright);
  font-size: 1.1rem;
}

.accordion-body{
  background: transparent !important;
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: #2b4a3a;
  font-size: 0.95rem;
}

/* ====================================================================
   Footer — TRANSPARENT (no background)
   ==================================================================== */

footer{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem 0;
}

.footer-brand{
  font-family: var(--font-display);
  color: #0d2b1e !important;
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
}

footer .footer-address p{ 
  color: #2b4a3a; 
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
footer .footer-address a{ 
  color: var(--jh-green); 
  text-decoration: none;
}
footer .footer-address a:hover{
  color: #0f3d24;
}

footer h4{
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d2b1e;
  margin-bottom: 0.9rem;
}

footer ul.list-unstyled{
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul.list-unstyled li{
  margin-bottom: 0.5rem;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
  min-height: auto !important;
  box-shadow: none !important;
}
footer ul.list-unstyled li:hover{
  background: transparent !important;
  border: none !important;
  transform: none !important;
}

footer .text-dark,
footer a.text-dark{
  color: #2b4a3a !important;
  transition: color 0.2s var(--ease);
  text-decoration: none;
  font-size: 0.95rem;
  background: transparent !important;
  padding: 0 !important;
}
footer .text-dark:hover,
footer a.text-dark:hover{ 
  color: var(--jh-green) !important; 
  background: transparent !important;
}

footer .border-top{
  border-color: rgba(52,211,153,0.10) !important;
}

footer i,
footer svg,
footer .bi{
  color: var(--jh-green) !important; 
}

footer .small,
footer .small.text-muted{ 
  color: #4a6b5a !important;
  font-size: 0.85rem;
}
footer .text-muted{
  color: #4a6b5a !important;
}

footer .border-top.d-lg-none{
  border-color: rgba(52,211,153,0.08) !important;
}

/* ====================================================================
   Responsive Tweaks
   ==================================================================== */

@media (max-width: 1199.98px){
  section.py-5 .display-5{
    font-size: 2.4rem;
  }
  section.py-5 .display-6{
    font-size: 2rem;
  }
}

@media (max-width: 991.98px){
  :root{
    --image-height: 260px;
    --carousel-image-height: 380px;
    --section-padding: 3rem 0;
    --navbar-height: 72px;
  }
  body{ padding-top: calc(var(--navbar-height) + 10px); }
  section.py-5 .display-5{
    font-size: 2.2rem;
  }
  section.py-5 .display-6{
    font-size: 1.8rem;
  }
  section .img-fluid.rounded{
    height: 280px;
  }
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 20px;
    padding-right: 20px;
  }
  .project-img{
    height: 180px;
  }
  .card .col-sm-5{
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
}

@media (max-width: 767.98px){
  :root{
    --image-height: 220px;
    --carousel-image-height: 340px;
    --section-padding: 2.5rem 0;
    --navbar-height: 64px;
  }
  body{ padding-top: calc(var(--navbar-height) + 8px); }
  section.py-5 .display-5{
    font-size: 2rem;
  }
  section.py-5 .display-6{
    font-size: 1.6rem;
  }
  section.py-5 .lead{
    font-size: 1rem;
  }
  section .img-fluid.rounded{
    height: 240px;
  }
  .navbar-brand{
    font-size: 1.2rem;
  }
  nav.navbar{
    padding: 0.4rem 0.8rem;
  }
  footer{
    padding: 1.5rem 0;
  }
  .footer-brand{
    font-size: 1.3rem;
  }
  .card-body{
    padding: 1.25rem !important;
  }
  .project-img{
    height: 160px;
  }
  .card .col-sm-5{
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 16px;
    padding-right: 16px;
  }
  .navbar-brand img{
    height: 45px !important;
  }
}

@media (max-width: 575.98px){
  :root{
    --radius-lg: 14px;
    --radius-md: 10px;
    --image-height: 200px;
    --carousel-image-height: 300px;
    --section-padding: 2rem 0;
    --navbar-height: 60px;
  }
  body{ padding-top: calc(var(--navbar-height) + 6px); }
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl{
    padding-left: 12px;
    padding-right: 12px;
  }
  section.py-5 .display-5{
    font-size: 1.8rem;
  }
  section.py-5 .display-6{
    font-size: 1.4rem;
  }
  section.py-5 .lead{
    font-size: 0.9rem;
  }
  section .img-fluid.rounded{
    height: 200px;
  }
  nav.navbar{
    padding: 0.3rem 0.6rem;
  }
  .navbar-brand{
    font-size: 1.1rem;
  }
  footer{
    padding: 1rem 0;
    margin-top: 1.5rem;
  }
  .footer-brand{
    font-size: 1.2rem;
  }
  footer .footer-address p,
  footer .text-dark{
    font-size: 0.85rem;
  }
  footer h4{
    font-size: 0.75rem;
  }
  .card-body{
    padding: 1rem !important;
  }
  .card-body h5{
    font-size: 1rem;
  }
  .card-body p{
    font-size: 0.85rem;
  }
  .project-img{
    height: 140px;
  }
  .accordion-header .accordion-button{
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
  .accordion-body{
    font-size: 0.85rem;
    padding: 0 1rem 1rem 1rem;
  }
  .card .col-sm-5{
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .navbar-brand img{
    height: 40px !important;
  }
}

/* ====================================================================
   Utility Classes
   ==================================================================== */

.glass{
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.glass-strong{
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.bg-transparent{ background: transparent !important; }
.rounded-4{ border-radius: var(--radius-lg) !important; }
.shadow-soft{ box-shadow: 0 8px 30px rgba(0,0,0,0.04); }

/* ====================================================================
   Image corner fix — all images get rounded corners
   ==================================================================== */

img{
  border-radius: var(--radius-md) !important;
}
.rounded-4 img{
  border-radius: var(--radius-lg) !important;
}
.img-fluid.rounded{
  border-radius: var(--radius-md) !important;
}

/* ====================================================================
   Fix for bg-light classes - make them transparent/glass
   ==================================================================== */

.bg-light,
.bg-light-soft{
  background: transparent !important;
}
.bg-white{
  background: transparent !important;
}

/* Override inline bg-light on cards */
.card .bg-light,
.card .bg-white{
  background: transparent !important;
}

/* ====================================================================
   Accordion background fix
   ==================================================================== */

.accordion-button.bg-light{
  background: transparent !important;
}

/* ====================================================================
   Card row fix - ensure proper alignment
   ==================================================================== */

.card .row.g-0 > [class*="col-"]{
  padding: 0 !important;
}

.card .row.g-0{
  margin: 0 !important;
  width: 100%;
}

/* Ensure image fills its container properly */
.card .col-sm-5{
  display: flex;
  align-items: stretch;
  padding: 0 !important;
  overflow: hidden;
}

.card .col-sm-5 .project-img{
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
}

@media (max-width: 767.98px){
  .card .col-sm-5 .project-img{
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    min-height: 180px;
  }
}

@media (max-width: 575.98px){
  .card .col-sm-5 .project-img{
    min-height: 160px;
  }
}

/* ====================================================================
   Override dark inline styles
   ==================================================================== */

.card[style*="background: var(--jh-black-soft);"]{
  background: rgba(255,255,255,0.50) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52,211,153,0.18) !important;
}

.card[style*="background: var(--jh-black-soft);"] .card-body h5,
.card[style*="background: var(--jh-black-soft);"] .card-body h4{
  color: #0d2b1e !important;
}
.card[style*="background: var(--jh-black-soft);"] .card-body p{
  color: #2b4a3a !important;
}
.card[style*="background: var(--jh-black-soft);"] .card-body .text-muted{
  color: #2b4a3a !important;
}