/* Enhanced Styles for Features Page */

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.custom-feature-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Enhanced Tab Navigation */
.custom-feature-nav {
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 30px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.custom-feature-nav .nav-link {
  padding: 18px 25px;
  color: #2c3e50;
  font-weight: 600;
  border: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  width: fit-content;
}

.custom-feature-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.custom-feature-nav .nav-link:hover::before {
  left: 100%;
}

.custom-feature-nav .nav-link i {
  margin-right: 10px;
  color: #e74c3c;
  font-size: 16px;
  transition: all 0.3s ease;
}

.custom-feature-nav .nav-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #ffffff 0%, #e8f4f8 100%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.custom-feature-nav .nav-link:hover i {
  transform: scale(1.2);
  color: #c0392b;
}

.custom-feature-nav .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
  transform: translateY(-5px);
}

.custom-feature-nav .nav-link.active i {
  color: #fff;
  transform: scale(1.1);
}

.custom-feature-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #667eea;
}

/* Enhanced Content Area */
.custom-feature-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-feature-tab-pane {
  padding: 20px 0;
}

.custom-feature-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.custom-feature-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.custom-feature-description {
  color: #5a6c7d;
  margin-bottom: 35px;
  line-height: 1.8;
  font-size: 16px;
}

/* Enhanced Feature Cards */
.feature-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 25px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}

.feature-icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.feature-icon-wrapper::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 20px 45px rgba(102, 126, 234, 0.4);
}

.feature-icon-wrapper i {
  font-size: 36px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
  transform: scale(1.2);
}

.feature-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.feature-card:hover .feature-card-title {
  color: #667eea;
  transform: translateY(-2px);
}

.feature-card-description {
  color: #5a6c7d;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-card-description {
  color: #4a5568;
}

/* Enhanced Feature List */
.custom-feature-list {
  padding-left: 0;
  list-style: none;
}

.custom-feature-list li {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.custom-feature-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-left-color: #667eea;
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
}

.custom-feature-list i {
  color: #27ae60;
  margin-right: 15px;
  font-size: 18px;
  width: 20px;
  transition: all 0.3s ease;
}

.custom-feature-list li:hover i {
  color: #219a52;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-feature-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px;
    gap: 5px;
  }

  .custom-feature-nav .nav-link {
    padding: 12px 18px;
    font-size: 10px;
    min-width: max-content;
  }

  .custom-feature-content {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .custom-feature-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .feature-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .feature-icon-wrapper i {
    font-size: 28px;
  }

  .feature-card-title {
    font-size: 16px;
  }

  .feature-card-description {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .custom-feature-container {
    padding: 20px 15px;
  }

  .custom-feature-nav .nav-link {
    padding: 10px 15px;
    font-size: 10px;
  }

  .feature-card {
    padding: 20px 15px;
  }
}
.custom-feature-container {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.custom-feature-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-feature-nav .nav-link {
  border-radius: 25px;
  padding: 12px 20px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.custom-feature-nav .nav-link:hover {
  background: #e9ecef;
  color: #495057;
}

.custom-feature-nav .nav-link.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.custom-feature-title {
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 600;
}

.custom-feature-description {
  color: #6c757d;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.6;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper i {
  font-size: 24px;
  color: white;
}

.feature-card-title {
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.custom-feature-list {
  list-style: none;
  padding: 0;
}

.custom-feature-list li {
  padding: 10px 0;
  color: #495057;
  font-size: 16px;
}

.custom-feature-list i {
  color: #28a745;
  margin-right: 12px;
}
.custom-feature-container .nav {
  justify-content: flex-start;
  padding-left: 15px !important;
}
