/* Sections Styling */

/* Services Section */
.services-container {
  display: grid;
  gap: 2rem;
}

/* Desktop layout - 2 cards per row by default */
@media screen and (min-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large screen layout - 4 cards per row */
@media screen and (min-width: 1920px) {
  .services-container {
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: var(--container-width);
    margin: 0 auto;
  }
}

/* Mobile layout - 1 card per row */
@media screen and (max-width: 767px) {
  .services-container {
    grid-template-columns: 1fr !important;
  }
}

/* Mac-specific service layout - only apply on desktop */
@media screen and (min-width: 768px) {
  html.mac .services-container,
  body.mac .services-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 3rem 2rem;
  transition: all 0.3s var(--easing);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.light-mode .service-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Only apply hover effects on non-touch devices */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
    border-color: var(--primary-color);
  }

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

  .service-card:hover .service-icon {
    transform: scale(1.1);
  }
}

.service-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s var(--easing);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1rem;
}

.service-card ul {
  margin-top: 1.5rem;
}

.service-card li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.service-icon.web {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 14H4v-4h11v4zm0-5H4V9h11v4zm5 5h-4V9h4v9z'/%3E%3C/svg%3E");
}

.service-icon.mobile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14zm-4.2-5.78v1.75l2.81-2.62c.21-.2.21-.53 0-.73L12.8 9v1.7c-3.11.43-4.35 2.56-4.8 4.7 1.11-1.5 2.58-2.18 4.8-2.18z'/%3E%3C/svg%3E");
}

.service-icon.ecommerce {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E");
}

.service-icon.software {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z'/%3E%3C/svg%3E");
}

/* Process Section */
.process-container {
  margin-top: 2rem;
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s var(--easing);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.light-mode .process-step-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-dark);
  border-color: var(--primary-color);
}

.light-mode .process-step-card:hover {
  box-shadow: var(--shadow-light);
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.1), rgba(255, 68, 170, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}

.process-step-card:hover::before {
  opacity: 1;
}

.process-step-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 3.5rem;
  font-weight: 700;
  opacity: 0.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.process-step-content {
  position: relative;
  z-index: 1;
}

.process-step-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s var(--easing);
}

.process-step-card:hover .process-step-icon {
  transform: scale(1.1);
}

.process-step-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1rem;
}

.process-step-content p {
  font-size: 0.95rem;
  color: var(--text-muted-light);
  line-height: 1.5;
}

.light-mode .process-step-content p {
  color: var(--text-muted-dark);
}

.process-step-icon.discovery {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M9.5 3C7.56 3 5.85 3.86 4.69 5.19L3 3.5V9h5.5L6.86 7.36C7.64 6.5 8.53 6 9.5 6c1.93 0 3.5 1.57 3.5 3.5 0 .97-.5 1.86-1.36 2.64L13.5 14v-5.5c-.17-3.05-2.63-5.5-5.68-5.5m9.31 3.19L17 7.64c.86.78 1.36 1.67 1.36 2.64 0 1.93-1.57 3.5-3.5 3.5-.97 0-1.86-.5-2.64-1.36L10.5 14h5.5c0-2.5-.06-5-3.31-5.81l2.31-2m.69 10.81c0-2.18 1-4 2.5-5H15c-2.36 0-4.75.36-7 1-.15.92-.84 2.24-1.81 3.44A14.53 14.53 0 0 1 3 18.5v4h12a20.39 20.39 0 0 0 4.5-5.5M15 21H5.5a9.54 9.54 0 0 1 3.44-1.81c1.2-.97 2.52-1.66 3.44-1.81A16.84 16.84 0 0 0 15 21z'/%3E%3C/svg%3E");
}

.process-step-icon.strategy {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z'/%3E%3C/svg%3E");
}

