:root {
  --accent: #c33846;
  --muted: #a8a8a8;
  --test: #456;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Momo Trust Sans", sans-serif;
  font-weight: 300;
}
body {
  font-size: 1em;
  font-weight: 300;
  /* background-image: url("../images/pattern.svg");
  background-repeat: repeat;
  background-size: 20px; */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}
h1 {
  font-optical-sizing: auto;
  font-weight: 400 !important;
  text-transform: uppercase;
  font-style: normal;
}
h2 {
  font-weight: 400;
  text-transform: uppercase;
}
h4 {
  font-weight: 300;
  margin-bottom: 2rem;
}
.bg-info {
  background-color: #b2d6d8 !important;
}
.bg-primary {
  background-color: #0c4c89 !important;
}
.lead {
  font-size: 1.5rem;
}
.box {
  border-radius: 50px;
}
.btn {
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 1px;
  transition: all 0.6s ease;
  padding: 8px 20px;
}
.btn-primary {
  background: #0c4c89;
  border-color: #0c4c89;
}
.container-fluid {
  width: 90%;
}

.navbar-toggler,
.navbar-toggler:focus {
  border: none;
  box-shadow: none;
}
.navbar {
  transition: all 0.8s ease;
  background: transparent;
}

.navbar .btn {
  font-size: 1em;
  letter-spacing: 0;
  text-transform: none;
}
.navbar-brand img {
  height: 70px;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled .navbar-brand img {
  height: 50px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
}
.hero-img img,
.hero-img video {
  width: 100%;
  border-radius: 50px;
  margin: 100px 0;
  height: calc(100vh - 200px);
  object-fit: cover;
}
.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 29%);
  z-index: 0;
  display: none;
}
.hero-video {
  height: 100vh;
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: -2;
}
.about-hero {
  overflow: hidden;
  position: relative;
}
/* .about-hero::before {
  content: "";
  position: absolute;
  background: #dc3545;
  right: -50%;
  bottom: 20%;
  width: 150%;
  height: 150%;
  transform: rotate(69deg);
  z-index: -1;
} */
.hero-cta {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}
.hero-content .set-2 {
  opacity: 0;
  position: absolute;
  transition: none;
  width: 90%;
}
.feature-card {
  background: #fff;
  color: #000;
  min-height: 300px;
  align-items: center;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding-top: 40px !important;
}
.wmax {
  max-width: 200px;
}

/* Stats Styling */
.stat-box {
  transition: background 0.3s ease;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-number {
  line-height: 1;
}

.stat-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 300;
}

.process-row {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.6s ease-in-out;
  color: #fff;
}
#processSlider span {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Backgrounds */
.step-1-bg {
  background-image: url("/images/process-1.jpg");
}
.step-2-bg {
  background-image: url("/images/process-2.jpg");
}
.step-3-bg {
  background-image: url("/images/process-3.jpg");
}
.step-4-bg {
  background-image: url("/images/process-4.jpg");
}

.btn-accent {
  /* background: var(--accent); */
  color: #fff;
}
.btn:hover {
  background: #125795;
  color: #fff;
  border-color: #125795;
}
.ratio {
  border-radius: 20px;
  overflow: hidden;
}
#projects img {
  border-radius: 10px;
  transition: transform 0.4s ease;
}

#projects img:hover {
  transform: scale(1.05);
}
/* #why-choose i {
  background: var(--accent);
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  font-size: 34px;
  margin-bottom: 2rem;
  display: inline-block;
} */
/* Section Navigation Dots */
.nav-dots {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.nav-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.nav-dots .dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

.nav-dots .dot.active {
  background: linear-gradient(135deg, var(--accent), #ff874a);
  width: 12px;
  height: 12px;
}

/* Tooltip (title replacement) */
.nav-dots .dot::after {
  content: attr(title);
  position: absolute;
  right: 150%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.nav-dots .dot:hover::after {
  opacity: 1;
}
.styled {
  max-width: 400px;
}

.styled li {
  background: url(../images/check.svg) no-repeat left 5px / 15px;
  padding-left: 20px;
  text-align: left;
}
.strip-img {
  border-radius: 10px;
  width: 100%;
}
/* Case Studies Section */
#case-studies {
  background: #f8f9fa;
}

/* Carousel card */
#case-studies .card {
  border-radius: 1.25rem;
  background: #ffffff;
}

/* Title */
#case-studies h5 {
  font-size: 1.25rem;
  line-height: 1.4;
}

