
.card {
  flex: 1 1 45%;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  min-width: 300px;
}

/* Force Recent Blog Posts section to stack vertically */
#recent-blog-posts-section .container {
  display: block !important; /* overrides any flex applied globally */
}

#recent-blog-posts-section h2,
#recent-blog-posts-section p {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

/* calculator + portfolio styles */
h3 { margin-bottom: 10px; font-size: 25px; }
select, label { font-size: 20px; margin: 8px 0; }

.checkbox-group { display: flex; flex-direction: column; gap: 5px; }
.checkbox-item { display: flex; align-items: center; justify-content: space-between; }
.checkbox-item select { margin-left: 10px; }

.total-card {
  flex: 1 1 100%;
  border: 2px solid #333;
  padding: 20px;
  border-radius: 10px;
  background: #f9f9f9;
  margin-bottom: 20px;
}

.itemized { margin-top: 10px; font-size: 20px; }
.itemized div { margin-bottom: 10px; }

.portfolio-img {
  height: 250px;
  object-fit: fill;
  width: 100%;
}

/* lists & sections */
ul li {
  font-size: 30px;
  margin-bottom: 30px;
}

ul { margin-top: 80px !important; }

.process {
  font-size: 50px;
  margin-top: 150px;
  margin-bottom: 20px;
}

.contact {
  font-size: 25px !important;
  margin-top: 20px;
  color: white !important;
  margin-bottom: 20px;
  font-weight: 500 !important;
  transition: all 0.3s ease;
}

.contact:hover {
  background-color: #ffffff !important;
  color: rgb(0, 0, 0) !important;
  text-decoration: none !important;
  transform: translateY(-2px);
}

.packages { font-size: 20px !important; }
.packagecontainer { width: 100% !important; }

.started:hover {
  background-color: #f0eeee !important;
  color: black !important;
  cursor: pointer;
}

/* form button */
#contactForm button[type="submit"] {
  background-color: #ffffff;
  color: #000;
  border-radius: 50px;
  padding: 10px 40px;
  font-weight: bold;
  transition: all 0.3s ease;
}

#contactForm button[type="submit"]:hover {
  background-color: #a8aaad;
  color: #ffffff !important;
  transform: translateY(-2px);
}


/* Flex container for horizontal cards */
.package-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Make each card take equal width on desktop, full width on mobile */
.package-card {
  flex: 1 1 350px;
  max-width: 700px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  background-color: #1a1a1a42;
}


/* Text sizing */
.package-description {
  font-size: 18px;
}

.package-price {
  font-size: 20px;
  font-weight: bold;
}

.package-title {
  font-size: 28px;
  font-weight: bold;
}

.packages-header {
  font-size: 36px;
}

/* Buttons */
.package-card .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
  .package-card {
    flex: 1 1 45%;
    max-width: 100%;

      .process-flow {
    flex-wrap: wrap;
  }
  .process-track {
    animation: none;
    justify-content: center;
  }
  .process-step {
    flex: 0 0 90%;
    margin-bottom: 30px;
  }
  .process-flow-wrapper::before {
    display: none;
  }
  .row{
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

  }
}

/* mobile layout rules for homepage cards, forms, etc. */
@media (max-width: 576px) {
  ul.navbar-nav { margin-top: 30px !important; }
  ul li { font-size: 1.2em; margin-bottom: 5px; }

  .estimate-container,
  .tier-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 15px;
    padding: 0 10px;
  }

  .card {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    padding: 1rem;
    box-sizing: border-box;
  }

  select, label {
    font-size: 0.9em;
    width: 100%;
  }

  .checkbox-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkbox-item select {
    margin: 5px 0 0;
    width: 100%;
  }
    .package-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  ul.navbar-nav { margin-top: 20px !important; }
  ul li { font-size: 1.3em; margin-bottom: 10px; }

  .estimate-container,
  .tier-row {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 20px;
    padding: 0 15px;
  }

  .card {
    flex: 1 1 calc(50% - 20px);
    min-width: 250px;
    max-width: 100%;
    box-sizing: border-box;
  }
}