.process-step-icon.design {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M6 2a4 4 0 0 1 4 4c0 .73-.19 1.41-.54 2H18c.95 0 1.75.67 1.95 1.56C21.96 9.83 23 10.76 23 12s-1.04 2.17-3.05 2.44c-.2.89-1 1.56-1.95 1.56H9.46A3.93 3.93 0 0 1 10 18a4 4 0 0 1-4 4 4 4 0 0 1-4-4c0-1.09.44-2.08 1.15-2.8A3.98 3.98 0 0 1 2 12c0-1.09.44-2.08 1.15-2.8A3.98 3.98 0 0 1 2 6a4 4 0 0 1 4-4m0 2a2 2 0 0 0-2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0-2-2m0 14a2 2 0 0 0 2-2 2 2 0 0 0-2-2 2 2 0 0 0-2 2 2 2 0 0 0 2 2M18 14h-8.19c.17-.29.29-.61.36-.95C12.23 12.97 14 12.41 14 12s-1.77-.97-3.83-1.05c-.07-.34-.19-.66-.36-.95H18m0-2h-8v.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5z'/%3E%3C/svg%3E");
}

.process-step-icon.development {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M8 3a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2H3v2h1a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h2v-2H8v-5a2 2 0 0 0-2-2 2 2 0 0 0 2-2V5h2V3m6 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5h-2V3h2z'/%3E%3C/svg%3E");
}

.process-step-icon.testing {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M17 7V9h-2V7h2m2-2h-6v6h6V5m-8 14a6 6 0 0 1-6-6c0-1.77.77-3.37 2-4.47V5a3 3 0 0 1 3-3 3 3 0 0 1 3 3v1h2v2H5v2H3v2h2c0 3.3 2.7 6 6 6v-2a4 4 0 0 1-4-4h2v-2h2v-2H7V7h2c0-1.1.9-2 2-2s2 .9 2 2v2h.18A6.03 6.03 0 0 1 18 9v4h2v2h-2c0 1.85-.83 3.53-2.13 4.67A1.97 1.97 0 0 1 17 19v2h1a1 1 0 0 1 1-1h2v-2h-2a3 3 0 0 0-3 3h-4v2h10v-4c2.28-1.86 4-4.27 4-7a9 9 0 0 0-9-9c-3.3 0-6.24 1.76-7.81 4.43A1.95 1.95 0 0 0 8 7H7l-1 .58A7.96 7.96 0 0 0 5 13a7.97 7.97 0 0 0 8 8 3 3 0 0 0-2-2m3 3v2h-1v-2h1z'/%3E%3C/svg%3E");
}

.process-step-icon.launch {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M2.81 14.12L5.64 11l-2.83-3.11c-.1-.11-.15-.25-.15-.39 0-.29.19-.53.44-.62.5-.2 1.15-.2 1.64 0l2.13.83c.55.22 1.15.18 1.68-.09l8.13-4.24c.45-.22.96-.04 1.15.41.28.66-.27 1.56-1.06 1.93-.31.15-.5.48-.5.83V21c0 .55-.45 1-1 1s-1-.45-1-1v-4l-9.1 4.1c-.33.18-.32.66.02.85.44.3.88.34 1.31.21L18.5 19c.62-.18 1.16.27 1.25.91a1 1 0 01-1.29 1.19l-6.39 1.97c-.63.19-1.25.27-1.86.21l-5.69-.49c-.25-.02-.4-.26-.33-.49.04-.13.15-.22.27-.27L18 14V7l-6.98 3.14a4 4 0 01-3.33.19L4.8 9.2c-.12-.04-.21-.13-.24-.24C4.5 8.8 4.59 8.66 4.7 8.6l8.1-4.41c.5-.23 1.1-.23 1.6 0l7.45 3.2c.52.23 1.09.21 1.6-.04a1 1 0 01.52-.13c.6 0 1.08.53.94 1.12-.08.26-.27.48-.52.6l-5.8 3.1c-.19.11-.42.15-.63.1-.41-.09-.66-.53-.48-.92.03-.07.08-.13.14-.18L22 8V7z'/%3E%3C/svg%3E");
}

.process-step-icon.support {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M20 2H4c-1.1 0-1.99.9-1.99 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7 12h-2v-2h2v2m0-4h-2V6h2v4z'/%3E%3C/svg%3E");
}

