/* Service Page Styles */

/* Ensure header is positioned correctly on service pages */
body.page-template-template-service .site-header--onicx {
  position: relative;
  background: transparent;
  padding: 20px 0 0 0;
}

body.page-template-template-service .service-hero-section {
  margin-top: -100px;
  padding-top: 240px;
}

.service-hero-section {
  background: var(--theme-color1, #122250);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  color: #ffffff;
  padding: 180px 0 100px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
}

.service-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 34, 80, 0.85);
  pointer-events: none;
  z-index: 1;
}

.service-hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
  z-index: 1;
}

.service-hero-section .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Breadcrumb */
.service-breadcrumb {
  margin-bottom: 25px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.service-breadcrumb a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 700;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

.service-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 0 0 30px;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.service-lead {
  font-size: 1.35rem;
  line-height: 1.8;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 400;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Content Section with Sidebar */
.service-content-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.service-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

.service-content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: #f8f9fa;
  padding: 35px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sidebar-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2d3748;
  margin: 0 0 25px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--theme-color1, #122250);
  position: relative;
  letter-spacing: -0.3px;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--theme-color1, #122250);
}

/* Service List */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  margin-bottom: 10px;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: #4a5568;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  border: 2px solid #e9ecef;
  font-weight: 500;
  font-size: 0.95rem;
}

.service-link:hover {
  background: var(--theme-color1, #122250);
  color: #ffffff;
  border-color: var(--theme-color1, #122250);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(18, 34, 80, 0.3);
}

.service-item.active .service-link {
  background: var(--theme-color1, #122250);
  color: #ffffff;
  border-color: var(--theme-color1, #122250);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(18, 34, 80, 0.3);
}

.service-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-link:hover i,
.service-item.active .service-link i {
  transform: translateX(5px);
}

.service-link span {
  flex: 1;
  line-height: 1.4;
}

/* Contact Widget */
.contact-widget {
  background: #ffffff;
  border: 2px solid #e9ecef;
}

.contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: block;
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.7;
  padding: 12px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--theme-color1, #122250);
  box-shadow: 0 2px 8px rgba(18, 34, 80, 0.1);
  transform: translateY(-2px);
}

.contact-item a {
  color: var(--theme-color1, #122250);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--theme-color1, #122250);
  text-decoration: underline;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 2px solid #e9ecef;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--theme-color1, #122250);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #e9ecef;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--theme-color1, #122250);
  color: #ffffff;
  border-color: var(--theme-color1, #122250);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(18, 34, 80, 0.4);
}

/* Main Content */
.service-main-content {
  min-width: 0;
}

.service-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: #4a5568;
}

.service-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #2d3748;
  margin-top: 3em;
  margin-bottom: 1.2em;
  border-bottom: 4px solid var(--theme-color1, #122250);
  padding-bottom: 15px;
  position: relative;
  letter-spacing: -0.5px;
}

.service-content h2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--theme-color1, #122250);
}

.service-content h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #2d3748;
  margin-top: 2.5em;
  margin-bottom: 1em;
  letter-spacing: -0.3px;
}

.service-content h3::before {
  content: '▸';
  color: var(--theme-color1, #122250);
  margin-right: 10px;
  font-size: 1.2em;
}

.service-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-top: 2em;
  margin-bottom: 0.9em;
}

.service-content p {
  margin-bottom: 1.8em;
  color: #4a5568;
}

.service-content ul,
.service-content ol {
  margin: 2em 0;
  padding-left: 2.5em;
}

.service-content li {
  margin-bottom: 1em;
  line-height: 1.8;
  color: #4a5568;
  position: relative;
  padding-left: 10px;
}

.service-content ul li::marker {
  color: var(--theme-color1, #122250);
  font-weight: 700;
}

.service-content ul li::before {
  display: none;
}

.service-content strong {
  font-weight: 700;
  color: #2d3748;
}

.service-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 3em 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* CTA Section */
.service-cta-section {
  background: var(--theme-color1, #122250);
  padding: 80px 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 34, 80, 0.95);
  pointer-events: none;
}

.service-cta-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.service-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 50px 60px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
}

.cta-left {
  flex: 1;
  min-width: 300px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 18px 40px;
  background: var(--theme-color1, #122250);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(18, 34, 80, 0.4);
}

.btn:hover {
  background: var(--theme-color1, #122250);
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(18, 34, 80, 0.5);
}

.btn-primary {
  background: var(--theme-color1, #122250);
}

.btn-primary:hover {
  background: #667eea;
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-style: normal;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
  
  .service-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .service-hero-section {
    padding: 140px 0 70px;
    min-height: 380px;
  }
  
  .service-title {
    font-size: 2.25rem;
  }
  
  .service-lead {
    font-size: 1.15rem;
  }
  
  .service-content-section {
    padding: 70px 0;
  }
  
  .service-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .service-sidebar {
    position: static;
    order: 2;
  }
  
  .service-main-content {
    order: 1;
  }
  
  .service-content {
    font-size: 1.05rem;
  }
  
  .service-content h2 {
    font-size: 1.75rem;
  }
  
  .service-content h3 {
    font-size: 1.4rem;
  }
  
  .service-cta-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }
  
  .cta-left,
  .cta-right {
    width: 100%;
    align-items: center;
  }
  
  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 25px;
  }
  
  .sidebar-widget {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .service-hero-section {
    padding: 120px 0 60px;
    min-height: 350px;
  }
  
  .service-title {
    font-size: 1.9rem;
    margin-bottom: 20px;
  }
  
  .service-lead {
    font-size: 1.05rem;
  }
  
  .sidebar-widget {
    padding: 20px;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 15px 30px;
    font-size: 0.95rem;
  }
}
