/* hero section css */
/* IMPORTANT: default body margin remove */
html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root{
  --topbar-h: 45px;
  --header-h: 80px;
  --header-offset: calc(var(--topbar-h) + var(--header-h));
}

body{
  padding-top: var(--header-offset);
}

/* ✅ FULL BLEED HERO (mobile me left/right white space remove) */
.service-hero{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  height: 40vh;
  min-height: 260px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;

  background-image: url("images/image_with_padding.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* overlay */
.service-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 32, 55, 0.55);
  z-index: 1;
}

/* content */
.service-hero__container{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 40px 16px;
  box-sizing: border-box;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-hero__title{
  color: #fff;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 12px 0;
  text-align: left;
  padding-left: 70px;
}

.service-hero__breadcrumb{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.95);
  font-size: 18px;
  margin: 0;
  padding-left: 70px;
}

.service-hero__link{
  color: #fff;
  text-decoration: none;
}
.service-hero__link:hover{
  text-decoration: underline;
}

.service-hero__sep{
  color: rgba(255,255,255,0.85);
}

.service-hero__current{
  color: #ff7a18;
  font-weight: 700;
}

/* ✅ Laptop 1024px */
@media (max-width: 1024px){
  .service-hero{ min-height: 280px; }
  .service-hero__title{ font-size: 46px; }
  .service-hero__breadcrumb{ font-size: 16px; }
}

/* ✅ Tablet 768px - CENTER CONTENT */
@media (max-width: 768px){
  :root{
    --topbar-h: 0px;
    --header-h: 60px;
    --header-offset: calc(var(--topbar-h) + var(--header-h));
  }

  body{
    padding-top: var(--header-offset);
  }

  .service-hero{
    min-height: 240px;
    margin-top: 0;
    justify-content: center; /* ✅ Center alignment */
  }

  .service-hero__container{
    margin-left: auto; /* ✅ Center horizontally */
    margin-right: auto; /* ✅ Center horizontally */
    align-items: center; /* ✅ Center items */
  }

  .service-hero__title{ 
    font-size: 38px;
    text-align: center; /* ✅ Center text */
    padding-left: 0; /* ✅ Remove left padding */
  }
  
  .service-hero__breadcrumb{ 
    font-size: 15px; 
    gap: 8px;
    padding-left: 0; /* ✅ Remove left padding */
    justify-content: center; /* ✅ Center breadcrumbs */
  }
}

/* ✅ Mobile 520px - About page ke EXACT barabar */
@media (max-width: 520px){
  
  .service-hero{ 
    height: 42.5vh;
    min-height: 280px;
    justify-content: center;
    align-items: center;
    margin-top: 42px;
  }
  
  .service-hero__container{ 
    padding: 32px 14px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .service-hero__title{ 
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  
  .service-hero__breadcrumb{ 
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
    width: 100%;
  }
}
/* 
service section 1 css */
.service-section-1{
  padding: 40px 0;
  background: #f7fafc;
}

.service-section-1__head{
  text-align: center;
  margin-bottom: 28px;
}

.service-section-1__kicker{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0b163e;
}

.service-section-1__title{
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 900;
  color: #1f2937;
}

.service-section-1__line{
  display: inline-block;
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: #0dcaf0;
}

/* Grid */
.service-section-1__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Card */
.service-section-1__card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
  min-height: 320px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
  transform: translateZ(0);
}

.service-section-1__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

/* Overlay */
.service-section-1__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.05) 0%,
    rgba(15,23,42,0.55) 45%,
    rgba(15,23,42,0.88) 100%
  );
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.service-section-1__name{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.service-section-1__text{
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 90%;
}

.service-section-1__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  color: #ffffff;
}

.service-section-1__btn span{
  display: inline-block;
  transform: translateY(1px);
}

/* Hover */
.service-section-1__card:hover .service-section-1__img{
  transform: scale(1.05);
}

.service-section-1__card:hover .service-section-1__overlay{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

/* <= 1024px */
@media (max-width: 1024px){
  .service-section-1{
    padding: 13px 0;
  }
  .service-section-1__grid{
    gap: 18px;
  }
  .service-section-1__card{
    min-height: 300px;
  }
}

/* <= 768px : 2 columns */
@media (max-width: 768px){
  .service-section-1__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-section-1__card{
    min-height: 290px;
  }
}

/* <= 520px : 1 column */
@media (max-width: 520px){
  .service-section-1__grid{
    grid-template-columns: 1fr;
  }
  .service-section-1__card{
    min-height: 260px;
  }
  .service-section-1__text{
    max-width: 100%;
  }
}
.service-section-1__footer{
  margin-top: 28px;
  text-align: center;
}

.service-section-1__gallery-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #0dcaf0;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(11,94,215,0.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.service-section-1__gallery-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11,94,215,0.26);
}

.service-section-1__gallery-btn span{
  transform: translateY(1px);
}


