﻿/* ==========================================
   Hero Section
========================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), .08), transparent 35%), radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb), .05), transparent 30%);
}

.hero-badge {
  display: inline-block;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: rgba(var(--bs-primary-rgb), .10);
  color: var(--bs-primary);
  font-weight: 600;
}

.hero-name {
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 1rem 0 .75rem;
  letter-spacing: -.02em;
}

.hero-title {
  color: var(--bs-primary);
  font-size: clamp(1.3rem,2.5vw,1.7rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 640px;
  color: var(--bs-body-color);
}

.hero-location {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--bs-secondary-color);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

  .hero-buttons .btn {
    min-width: 190px;
  }

.hero-image {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--bs-tertiary-bg);
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: all .35s ease;
}

  .hero-image:hover {
    transform: translateY(-8px) scale(1.02);
  }

/* ==========================================
   Statistics
========================================== */

.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
}

.stat-icon {
  margin: 0 auto 1.5rem;
}

.stat-card h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.stat-card p {
  margin: 0;
  color: var(--bs-secondary-color);
}

/* ==========================================
   Companies
========================================== */

.company-card {
  padding: 2rem;
  height: 100%;
}

.company-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.company-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.company-meta {
  color: var(--bs-secondary-color);
  font-size: .95rem;
  margin-top: .35rem;
}

.company-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

  .company-list li {
    margin-bottom: .65rem;
    color: var(--bs-body-color);
  }

.company-technologies {
  margin-top: 1.5rem;
}

.company-name-link {
  color: var(--bs-body-color);
  text-decoration: none;
  transition: color .25s ease;
}

  .company-name-link:hover {
    color: var(--bs-primary);
  }

  .company-name-link i {
    font-size: .75em;
    opacity: .65;
  }

/* ==========================================
   Technology
========================================== */

.technology-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

  .technology-card h4 {
    margin-bottom: 1rem;
    font-weight: 700;
  }

.technology-category {
  padding: 2rem;
  height: 100%;
}

  .technology-category h5 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

    .technology-category h5 i {
      color: var(--bs-primary);
    }

.technology-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

  .technology-badges .badge {
    font-size: .9rem;
    padding: .6rem .95rem;
    border-radius: 999px;
    transition: .25s;
  }

    .technology-badges .badge:hover {
      transform: translateY(-2px);
    }

/* ==========================================
   Services
========================================== */

.service-card {
  padding: 2rem;
  height: 100%;
}

  .service-card h4 {
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .service-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 1.5rem;
  }

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* ==========================================
   Contact
========================================== */

.contact-card {
  padding: 2rem;
  text-align: center;
  height: 100%;
}

  .contact-card h5 {
    margin-bottom: .75rem;
    font-weight: 700;
  }

  .contact-card a,
  .contact-card p {
    color: var(--bs-secondary-color);
    text-decoration: none;
    word-break: break-word;
    transition: color .25s;
  }

    .contact-card a:hover {
      color: var(--bs-primary);
    }

/* ==========================================
   Responsive
========================================== */

@media (max-width:991.98px) {

  .hero-section {
    padding: 70px 0;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto;
  }

  .hero-location {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 280px;
    height: 280px;
  }

  .company-header {
    flex-direction: column;
    text-align: center;
  }

  .technology-category h5 {
    justify-content: center;
  }
}

/* ==========================================
   Hero Typing
========================================== */

#typedTitle::after {
  content: "|";
  margin-left: 3px;
  animation: blink .8s infinite;
  color: var(--bs-primary);
}

@keyframes blink {

  50% {
    opacity: 0;
  }
}