/* iBase Website Improvements - Additional Styles */

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

.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: var(--royal-blue);
  color: white;
  border: 2px solid black;
}

.secondary-cta:hover {
  background: var(--midnight-blue);
  color: white;
  transform: translateY(-2px);
}

.greenbut {
  color: var(--white);
}

/* 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: 767px) {
  .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;
}

/* Responsive Design */

@media (max-width: 1200px) {
  .section-title
  {
    font-size: 1.7rem;
    text-align: center;
  }

  .banner-head {
    /*padding-top: 50px;*/
    width: 100%;
    font-size: 2.7em;
  }

  .benefits-section h2 {
    font-size: 2.3em;
  }
}

@media (max-width: 479px) {
  .cta-buttons
  {
    width: 100%;
    margin-top: 1.25rem;
  }

  .benefits-section {
    padding: 1rem 0;
  }

  .benefits-section h2 {
    font-size: 1.5em;
  }

  .section-title {
    text-align: center;
    font-size: 1.5em;
  }

  .banner-head {
    padding-top: 20px;
    font-size: 2em;
  }

  .banner-head-dark {
    padding-top: 5px;
  }

  .banner.about.red-bott-padd.news {
    height: 200px;
  }

  .innercontent {
    padding: 20px 20px 10px 20px;
  }
}

@media (max-width: 767px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .primary-cta, .secondary-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-metrics {
    flex-direction: column;
    align-items: center;
  }
  
  .industry-badges {
    justify-content: center;
  }
  
}

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

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

.about-page .about-deferred-section,
.about-page .about-deferred-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

/* 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 {
  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;
}

.feature-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.7rem 1.1rem;
  border: 2px solid #000;
  border-radius: 999px;
  background: #fff;
  color: var(--royal-blue);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.feature-card-link:hover {
  background: #eef4ff;
  box-shadow: 0 8px 18px rgba(18, 74, 168, 0.12);
  transform: translateY(-2px);
}

.feature-detail-page {
  background: #f6f8fb;
}

.feature-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(90deg, rgba(20, 29, 75, 1) 0%, rgba(20, 29, 75, 1) 50%, rgba(0, 0, 0, 1) 100%);
}

.feature-detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.feature-detail-kicker {
  margin-bottom: 0.9rem;
  color: var(--teal2);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: none;
}

.feature-detail-standfirst {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--white);
  font-size: 1.08rem;
}

.feature-detail-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 2rem;
  border: 2px solid #000;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(30, 54, 86, 0.12);
}

.feature-detail-hero-art img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.feature-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-topic-card {
  height: 100%;
  padding: 1.6rem;
  border: 1px solid #d7e1ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(38, 55, 77, 0.08);
}

.feature-topic-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #e6faf4 100%);
}

.feature-topic-media img {
  max-width: 42px;
  max-height: 42px;
  width: auto;
  height: auto;
}

.feature-topic-card h2 {
  margin-bottom: 0.75rem;
  color: var(--royal-blue);
  font-size: 1.4rem;
}

.feature-topic-card p:last-child {
  margin-bottom: 0;
}

.feature-detail-footer-cta {
  margin-top: 2rem;
  padding: 2rem;
  border: 2px solid #000;
  border-radius: 24px;
  background: linear-gradient(135deg, #dff7ef 0%, #eef5ff 100%);
  text-align: center;
  margin-bottom: 32px;
}

.feature-detail-footer-cta h2 {
  margin-bottom: 0.75rem;
}

.feature-detail-footer-cta p {
  max-width: 52ch;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 991px) {
  .feature-detail-hero-inner,
  .feature-topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .feature-detail-hero {
    padding: 2.5rem 0 2rem;
  }

  .feature-detail-hero-art {
    min-height: 200px;
    padding: 1.5rem;
  }

  .feature-topic-card {
    padding: 1.35rem;
  }
}
