/* Navbar Mobile Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 0;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
  }

  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  .navbar-nav {
    width: 100%;
    padding: 15px 0;
  }

  .nav-item {
    margin: 5px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-item:nth-child(1) { transition-delay: 0.1s; }
  .nav-item:nth-child(2) { transition-delay: 0.2s; }
  .nav-item:nth-child(3) { transition-delay: 0.3s; }
  .nav-item:nth-child(4) { transition-delay: 0.4s; }
  .nav-item:nth-child(5) { transition-delay: 0.5s; }
  .nav-item:nth-child(6) { transition-delay: 0.6s; }

  .nav-link {
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background-color: var(--seccare-light-green);
    transform: translateX(5px);
  }

  .navbar-toggler {
    border: none;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
  }

  .navbar-toggler-icon {
    width: 24px;
    height: 17px;
    position: relative;
    transition: all 0.3s ease;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--seccare-dark);
    transition: all 0.3s ease;
    left: 0;
  }

  .navbar-toggler-icon::before {
    top: 0;
  }

  .navbar-toggler-icon::after {
    bottom: 0;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 8px;
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 7px;
  }

  .btn-primary {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  #scrollToTop {
    display: none;
  }
}

/* Process Section Base */
.process-section {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 100%);
  padding: 160px 0 60px;
  position: relative;
  overflow: hidden;
}

.process-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  background: transparent;
}

.process-section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding: 0 20px;
  opacity: 0;
  animation: fadeInTitle 1s ease-out forwards;
}

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

.process-section-title::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--seccare-green);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.process-section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--seccare-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.process-section-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Process Grid */
.process-grid {
  display: flex;
  gap: 40px;
  padding: 0 calc(50% - 200px);
  margin: 60px auto;
  max-width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  position: relative;
  pointer-events: auto;
  background: transparent;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  touch-action: pan-x;
}

.process-grid::-webkit-scrollbar {
  display: none;
}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
  background: var(--seccare-light-green);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.nav-arrow i {
  color: var(--seccare-green);
  font-size: 1.2rem;
}

.nav-arrow-left {
  left: 0;
}

.nav-arrow-right {
  right: 0;
}

/* Process Step Cards */
.process-step {
  flex: 0 0 400px;
  min-height: 420px;
  position: relative;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: 20px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.3s ease-out;
}

.step-content {
  height: 100%;
  width: 100%;
  padding: 40px;
  background: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 10px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform: scale(0.98);
}

/* Active State */
.process-step.active .step-content {
  transform: scale(1.02);
  background: white;
  border-color: rgba(156, 195, 59, 0.2);
  box-shadow: 
    0 10px 30px rgba(156, 195, 59, 0.08),
    0 4px 8px rgba(156, 195, 59, 0.06);
}

.process-step.active .step-title {
  color: var(--seccare-green);
}

/* Step Elements */
.step-icon {
  width: 80px;
  height: 80px;
  background: var(--seccare-light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--seccare-green);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.phone-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--seccare-green);
  opacity: 0;
  animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.phone-link:hover {
  transform: scale(1.1);
  color: var(--seccare-dark);
}

.phone-link:active {
  transform: scale(0.95);
}

@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.step-icon i {
  font-size: 32px;
  color: var(--seccare-green);
  transition: all 0.3s ease;
}

.process-step.active .step-icon {
  background: var(--seccare-green);
  transform: translateY(-3px);
}

.process-step.active .step-icon i {
  color: white;
  transform: scale(1.1);
}

.step-number {
  font-size: 0.9rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.process-step.active .step-number {
  color: var(--seccare-green);
}

.step-title {
  font-size: 1.6rem;
  color: var(--seccare-dark);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
  transition: all 0.4s ease;
}

.process-step.active .step-title {
  color: var(--seccare-green);
}

.step-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  transition: all 0.4s ease;
}

.process-step.active .step-description {
  color: #444;
}

/* Scroll Indicator */
.scroll-indicator-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--seccare-dark);
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out 1s forwards;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-indicator:hover {
  transform: translateX(5px);
  background: var(--seccare-light-green);
}

.scroll-indicator i {
  color: var(--seccare-green);
  animation: bounceArrow 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .process-section {
    padding: 140px 0 40px;
  }

  .process-container {
    padding: 0 15px;
  }

  .process-section-title {
    margin-bottom: 30px;
  }

  .process-section-title h2 {
    font-size: 2rem;
  }

  .process-section-title p {
    font-size: 1rem;
  }

  .process-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 30px auto;
    overflow-x: visible;
    scroll-snap-type: none;
    touch-action: pan-y;
    -webkit-overflow-scrolling: auto;
  }

  .process-step {
    flex: 0 0 auto;
    min-height: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 10px;
    scroll-snap-align: none;
    touch-action: pan-y;
  }

  .step-content {
    padding: 30px;
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    touch-action: pan-y;
  }

  .process-step.active .step-content {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .step-icon {
    width: 60px;
    height: 60px;
  }

  .step-icon i {
    font-size: 24px;
  }

  .step-title {
    font-size: 1.3rem;
    margin: 15px 0;
  }

  .step-description {
    font-size: 0.95rem;
  }

  .nav-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .process-section {
    padding: 160px 0 40px;
  }
  
  .process-section-title h2 {
    font-size: 1.8rem;
  }

  .process-section-title p {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* Fix for Safari and older browsers */
@supports not (backdrop-filter: blur(10px)) {
  .process-section,
  .process-container,
  .process-grid {
    background: transparent;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop-only elements */
.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

.custom-step-icon {
  background: var(--seccare-light-green) !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 30px;
  border-radius: 50%;
  transition: background 0.3s;
}

.process-step.active .custom-step-icon {
  background: var(--seccare-green) !important;
}

.custom-step-icon-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  padding: 0;
} 