﻿:root {
  --navy: #002b5c;
  --cream: #f5f5f0;
  --gold: #c5a46d;
  --muted: #6c757d;
  --footer-bg: #0b0b0b;
  --white: #ffffff;
  --container-max: 1200px;
  --brand-font: "Fjalla One", Arial, sans-serif;
}

/* Global */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--brand-font);
  color: #222;
  margin: 0;
  background: #ffffff;
  font-weight: 400; /* Explicitly normal */
  padding-top: 80px; /* Adjust based on your navbar height */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Topbar */
.topbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}
.topbar .social a {
  color: var(--muted);
  text-decoration: none;
}
.topbar .social a:hover {
  color: var(--navy);
}

/* Navbar */
.navbar {
  background: #fff;
}

/* Smooth hide/show transition */
.custom-navbar {
  transition: top 0.3s ease-in-out;
}

.navbar-hidden {
  top: -100px; /* moves navbar out of view */
}

.logo-img {
  height: 48px;
  object-fit: cover;
}
.brand-title {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 1s ease-in-out;
}

.features {
  margin-top: 0; /* was probably too high before */
  padding-top: 40px; /* adjust to your liking */
}

.features h3 {
  font-weight: bold;
  margin-bottom: 10px;
}

.features p {
  max-width: 314px;
}

.btn-cta {
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
  border: none;
}

.btn-cta:hover {
  background-color: #e0a800;
  color: #000;
}

/* Push right image slightly outwards */
.solar-img {
  margin-right: -30px; /* adjust px until aligned visually */
}

.btn-cta {
  background: var(--gold);
  color: var(--navy);
  border-radius: 6px;
  border: 0;
  font-weight: 700;
}
.btn-cta:hover {
  background: #b89252;
  color: #001f3b;
}

/* Sections */
.section {
  padding: 70px 0;
}
.section-about {
  background: #fff;
}
.section-features {
  background: #fff;
}
.section-samples {
  background: var(--cream);
}
.section-specs {
  background: #fff;
}
.section-cta {
  background: #fff;
  padding: 50px 0;
}

/* Section titles */
.section-title {
  font-size: 28px;
  color: var(--navy);
  font-weight: 700;
}

/* Feature card grid */
.feature-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  transition: box-shadow 0.24s ease, transform 0.18s ease, border-color 0.18s;
}
.feature-card:hover {
  box-shadow: 0 12px 30px rgba(2, 10, 25, 0.08);
  transform: translateY(-6px);
  border-color: var(--gold);
}
.feature-icon {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 10px;
}

/* Specs card */
.spec-card {
  padding: 24px;
  background: #f8fafb;
  border-radius: 8px;
  border: 1px solid #eee;
}
.spec-card h5 {
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-list li {
  padding: 8px 0;
  color: #444;
}
.spec-list i {
  color: var(--gold);
  margin-right: 8px;
}

/* Samples */
.section-samples img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA banner */
.cta-card {
  background: #fff;
  border: 1px solid #eee;
}
.cta-card h4 {
  color: var(--navy);
  font-weight: 700;
}

/* Contact form */
.contact-form {
  background: transparent;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 36px 0;
}
.footer a {
  color: var(--gold);
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .hero {
    padding: 70px 0;
  }
  .hero-overlay {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 28px;
  }
  .cta-card {
    text-align: center;
    gap: 12px;
  }
  .cta-card .btn {
    width: 100%;
    margin-bottom: 8px;
  }
}
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #000; /* slightly thicker border */
  border-radius: 50%;
  padding: 6px; /* reduced padding so icon looks bigger */
  width: 55px; /* circle size */
  height: 55px;
  background-color: #fff;
}

.icon-img {
  max-width: 80%; /* make icon image larger */
  height: auto;
}

.about-icon {
  font-size: 2rem;
  color: #002d62; /* dark blue like screenshot */
}
#about p {
  line-height: 1.7;
}

.partner-card {
  background: #fff;
  padding: 1rem;
  text-align: center;
  border: 1px solid #ddd;
  height: 100%;
}

