/* Global Styles */
:root {
  --primary-color: #96c4f2;
  --primary-dark: #75a8e0;
  --primary-light: #b7d7f8;
  --text-dark: #333333;
  --text-light: #ffffff;
  --accent: #4a90e2;
  --bg-light: #f8fbff;
  --bg-dark: #2c3e50;
  --shadow: 0 5px 15px rgba(150, 196, 242, 0.2);
  --transition: all 0.3s ease-in-out;
}

/* Common Section Styles */
section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.container-web {
  padding: 0 8vw;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: width-expand 1.5s ease-in-out;
}

.section-title p {
  font-size: 1.1rem;
  color: #120A1F;
  max-width: 700px;
  margin: 0 auto;
}

@keyframes width-expand {
  0% { width: 0; }
  100% { width: 60px; }
}

/* Services Section Styles */
.services {
  background-color: #ecf3f9;
  border-bottom: 1px solid var(--border);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-light);
  opacity: 0.1;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(150, 196, 242, 0.3);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  margin-bottom: 20px;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition);
  font-size: 2.5rem;
  color: #4a6cf7;
}

.service-icon img{
    padding: 10px;
    height: 60px;
    border-radius: 10px;
    transition: var(--transition);
}

.cart-img{
  background-color: #ecddbd;
}
.monitor-img{
  background-color: #bdd5ec;
}
.settings-img{
  background-color: #e1deff;
}
.mobile-img{
  background-color: #d8dde1;
}
.maintenance-img{
  background-color: #deedfb;
}
.content-img{
  background-color: #f6f9d8;
}

.service-card:hover .service-icon img, 
.service-card:hover .cart-img img {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  position: relative;
  font-weight: 300;
}

.service-card h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  left: 0;
  bottom: -8px;
  transition: var(--transition);
}

.service-card:hover h3::after {
  width: 60px;
}

.service-card p {
  color: #120A1F;
  line-height: 1.6;
}

/* Process Section Styles */
/* Process Section Animation Styles */
.process {
  background-color: var(--bg-light);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #96c4f2;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: #120A1F;
}

/* Alternating Snake Path Design */
.process-steps {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
}

/* The connecting snake path */
.process-steps:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: #96c4f2;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  
  /* The filling animation */
  background: linear-gradient(to bottom, #96c4f2 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 100%;
  animation: snake-fill 3s ease-in-out forwards;
}

@keyframes snake-fill {
  0% {
    background-position: 0 100%;
  }
  100% {
    background-position: 0 0%;
  }
}

/* Animate dots running along the path */
.process-steps:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 15px,
    rgba(255, 255, 255, 0.7) 15px,
    rgba(255, 255, 255, 0.7) 20px
  );
  z-index: 2;
  animation: snake-dash 15s linear infinite;
}

@keyframes snake-dash {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

.process-step {
  width: 42%;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(150, 196, 242, 0.15);
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
  opacity: 0;
  animation: step-appear 0.8s ease-out forwards;
  animation-delay: calc(var(--i) * 0.5s);
}

.process-step:nth-child(odd) {
  --i: 1;
  margin-right: auto;
  transform: translateX(-30px);
}

.process-step:nth-child(even) {
  --i: 2;
  margin-left: auto;
  transform: translateX(30px);
}

.process-step:nth-child(3) { --i: 3; }
.process-step:nth-child(4) { --i: 4; }
.process-step:nth-child(5) { --i: 5; }

@keyframes step-appear {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Horizontal connectors from center to boxes */
.process-step:before {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 8px;
  background-color: #96c4f2;
  z-index: 2;
}

.process-step:nth-child(odd):before {
  right: -50px;
}

.process-step:nth-child(even):before {
  left: -50px;
}

/* The circular step numbers */
.process-step:after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #96c4f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 3;
  box-shadow: 0 0 0 5px rgba(150, 196, 242, 0.3);
  transition: all 0.3s ease;
}

.process-step:nth-child(odd):after {
  content: attr(data-number);
  right: -75px;
}

.process-step:nth-child(even):after {
  content: attr(data-number);
  left: -75px;
}

.process-step:nth-child(1):after { content: '1'; }
.process-step:nth-child(2):after { content: '2'; }
.process-step:nth-child(3):after { content: '3'; }
.process-step:nth-child(4):after { content: '4'; }
.process-step:nth-child(5):after { content: '5'; }

.process-step:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(150, 196, 242, 0.3);
}

.process-step:hover:after {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 0 8px rgba(150, 196, 242, 0.2);
  background-color: #7ab5ef;
}

.process-step h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 10px;
}

