/* Home Page Specific Styles */

/* Hero Section */
.hero {
  color: white;
  padding: 80px 0 0;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: slideShow 12s infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: -6s;
}

.hero-slide:nth-child(2) {
  animation-delay: 0s;
}

@keyframes slideShow {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.95),
    rgba(8, 145, 178, 0.85)
  );
  z-index: 1;
}

.hero-container {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  width: 100%;
}

.hero-cards-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
  animation: fadeIn 1s ease-out 0.6s backwards;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-slate));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.card-icon i {
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.hero-card:hover .card-icon i {
  transform: scale(1.2);
}

.hero-card h4 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.card-link i {
  transition: transform 0.3s ease;
}

.card-link:hover {
  color: white;
}

.card-link:hover i {
  transform: translateX(5px);
}

.hero-visual-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-slate));
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.hero-visual-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.badge-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.badge-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin: 0.5rem 0;
}

.badge-text {
  font-size: 1rem;
  font-weight: 600;
}

/* Services Section */
.services {
  background: white;
  padding: 100px 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--dark-slate);
  font-weight: 800;
}

.services h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--primary-blue);
  margin: 1rem auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--light-gray);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary-blue);
  background: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-slate);
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card p {
  line-height: 1.6;
  color: #666;
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(90deg, var(--dark-slate), var(--primary-blue));
  color: white;
  padding: 100px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.content-left h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

.feature-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--light-gray);
}

.feature-item i {
  color: var(--light-gray);
  font-size: 1.2rem;
  width: 20px;
}

.feature-item span {
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--light-gray);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: var(--light-gray);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive Design for Home */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-cards {
    gap: 1.5rem;
  }

  .hero-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .hero-cards-wrapper {
    display: none;
    padding: 2rem 0;
  }

  .hero-visual-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0;
    transform: none;
    max-width: 200px;
  }

  .hero-visual-badge:hover {
    transform: scale(1.05);
  }

  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    height: 200px;
  }
}