.partner-img {
  width: 100%;
  padding-top: 100%;
  background-size: cover;
  background-position: center;
  border: 1px solid #ccc;
}

.partner-text {
  background-color: #0d1f50;
  padding: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-text p {
  margin: 0;
  font-size: 0.95rem;
}
#residential-project h5 {
  letter-spacing: 1px;
}

#residential-project img {
  border-radius: 4px;
}

.carousel-inner img {
  border-radius: 8px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  color: darkblue;
}
.carousel-inner img {
  height: auto; /* adjust as needed */
  object-fit: contain;
  width: 100%;
}
.sample-flat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px; /* Base height for rows */
  gap: 8px;
}

.sample-flat-grid .item {
  position: relative;
  overflow: hidden;
}

.sample-flat-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures any image size fills its space */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Allow larger images to span more rows/columns if desired */
.sample-flat-grid .item.large {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .sample-flat-grid {
    grid-auto-rows: 200px;
  }
}

@media (max-width: 480px) {
  .sample-flat-grid {
    grid-auto-rows: 150px;
  }
}

.inquiry-section {
  position: relative;
  background: url("./assets/sf/3.png") no-repeat center center/cover;
  padding: 40px 0;
  min-height: 400px;
}

.inquiry-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.inquiry-form {
  background-color: #0a2e67;
  color: white;
  padding: 30px;
  border-radius: 4px;
  margin: auto 0;
  max-width: 90%;
}

.inquiry-form h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.inquiry-form .form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.inquiry-form .form-group.full-width {
  flex-direction: column;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
}

.inquiry-form textarea {
  resize: none;
}

.btn-submit {
  background: white;
  color: #0a2e67;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.inquiry-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .inquiry-overlay {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    max-width: 100%;
    margin-bottom: 20px;
  }
}
.partners-section {
  padding: 40px 0;
  background: #fff;
}

.partners-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.partner-item img {
  width: 250px;
  height: 214px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-item h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  font-family: var(--brand-font);
  line-height: 1.5;
}

.site-footer .footer-logo {
  max-width: 180px;
  height: auto;
  display: inline-block;
  filter: brightness(0) invert(1); /* keeps placeholder visible on dark bg, remove if using color logo */
}

.site-footer .footer-title {
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

/* Icon circle */
.icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* spacing between the two pills */
.d-flex.gap-4 {
  gap: 2.5rem !important; /* increase from Bootstrap default (1.5rem) */
}

/* spacing between pills row and image below */
.icon-row {
  margin-bottom: 2rem; /* add extra space before the image */
}

/* Contact text */
.contact-heading {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.contact-text {
  color: var(--muted);
  font-size: 0 nine rem; /* fallback below will correct if not accepted */
  font-size: 0.95rem;
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* separator */
.footer-sep {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 0.75rem 0 0.5rem;
}

/* Bottom bar text */
.site-footer .small {
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .site-footer .footer-logo {
    margin-bottom: 1rem;
  }
  .icon-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.05rem;
  }
  .contact-text {
    font-size: 0.92rem;
  }
}
.features {
  background-color: #f6f7f9; /* light beige */
  padding: 3rem 0;
  font-family: var(--brand-font);
}

.features .feature h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
  border-bottom: 1px solid #000; /* black line under heading */
  padding-bottom: 0.5rem;
}

.features .feature p {
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  /* border-bottom: 1px solid #ccc; */ /* light gray line under paragraph */
  padding-bottom: 0.5rem;
  margin-bottom: 0;
}

.features .container {
  max-width: 1400px;
}

.feature {
  flex: 1 1 30%;
  padding: 0 2rem;
  text-align: left;
  min-width: 260px;
  position: relative;
}

#solar-terrace p {
  font-family: "Poppins", sans-serif;
}

#about p {
  font-family: "Poppins", sans-serif;
}

