.services-section {
    background-color: rgba(0, 0, 0, 0.562);
    color: #e0e0e0;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

/* New: Tag/Button above the main title */
.section-tag-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem; /* text-sm */
  background-color: #000000;
  padding: 10px; /* Padding from original wrapper */
  padding-right: 20px;
  border-radius: 25px; /* Border-radius from original wrapper */
  border: 1px solid white;
  margin-bottom: 20px;
}

.section-title {
    font-size: 45px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 15px;
    margin-bottom: 40px;
    color: #a0a0a0;
    font-weight: 400;
}

.results-cta-button{
  background: rgb(0,85,255);
  border-radius: 8px;
  padding: 12px 25px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: ease;
}

.results-cta-button:hover{
 box-shadow: 0 0 15px rgba(0,85,255,0.8), inset 0 0 0.55em 0 #ffffff;
                scale: 1.05;
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    padding: 10px 150px;
    margin: 0 auto;
}

/* Individual Service Card Styling */
.service-card {
    color: #e0e0e0;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    min-width: 280px;
    border: 1px solid rgb(255, 255, 255);
    background-color: #ffffff0a;
}

.card-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.card-description {
    font-size: 12px;
    color: #a0a0a0;
    line-height: 1.3;
}

/* Top-Right Arrow Glyph Styling */
.card-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.2em;
    color: #888;
    transition: color 0.4s ease;
    line-height: 1;
}

/* Hover Effects */
.service-card:hover {
    background-color: #2e30c742;
    color: #ffffff;
    scale:1.05;

}

.service-card:hover .card-title,
.service-card:hover .card-description {
    color: #ffffff;
}

.service-card:hover .card-arrow {
    color: #ffffff;
}

/* Responsive Adjustments */
@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    gap: 150px;
  }
  .hero-text {
    align-items: flex-start;
  }
  .brand-container {
    flex-direction: row;
    gap: 2rem;
  }
  .brand-image-wrapper {
    width: 30%;
  }
  .brand-content {
    width: 70%;
  }
  .results-cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-container {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-title {
    font-size: 55px;
    line-height: 1.2;
  }

  .hero-description-text {
    font-size: 16px;
  }

  .featured-video-player {
    width: 80%;
    height: 250px;
  }

  .scrolling-list-section {
    max-width: 300px;
  }
  .section-title {
      font-size: 2.8em;
  }
  .section-subtitle {
      font-size: 1.2em;
  }
  .cards-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    height: auto;
    padding: 15px;
    position: static;
    margin-bottom: 20px;
  }

  body {
    padding-top: 0;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .call-to-action-button {
    margin-top: 15px;
  }

  .hero-area {
    padding: 30px 20px;
    min-height: auto;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-description-block {
    padding: 0 15px;
  }

  .hero-description-text {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
    padding: 10px 0;
  }

  .scrolling-list-section {
    margin-top: 30px;
    height: 50px;
    max-width: 100%;
  }

  .list-item {
    font-size: 20px;
    line-height: 40px;
    height: 40px;
    padding: 0 25px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  .brand-content {
    padding: 3rem;
  }

  .brand-headline {
    font-size: 3rem;
  }

  .brand-subheadline {
    font-size: 1.875rem;
  }

  .brand-description {
    font-size: 1.125rem;
  }

  .brand-rating-block {
    text-align: left;
  }

  .brand-stars {
    justify-content: flex-start;
  }

  .results-title {
    font-size: 2.5rem;
  }

  .results-description {
    font-size: 1rem;
  }

  .results-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
      font-size: 2.2em;
  }
  .section-subtitle {
      font-size: 1em;
  }
  .cards-container {
      grid-template-columns: 1fr;
      padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    font-size: 18px;
  }

  .primary-nav a,
  .call-to-action-button {
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .featured-video-player {
    height: 200px;
  }

  .list-item {
    font-size: 18px;
    padding: 0 20px;
  }

  .results-title {
    font-size: 2rem;
  }

  .results-description {
    font-size: 0.875rem;
  }

  .results-cta-button {
    font-size: 0.875rem;
    padding: 0.6rem 1.5rem;
  }

  .card-content {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-description {
    font-size: 0.75rem;
  }

  .card-stat-item {
    font-size: 0.875rem;
  }

  .card-stat-label {
    font-size: 0.625rem;
  }

  .result-card {
    width: 250px;
  }
}

.fade-in-element{
opacity:0;
transform:translateY(20px);
transition: opacity 0.8s ease-out,transform 0.8s ease-out;
}
.fade-in-element.is-visible{
opacity: 1;
transform: translateY(0);
}