/* Body copy */
#case-studies p {
  font-size: 1rem;
  line-height: 1.7;
}
.slide-content {
  padding: 20px;
}
/* Carousel controls */
#case-studies .carousel-control-prev,
#case-studies .carousel-control-next {
  width: 6%;
  opacity: 1;
}

#case-studies .carousel-control-prev-icon,
#case-studies .carousel-control-next-icon {
  opacity: 1;
}

/* Indicators (dots) */
#case-studies .carousel-indicators {
  gap: 3px;
  position: relative;
  margin-top: 40px;
}

#case-studies .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  opacity: 1;
}
.case-study-img {
  width: 100%;
  border-radius: 15px;
}
#case-studies .carousel-indicators .active {
  background-color: #0c4c89; /* Bootstrap primary */
}

/* Smooth transitions */
#case-studies .carousel-item {
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}
.download a {
  min-height: 150px;
}
/* Responsive padding */
@media (max-width: 768px) {
  #case-studies .card {
    padding: 2rem 1.5rem;
  }
}

#team {
  background: #000;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #000 !important;
}
.tab-pane img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .tab-pane img {
    width: 120px;
    height: 120px;
  }
}

.full-height-row {
  height: 100vh;
  display: flex;
}

.service-col {
  display: flex;
  flex: 1;
  transition: flex 0.5s ease;
}

.service-col:hover {
  flex: 1.2; /* expands this column */
}

.service-card p {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100%;
  transition: all 0.5s ease;
  justify-content: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease;
}

.service-card:hover::before {
  background: rgba(0, 0, 0, 0.5);
}

.service-card.cfo {
  background-image: url("../images/cfo-bg.jpg");
}

.service-card.contractors {
  background-image: url("../images/contractors-bg.jpg");
}

.service-card.citymanagers {
  background-image: url("../images/citymanagers-bg.jpg");
}

.service-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.collapse p {
  color: #ddd;
  line-height: 1.5;
}

.section-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.work-list li {
  margin-bottom: 0.5rem;
}
#team .team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.6rem;
  background: transparent; /* removed dark/solid background */
  box-shadow: none;
}
.team-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.team-section .row.g-4 {
  align-items: stretch;
}

.team-section .p-3 {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 30, 50, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-section .p-3:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 30, 50, 0.12);
}

.team-section h3 {
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 600;
}
.team-section .about-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 30, 50, 0.08);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  align-self: start;
}
.fade-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0px;
}

.fade-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.about-hero .row {
  min-height: 80vh;
}
.about-hero .hero-img {
  height: 80vh;
}
.about-hero .hero-img img {
  margin: 0;
  border-radius: 0;
}
.fade-slider .slide.active {
  opacity: 1;
}

.about-page ul,
.about-hero ul,
.container-fluid ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.about-img {
  height: 170px;
  width: 170px;
  object-fit: cover;
}
.about-page li,
.about-hero li,
.container-fluid li {
  margin-bottom: 0.5rem;
}
@media (min-width: 992px) {
  .team-card {
    align-items: center;
  }
}

/* Footer / Contact */

footer .btn:focus,
footer .btn:active,
footer .btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

footer a:hover {
  text-decoration: underline;
}

.btn-accent {
  background-color: #f7b500;
  color: #000;
  border: none;
}

.btn-accent:hover {
  background-color: #ffc107;
  color: #000;
}

.small-muted {
  color: var(--muted);
  font-size: 0.95rem;
}
.parallax-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-section .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* taller than section to allow parallax */
  background-size: cover;
  background-position: center top;
  z-index: -1;
}

.parallax-content {
  position: relative;
  z-index: 2;
}

/* Scroll smooth */
html {
  scroll-behavior: smooth;
}