#partners .partner-text p {
  font-family: "Poppins", sans-serif;
}
.partner-front:hover .partner-overlay {
  opacity: 1 !important;
}
/* Headings */
.feature h3 {
  font-size: 0.85rem;
  font-weight: 599;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: #111;
}

/* Paragraphs */
.feature p {
  font-size: 0.92rem;
  color: #444;
  margin: 0;
  line-height: 1.6;
}

/* Divider lines between columns */
.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .feature {
    padding: 1rem 0;
  }
  .feature:not(:last-child)::after {
    display: none;
  }
}
/* Make navbar content align: logo left, menu center, button right */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Center nav links */
.navbar-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Contact button styling */
.navbar .btn {
  background-color: #373f55;
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
}

.navbar .btn:hover {
  background-color: #0f2250;
}

/* Links styling */
.nav-link {
  color: #333 !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #142c67 !important;
}

.feature {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left,
.reveal-right {
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}
.reveal-left {
  transform: translateX(-50px);
}
.reveal-right {
  transform: translateX(50px);
}
.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Start hidden */
.slide-left,
.slide-right {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease-out;
}

/* Slide from left */
.slide-left {
  transform: translateX(-50px);
}

/* Slide from right */
.slide-right {
  transform: translateX(50px);
}

/* Visible state */
.slide-left.visible,
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade-up effect for text */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom-in effect for images */
.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease-out;
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Pop/bounce animation for icons */
.pop-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease-out;
}
.pop-icon.visible {
  opacity: 1;
  transform: scale(1.1);
}
.pop-icon.visible {
  animation: bounce-in 0.6s ease forwards;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Bounce-in animation */
.bounce-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.bounce-in.visible {
  opacity: 1;
  transform: scale(1);
  animation: bounceIn 0.8s ease;
  animation-fill-mode: forwards;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Heading & paragraph animations */
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure 4x4 grid on desktop */
@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.feature-img {
  width: 100%;
  height: auto;
}

.bounce-in {
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.bounce-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ======================
   Responsive Sample Flats
   ====================== */
.sample-flat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.sample-flat-grid .item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .sample-flat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .sample-flat-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================
   Unit Features Responsive
   ====================== */
.section-specs .row > div {
  padding: 10px;
}

.section-specs img {
  width: 100%;
  height: auto;
}

/* Make sure Bootstrap cols wrap properly */
@media (max-width: 576px) {
  .section-specs .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ======================
   Inquiry Section Responsive
   ====================== */
.inquiry-overlay {
  display: flex;
  flex-wrap: wrap;
}

.inquiry-form,
.inquiry-map {
  flex: 1;
  min-width: 300px;
}

.inquiry-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Stack form above map on mobile */
@media (max-width: 768px) {
  .inquiry-overlay {
    flex-direction: column;
  }
  .inquiry-map iframe {
    min-height: 250px;
  }
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* evenly spaced like first screenshot */
  align-items: center;
  gap: 5px; /* spacing between rows */
}

.partner-item {
  flex: -1 0 200px; /* same width box for each logo */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  width: 180px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-item img:hover {
  transform: scale(1.05);
}
.feature-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  font-family: "Figtree", sans-serif;
}

.feature-text h3 {
  font-weight: 700;
  text-transform: uppercase;
}

.feature-text p {
  line-height: 1.6;
}

.icons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
  }
}

.brand-title,
.section-title,
.features h3,
.feature-text h3 {
  font-weight: 400 !important; /* Override existing bold rules */
}

/* Feature box styling */
/* Use CSS grid for fixed 4x layout */

/* Grid layout: always 4 per row */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 per row */
  gap: 15px; /* spacing */
  justify-items: center;
  align-items: center;
  width: 100%;
  overflow-x: hidden; /* prevent extending outside screen */
  box-sizing: border-box;
  padding: 0 10px; /* small padding to keep inside viewport */
}

/* Feature box styling */
#features .feature {
  text-align: center;
  padding: 8px;
  width: 100%;
}

