#branchBanner { 
  height: 400px;
  /* width: 200px; */
  /* overflow: hidden; */
}

textarea {
  resize: none;      /* disables the resize handle */
  overflow: auto;    /* ensures content can still scroll if needed */
}


/* Debug & Service Debug */
.debug-info {
  background: #e7f3ff;
  border: 2px solid #007bff;
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
}

.service-debug {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  margin: 10px 0;
  padding: 20px;
  border-radius: 8px;
}

/* Feature Boxes */
.feature-boxes {
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-boxes-style-2 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Service Image */
.serviceimage {
  flex-shrink: 0;
  width: 200px;
}
.serviceimage img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

.feature-boxes-info {
  flex: 1;
}

/* Readonly fields */
.readonly-field {
  background-color: #f8f9fa;
  cursor: not-allowed;
  opacity: 0.8;
}

/* Branches */
#branches {
  background-color: #f4f4f4;
  color: #f4f4f4;
}

/* Lists */
ul {
  list-style-type: none;
  margin-left: 20px;
  margin-top: 0;
}
.roman-italic {
  list-style-type: lower-roman;
}
.roman-italic li::marker {
  font-style: italic;
  font-family: inherit;
}

/* Contact */
.contactaddress {
  margin: 10px 80px;
}

/* Datepicker */
.datepicker-dropdown {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.datepicker {
  padding: 0;
}
.datepicker td,
.datepicker th {
  width: 2.5rem;
  text-align: center;
  padding: 8px 12px;
  font-size: 14px;
}
.datepicker .datepicker-days .day.disabled {
  background-color: #f5f5f5;
  color: #ccc;
}
.datepicker .datepicker-switch {
  background: linear-gradient(to bottom, #08c, #04c);
  color: #fff;
  border-radius: 0;
}
.datepicker-dropdown:after {
  border-bottom-color: #08c;
}
.datepicker-days .table-condensed thead tr:nth-child(2),
.datepicker-months .table-condensed thead tr:nth-child(2),
.datepicker-years .table-condensed thead tr:nth-child(2),
.datepicker-decades .table-condensed thead tr:nth-child(2),
.datepicker-centuries .table-condensed thead tr:nth-child(2) {
  background: linear-gradient(to bottom, #08c, #04c);
  color: #fff;
}
.datepicker-days .table-condensed thead tr:nth-child(2) th:hover,
.datepicker-months .table-condensed thead tr:nth-child(2) th:hover,
.datepicker-years .table-condensed thead tr:nth-child(2) th:hover,
.datepicker-decades .table-condensed thead tr:nth-child(2) th:hover,
.datepicker-centuries .table-condensed thead tr:nth-child(2) th:hover {
  background: linear-gradient(to bottom, #08c, #04c);
  color: #fff;
}
.datepicker-days .table-condensed tfoot,
.datepicker-months .table-condensed tfoot,
.datepicker-years .table-condensed tfoot,
.datepicker-decades .table-condensed tfoot,
.datepicker-centuries .table-condensed tfoot {
  border-top: solid 1px rgba(0, 0, 0, 0.15);
}

/* Custom Question Table */
.custom-question-table {
  width: 100%;
  background-color: #f4f4f4;
  border: none;
  box-shadow: none;
}
.custom-question-table td {
  padding: 16px;
  vertical-align: top;
}
.custom-question-table .question-cell {
  width: 45%;
  font-size: 15px;
  color: #333;
}
.custom-question-table .option-cell {
  width: 55%;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Custom Radio & Checkbox */
.radio-container,
.checkbox-container {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radio-container input[type="radio"],
.checkbox-container input[type="checkbox"] {
  display: none;
}
.radio-container .custom-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #007bff;
  position: relative;
  margin-right: 8px;
}
.radio-container input[type="radio"]:checked + .custom-radio::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #007bff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.checkbox-container .custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #007bff;
  position: relative;
  margin-right: 8px;
}
.checkbox-container input[type="checkbox"]:checked + .custom-checkbox::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background-color: #007bff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Service Info, CTA, Nav */
.service-info-box {
  border-left: 4px solid var(--bs-primary);
  margin-bottom: 1rem;
}
.call-to-action {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border: 1px solid #dee2e6;
  text-align: center;
}
.box-shadow-custom {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nav-list .nav-link {
  padding: 0.75rem 1rem;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.nav-list .nav-link:hover {
  background-color: #f8f9fa;
  color: #007bff;
  transform: translateX(5px);
}
.nav-list .nav-link.active {
  background-color: #007bff;
  color: white;
  font-weight: 600;
}

/* Banner */
#serviceBannerImg {
  transition: transform 0.3s ease;
}
#serviceBannerImg:hover {
  transform: scale(1.02);
}
.service-banner img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
}
.card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px 8px 0 0 !important;
}

/* Content */
.service-content {
  line-height: 1.8;
  font-size: 16px;
}
.service-content h1, .service-content h2, .service-content h3, 
.service-content h4, .service-content h5, .service-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.service-content p {
  margin-bottom: 1rem;
}
.service-content ul, .service-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

/* Badges */
.badge {
  font-size: 0.8em;
  padding: 0.4em 0.8em;
}
.badge-active, .badge-success {
  background-color: #28a745;
  color: white;
}
.badge-featured, .badge-primary {
  background-color: #007bff;
  color: white;
}
.badge-inactive, .badge-secondary {
  background-color: #6c757d;
  color: white;
}

.featuredSer {
  margin-bottom: 2rem;
  object-fit: cover !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;

}

/* Text responsiveness */
.text-responsive,
.content-responsive {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto;
  max-width: 100%;
}
.content-responsive {
  line-height: 1.6;
}
.content-responsive * {
  max-width: 100% !important;
  box-sizing: border-box;
}
.content-responsive img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 1rem auto;
}
.content-responsive table {
  width: 100% !important;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
  margin: 1rem 0;
}
.content-responsive table td,
.content-responsive table th {
  padding: 0.5rem;
  max-width: 200px;
}
.content-responsive iframe,
.content-responsive video {
  max-width: 100% !important;
  height: auto !important;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .feature-boxes-style-2 { padding: 1.5rem !important; }
  .text-responsive, .content-responsive { font-size: 0.95rem; }
  .feature-boxes-info h2 { font-size: 1.75rem !important; }
  .feature-boxes-info p.lead { font-size: 1.15rem !important; }
}

@media (max-width: 768px) {
  #serviceBannerImg { height: 250px !important; margin-bottom: 1.5rem; }
  .row .col-lg-3 { order: 2; margin-top: 2rem; }
  .row .col-lg-9 { order: 1; }
  .feature-boxes-info { padding: 0 !important; width: 100%; }
  .feature-boxes-info h2 { font-size: 1.5rem !important; line-height: 1.3; }
  .feature-boxes-info p.lead { font-size: 1.1rem !important; line-height: 1.5; }
  #serviceContent { font-size: 0.95rem !important; line-height: 1.6; text-align: justify; }
  #serviceContent h1, #serviceContent h2, #serviceContent h3,
  #serviceContent h4, #serviceContent h5, #serviceContent h6 {
    font-size: 1.25rem !important; margin: 1.5rem 0 0.75rem 0;
  }
  #serviceContent p { margin-bottom: 1rem; text-align: justify; }
  #serviceContent ul, #serviceContent ol { padding-left: 1.5rem; margin-bottom: 1rem; }
  #serviceContent li { margin-bottom: 0.5rem; }
  .btn-lg { width: 100%; padding: 0.75rem 1rem; font-size: 1rem; }
}

@media (max-width: 576px) {
  .container { padding: 0 10px; }
  .feature-boxes-style-2, .service-info-box, .call-to-action { padding: 1rem !important; margin-bottom: 1rem; }
  #serviceContent { font-size: 0.9rem !important; padding: 0; }
  .feature-boxes-info h2 { font-size: 1.3rem !important; }
  .feature-boxes-info p.lead { font-size: 1rem !important; }
  #serviceContent h1, #serviceContent h2, #serviceContent h3,
  #serviceContent h4, #serviceContent h5, #serviceContent h6 {
    font-size: 1.1rem !important;
  }
  .text-responsive, .content-responsive, #serviceContent,
  #serviceDescription, #serviceName {
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}
