/*Fonts*/

.merienda{
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
}


html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: #333;
}
.hero-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.project-card {
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: scale(1.03);
}
.cta-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: all 0.6s ease;
}
.cta-button:hover:after {
  left: 100%;
}
.progress-bar {
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  margin-top: 6px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  transition: width 1s ease-in-out;
}
.stats-card {
  transition: transform 0.3s ease;
}
.stats-card:hover {
  transform: translateY(-5px);
}
.nav-link {
  position: relative;
}
.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #4f46e5;
  transition: width 0.3s ease;
}
.nav-link:hover:after {
  width: 100%;
}
.testimonial-card {
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}

.recommended-company-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(10px);
}

.recommended-company-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.recommended-company-card:hover::before {
  opacity: 1;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animatable .fade-in {
  opacity: 1;
  transform: translateY(0);
}
.process-step {
  position: relative;
}
.process-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 2.5rem;
  bottom: 0;
  left: 1.65rem;
  width: 2px;
  background: #e5e7eb;
}

@media print {
  .nav-container {
    position: static !important;
  }
  section {
    page-break-inside: avoid;
    margin-bottom: 2rem;
  }
}



/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  overflow-y: auto;
}

.popup-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 25px;
  width: 80%;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-out;
}

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

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #5540fd;
}

/* Project Details Styles */
.project-details-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-details-container h2 {
  font-size: 32px;
  color: #5540fd;
  margin-bottom: 20px;
}

.project-image-slider {
  width: 100%;
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

/*  Project popup slides style and size  */
.slide {
  min-width: 100%;
  height: 600px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(85, 64, 253, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: #5540fd;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.info-item h4 {
  color: #5540fd;
  margin-bottom: 5px;
  font-size: 16px;
}

.info-item p {
  margin: 0;
  color: #333;
}

.info-item a {
  color: #5540fd;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.project-description h3,
.project-technologies h3 {
  color: #5540fd;
  margin-bottom: 15px;
  font-size: 22px;
}

.project-description p {
  line-height: 1.6;
  color: #333;
}

.project-technologies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.project-technologies li {
  background-color: #f0f2ff;
  color: #5540fd;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.cta-button {
  background-color: #5540fd;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
  align-self: center;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #4330e0;
}

/* Contact Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #5540fd;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.success-message {
  text-align: center;
  padding: 30px 0;
}

.success-message h3 {
  color: #5540fd;
  font-size: 24px;
  margin-bottom: 15px;
}

.success-message p {
  color: #333;
  font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    margin: 10% auto;
    padding: 20px;
  }

  .slide {
    height: 250px;
  }

  .project-info {
    grid-template-columns: 1fr;
  }
}

.hero-gradient {
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  position: relative;
  overflow: hidden;
}
.svg-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}
.svg-background svg {
  width: 100%;
  height: 100%;
}
.content {
  position: relative;
  z-index: 1;
}

