/* ==========================================================================
   Home Page — SCS Synergy
   ========================================================================== */

/* Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.88) 50%, rgba(15, 23, 42, 0.85) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  padding: var(--space-9) 0 var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
}

.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: var(--weight-extrabold);
  color: var(--text-white);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  letter-spacing: var(--tracking-tight);
}

.hero__services {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-8);
}

.hero__service-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  color: var(--text-white);
  text-decoration: none;
  position: relative;
  transition: all var(--transition-base);
  min-width: 140px;
}

.hero__service-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.15);
}

.hero__service-link:last-child::after {
  display: none;
}

.hero__service-link:hover {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--text-white);
}

.hero__service-icon {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
}

.hero__service-link:hover .hero__service-icon {
  border-color: var(--primary);
  background-color: var(--primary);
}

.hero__service-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  text-align: center;
  line-height: var(--leading-snug);
}

/* Trusted Section
   ========================================================================== */
.trusted {
  padding: var(--space-11) 0;
  background-color: var(--bg-white);
}

.trusted__inner {
  text-align: center;
  margin-bottom: var(--space-9);
}

.trusted__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
}

.trusted__image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.trusted__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.trusted__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.trusted__item:hover {
  background-color: var(--bg-light);
}

.trusted__item-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--border-colour);
  line-height: 1;
  min-width: 60px;
}

.trusted__item-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.trusted__item-content {
  flex: 1;
}

.trusted__item-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-2);
}

.trusted__item-description {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: 0;
}

/* Tech Trends Section
   ========================================================================== */
.tech-trends {
  padding: var(--space-11) 0;
  background-color: var(--bg-light);
}

.tech-trends__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}

.tech-trends__content {
  padding-right: var(--space-6);
}

.tech-trends__text {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.tech-trends__counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.tech-trends__counter {
  text-align: center;
  padding: var(--space-4);
}

.tech-trends__counter-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.tech-trends__counter-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.tech-trends__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.tech-trends__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform var(--transition-base);
  background-size: cover;
  background-position: center;
  background-color: #0f172a;
}

.tech-trends__card:hover {
  transform: translateY(-5px);
}

.tech-trends__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.tech-trends__card-title {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-white);
  z-index: 2;
}

/* Client Logos Section
   ========================================================================== */
.clients {
  padding: var(--space-8) 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-colour);
  border-bottom: 1px solid var(--border-colour);
}

.clients__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.clients__logo {
  flex: 1;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  color: var(--text-light);
  letter-spacing: var(--tracking-tight);
  opacity: 0.45;
  transition: all var(--transition-base);
}

.clients__logo:hover {
  opacity: 1;
  color: var(--text-dark);
}

/* Services Section
   ========================================================================== */
.services {
  padding: var(--space-11) 0;
  background-color: var(--bg-white);
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-9);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.services__card {
  padding: var(--space-7);
  background-color: var(--bg-white);
  border: 1px solid var(--border-colour);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.services__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.services__card:hover::before {
  transform: scaleX(1);
}

.services__card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.services__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

.services__card-description {
  font-size: var(--text-sm);
  color: var(--text-light);
  margin-bottom: var(--space-5);
  line-height: var(--leading-relaxed);
}

.services__card-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.services__card-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  transition: color var(--transition-base);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-colour);
}

.services__card-link i {
  font-size: var(--text-xs);
  color: var(--primary);
}

.services__card-link:hover {
  color: var(--primary);
}

/* CTA Banner (Dark Variant)
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: var(--space-11) 0;
  background:
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
}

.cta-banner__heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-white);
  margin-bottom: var(--space-6);
}

/* Team Section
   ========================================================================== */
.team {
  padding: var(--space-11) 0;
  background-color: var(--bg-white);
}

.team__header {
  text-align: center;
  margin-bottom: var(--space-9);
}

.team__description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team__card {
  text-align: center;
}

.team__card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8edf2 0%, #d1dce6 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  overflow: hidden;
  cursor: pointer;
}

.team__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__card-name {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-1);
}

.team__card-role {
  font-size: var(--text-sm);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--weight-medium);
}

/* Consultation CTA
   ========================================================================== */
.consultation {
  padding: var(--space-9) 0;
  background: var(--primary-dark);
}

.consultation__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.consultation__text {
  flex: 1;
}

.consultation__subtitle {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2);
  font-weight: var(--weight-medium);
}

.consultation__heading {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-white);
  margin-bottom: 0;
}

.consultation .btn--outline:hover {
  background-color: var(--text-white);
  color: var(--primary);
}

/* Testimonials Section
   ========================================================================== */
.testimonials {
  padding: var(--space-11) 0;
  background-color: var(--bg-light);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-9);
}

.testimonials__slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials__slides {
  overflow: hidden;
}

.testimonials__slide {
  display: none;
}

.testimonials__slide--active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.testimonials__card {
  padding: var(--space-7);
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.testimonials__card-header {
  margin-bottom: var(--space-5);
}

.testimonials__card-company {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-dark);
  margin-bottom: var(--space-1);
}

.testimonials__card-role {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: var(--weight-medium);
}

.testimonials__card-quote {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: var(--leading-relaxed);
  font-style: italic;
  margin-bottom: 0;
  position: relative;
  padding-top: var(--space-4);
}

.testimonials__card-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-7);
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--border-colour);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.testimonials__dot--active {
  background-color: var(--primary);
  width: 30px;
  border-radius: var(--radius-full);
}

/* Button overrides for homepage — pill shape
   ========================================================================== */
.cta-banner .btn,
.consultation .btn {
  border-radius: var(--radius-full);
}