.process-step h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #96c4f2;
}

.process-step:nth-child(even) h3 {
  text-align: right;
}

.process-step:nth-child(even) h3:after {
  right: 0;
  left: auto;
}

.process-step p {
  font-size: 0.95rem;
  color: #120A1F;
  line-height: 1.6;
  margin-bottom: 0;
}

.process-step:nth-child(even) p {
  text-align: right;
}

/* Animation for dot pulses at each step connection */
.process-step:before {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(150, 196, 242, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(150, 196, 242, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(150, 196, 242, 0);
  }
}

/* Responsive design */
@media (max-width: 992px) {
  .process-step {
    width: 45%;
  }
  
  .process-step:nth-child(odd):before {
    right: -30px;
    width: 30px;
  }
  
  .process-step:nth-child(even):before {
    left: -30px;
    width: 30px;
  }
  
  .process-step:nth-child(odd):after {
    right: -55px;
  }
  
  .process-step:nth-child(even):after {
    left: -55px;
  }
}

@media (max-width: 768px) {
  .process-steps:before,
  .process-steps:after {
    left: 25px;
    transform: none;
  }
  
  .process-step {
    width: calc(100% - 70px);
    margin-left: 70px !important;
    margin-right: 0 !important;
  }
  
  .process-step:nth-child(even),
  .process-step:nth-child(odd) {
    transform: translateX(30px);
  }
  
  .process-step:nth-child(even) h3,
  .process-step:nth-child(even) p {
    text-align: left;
  }
  
  .process-step:nth-child(even) h3:after {
    left: 0;
    right: auto;
  }
  
  .process-step:before {
    width: 30px;
    left: -30px !important;
    right: auto !important;
  }
  
  .process-step:after {
    left: -55px !important;
    right: auto !important;
  }
  
  @keyframes step-appear {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
}


/* Portfolio Section Styles */
.portfolio {
  background-color: var(--bg-light);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid var(--border);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.portfolio-item {
  background-color: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(150, 196, 242, 0.3);
}

.portfolio-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image::after {
  opacity: 1;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.portfolio-tag {
  background-color: var(--primary-light);
  color: var(--text-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-tag {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.portfolio-content p {
  color: #120A1F;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Technologies Section Styles */
.technologies {
  background-color: #fff;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tech-category {
  background-color: var(--light);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tech-category::before {
  content: '';
  position: absolute;
  height: 5px;
  width: 0;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.tech-category:hover {
  transform: translateY(-5px);
}

.tech-category:hover::before {
  width: 100%;
}

.tech-category h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 10px;
}

.tech-category h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  left: 0;
  bottom: 0;
}

.tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  color: #120A1F;
  transition: var(--transition);
}

.tech-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.tech-list li:hover {
  transform: translateX(5px);
  color: var(--text-dark);
}

/* Team Section Styles */
.team {
  background-color: var(--bg-light);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  background-color: var(--text-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(150, 196, 242, 0.3);
}

.team-image {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--primary-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.team-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--text-light);
  transition: var(--transition);
}

.team-member:hover .team-image img {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.team-info {
  padding: 25px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.team-position {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.team-position::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  transition: var(--transition);
}

.team-member:hover .team-position::after {
  width: 60px;
  background-color: var(--primary-color);
}

.team-info p {
  color: #120A1F;
  line-height: 1.6;
}

/* Testimonials Section Styles */
.testimonials {
  background-color: var(--text-light);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, var(--primary-light) 25%, transparent 25%, transparent 75%, var(--primary-light) 75%),
    linear-gradient(45deg, var(--primary-light) 25%, transparent 25%, transparent 75%, var(--primary-light) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background-color: var(--text-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border-left: 5px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(150, 196, 242, 0.3);
  border-left-color: var(--primary-color);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--primary-light);
  line-height: 1;
  z-index: 0;
  opacity: 0.3;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  color: #120A1F;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.testimonial-avatar-robert {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin-right: 15px;
  object-fit: cover;
  background-image: url('/assets/images/web-dev-page/testimonials/m1.svg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}
.testimonial-avatar-Jennifer {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin-right: 15px;
  object-fit: cover;
  background-image: url('/assets/images/web-dev-page/testimonials/w1.svg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}
.testimonial-avatar-Wilson {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin-right: 15px;
  object-fit: cover;
  background-image: url('/assets/images/web-dev-page/testimonials/m2.svg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.testimonial-position {
  color: var(--primary-color);
  font-size: 0.9rem;
}
.se-head .se-title-2 {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 25px;
}
/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
  .portfolio-grid, .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .portfolio-grid, .services-grid, .tech-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
}