#contact {
  background-color: #f8f9fa;
}
.contact-hero-section:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, transparent, 40%, transparent, #ffffffcc);
  z-index: 0;
}
.contact-hero-section {
  padding: 250px 0 50px;
  text-align: center;
  margin-bottom: 100px;
  background: url(../images/solution-bg.jpg) center center/cover no-repeat;
  position: relative;
}
#contact h2 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
/* floating labels that sit on the input border */
.contact-form-card .floating-group {
  position: relative;
  margin-bottom: 1rem;
}

.contact-form-card .floating-group input,
.contact-form-card .floating-group textarea {
  width: 100%;
  padding: 1.25rem 0.75rem 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
}

.contact-form-card .floating-group textarea {
  padding-top: 1.25rem;
  min-height: 120px;
  resize: vertical;
}

.contact-form-card .floating-group label {
  position: absolute;
  left: 0.85rem;
  top: 0.8rem;
  padding: 0 0.35rem;
  background: #fff;
  color: #6c757d;
  transition: all 0.12s ease-in-out;
  pointer-events: none;
  font-size: 0.95rem;
}

.contact-form-card .floating-group input:focus,
.contact-form-card .floating-group textarea:focus {
  outline: none;
  border-color: rgba(13, 110, 253, 0.9);
  box-shadow: none;
}

/* move/scale label when input has content or focus */
.contact-form-card .floating-group input:focus + label,
.contact-form-card .floating-group textarea:focus + label,
.contact-form-card .floating-group input:not(:placeholder-shown) + label,
.contact-form-card .floating-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 0.65rem;
  font-size: 0.75rem;
  color: rgba(13, 110, 253, 0.9);
  background: #fff;
}
.contact-info h4 {
  font-weight: 600;
}

.map-container {
  width: 100%;
  overflow: hidden;
}

.contact-form-wrapper h2 {
  font-weight: 500;
}
.contact-form-wrapper .form-control {
  border-radius: 0;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.contact-form-wrapper .form-control:focus {
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
  border-color: #007bff;
}

.contact-info h4 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 400;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
}

.google-review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.google-review img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
}

.google-review .name {
  font-weight: 600;
  font-size: 15px;
}

.google-review .rating {
  color: #fbbc04;
  margin-bottom: 6px;
}

.google-review .text {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.google-review .time {
  font-size: 12px;
}

.google-logo {
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-size: 13px;
}

.google-logo img {
  /* width: 36px; */
  margin-left: 4px;
}
body:before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 10px;
  height: 100vh;
  background: #dc3545;
  z-index: 1;
}
.hanger {
  margin-top: -50px;
  z-index: -1;
  position: relative;
  padding: 100px 50px 50px;
}
section#reviews {
  z-index: 1;
  position: relative;
}
.btn:focus,
.btn:active,
.btn:focus-visible,
.accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}
.carousel-control-next {
  right: -50px;
}
.carousel-control-prev {
  left: -50px;
}
.navbar-toggler,
.navbar-toggler:focus {
  background: #0c4c89;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* Responsive tweaks */
@media (max-width: 1199px) {
  .btn {
    font-size: 1em;
  }
  .hero-content {
    margin-top: 150px;
    margin-top: 150px;
    position: relative;
  }
  .hero-content .set-2 {
    top: 170px;
  }
}
@media (max-width: 991px) {
  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
    background: #fff;
    position: absolute;
    width: calc(100% - 10px);
    left: 10px;
    padding-left: 30px;
    top: 90px;
  }
  .scrolled .navbar-collapse {
    top: 76px;
  }
  .navbar-nav {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  .display-4 {
    font-size: 7vw;
  }
  .lead {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  #case-studies .carousel-control-next,
  #case-studies .carousel-control-prev {
    display: none;
  }
  main {
    padding-left: 10px;
  }
  .hero-video {
    min-height: 100%;
  }
  .hanger {
    padding: 100px 10px 0px;
  }
}
@media (min-width: 1200px) {
  .hero-content {
    position: relative;
    overflow: hidden;
    height: 100vh;
  }
  .about-hero .hero-content {
    height: auto;
  }
}
@media (max-width: 580px) {
  .btn {
    width: 100%;
  }
}
