/* Keep only essential custom CSS that Bootstrap doesn't provide */
:root { 
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; 
}
/* Custom image styling - Bootstrap doesn't have these specific image behaviors */
.extension-card-image { 
  height: 250px; 
  object-fit: contain; 
  width: 100%; 
}
/* Custom card with hover effects - Bootstrap cards don't have hover animations */
.floating-card {
  background-color: #fff;
  border: 1px solid #e9eef4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 16px 30px rgba(0,0,0,0.08); 
}
/* Custom gradient - Bootstrap doesn't have this specific gradient */
.top-banner { 
  background: linear-gradient(90deg,#4b6cb7,#182848); 
}
/* Custom button variant - not available in Bootstrap */
.btn-light-outline { 
  color: #fff; 
  border-color: #fff; 
}
.btn-light-outline:hover { 
  color: #182848; 
  background-color: #fff; 
}
/* Custom section styling */
.top-section-new { 
  background-color: #fcf4e4; 
  padding: 2.5rem 0; 
  border-bottom: 2px solid #e8c67c; 
}
/* Enhanced tab styling - Bootstrap tabs with custom equal width behavior */
.nav-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 0;
}
.nav-tabs .nav-item {
  flex: 1 1 0;
  text-align: center;
  margin-bottom: 0;
}
.nav-tabs .nav-link {
  width: 100%;
  border: 1px solid transparent;
  padding: 0.6rem 0.75rem;
  color: #374151;
}
.nav-tabs .nav-link.active {
  background: #e7f3ff;
  border-color: #bfdbfe;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
  color: #1e40af;
  font-weight: 500;
}
.nav-tabs .nav-item:last-child { margin-right: 0; }
/* Responsive tab adjustments */
@media (max-width: 576px) {
  .nav-tabs { flex-wrap: wrap; }
  .nav-tabs .nav-item { flex-basis: 48%; }
}
/* Tool grid and animations - Custom functionality not in Bootstrap */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}
.tool-card {
  background: white;
  border: 1px solid #e9ecef;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.tool-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.tool-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tool-title {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}
.tool-rating {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #6c757d;
}
.stars {
  color: #ffc107;
  margin-right: 8px;
  font-weight: bold;
}
.tool-description {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 60px;
}
.tool-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f8f9fa;
}
.downloads {
  color: #28a745;
  font-weight: 700;
  font-size: 13px;
}
.browser-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.browser-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: white;
  border: 1px solid #e9ecef;
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 16px;
}
.browser-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.chrome-icon {
  background-image: url('https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/chrome/chrome_24x24.png');
}
.edge-icon {
  background-image: url('https://cdnjs.cloudflare.com/ajax/libs/browser-logos/74.1.0/edge/edge_24x24.png');
}
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* Extension card accessibility styles */
.tool-card:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}