/* Modern Service Pages CSS */

/* Page Title Section */
.page-title-layout1 {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  overflow: hidden;
}

.page-title-layout1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-title-layout1 .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-title-layout1 .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-title-layout1 .container {
  position: relative;
  z-index: 2;
}

.pagetitle__heading {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.pagetitle__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Modern Service Layout */
.services-layout2 {
  padding: 80px 0;
  background: #f8f9fa;
}

/* Sidebar Styles */
.sidebar {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.widget {
  border: none;
  background: transparent;
}

.widget-categories {
  padding: 30px 0;
}

.widget__title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 25px;
  padding: 0 30px;
  position: relative;
}

.widget__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 30px;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 2px;
}

.widget-categories ul {
  margin: 0;
  padding: 0;
}

.widget-categories li {
  border-bottom: 1px solid #f1f3f4;
}

.widget-categories li:last-child {
  border-bottom: none;
}

.widget-categories a {
  display: block;
  padding: 15px 30px;
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.widget-categories a:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
  padding-left: 40px;
}

.widget-categories li.active a {
  color: white;
  background: linear-gradient(135deg, #007bff, #0056b3);
  font-weight: 600;
}

.widget-categories li.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff6b6b;
}

/* Help Widget */
.widget-help {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.widget-help .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.widget-help .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-help .widget__content {
  position: relative;
  z-index: 2;
  padding: 30px;
  text-align: center;
}

.widget-help h5 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.widget-help p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Main Content Area */
.services-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 30px;
}

/* Text Blocks */
.text-block {
  margin-bottom: 40px;
}

.text-block__title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.text-block__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 2px;
}

.text-block__desc {
  font-size: 16px;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 20px;
}

/* Video Banner */
.video-banner {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.video-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-banner:hover img {
  transform: scale(1.05);
}

.video__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-decoration: none;
}

.video__player {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.video__btn:hover .video__player {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.video__player i {
  font-size: 24px;
  margin-left: 3px;
}

.video__btn-title {
  font-size: 16px;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Feature Items */
.feature-item {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #007bff;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
}

.feature__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.feature__title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.feature__content ul {
  margin: 0;
  padding: 0;
}

.feature__content li {
  padding: 8px 0;
  color: #6c757d;
  font-size: 15px;
  position: relative;
  padding-left: 25px;
}

.feature__content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Fancy Boxes */
.fancybox-layout1 {
  margin-bottom: 40px;
}

.fancybox-item {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.fancybox-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.2);
}

.fancybox__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.fancybox__title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.fancybox__desc {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
}

/* List Items */
.list-items {
  margin: 0;
  padding: 0;
}

.list-items li {
  padding: 10px 0;
  color: #6c757d;
  font-size: 15px;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.list-items-layout1 li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.list-items-layout1 {
  counter-reset: item;
}

/* Pricing Widget */
.pricing-widget {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.pricing-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.pricing__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.pricing__desc {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn__primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
  color: white;
  text-decoration: none;
}

.btn__secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.btn__secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.btn__white {
  background: white;
  color: #007bff;
}

.btn__white:hover {
  background: #f8f9fa;
  color: #0056b3;
  text-decoration: none;
}

.btn__xl {
  padding: 15px 35px;
  font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .services-content {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .pagetitle__heading {
    font-size: 36px;
  }
  
  .sidebar {
    position: static;
    margin-bottom: 30px;
  }
  
  .services-layout2 {
    padding: 60px 0;
  }
  
  .text-block__title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-title-layout1 {
    padding: 80px 0 60px;
  }
  
  .pagetitle__heading {
    font-size: 28px;
  }
  
  .pagetitle__desc {
    font-size: 16px;
  }
  
  .services-content {
    padding: 25px 20px;
  }
  
  .text-block__title {
    font-size: 22px;
  }
  
  .video-banner img {
    height: 200px;
  }
  
  .video__player {
    width: 60px;
    height: 60px;
  }
  
  .video__player i {
    font-size: 18px;
  }
  
  .feature-item {
    padding: 20px;
  }
  
  .fancybox-item {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .pricing-widget {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .pagetitle__heading {
    font-size: 24px;
  }
  
  .services-content {
    padding: 20px 15px;
  }
  
  .text-block__title {
    font-size: 20px;
  }
  
  .text-block__desc {
    font-size: 15px;
  }
  
  .feature__title {
    font-size: 18px;
  }
  
  .fancybox__title {
    font-size: 16px;
  }
  
  .widget__title {
    font-size: 18px;
  }
  
  .widget-categories a {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .widget-help .widget__content {
    padding: 20px;
  }
}

/* Animation */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
  }
  50% { 
    transform: translateY(-20px) rotate(180deg); 
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
} 