/* SVG / Image – no forced size */
.feature-img {
  display: block;
  max-width: 129%;
  height: auto;
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* force 4 per row */
    gap: 25px;
    padding: 0px 0px 0px 87px;
    /* align-content: center; */
    /* justify-content: end; */
    /* align-items: center; */
  }

  #features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* force 4 per row */
    gap: 25px;
    padding: 0px 0px 0px 75px;
    width: 111%;
    /* align-content: center; */
    /* justify-content: end; */
    /* align-items: center; */
  }

  #features .features-grid .feature:last-child {
    grid-column: 2; /* place in the middle column */
  }

  .feature-img {
    width: 124px; /* shrink only on mobile */
  }

  .feature {
    padding: 5px;
  }
  @media (max-width: 768px) {
    #unit-features .features-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)); /* force 4 per row */
      gap: 0px;
      place-items: baseline;
      padding: 0px 0px;
      text-align: center;
    }

    #unit-features .feature-img {
      width: 115px;
      padding: 3px 0px;
      margin: 0px;
    }

    #unit-features .feature {
      padding: 5px;
    }
  }
}

@media (max-width: 768px) {
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
    gap: 20px;
    justify-items: center;
  }

  /* Center the last item (5th) */
  .partners-grid .partner-item:last-child {
    grid-column: 1 / -1; /* span across both columns */
    justify-self: center; /* center horizontally */
  }

  .partner-item img {
    width: 170px; /* fixed size for consistency */
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background-color: #0b2460; /* theme color */
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: all 0.3s ease-in-out;
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
}

/* Hover effect */
.back-to-top:hover {
  background-color: #1a3a85;
  transform: scale(1.1);
}

.d-flex.align-items-center.mb-2.slide-right.visible {
  gap: 10px;
}

h3.text-uppercase {
  padding: 25px 0px;
}

#features h3 {
  font-weight: bold;
}

img.img-fluid.rounded {
  margin-top: 20px;
}

.features-grid {
  overflow-y: hidden; /* stops vertical flicker from scaling */
}

.inquiry-form.slide-right.visible {
  background: #373f55;
}
@media (max-width: 768px) {
  #heroCarousel .carousel-item img.mobile-adjust {
    max-height: 25vh; /* shrink image to 70% viewport height */
    width: auto; /* keep natural aspect ratio */
    object-fit: contain;
    margin: auto;
    display: block; /* centers the image */
  }
}

@media (max-width: 768px) {
  #partners .partner-card img {
    object-fit: contain;
    height: auto;
    max-height: 250px; /* keep card height manageable */
  }

  #partners .partner-front {
    height: auto; /* allow card to resize */
  }
}

.sample-flat-grid .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.sample-flat-grid .item img {
  max-width: 100%;
  height: auto; /* allow image to scale naturally */
  max-height: 180px; /* control size so text has space */
  object-fit: contain;
  margin-bottom: 8px; /* add spacing for the <p> */
}

.sample-flat-grid .item p {
  display: block;
  font-size: 16px;
  color: #333;
  text-align: center;
  margin: 0; /* prevent extra space collapsing */
}

@media (max-width: 768px) {
  .sample-flat-grid {
    grid-template-columns: 1fr 1fr; /* 2 per row on mobile */
  }
  .sample-flat-grid .item img {
    max-height: 140px; /* make image smaller */
  }
  .sample-flat-grid .item p {
    font-size: 14px; /* slightly smaller caption */
  }
}


.modal-content {
  border-radius: 20px;
  padding: 10px;
}

.modal-header .btn-close {
  filter: invert(0.6); /* Makes close button more visible */
}

.modal-fullscreen .modal-content {
    height: 90%;
    border: 0;
    border-radius: 0;
}


.rounded-pill {
    border-radius: var(--bs-border-radius-pill) !important;
    background-color: #373f55;
}

.form-check-input:checked {
    background-color: #373f55;
    border-color: #0d6efd;
}

.form-check-input {
    --bs-form-check-bg: #bebfc575;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: .25em;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: var(--bs-border-width) solid var(--bs-border-color);
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}


