/* SERVICES PAGE — services.css
   Designed to sit on top of your existing style.css / index.css header+footer
*/

/* ---------------- HERO ---------------- */
.services-hero{
    min-height: 420px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    padding:40px 20px;
    background: radial-gradient(1200px 400px at 10% 10%, rgba(255,120,210,0.15), transparent),
                radial-gradient(1000px 350px at 90% 80%, rgba(0,180,255,0.12), transparent),
                linear-gradient(180deg,#fff 0%, #fff 60%);
  }
  
  .services-hero .hero-inner h1{
    font-size:54px;
    line-height:1.03;
    letter-spacing:-1px;
    color:#0b1f3a;
    font-weight:800;
    margin-bottom:14px;
  }
  
  .services-hero .hero-inner h1 span{
    display:inline-block;
    color:#0b1f3a;
    background: linear-gradient(90deg,#ff4ecb,#6b8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .services-hero .hero-inner p{
    font-size:18px;
    color:#40506a;
    margin-bottom:20px;
    max-width:760px;
    margin-left:auto;
    margin-right:auto;
  }
  
  .btn-primary{
    display:inline-block;
    padding:12px 22px;
    border-radius:28px;
    background: linear-gradient(90deg,#7a2cff,#28d4ff);
    color:white;
    font-weight:700;
    box-shadow:0 10px 30px rgba(122,44,255,0.12);
    text-decoration:none;
  }
  
  /* small decorative accent (floating dot) */
  .hero-accent{
    position:absolute;
    width:36px; height:36px;
    border-radius:50%;
    right:8%;
    top:30%;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0.08)),
                linear-gradient(120deg,#7a2cff,#28d4ff);
    box-shadow:0 8px 30px rgba(122,44,255,0.18);
    animation: floaty 6s ease-in-out infinite;
  }
  @keyframes floaty{ 0%{transform:translateY(0)}50%{transform:translateY(-12px)}100%{transform:translateY(0)} }
  
  /* ---------------- SERVICES GRID ---------------- */
  .services-section{
    padding:50px 20px 30px;
    background: linear-gradient(180deg, rgba(250,251,255,1), rgba(245,249,255,1));
  }
  
  .services-grid-wrapper{
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap:28px;
    max-width:1300px;
    margin: 0 auto;
    padding: 10px;
  }
  
  /* single card */
  .service-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
    border-radius:22px;
    overflow:visible;
    position:relative;
    padding:16px;
    transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .3s;
    transform: translateY(8px);
    box-shadow: 0 8px 30px rgba(6,18,45,0.06);
    border: 3px solid transparent; /* show neon border via pseudo */
  }
  
  /* neon gradient border via pseudo element */
  .service-card::before{
    content: "";
    position:absolute;
    inset:-6px;
    border-radius:26px;
    background: linear-gradient(90deg,#ff4ecb,#7a2cff,#28d4ff,#00ffb3);
    z-index:-1;
    filter: blur(8px);
    opacity:.85;
    transition: opacity .35s;
  }
  
  /* media area (image) */
  .card-media{
    position:relative;
    border-radius:14px;
    overflow:hidden;
    height:220px;
    display:block;
  }
  
  /* image */
  .card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transform: scale(1.02);
    transition: transform .6s ease;
  }
  
  /* colorful bottom overlay */
  .card-media .color-overlay{
    position:absolute;
    left:0; right:0; bottom:0;
    height:60%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(122,44,255,0.28) 30%, rgba(40,212,255,0.22) 70%);
    mix-blend-mode: screen;
    pointer-events:none;
  }
  
  /* round icon floating on image */
  .card-icon{
    position:absolute;
    left:18px;
    bottom:18px;
    width:54px;
    height:54px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(90deg,#ff4ecb,#7a2cff);
    color:white;
    box-shadow:0 8px 20px rgba(122,44,255,0.25);
    border:3px solid white;
    transition: transform .35s;
  }
  
  /* body */
  .card-body{
    padding:18px 12px 8px;
  }
  .card-body h3{
    font-size:20px;
    color:#081b33;
    margin-bottom:8px;
    font-weight:700;
  }
  .card-body p{
    color:#42506a;
    font-size:14px;
    line-height:1.45;
  }
  
  /* hover effects */
  .service-card:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 55px rgba(6,18,45,0.12);
  }
  .service-card:hover .card-media img{ transform: scale(1.08); }
  .service-card:hover .card-icon{ transform: translateY(-6px) rotate(-6deg) }
  
  /* reveal animation when in view */
  .service-card.in-view{
    transform: translateY(0);
    opacity:1;
    transition: transform .6s ease, opacity .6s ease;
    opacity:1;
  }
  
  /* ---------------- WHY CHOOSE ROW ---------------- */
  .why-choose{ padding:30px 20px 60px; max-width:1100px; margin:0 auto; }
  .why-grid{ display:flex; gap:18px; justify-content:center; align-items:center; flex-wrap:wrap; }
  .why-item{ background:white; padding:18px 22px; border-radius:12px; box-shadow:0 8px 24px rgba(6,18,45,0.05); display:flex; gap:12px; align-items:center; min-width:180px; }
  .why-item i{ background:linear-gradient(90deg,#7a2cff,#28d4ff); color:white; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:10px; }
  
  /* ---------------- RESPONSIVE ---------------- */
  
  /* large desktop -> keep 5 columns but constrain width */
  @media (max-width:1400px){
    .services-grid-wrapper{ grid-template-columns: repeat(4, 1fr); }
  }
  
  /* laptop / large tablet */
  @media (max-width:1100px){
    .services-grid-wrapper{ grid-template-columns: repeat(3, 1fr); }
    .services-hero .hero-inner h1{ font-size:44px; }
  }
  
  /* tablet */
  @media (max-width:880px){
    .services-grid-wrapper{ grid-template-columns: repeat(2, 1fr); gap:18px; }
    .card-media{ height:200px; }
    .services-hero .hero-inner h1{ font-size:36px; }
  }
  
  /* mobile */
  @media (max-width:540px){
    .services-grid-wrapper{ grid-template-columns: 1fr; }
    .card-media{ height:160px; }
    .services-hero .hero-inner h1{ font-size:28px; }
    .card-icon{ width:46px; height:46px; left:12px; bottom:12px; }
    .service-card::before{ inset:-4px; filter: blur(6px); }
  }

  

  /* =========================================================
   SERVICES HERO
========================================================= */
.services-hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff, #f3e8ff, #fde1ff);
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #111;
}

.services-hero span {
    color: #5c2dff;
}

/* =========================================================
   SERVICES CARDS
========================================================= */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #5c2dff, #ff1db4, #00d4ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
}

.service-content p {
    opacity: 0.7;
    margin-top: 5px;
}

/* =========================================================
   IT TEAM
========================================================= */
.it-team {
    padding: 60px 20px;
    text-align: center;
    background: #f7f4ff;
}

.it-team h2 {
    font-size: 36px;
    font-weight: 800;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.4s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
}

/* =========================================================
   BRANDS SECTION
========================================================= */
.brands-section {
    text-align: center;
    padding: 60px 20px;
}

.brands-section span {
    color: #7d2dff;
}

.brands-logos {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brands-logos img {
    width: 120px;
    opacity: 0.7;
    transition: 0.3s;
}

.brands-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================================
   RESPONSIVE MEDIA QUERY
========================================================= */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 32px;
    }

    .brands-logos img {
        width: 90px;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 26px;
    }
}