/* service section 2 css */
 .brand-carousel-1{
    padding: 70px 0;
    background: #ffffff;
  }

  .brand-carousel-1__head{
    text-align: center;
    margin-bottom: 28px;
  }

  .brand-carousel-1__title{
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .brand-carousel-1__text{
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #475569;
  }

  /* Wrap */
  .brand-carousel-1__track-wrap{
    position: relative;
    overflow: hidden;
    padding: 28px 0;
  }

  /* Fade edges */
  .brand-carousel-1__track-wrap::before,
  .brand-carousel-1__track-wrap::after{
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .brand-carousel-1__track-wrap::before{
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0) 100%);
  }

  .brand-carousel-1__track-wrap::after{
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
  }

  /* Track */
  .brand-carousel-1__track{
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: brandMarquee 22s linear infinite;
    will-change: transform;
  }

  /* Pause on hover */
  .brand-carousel-1__track-wrap:hover .brand-carousel-1__track{
    animation-play-state: paused;
  }

  /* Each logo item */
  /* same item height for all */
.brand-carousel-1__item{
  height: 90px;                 /* container height same */
  width: 150px;                 /* optional: uniform visual spacing */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  flex: 0 0 auto;
}

/* force all logos same height */
.brand-carousel-1__item img{
  height: 60px;                 /* ✅ sab images ki equal height */
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.9;
  transition: filter .18s ease, opacity .18s ease, transform .18s ease;
}


  .brand-carousel-1__item img:hover{
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
  }

  /* Seamless movement: since we duplicated the logos, move by half */
  @keyframes brandMarquee{
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Responsive */
  @media (max-width: 1024px){
    .brand-carousel-1{ padding: 40px 0 ; }
    .brand-carousel-1__track{ gap: 44px; animation-duration: 20s; }
    .brand-carousel-1__item{ height: 80px; width: 140px; }
  .brand-carousel-1__item img{ height: 54px; }
    .brand-carousel-1__text{ font-size: 16px; }
  }

  @media (max-width: 768px){
    .brand-carousel-1{ padding: 60px 0; }
    .brand-carousel-1__track{ gap: 34px; animation-duration: 18s; }
     .brand-carousel-1__item{ height: 74px; width: 130px; }
  .brand-carousel-1__item img{ height: 48px; }
    .brand-carousel-1__title{ font-size: 22px; }
  }

  @media (max-width: 520px){
    .brand-carousel-1{ padding: 52px 0; }
    .brand-carousel-1__track{ gap: 28px; animation-duration: 16s; }
  .brand-carousel-1__item{ height: 68px; width: 120px; }
  .brand-carousel-1__item img{ height: 44px; }

    .brand-carousel-1__track-wrap::before,
    .brand-carousel-1__track-wrap::after{
      width: 50px;
    }
  }


     /* ===== Service CTA Section ===== */
.service-cta-section{
  max-width:1100px;
  margin: 0 auto;
  padding:28px;
  border-radius:18px;
  background: linear-gradient(135deg, rgba(17,24,39,.06), rgba(59,130,246,.06));
  border: 1px solid rgba(17,24,39,.08);
}

.service-cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.service-cta-content{
  min-width: 280px;
}

.service-cta-title{
  margin:0 0 10px 0;
  font-size:28px;
  line-height:1.2;
  letter-spacing:-0.3px;
}

.service-cta-text{
  margin:0 0 16px 0;
  font-size:13px;
  line-height:1.6;
  color:rgba(17,24,39,.78);
  max-width: 60ch;
}

.service-cta-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.service-cta-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.8);
  border:1px solid rgba(17,24,39,.08);
  font-size:13px;
  color:rgba(17,24,39,.82);
  white-space:nowrap;
}

.service-cta-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background: rgba(34,197,94,.9);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.service-cta-actions{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.service-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:600;
  line-height:1;
  border-radius:12px;
  padding:14px 18px;
  min-height:48px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  outline:none;
  border:1px solid transparent;
  white-space:nowrap;

  background:#111827;
  color:#ffffff;
  box-shadow:0 10px 24px rgba(17,24,39,.18);
}

.service-cta-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(17,24,39,.24);
}

.service-cta-btn:active{ transform:translateY(0); }

.service-cta-btn:focus-visible{
  box-shadow:0 0 0 3px rgba(59,130,246,.35);
}

/* Responsive */
@media (max-width: 1024px){
  .service-cta-section{ 
    padding:22px;   
    margin: 15px;
  }
}

@media (max-width: 900px){
  .service-cta-title{ font-size:24px; }
  .service-cta-section{ 
    padding:22px;   
    margin: 15px; 
  }
}

@media (max-width: 640px){
  body{ padding:0; } /* ✅ Remove body padding */

  .service-cta-section{ 
    max-width: 100vw; /* ✅ Full viewport width */
    width: 100%; /* ✅ Full width */
    margin: 0; /* ✅ No margin */
    padding: 24px 16px; /* ✅ Only inner padding */
    border-radius: 25px; /* ✅ No border radius for full bleed */
    border-left: none; /* ✅ Remove side borders */
    border-right: none; /* ✅ Remove side borders */
  }

  .service-cta-inner{
    flex-direction:column;
    align-items:stretch;
  }

  .service-cta-content{
    min-width: 100%; /* ✅ Full width */
  }

  .service-cta-text{
    max-width: 100%; /* ✅ Full width */
  }

  .service-cta-actions{
    justify-content:stretch;
  }

  .service-cta-btn{
    width:100%;
    white-space:normal;
  }

  .service-cta-title{ font-size:18px; }
}