/* 
 * App Development Service Page Specific Styles for Shraddha
 * Minimalist, professional styling with unique touches
 */

/* Hero Section */
.app-hero {
    position: relative;
    background-color: #000;
    padding-top: 7rem;
    overflow: hidden;
  }
  
  .app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 20% 25%, rgba(245, 78, 2, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 80% 75%, rgba(245, 78, 2, 0.05) 0%, transparent 50%);
    z-index: 0;
  }
  
  .app-hero-content {
    position: relative;
    z-index: 1;
  }

  #heroImage img{
    width: 50vmax;
  }
  
  .floating-devices {
    position: relative;
  }
  
  .device-wrapper {
    position: relative;
    height: 400px;
  }
  
  .device {
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  
  .device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .device-1 {
    width: 200px;
    height: 400px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .device-2 {
    width: 180px;
    height: 330px;
    z-index: 2;
    left: 15%;
    top: 35px;
    transform: rotate(-10deg);
  }
  
  .device-3 {
    width: 180px;
    height: 330px;
    z-index: 1;
    right: 15%;
    top: 35px;
    transform: rotate(10deg);
  }
  
  .floating-devices:hover .device-1 {
    transform: translateX(-50%) translateY(-10px);
  }
  
  .floating-devices:hover .device-2 {
    transform: rotate(-15deg) translateY(-10px);
  }
  
  .floating-devices:hover .device-3 {
    transform: rotate(15deg) translateY(-10px);
  }
  
  /* Service Cards */
  .app-service-card {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
  }
  
  .app-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 60px;
    background-color: var(--brand-color);
    transition: all 0.3s ease;
  }
  
  .app-service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .app-service-card:hover::before {
    height: 100%;
  }
  
  .app-service-content {
    padding: 2rem;
    padding-left: 2.5rem;
  }
  
  .app-service-icon {
    font-size: 2.5rem;
    color: var(--brand-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .app-service-card:hover .app-service-icon {
    transform: scale(1.1);
  }
  
  /* Platform Section */
  .platform-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .platform-wrapper:hover .platform-icon {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .platform-name {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0;
  }
  
  /* Process Timeline */
  .app-process {
    position: relative;
  }
  
  .app-process::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: rgba(245, 78, 2, 0.2);
  }
  
  .app-process-step {
    position: relative;
    padding-left: 70px;
    margin-bottom: 2.5rem;
  }
  
  .app-process-step:last-child {
    margin-bottom: 0;
  }
  
  .app-process-step::before {
    content: attr(data-step);
    position: absolute;
    left: 15px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--brand-color);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  
  .app-process-content {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .app-process-step:hover .app-process-content {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  /* Portfolio Preview */
  .app-portfolio {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .app-portfolio img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
  }
  
  .app-portfolio:hover img {
    transform: scale(1.05);
  }
  
  .app-portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
  }
  
  .app-portfolio:hover .app-portfolio-overlay {
    transform: translateY(-10px);
  }
  
  .app-portfolio-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .app-portfolio-category {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Technologies */
  .tech-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #f8f9fa;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .tech-pill:hover {
    background-color: var(--brand-color);
    color: white;
    transform: translateY(-3px);
  }
  
  /* Media Queries */
  @media (max-width: 991.98px) {
    .app-hero {
      padding-top: 6rem;
    }
    
    .device-wrapper {
      height: 350px;
      margin-top: 2rem;
    }
    
    .device-1 {
      width: 180px;
      height: 350px;
    }
    
    .device-2, .device-3 {
      width: 160px;
      height: 300px;
    }
  }
  
  @media (max-width: 767.98px) {
    .device-wrapper {
      height: 300px;
    }
    
    .device-1 {
      width: 150px;
      height: 300px;
    }
    
    .device-2, .device-3 {
      width: 130px;
      height: 250px;
    }
    
    .app-process::before {
      left: 25px;
    }
    
    .app-process-step {
      padding-left: 55px;
    }
    
    .app-process-step::before {
      left: 10px;
      width: 30px;
      height: 30px;
      font-size: 0.85rem;
    }
  }
  
  @media (max-width: 575.98px) {
    .device-2 {
      left: 5%;
    }
    
    .device-3 {
      right: 5%;
    }
    
    .app-service-content {
      padding: 1.5rem;
      padding-left: 2rem;
    }
  }