/* Custom styles for the company listing website */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --info-color: #0dcaf0;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", sans-serif;
}

/* Global styles */
body {
  font-family: var(--bs-font-sans-serif);
  line-height: 1.6;
  font-size: 0.9rem;
}

main {
  flex: 1;
}

/* Typography */
h1,
.h1 {
  font-size: 2rem;
  font-weight: 600;
}
h2,
.h2 {
  font-size: 1.75rem;
  font-weight: 600;
}
h3,
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
h4,
.h4 {
  font-size: 1.25rem;
  font-weight: 600;
}
h5,
.h5 {
  font-size: 1.1rem;
  font-weight: 600;
}
h6,
.h6 {
  font-size: 1rem;
  font-weight: 600;
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
}
.btn-lg {
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
}

/* Forms */
.form-control,
.form-select {
  font-size: 0.9rem;
  border-radius: 0.2rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  border-color: var(--primary-color);
}

/* Cards */
.card {
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

/* Minimalistic Header Styles */
.header-minimal {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  z-index: 1030;
}

.header-minimal.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.header-minimal .navbar {
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.header-minimal.scrolled .navbar {
  padding: 0.5rem 0;
}

/* Brand Styling */
.brand-container {
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.brand-icon i {
  font-size: 1.1rem;
  color: white;
}

.navbar-brand:hover .brand-icon {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
  margin: 0;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1;
  margin: 0;
  opacity: 0.8;
}

/* Navigation Links */
.navbar-nav {
  gap: 0.25rem;
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem !important;
  border-radius: 8px;
  font-weight: 500;
  color: #495057 !important;
  transition: all 0.2s ease;
  position: relative;
}

.navbar-nav .nav-link i {
  font-size: 0.85rem;
  margin-right: 0.5rem;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(13, 110, 253, 0.08);
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.navbar-nav .nav-link.active {
  background-color: var(--primary-color);
  color: white !important;
  font-weight: 600;
}

.navbar-nav .nav-link.active i {
  opacity: 1;
}

/* Dropdown Styling */
.dropdown-menu {
  border: none;
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  animation: dropdownSlide 0.2s ease;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item i {
  font-size: 0.85rem;
  width: 20px;
  margin-right: 0.75rem;
}

.dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  transform: translateX(3px);
}

.dropdown-divider {
  margin: 0.5rem 0;
  opacity: 0.3;
}

/* Action Buttons */
.navbar-actions {
  margin-left: 1rem;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-buttons .btn {
  display: flex;
  align-items: center;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.action-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-buttons .btn i {
  font-size: 0.8rem;
}

/* Mobile Actions */
.mobile-actions {
  display: flex;
  align-items: center;
}

.btn-mobile-call {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--success-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-mobile-call:hover {
  background: #157347;
  color: white;
  transform: scale(1.05);
}

.btn-mobile-call i {
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: rgba(13, 110, 253, 0.1);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler.active {
  background: var(--primary-color);
}

.navbar-toggler.active .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m7 7 16 16m0-16L7 23'/%3e%3c/svg%3e");
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

.breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item i {
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
  font-weight: 600;
  margin: 0 0.5rem;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #0056b3;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Mobile Responsive Design */
@media (max-width: 991.98px) {
  .header-minimal .navbar {
    padding: 0.5rem 0;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-tagline {
    display: none !important;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    justify-content: flex-start;
  }

  .navbar-nav .nav-link i {
    margin-right: 0.75rem;
    font-size: 0.9rem;
  }

  .navbar-actions {
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background: rgba(13, 110, 253, 0.05);
    margin: 0.5rem 0 0 0;
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .brand-icon {
    width: 36px;
    height: 36px;
    margin-right: 0.5rem;
  }

  .brand-icon i {
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .btn-mobile-call {
    width: 36px;
    height: 36px;
  }

  .btn-mobile-call i {
    font-size: 0.8rem;
  }

  .navbar-collapse {
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
  }
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-stats .stat-card {
  padding: 1rem;
  text-align: center;
}

.hero-stats h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Breadcrumb styling */
.breadcrumb {
  background: #f8f9fa;
  padding: 0.75rem 0;
  margin-bottom: 0;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.85rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--secondary-color);
  font-weight: 600;
}

.breadcrumb-item a {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--dark-color);
  font-weight: 600;
}

/* Card styles */
.service-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid #dee2e6;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.company-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid #dee2e6;
  height: 100%;
}

.company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Company profile page */
.company-header {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 1rem;
}

.rating .fa-star {
  font-size: 0.9rem;
}

.service-description {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

.key-features {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
}

.review-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--primary-color);
}

.company-info-card {
  position: sticky;
  top: 2rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: white;
}

.cta-card .card-body {
  padding: 2rem;
}

.cta-card .btn {
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-card .btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Admin panel styles */
.table th {
  background: var(--light-color);
  font-weight: 600;
  border-top: none;
}

.btn-group-sm .btn {
  padding: 0.25rem 0.5rem;
}

/* Navigation improvements */
.nav-pills .nav-link {
  color: var(--dark-color);
  font-weight: 500;
}

.nav-pills .nav-link:hover {
  background-color: rgba(13, 110, 253, 0.1);
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
}

/* Related services card */
.card .btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.card .btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Footer */
.footer {
  background-color: var(--light-color);
  color: #6c757d;
  padding: 2rem 0;
  font-size: 0.85rem;
  border-top: 1px solid #e9ecef;
}

.footer h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
}

.footer a {
  color: #6c757d;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-color);
}

/* Badge styles */
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4em 0.7em;
}

.badge-purple {
  background-color: #6f42c1 !important;
}

/* Section titles */
.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.page-header {
  background-color: var(--light-color);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

/* Mobile Navigation Improvements */
.navbar-brand {
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.navbar-toggler {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  border: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.2em;
  height: 1.2em;
}

/* Active state improvements */
.navbar-nav .nav-link.active {
  font-weight: 600;
  position: relative;
}

.btn.active {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-section .display-5 {
    font-size: 2rem;
  }

  .company-info-card {
    position: static;
  }

  .hero-stats {
    margin-top: 2rem;
  }

  .stat-card {
    margin-bottom: 1rem;
  }

  .breadcrumb {
    font-size: 0.9rem;
  }

  .breadcrumb-item {
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }

  .hero-section .display-5 {
    font-size: 1.75rem;
  }

  .btn-group .btn {
    margin-bottom: 0.5rem;
  }

  .breadcrumb {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Form enhancements */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Search form enhancements */
.hero-section .form-select,
.hero-section .form-control {
  border: 2px solid #dee2e6;
  padding: 0.75rem;
}

.hero-section .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* Footer */
footer {
  margin-top: auto;
}

/* Utility classes */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shadow-hover {
  transition: box-shadow 0.2s ease-in-out;
}

.shadow-hover:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* FAQ Section Styles */
.faq-item .accordion-button {
  background-color: #f8f9fa;
  border: none;
  border-radius: 0.375rem !important;
  font-weight: 500;
  padding: 1rem 1.25rem;
  box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.125);
}

.faq-item .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.faq-item .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-item .accordion-body {
  padding: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  background-color: #ffffff;
}

.faq-item:not(:last-child) {
  margin-bottom: 0.75rem;
}

.faq-item {
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Process Steps Styling */
.process-step {
  position: relative;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
}

.step-number {
  font-size: 1.25rem;
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(13, 110, 253, 0.4);
}

/* Why Choose Us Section */
.why-choose-item {
  transition: all 0.2s ease-in-out;
  padding: 1rem;
  border-radius: 0.5rem;
}

.why-choose-item:hover {
  background-color: rgba(13, 110, 253, 0.05);
  transform: translateX(5px);
}

/* Company Highlights */
.highlight-item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.highlight-item:hover {
  background-color: #f8f9fa !important;
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
  transition: all 0.3s ease;
}

.highlight-item:hover i {
  transform: scale(1.2);
}

/* Service Areas Grid */
.service-area-item {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  border-left: 3px solid var(--primary-color);
  transition: all 0.2s ease;
}

.service-area-item:hover {
  background-color: #e9ecef;
  transform: translateX(3px);
}

/* Pricing Cards */
.pricing-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--success-color));
  transition: left 0.3s ease;
}

.pricing-card:hover::before {
  left: 0;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Accordion Animations */
.accordion-collapse {
  transition: all 0.3s ease-in-out;
}

.accordion-item {
  overflow: hidden;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .process-step {
    margin-bottom: 2rem;
  }

  .step-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem;
  }

  .faq-item .accordion-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .faq-item .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .highlight-item {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .process-step {
    text-align: left !important;
  }

  .step-number {
    display: block;
    margin: 0 auto 1rem auto;
  }

  .why-choose-item .d-flex {
    flex-direction: column;
    text-align: center;
  }

  .why-choose-item .flex-shrink-0 {
    margin-bottom: 1rem;
  }
}

/* Interactive Elements */
.interactive-hover {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.interactive-hover:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Content Enhancement */
.content-section {
  margin-bottom: 2rem;
}

.section-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* Loading Animation for FAQ */
.faq-loading {
  opacity: 0.6;
  pointer-events: none;
}

.faq-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success/Error Message Enhancements */
.alert {
  border-left: 4px solid;
  border-radius: 0.5rem;
}

.alert-success {
  border-left-color: var(--success-color);
  background-color: rgba(25, 135, 84, 0.1);
}

.alert-danger {
  border-left-color: var(--danger-color);
  background-color: rgba(220, 53, 69, 0.1);
}

.alert-info {
  border-left-color: var(--info-color);
  background-color: rgba(13, 202, 240, 0.1);
}

.alert-warning {
  border-left-color: var(--warning-color);
  background-color: rgba(255, 193, 7, 0.1);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .company-info-card {
    position: static !important;
  }
}

/* Minimalistic Footer Styles */
.footer-minimalist {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  color: #6c757d;
  font-size: 0.9rem;
  border-top: 1px solid #e9ecef;
  margin-top: auto;
  position: relative;
}

.footer-main {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #e9ecef;
}

/* Brand Section */
.footer-brand {
  margin-bottom: 1.5rem;
}

.brand-logo-footer {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.brand-icon-footer {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.brand-name-footer {
  font-size: 1.4rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.2;
}

.brand-tagline-footer {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 500;
}

.brand-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #6c757d;
}

.footer-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 80px;
}

.stat-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer Sections */
.footer-section {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #495057;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-icon {
  font-size: 0.8rem;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.footer-links a i {
  font-size: 0.75rem;
  width: 16px;
  margin-right: 0.5rem;
  color: var(--primary-color);
  opacity: 0.7;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.footer-links a:hover i {
  opacity: 1;
}

/* Contact Information */
.contact-info-footer {
  margin-top: 1rem;
}

.contact-item-footer {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.contact-item-footer i {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  width: 16px;
  flex-shrink: 0;
}

.contact-details strong {
  display: block;
  font-size: 0.8rem;
  color: #495057;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details a,
.contact-details span {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
}

/* Info Cards */
.footer-info {
  padding: 2rem 0;
  background-color: rgba(13, 110, 253, 0.02);
  border-bottom: 1px solid #e9ecef;
}

.info-card {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-icon i {
  font-size: 1.2rem;
  color: white;
}

.info-content h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.info-content p {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.social-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links-footer {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link-footer {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link-footer.facebook {
  background-color: #1877f2;
  color: white;
}

.social-link-footer.twitter {
  background-color: #1da1f2;
  color: white;
}

.social-link-footer.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-link-footer.linkedin {
  background-color: #0077b5;
  color: white;
}

.social-link-footer.youtube {
  background-color: #ff0000;
  color: white;
}

.social-link-footer.whatsapp {
  background-color: #25d366;
  color: white;
}

.social-link-footer:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: end;
}

.legal-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  position: relative;
}

.legal-links a:hover {
  color: var(--primary-color);
}

.legal-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -0.75rem;
  color: #dee2e6;
}

/* Copyright */
.footer-copyright {
  padding: 1rem 0;
  background-color: #f8f9fa;
}

.copyright-text {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
}

.separator {
  margin: 0 0.5rem;
  color: #dee2e6;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  justify-content: end;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6c757d;
  background-color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.badge-item i {
  font-size: 0.7rem;
  margin-right: 0.25rem;
  color: var(--success-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

.back-to-top i {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .footer-main {
    padding: 2rem 0 1.5rem;
  }

  .footer-info {
    padding: 1.5rem 0;
  }

  .footer-stats {
    justify-content: center;
    gap: 1rem;
  }

  .legal-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .footer-badges {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 1.5rem 0 1rem;
  }

  .footer-brand {
    text-align: center;
    margin-bottom: 2rem;
  }

  .brand-logo-footer {
    justify-content: center;
  }

  .footer-stats {
    justify-content: center;
  }

  .social-links-footer {
    justify-content: center;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .info-icon {
    margin: 0 auto 1rem auto;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .footer-main {
    padding: 1rem 0;
  }

  .footer-info {
    padding: 1rem 0;
  }

  .footer-bottom {
    padding: 1rem 0;
  }

  .footer-copyright {
    padding: 0.75rem 0;
  }

  .footer-title {
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .contact-item-footer {
    margin-bottom: 0.75rem;
  }

  .legal-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .legal-links a:not(:last-child)::after {
    display: none;
  }

  .footer-badges {
    flex-direction: column;
    gap: 0.5rem;
  }

  .copyright-text {
    text-align: center;
  }

  .social-links-footer {
    gap: 0.5rem;
  }

  .social-link-footer {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* Print Styles */
@media print {
  .footer-minimalist {
    background: white !important;
    color: black !important;
  }

  .back-to-top {
    display: none !important;
  }

  .social-links-footer {
    display: none !important;
  }
}




















.featured-company-card {
    border: 2px solid #ffd700 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
    position: relative;
    transition: all 0.3s ease;
}

.featured-company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4) !important;
}

.top-rated-card {
    border: 2px solid #28a745 !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2) !important;
    position: relative;
    transition: all 0.3s ease;
}

.top-rated-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.3) !important;
}

.featured-badge, .rating-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.rating-badge {
    top: -8px;
    left: -8px;
    right: auto;
}

.badge-purple {
    background-color: #6f42c1 !important;
    color: white !important;
}

.company-card {
    transition: all 0.3s ease;
    height: 100%;
}

.company-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-badge {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    font-weight: 500;
}

.quick-call-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-call-btn:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
    transform: scale(1.05);
    color: white;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.search-form {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-radius: 2px;
}

.stats-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    display: block;
}

.popular-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
    display: block;
}

.popular-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    color: #007bff;
    text-decoration: none;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating-sm i {
    font-size: 0.8rem;
}

.star-rating-md i {
    font-size: 1rem;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-score {
    font-weight: 600;
    color: #28a745;
}

.review-count {
    font-size: 0.85rem;
    color: #6c757d;
}

.top-rated-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.top-rated-icon {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* New Content Sections Styles */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.how-it-works-section {
    background: white;
    padding: 4rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.benefits-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    padding: 4rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.trust-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.trust-badge {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-section {
    background: white;
    padding: 4rem 0;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem;
    background: #007bff;
    color: white;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    color: #333;
    line-height: 1.6;
}

.service-areas-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.area-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.area-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .search-form {
        margin-top: 2rem;
    }
    
    .about-section, .how-it-works-section, .benefits-section {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .featured-badge, .rating-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        top: -5px;
        right: -5px;
    }
    
    .rating-badge {
        left: -5px;
        right: auto;
    }
    
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .search-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .search-form h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1rem;
    }
    
    .top-rated-section {
        padding: 2rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .search-form {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .search-form h3 {
        font-size: 1.1rem;
    }
    
    .search-form .form-select,
    .search-form .btn {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .rating-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
    
    .company-card .card-body {
        padding: 1rem;
    }
    
    .company-card .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto 1rem auto;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-section .display-4 {
        font-size: 1.5rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .search-form .row.g-3 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .hero-section .display-4 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .search-form {
        padding: 1rem;
        margin-top: 1rem;
    }
}