  :root {
    --main-bg-color: linear-gradient(to right, #6dd5ed, #2193b0);
  }

  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
  }

  .footer {
    flex-shrink: 0;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background: var(--main-bg-color);
    color: #fff;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }

  .sidebar .nav-link {
    color: #fff;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }

  .sidebar .nav-link:hover {
    color: #e7e7e7;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .sidebar-sticky {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .sidebar-sticky .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .social-icons a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    font-size: 20px;
    transition: transform 0.2s ease-in-out;
  }

  .sidebar .nav-link.active {
    font-weight: bold;
    padding-left: 15px;
  }

  .social-icons a:hover {
    transform: scale(1.2);
  }

  #home {
    background-color: #fff;
    width: 100%;
  }

  .licensed-insured-callout {
    background-color: #ffffff33; 
    color: #fff; 
    text-align: center;
    font-size: 14px; 
    font-weight: bold; 
    width: 100%;
    padding: 12px 0; 
    margin: auto;
    margin-bottom: 20px;
    font-style: italic;
  }

  .nav-schedule-service {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 10px 0;
    margin: 35px auto 0;
    color: #fff;
    background-color: #1e5875; 
    width: 90%;
    text-align: center;
    font-weight: bold;
    border-radius: 5px; 
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out; /* Apply transitions */
    text-decoration: none;
  }

  .nav-schedule-service:hover {
    background-color: #fff; 
    color: #2193b0; 
    transform: scale(1.05); 
    text-decoration: none;
  }

  .nav-schedule-service i {
    margin-right: 6px;
  }

  .call-to-action {
    background-color: #fff; 
    color: #2193b0;
    padding: 10px 20px;
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
  }

  .call-to-action:hover {
    background-color: #2193b0;
    color: #fff;
  }

  .main-content {
    margin-left: 250px; /* Width of the sidebar */
    box-sizing: border-box;
  }

  .navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px 12px 0px;
    margin: auto;
  }

  .navbar-brand img {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 200px;
    width: auto;
  }

  .navbar-brand img:hover {
    opacity: 0.9;
    transform: scale(1.01);
  }

  .nav-logo-subtitle {
    color: #fff;
    font-style: italic;
    text-align: center;
    font-size: 14px; /* Smaller font size for mobile */
  }

  .hero-section { background: var(--main-bg-color); }

  .services-section {
    background: linear-gradient(to bottom, #f4f7f6, #e0e9f1);
    padding: 40px 0;
  }

  .service-item {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; 
  }

  .services-section h2 {
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 20px;
  }

  .service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 1;
    transition: left 0.5s;
  }

  .service-item:hover::before {
    left: 100%;
  }

  .service-item i {
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 15px;
  }

  .service-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;
  }

  .service-item .icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }

  .service-item:hover { 
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }

  .services-button {
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    color: #fff;
    padding: 12px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }

  .services-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
  }


/* All Services List - services-list.php */

.service-list-section {
  background: linear-gradient(to bottom, #e0e9f1, #f4f7f6);
  padding: 20px 0;
}

.service-list-heading {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 2.5rem;
  margin: 40px auto 20px;
}

.service-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;  /* Adjust as needed */
}

.service-list-item {
  display: flex;
  align-items: center;
  background-color: #f7fafc;
  padding: 20px;
  margin: 5px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  cursor: pointer;
  text-align: left;
}

.service-list-item span:last-child {
  font-weight: 600;
}

.service-list-icon {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 10px;
}