.process-step-icon.feedback {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

/* Portfolio Section */
.portfolio {
    overflow: hidden;
    padding: 0 2%;
}

/* Desktop Portfolio Styles */
.portfolio-content.desktop-portfolio {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-portfolio-image {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.portfolio-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-logos {
    width: 100%;
    max-width: 1400px;
    margin: -4rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.logos-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile & Tablet Portfolio Styles */
.portfolio-content-mobile {
    display: none;
}

.mobile-portfolio-image {
    width: 100%;
    margin-bottom: -4rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.mobile-portfolio-logos {
    width: 100%;
    padding: 0;
    margin-top: 0;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.mobile-portfolio-image img,
.mobile-portfolio-logos img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design - Include tablets in mobile design */
@media screen and (max-width: 1024px) {
    .portfolio-content.desktop-portfolio {
        display: none !important;
    }
    
    .portfolio-content-mobile {
        display: block;
        width: 100%;
        padding: 0 3%;
        margin-bottom: 2rem;
    }
}

/* Mobile Portfolio Styles */
@media (max-width: 767px) {
  .portfolio-content.desktop-portfolio {
    display: none;
  }
  
  .portfolio-content-mobile {
    display: block;
    margin-top: 2rem;
  }
}

.mobile-portfolio-grid {
  display: grid;
  gap: 0.8rem;
  padding: 0 1rem;
}

.mobile-portfolio-item {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  transition: all 0.3s var(--easing);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-portfolio-item:hover {
  background: rgba(30, 30, 30, 0.95);
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 6px 12px rgba(110, 68, 255, 0.1);
}

.mobile-portfolio-item h3 {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

.portfolio-arrow {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--easing);
}

.mobile-portfolio-item:hover .portfolio-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mobile-portfolio-item:hover .portfolio-link {
  color: var(--primary-color);
}

/* Light mode adjustments */
.light-mode .portfolio-link {
  color: rgba(0, 0, 0, 0.9);
}

.light-mode .portfolio-name {
  color: rgba(0, 0, 0, 0.9);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .portfolio-content.desktop-portfolio {
    gap: 4rem;
  }
  
  .portfolio-image {
    max-width: 40%;
  }
  
  .portfolio-list {
    flex: 1.4;
  }
}

@media (max-width: 1200px) {
  .portfolio-content.desktop-portfolio {
    flex-direction: column;
    gap: 3rem;
  }
  
  .portfolio-image {
    max-width: 100%;
  }
  
  .portfolio-list {
    width: 100%;
  }
  
  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Partners Section */
.mobile-partners {
  display: none;
}

.mobile-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0 0.5rem;
  margin-bottom: 4rem; /* Increased to prevent cut-off */
}

.mobile-partner-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-partner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
}

/* Light mode styles for mobile cards */
.light-mode .mobile-partner-item {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.light-mode .mobile-partner-item:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .mobile-partner-item img {
  filter: brightness(0.95) contrast(1.1);
} 

.section.globe {
  position: relative;
  min-height: 600px;
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0,0,0,0.1) 100%);
  overflow: hidden;
}

.globe-container {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section.globe {
    min-height: 400px;
  }
  
  .globe-container {
    height: 300px;
  }
} 

.portfolio-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s var(--easing);
}

.portfolio-name {
  font-size: 1.1rem;
  font-weight: 400;
}

.portfolio-arrow {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236e44ff'%3E%3Cpath d='M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6c-.39-.39-1.02-.39-1.41 0-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--easing);
}

.portfolio-item:hover .portfolio-arrow {
  opacity: 1;
  transform: translateX(0);
}

.portfolio-item:hover .portfolio-link {
  color: var(--primary-color);
}

/* Light mode adjustments */
.light-mode .portfolio-link {
  color: rgba(0, 0, 0, 0.9);
}

.light-mode .portfolio-name {
  color: rgba(0, 0, 0, 0.9);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
  .portfolio-content.desktop-portfolio {
    gap: 4rem;
  }
  
  .portfolio-image {
    max-width: 40%;
  }
  
  .portfolio-list {
    flex: 1.4;
  }
}

@media (max-width: 1200px) {
  .portfolio-content.desktop-portfolio {
    flex-direction: column;
    gap: 3rem;
  }
  
  .portfolio-image {
    max-width: 100%;
  }
  
  .portfolio-list {
    width: 100%;
  }
  
  .portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }
} 