﻿/* GPS Features Section */
.gps-features-section {
  padding: 80px 0;
  position: relative;
}

/* Features Section - Different Colors */
.gps-features-section .benefit-icon {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}

.gps-features-section .benefit-card::before {
  background: linear-gradient(90deg, #11998e, #38ef7d);
}

.gps-features-section .benefit-card:hover {
  box-shadow: 0 20px 60px rgba(17, 153, 142, 0.3);
}

.gps-features-section .benefit-card:hover .benefit-icon {
  box-shadow: 0 10px 30px rgba(17, 153, 142, 0.4);
}

.gps-features-section .benefit-card:hover .benefit-title {
  color: #11998e;
}

/* GPS Benefits Section */
.gps-benefits-section {
  padding: 80px 0;
  position: relative;

}


.benefits-header{
  margin-bottom: 30px;
}


/* Benefit Cards */
.benefit-card {
  background: white;
  border-radius: 20px;
  padding: 20px 15px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(50px);
}

.benefit-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* Benefit Header - Icon and Title in One Line */
.benefit-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

/* Override centering when icon is inside benefit-header */
.benefit-header .benefit-icon {
  margin: 0;
}

.benefit-header .benefit-title {
  text-align: left;
}

/* Benefit Icon */
.benefit-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  margin: 0 auto;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.benefit-icon i {
  font-size: 1.6rem;
  color: white;
}

/* Benefit Title */
.benefit-title {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0;
  transition: color 0.3s ease;
  line-height: 1.3;
  text-align: center;
}

.benefit-card:hover .benefit-title {
  color: #667eea;
}

/* Benefit Description */
.benefit-description {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.7;
  color: #5c6b7a;
  margin: 0;
}

/* Scroll to Top Button */
.scroll-top-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
  .vision-title {
    font-size: 2.5rem;
  }

  .benefit-card {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .gps-benefits-section {
    padding: 60px 0;
  }

  .vision-title {
    font-size: 2rem;
  }

  .vision-subtitle {
    font-size: 1rem;
  }

  .benefit-title {
    font-size: 1.2rem;
  }

  .benefit-description {
    font-size: 0.9rem;
  }

  .scroll-top-btn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 575px) {
  .vision-badge {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
  }

  .vision-title {
    font-size: 1.5rem;
  }

  .benefit-header {
    gap: 12px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .benefit-icon i {
    font-size: 1.3rem;
  }

  .benefit-title {
    font-size: 1.1rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
}
