/* iBase Website Improvements - Additional Styles */

/* CTA Buttons Styling */
.cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-cta, .secondary-cta {
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.primary-cta {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  border: 2px solid black;
}

.primary-cta:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.secondary-cta {
  background: cornflowerblue;
  color: white;
  border: 2px solid black;
}

.secondary-cta:hover {
  background: #007bff;
  color: white;
  transform: translateY(-2px);
}

/* Benefits Section Styling */
.benefits-section {
  background: #f8f9fa;
  padding: 4rem 0;
}

.benefits-section h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

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

.benefit-icon {
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1rem;
}

/* Industry Badges */
.industry-badges {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.industry-badge {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Section Title Styling */
.section-title {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Testimonial Metrics */
.testimonial-metrics {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.metric {
  background: #e8f5e8;
  color: #28a745;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Enhanced Navigation */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 1000;
  top: 100%;
  left: 0;
  border: 1px solid #e9ecef;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #333;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
  color: #007bff;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.cta-nav {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-nav:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }
  
  .primary-cta, .secondary-cta {
    width: 100%;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-metrics {
    flex-direction: column;
    align-items: center;
  }
  
  .industry-badges {
    justify-content: center;
  }
  
  .dropdown-content {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: #f8f9fa;
  }
}

/* Improved Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Button Enhancements */
.orange-button {
  background: linear-gradient(135deg, #fd7e14, #e8650e);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.orange-button:hover {
  background: linear-gradient(135deg, #e8650e, #d63384);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefit-card, .testimonial-slide {
  animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Focus States for Accessibility */
a:focus, button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Improved Card Hover Effects */
.client-logo-link {
  transition: all 0.3s ease;
}

.client-logo-link:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* SEO and Content Hierarchy Improvements */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-section {
  margin-bottom: 3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}