.service-list-item:hover {
  background-color: #6dd5ed;
  color: #fff;
  cursor: default;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.service-list-item:hover .service-list-icon {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
}

.service-list-item span {
  font-size: 14px;
}

.service-list-description {
  display: none;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

.service-list-item.active .service-list-description {
  display: block;
}

.service-category {
  margin-bottom: 40px;
  text-align: center;
}

.service-category h3 {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}


/* Introduction Card Styling */
.intro-card {
  background: linear-gradient(to right, #ffffff, #e6f0f8);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  padding: 20px;
  margin: 20px auto 70px;
  max-width: 960px;
  display: flex;
  flex-direction: column; /* Change to column for better vertical alignment */
  align-items: center;
  justify-content: space-around; /* Adjust spacing within the card */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.intro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.intro-content {
  text-align: center;
  margin-bottom: 10px; /* Add some space below intro text */
}

.intro-card p {
  color: #204056;
  font-size: 18px;
  font-weight: 500;
}

.selling-points {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 20px 0;
}

.selling-points li {
  color: #4a6572;
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease; /* Smooth transition for color change */
}

.selling-points li:hover {
  color: #6dd5ed; /* Change color on hover */
}

.selling-points i {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  margin-right: 10px;
}

.cta-button {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  color: white;
  border-radius: 50px;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(to right, #2193b0, #6dd5ed);
  transform: scale(1.05);
}

/* New Request Styling */
.request-service-section {
  background: linear-gradient(to bottom, #e0e9f1, #f4f7f6);
  padding: 50px 0; 
}

.request-service-heading {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin: 0 auto;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.request-service-section p {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 35px;
}



/* Portfolio Styling */

.portfolio-section {
  background: linear-gradient(to bottom, #e0e9f1, #f4f7f6);
}

.portfolio-heading {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin: 0 auto;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item-image {
  position: relative;
}

.portfolio-item-overlay.single-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-item-overlay.single-image {
  opacity: 1;
}

.portfolio-item-details {
  text-align: center;
  color: #fff;
}

.contact-section { background: #f4f7f6; }

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  transition: box-shadow 0.3s ease-in-out;
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, #6dd5ed, #2193b0) 1;
}

.contact-section input:focus,
.contact-section textarea:focus {
  transition: opacity 0.3s ease-in-out;
  outline: none;
  box-shadow: 0 0 5px rgba(109, 213, 237, 0.8);
  border-image: linear-gradient(to right, #2193b0, #6dd5ed) 1;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #999;
}

.contact-section button[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-section button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #2193b0, #6dd5ed);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

.contact-section button[type="submit"]:hover::before {
  opacity: 1;
}

.contact-section h2 {
  transition: opacity 0.3s ease-in-out;
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.contact-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-section ul li {
  margin-bottom: 10px;
  color: #333;
}

.contact-section ul li i {
  color: #6dd5ed;
  margin-right: 10px;
}

.contact-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.contact-section table td {
  padding: 10px;
  border: 1px solid #ddd;
  color: #333;
}

.contact-section table td:first-child {
  font-weight: bold;
  color: #2193b0;
}

.contact-section table tr:nth-child(even) {
  background-color: #f4f7f6;
}

.about-section { 
  background: linear-gradient(to bottom, #e0e9f1, #f4f7f6);
  padding: 80px 0;
}

.about-section h2 {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  font-size: 36px;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
}

.about-section p {
  font-size: 18px;
  line-height: 1.8;
}

.about-section p:first-child::first-letter {
  font-size: 24px;
  font-weight: bold;
  color: #2193b0;
}

.divider {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  height: 2px;
  margin: 20px 0;
  margin-top: 35px;
  width: 65%;
}


.about-section .card {
  border: none;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

#more-text,
#more-text-continued,
#more-text-continued-2,
#more-text-continued-3 {
  display: none;
}

#read-more-link {
  color: #2193b0;
  cursor: pointer;
  text-decoration: underline;
  font-weight: bold;
}

.about-section i {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 24px;
  transition: color 0.3s ease-in-out;
}

.about-section-cards {
  background: var(--main-bg-color);
  padding: 10px 0;
}

.about-section .card:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}

.about-section .card-title {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.about-section .card-text {
  color: #000;
}

.blockquote {
  font-size: 24px;
  font-style: italic;
  background-color: #f9f9f9;
  border-left: 4px solid #2193b0;
  padding: 20px;
  margin: 30px 0;
  position: relative;
}

.blockquote::before {
  content: "\201C";
  font-size: 60px;
  color: #2193b0;
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: 'Georgia', serif;
}

.blockquote p {
  margin-bottom: 10px;
}

.blockquote .blockquote-footer {
  font-size: 18px;
  color: #777;
  margin-top: 10px;
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.profile-img:hover {
  transform: scale(1.05);
  border-color: #6dd5ed;
  transition: border-color 0.3s ease-in-out;
}

.compact-card {
  padding: 15px; 
  margin: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.compact-card .card-body {
  padding: 10px;
}

.compact-card .card-title {
  font-size: 18px;
}

.compact-card .card-text {
  font-size: 14px;
}


.card { border: none; }

.card-title { color: #2193b0; }

.card-text { color: #6dd5ed; }

.about-section .card {
  text-align: center;
}

.parent-container {
  text-align: center;
}

.review-section-container {
  background: linear-gradient(to bottom, #f4f7f6, #e0e9f1);
  display: flex;
  justify-content: center;
}

.review-item {
  display: none;
  text-align: center;
  padding: 0 20px;
}

.review-item.active {
  display: block;
}

.review-stars {
  color: #f1c40f;
  margin-bottom: 10px;
}

.review-text {
  font-style: italic;
  margin-bottom: 15px;
  font-size: 16px;
}

.review-author {
  font-weight: bold;
}

.review-faq-section {
  background: linear-gradient(to bottom, #e0e9f1, #f4f7f6);
}

.faq-review-section {
  background-color: #f4f7f6;
  padding: 80px 0;
}

.review-section {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 60px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section {
  padding: 40px;
  width: 100%; 
}

.row::after {
  content: "";
  display: table;
  clear: both;
}


.faq-section h2,
.review-section h2 {
  text-align: center;
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  font-size: 36px;
  margin-top: 10px;
  margin-bottom: 25px;
}

.faq-container {
  background-color: transparent; 
  margin-top: 20px;
  width: 100%; 
}

.faq-item {
  background-color: #2193b0; 
  color: #fff;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  background-color: #1b7c9b; 
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  padding: 0 15px; 
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6; 
}

.faq-toggle {
  font-size: 18px;
  transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.compact-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  margin-bottom: 30px;
}

.compact-card:hover {
  transform: translateY(-5px);
}

.compact-card .card-body {
  padding: 30px;
}

.compact-card i {
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.compact-card .card-title {
  font-size: 20px;
  margin-bottom: 15px;
}

.compact-card .card-text {
  font-size: 14px;
}

.contact-button {
  position: fixed;
  bottom: 85px;
  right: 10px;
  background-color: #2193b0;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease-in-out;
  z-index: 1000;
}

.contact-button:hover {
  background-color: #1b7c9b;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  bottom: 145px;
  right: 10px;
  background-color: #2193b0;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 999;
  cursor: pointer;
  font-size: 20px;
  display: none;
  outline: none;
  border: none;
  overflow: hidden;
}

.back-to-top:focus {
  outline: none !important;
  box-shadow: none !important;
}

.back-to-top:hover {
  background-color: #1b7c9b;
  color: #fff;
  font-size: 22px;
}

.back-to-top::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.4);
  animation: none;
}

.back-to-top.ripple::after {
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 1.2s;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* --- Articles: Buttons & Links --- */
.article-section {
    background: linear-gradient(to bottom, #f4f7f6, #e0e9f1);
  }

.cta-article-button,
.article-readmore {
  background-color: #4da7e8;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  line-height: 1.2;
}

.cta-article-button:hover {
  background-color: #358cc5;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.article-readmore {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  padding: 10px 0;
  margin: 35px auto 0;
  background-color: #2193b0;
  width: 90%;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.article-readmore:hover {
  background-color: #1e5875;
  transform: scale(1.05);
}

.article-readmore i {
  margin-right: 6px;
}

.article-readmore.btn {
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* --- Article Links --- */
.article-links a,
.newsletter-link a {
  color: #17a2b8;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.article-links a:hover,
.newsletter-link a:hover {
  color: #2193b0;
}

/* --- Article Layout --- */
.article-content {
  /*padding: 20px;*/
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
  /*max-width: 850px;*/
  margin: 0 auto;
}

.article-header {
  margin-bottom: 25px;
}

.article-title {
  color: #2193b0;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.article-intro {
  font-size: 1.2rem;
  color: #555;
}

.article-subheading {
  color: #343a40;
  font-size: 1.5rem;
  border-bottom: 3px solid #4da7e8;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 1.5rem;
}

/* --- Article Lists & Body --- */
.article-body ul {
  list-style: disc inside;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.article-body ul li {
  margin-bottom: 0.5rem;
}

.article-list {
  padding-left: 20px;
}

.article-intro,
.article-list li {
  margin-bottom: 1rem;
}

.article-callout {
  background-color: #f0faff;
  border: 1px solid #cce7ff;
  border-left: 4px solid #2193b0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(33, 147, 176, 0.15);
}

/* --- Article Card Animation --- */
.article-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.article-card.visible {
  opacity: 1;
  transform: translateY(0);
}

#articleContainer h5 {
  color: #2193b0;
}

/* --- Search Input --- */
#searchForm .form-control {
  border: 2px solid #2193b0;
  color: #2193b0;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  height: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  min-width: 240px;
  max-width: 300px;
}

/* On focus: use same soft highlight as buttons */
#searchForm .form-control:focus {
  border-color: #2193b0;
  box-shadow: 0 0 0 0.15rem rgba(33, 147, 176, 0.25);
  outline: none;
}

/* --- Sort + Filter Inputs --- */
#searchForm .form-control,
#searchForm .form-select,
#searchForm #clearFilter,
.article-sort,
.article-clear-btn {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  height: 40px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

#searchForm .form-control,
#searchForm .form-select {
  min-width: 200px;
  max-width: 300px;
}

#searchForm select:focus,
#searchForm input:focus,
.article-sort:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

#searchCount {
  display: none;
}

/* --- Clear Filter & Sort Button Styling --- */
#searchForm .form-select,
#clearFilter {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  height: 42px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border: 2px solid #2193b0;
  color: #2193b0;
  background-color: #fff;
}

#clearFilter {
  display: none;
}


/* Clear button hover effect */
#clearFilter:hover {
  background-color: #2193b0;
  color: #fff;
  border-color: #2193b0;
}

/* Sort dropdown focus effect */
#searchForm .form-select:focus {
  border-color: #2193b0;
  box-shadow: 0 0 0 0.15rem rgba(33, 147, 176, 0.25);
}

/* Optional: align them better if wrapping happens on mobile */
#searchForm {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}



/* --- Tags --- */
.badge {
  font-size: 0.75rem;
  white-space: nowrap;
  margin-right: .25rem;
}

.tag-active {
  background-color: #2193b0 !important;
  color: white !important;
  border-color: #2193b0 !important;
}

/* --- Drag and Drop Upload --- */
#drop-area,
.upload-box {
  border: 2px dotted #ccc !important;
  background-color: #fdfdfd;
  transition: background-color 0.3s ease;
}

#drop-area.dragover {
  background-color: #eef;
}

.social-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #e9f3ff;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-decoration: none; /* ✅ Prevents underline */
}

.social-share a:hover {
  background-color: #007bff;
  transform: translateY(-2px);
  text-decoration: none; /* ✅ Prevents underline on hover */
}

.social-share a i {
  color: #007bff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-share a:hover i {
  color: white;
}

.copy-link-btn {
  position: relative;
}

/* Hover effect */
.copy-link-btn:hover {
  background-color: #007bff; 
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.copy-link-btn:hover i {
  color: #fff;
  transform: scale(1.15);
  transition: color 0.3s ease, transform 0.2s ease;
}

.copy-link-btn.copied i {
  animation: copiedPop 0.3s ease;
  color: #fff !important;
}

/* Pop effect */

@keyframes copiedPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Footer  */

.footer {
  background-color: #333;
  color: #f4f7f6;
  padding: 1rem 0;
  text-align: center;
}

.footer-text {
  margin: 0;
}

.footer-text .separator {
  margin: 0 10px;
}

.footer-text .designer a {
  color: #6dd5ed;
  text-decoration: none;
}

.footer-text .designer a:hover {
  text-decoration: none;
  color: #4095c6;
}

.separator {
  display: inline;
}

.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  z-index: 9999;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.image-slide.active {
  opacity: 1;
}

@keyframes slideShow {
  0%, 100% { opacity: 0; }
  3%, 9.09% { opacity: 1; }
}

.image-slide:nth-child(1) { animation-delay: 0s; }
.image-slide:nth-child(2) { animation-delay: 3s; }
.image-slide:nth-child(3) { animation-delay: 6s; }
.image-slide:nth-child(4) { animation-delay: 9s; }
.image-slide:nth-child(5) { animation-delay: 12s; }
.image-slide:nth-child(6) { animation-delay: 15s; }
.image-slide:nth-child(7) { animation-delay: 18s; }
.image-slide:nth-child(8) { animation-delay: 21s; }
.image-slide:nth-child(9) { animation-delay: 24s; }
.image-slide:nth-child(10) { animation-delay: 27s; }
.image-slide:nth-child(11) { animation-delay: 30s; }

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.visitor-log-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  font-size: 0.95rem;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.visitor-log-table thead th {
  background: linear-gradient(to right, #1fa2ff, #12d8fa);
  color: #fff;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px 8px 0 0;
  text-align: left;
  white-space: nowrap;
}

.visitor-log-table th,
.visitor-log-table td {
  padding: 12px 14px;
  word-wrap: break-word;
}

.visitor-log-table .last-visit {
  font-weight: 500;
  color: #444;
  font-size: 0.85rem;
  margin-left: 6px;
  font-style: italic;
}


.visitor-log-table .ip-toggle {
  margin-top: 4px;
  margin-bottom: 2px;
  background-color: #e9f7fd;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #d0ebf5;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.visitor-log-table .ip-toggle:hover {
  background-color: #d4f0fb;
}

.visitor-log-table .log-entry {
  background-color: #fff;
  font-size: 0.87rem;
  border: 1px solid #e2e6ea;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
}

.visitor-log-table .log-entry td {
  padding: 10px 12px;
}

.visitor-log-table .sub-row-icon {
  text-align: center;
  width: 30px;
  color: #ccc;
  font-size: 1rem;
  padding-top: 6px;
}

.visitor-log-table .d-none {
  display: none;
}

.visitor-log-table .log-entry:nth-child(even) {
  background-color: #f7fbfd;
}


.chevron {
  display: inline-block;
  font-size: 1rem;
  margin-right: 6px;
  color: #1e88e5;
  vertical-align: middle;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.ip-toggle.open .chevron {
  transform: rotate(90deg);
}

/* --- Contact Blocker --- */
.block-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: #f9f9f9;
  border: 2px solid #c8e6c9;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.block-success {
  font-size: 1.1rem;
  color: #2e7d32;
  margin-bottom: 20px;
}

.ip-highlight {
  color: #1e88e5;
  font-weight: bold;
}

.reason-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.reason-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.reason-form textarea {
  resize: vertical;
  font-size: 1rem;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, background-color 0.3s;
}

.reason-form textarea:focus {
  border-color: #1e88e5;
  outline: none;
  background-color: #f0faff;
}

.reason-form button {
  align-self: flex-start;
  padding: 10px 18px;
  background-color: #1e88e5;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reason-form button:hover {
  background-color: #1565c0;
}

/* Container for success block */
.block-container.success {
  max-width: 500px;
  margin: 60px auto;
  padding: 25px;
  background-color: #ffffff;
  border: 1px solid #c6ecc6;
  border-left: 5px solid #4CAF50;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.4s ease-in-out;
}

/* Success message text */
.block-success {
  color: #2e7d32;
  font-size: 16px;
  margin-bottom: 20px;
}

.ip-highlight {
  color: #2196F3;
}

/* Reason form */
.reason-form .form-group {
  margin-bottom: 20px;
}

.reason-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

textarea#reason {
  width: 100%;
  font-size: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  transition: box-shadow 0.2s ease;
}

textarea#reason:focus {
  outline: none;
  box-shadow: 0 0 0 2px #99caff;
}

/* Submit button */
.reason-form button[type="submit"] {
  background-color: #2196F3;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reason-form button[type="submit"]:hover {
  background-color: #1976D2;
}

/* Message styling for fallback or updates */
/*p {
  max-width: 500px;
  margin: 40px auto;
  padding: 20px;
  font-size: 15px;
  border-radius: 8px;
  background-color: #fefefe;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}*/

/*p:has(strong),
p:has(span) {
  border-left: 5px solid #4CAF50;
  border: 1px solid #c6ecc6;
  color: #2e7d32;
}

p:has(.error),
p:has(.fail),
p:has(❌) {
  border-left: 5px solid #f44336;
  border: 1px solid #fbcaca;
  color: #b71c1c;
}

p:has(⚠) {
  border-left: 5px solid #ff9800;
  border: 1px solid #ffe0b2;
  color: #e65100;
}*/

/* New Request page styles */

/* Layout & type */
#serviceRequestForm .card-body { text-align: left; }
#serviceRequestForm .form-label { font-weight: 600; }
#serviceRequestForm .field-note { font-size: .93rem; color: #6c757d; }

/* Section headings */
#serviceRequestForm .section-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: .3px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: .3rem;
  margin-bottom: 1rem;
  color: #4095c6;
}

/* Dividers and spacing */
#serviceRequestForm hr { opacity: .15; margin: 1.5rem 0; }
#serviceRequestForm h2.h5 { margin-bottom: .75rem; }
#serviceRequestForm label.form-label { margin-bottom: .2rem; }
#serviceRequestForm input,
#serviceRequestForm textarea,
#serviceRequestForm select { margin-bottom: .3rem; }

/* Inputs */
#serviceRequestForm .form-control,
#serviceRequestForm .form-select { border-radius: .6rem; }

/* Checkboxes & radios */
#serviceRequestForm .form-check { margin-top: .3rem; }
#serviceRequestForm .form-check-input { margin-top: .25rem; }
#serviceRequestForm .form-check .form-check-label { font-weight: 400; }

/* File input */
#serviceRequestForm input[type="file"] { padding: .6rem; }

/* Card */
#serviceRequestForm .card {
  border-radius: 1rem;
  box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

/* Buttons */
#serviceRequestForm .btn {
  border-radius: .8rem;
  padding: .6rem 1.2rem;
  transition: all .2s ease;       /* one place, not on :hover */
}

/* Success alert (scoped lightly; drop the ID if you want global) */
.alert-success {
  border-radius: .5rem;
  border: 1px solid #b4e2b4;
  background-color: #e9f8e9;
  color: #256029;
  font-weight: 500;
  padding: .75rem 1rem;
  text-align: center;
}

/* --- Time-window pills fallback + polish --- */
#time-window-pills .btn-check {
  position: absolute !important;
  opacity: 0 !important;              /* hide native radios even if Bootstrap isn't loaded */
  pointer-events: none;
}

#time-window-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

/* Pill shape + spacing */
#time-window-pills .btn {
  border-radius: 999px;
  padding: .4rem 1rem;
  line-height: 1.2;
}

/* Selected state (filled) */
#time-window-pills .btn-check:checked + .btn {
  background-color: var(--bs-primary, #0d6efd);
  border-color: var(--bs-primary, #0d6efd);
  color: #fff;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/* Hover and focus polish */
#time-window-pills .btn:hover {
  filter: brightness(0.98);
}
#time-window-pills .btn:focus-visible {
  outline: 2px solid rgba(13,110,253,.35);
  outline-offset: 2px;
}

/* Disabled support (in case you need it later) */
#time-window-pills .btn-check:disabled + .btn {
  opacity: .6;
  pointer-events: none;
}

/* --- Fix/select polish for the State dropdown --- */
#serviceRequestForm .form-select {
  background-color: #fff;
  width: 100% !important;      /* force full width */
  display: block !important;   /* not inline */
  min-height: 44px;            /* match your inputs */
  padding: .6rem .9rem;
  border-radius: .6rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom caret */
  background-image:
    url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3e%3cpath d='M3 6l5 5 5-5' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 16px 16px;
  padding-right: 2.2rem; /* room for caret */
}

/* Focus ring to match other controls */
#serviceRequestForm .form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);
}

/* Keep inputs and selects consistent */
#serviceRequestForm .form-control { min-height: 44px; }

/* In case a global rule centers text in that column */
#serviceRequestForm .col-md-3 label,
#serviceRequestForm .col-md-3 .form-select { text-align: left; margin-left: 0; }



@media (max-width: 768px) {
  .visitor-log-table th,
  .visitor-log-table td {
    font-size: 12px;
    padding: 10px;
    word-break: break-word;
  }

  .sidebar {
    display: none;
  }

  .navbar-brand img {
    max-height: 175px;  /* Even smaller on very small screens */
  }

  .nav-schedule-service {
    background-color: #1e5875;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
  }


  .licensed-insured-callout {
    text-align: center;
    width: auto;
    padding: 8px; /* Reduced padding for smaller screens */
    font-size: 12px; /* Smaller font size for mobile */
    border-radius: 20px;
    margin-top: 0px;
  }


  .main-content {
    margin-left: 0 !important; /* Already exists, but force it */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .main-content > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  .service-item {
    margin: .2rem;
    margin-bottom: 0px;
  }

  .portfolio-item:hover .portfolio-item-overlay.single-image {
    opacity: 0;
    transition: none;
  }

  .about-section h2 {
    font-size: 28px;
  }

  .about-section p, .lead {
    font-size: 16px;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .compact-card {
    margin-bottom: 20px;  /* More margin at the bottom for mobile layout */
  }

  .program-info, .program-benefits, .plan-section {
    padding: 20px;
    max-width: 100%;
  }

  .plans {
    flex-direction: column;
  }

  .plan {
    margin-bottom: 20px;
  }

  .faq-section {
    padding: 15px;
  }

  .info-container {
    margin: 0px;
  }

  .footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .separator {
    display: none;
  }

  .copyright {
    margin-bottom: 5px;
    order: 1;
  }

  .designer {
    order: 2;
  }

  .mobile-menu .navbar-brand img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .mobile-menu {
    background: var(--main-bg-color);
    padding: 10px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    width: 100%;
    position: sticky; /* Change from relative to sticky /
    top: 0; / Add this line to position it at the top /
    z-index: 1000; / Increase the z-index to ensure it's always on top */
  }

  .mobile-menu-toggle.dark {
    color: #333;
  }

  .mobile-menu-header {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #article-nav-container .container-fluid, #article-nav-container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mobile-menu-header .nav-logo-subtitle {
    color: #fff;
    width: auto;
    font-style: italic;
    text-align: center;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    border: none;
    background-color: transparent;
    color: #fff;
    font-size: 40px;
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 1;
  }

  .mobile-menu-items {
    display: none;
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .mobile-menu-items .nav-link {
    color: #fff;
    display: block;
    padding: 15px;
    text-align: center;
  }

  .about-section .card-body i {
    display: block;
    margin: 0 auto 15px;
  }

  .contact-section h2,
  .contact-section form {
    text-align: center;
  }

  .contact-section button[type="submit"] {
    display: block;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .social-share a {
    width: 35px;
    height: 35px;
  }

  /* --- Articles --- */
  .article-content {
    padding: 0 !important;
  }

  .article-card {
    padding: .25rem;
  }

  /* --- Breadcrumb Row --- */
 .article-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* --- Contact Block --- */
.block-container.success {
    width: 90%;
    padding: 15px;
  }

  textarea#reason {
    font-size: 14px;
  }

  button[type="submit"] {
    width: 100%;
  }

#serviceRequestForm .g-3 > [class*="col"] { margin-bottom: .5rem; }