/* -----------------------------------------------------------
   Solution Finder Communication Services - Stylesheet
   Modern, Responsive, Pixel-Perfect Bootstrap 5 Enhancement
----------------------------------------------------------- */

:root {
  --sf-primary: #1a56db;
  --sf-primary-hover: #1344b5;
  --sf-primary-light: #eff6ff;
  --sf-primary-gradient: linear-gradient(135deg, #1a56db 0%, #0284c7 100%);
  --sf-dark: #0b192c;
  --sf-darker: #060e1a;
  --sf-dark-surface: #0f223d;
  --sf-navy: #1e293b;
  --sf-accent: #f59e0b;
  --sf-accent-orange: #ea580c;
  --sf-text-muted: #64748b;
  --sf-border-light: #e2e8f0;
  --sf-bg-light: #f8fafc;
  --sf-card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --sf-card-hover-shadow: 0 20px 35px -5px rgba(26, 86, 219, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.05);
  --sf-radius-sm: 8px;
  --sf-radius-md: 14px;
  --sf-radius-lg: 20px;
  --sf-radius-pill: 50px;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #334155;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sf-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Header & Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1030;
}

.navbar-custom.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--sf-primary);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2.5px;
  background-color: var(--sf-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-get-quote {
  background: var(--sf-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 22px;
  border-radius: var(--sf-radius-pill);
  border: 1.5px solid var(--sf-primary);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-get-quote:hover {
  background: var(--sf-primary-hover);
  border-color: var(--sf-primary-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.35);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: #081a36;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background: url('../assets/images/hero-support.jpg') no-repeat center right;
  background-size: cover;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #081a36 0%, #081a36 38%, rgba(8, 26, 54, 0.88) 60%, rgba(8, 26, 54, 0.45) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-block;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  max-width: 620px;
}

.hero-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.btn-hero-primary {
  background: var(--sf-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--sf-radius-pill);
  border: 1.5px solid var(--sf-primary);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--sf-radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Trusted By Section */
.trusted-bar {
  background: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid var(--sf-border-light);
}

.trusted-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #64748b;
  text-transform: uppercase;
  line-height: 1.3;
}

.partner-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.88;
  filter: grayscale(10%);
  transition: all 0.3s ease;
}

.partner-logo-img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Section Header Shared */
.section-tag {
  color: var(--sf-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  color: var(--sf-dark);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

/* Services Section */
.services-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.service-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: var(--sf-radius-md);
  padding: 36px 26px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: var(--sf-card-hover-shadow);
}

.service-card:hover::before {
  background: var(--sf-primary);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.7rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

/* Icon Variations matching design */
.icon-it {
  background-color: #e0edff;
  color: #2563eb;
}
.icon-support {
  background-color: #dcfce7;
  color: #16a34a;
}
.icon-billing {
  background-color: #fee2e2;
  color: #dc2626;
}
.icon-inbound {
  background-color: #f3e8ff;
  color: #9333ea;
}
.icon-estate {
  background-color: #ffedd5;
  color: #ea580c;
}
.icon-construction {
  background-color: #ccfbf1;
  color: #0d9488;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-learn-more {
  color: var(--sf-primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.service-learn-more:hover {
  color: var(--sf-primary-hover);
  background: var(--sf-primary-light);
  gap: 10px;
}

/* Statistics Counter Banner */
.stats-banner {
  background: #08182f;
  color: #ffffff;
  padding: 42px 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 12px 10px;
}

.stat-icon {
  font-size: 1.8rem;
  color: #60a5fa;
  margin-bottom: 8px;
  display: inline-block;
}

.stat-number {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 500;
}

/* About Us Section */
.about-section {
  padding: 90px 0;
  background-color: #f8fafc;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--sf-radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.02);
}

.about-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #081c3b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sf-radius-md);
  padding: 14px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.about-badge-icon {
  font-size: 1.8rem;
  color: #fbbf24;
}

.about-badge-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.about-badge-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.feature-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--sf-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
}

.feature-text-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.feature-text-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.btn-more-about {
  background: var(--sf-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 26px;
  border-radius: var(--sf-radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
  transition: all 0.25s ease;
}

.btn-more-about:hover {
  background: var(--sf-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.35);
}

/* Industries We Serve */
.industries-section {
  padding: 85px 0 75px;
  background-color: #ffffff;
}

.industry-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--sf-radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
  cursor: pointer;
}

.industry-card:hover {
  border-color: var(--sf-primary);
  background: #f0f7ff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.08);
}

.industry-icon {
  font-size: 1.9rem;
  color: #64748b;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.industry-card:hover .industry-icon {
  color: var(--sf-primary);
}

.industry-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

/* Testimonial Section */
.testimonials-section {
  padding: 85px 0 95px;
  background-color: #f8fafc;
  position: relative;
}

.quote-icon-large {
  font-size: 3.5rem;
  color: #93c5fd;
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.8;
}

.testimonial-quote-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: #1e293b;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 28px;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sf-primary);
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.carousel-nav-btn:hover {
  background: var(--sf-primary);
  color: #ffffff;
  border-color: var(--sf-primary);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.testimonial-dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--sf-primary);
}

/* Call To Action (CTA) Section */
.cta-section {
  padding: 0 0 60px;
  background-color: #f8fafc;
}

.cta-box {
  background: linear-gradient(135deg, #091a38 0%, #0d2752 100%);
  border-radius: var(--sf-radius-lg);
  padding: 48px 44px;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(9, 26, 56, 0.4);
}

.cta-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-subtitle {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin: 0;
  max-width: 500px;
}

.btn-cta-white {
  background: #ffffff;
  color: var(--sf-primary) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--sf-radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-cta-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-cta-outline {
  background: transparent;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--sf-radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-cta-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Footer */
.footer-main {
  background-color: #07152b;
  color: #94a3b8;
  padding: 70px 0 25px;
  font-size: 0.92rem;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-right: 8px;
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background: var(--sf-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: #60a5fa;
  font-size: 1.05rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #94a3b8;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

/* Modals Custom Styling */
.modal-content-custom {
  border-radius: var(--sf-radius-md);
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header-custom {
  background: linear-gradient(135deg, #091a38 0%, #1a56db 100%);
  color: #ffffff;
  padding: 20px 26px;
  border-bottom: none;
}

.modal-header-custom .btn-close {
  filter: brightness(0) invert(1);
}

.form-control-custom,
.form-select-custom {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--sf-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sf-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--sf-primary-hover);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Toast Container */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1080;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 60px 0 50px;
  }
  .hero-bg-wrapper {
    width: 100%;
    opacity: 0.25;
  }
  .hero-bg-overlay {
    background: #081a36;
    opacity: 0.85;
  }
  .about-image-wrapper {
    margin-bottom: 40px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .stat-item {
    margin-bottom: 20px;
  }
  .cta-box {
    padding: 32px 24px;
    text-align: center;
  }
  .cta-subtitle {
    margin: 0 auto 20px;
  }
}
