/* HERO SECTION */
.web-hero {
  width: 100%;
  height: 100vh;
  background: url("images/websiteDevelopment1.jpg") center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* OVERLAY */
.web-hero__overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CONTENT */
.web-hero__content {
  color: #fff;
  max-width: 900px;
  padding: 20px;
}

/* HEADING */
.web-hero__content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

/* PARAGRAPH */
.web-hero__content p {
  font-size: 18px;
  line-height: 1.6;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .web-hero__content {
    max-width: 750px;
  }

  .web-hero__content h1 {
    font-size: 40px;
  }

  .web-hero__content p {
    font-size: 17px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .web-hero {
    overflow-x: hidden;
    background-attachment: scroll; /* important for performance */
  }

  .web-hero__content {
    max-width: 90%;
    padding: 15px;
  }

  .web-hero__content h1 {
    font-size: 32px;
    line-height: 1.3;
  }

  .web-hero__content p {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .web-hero {
    height: 85vh;
  }

  .web-hero__content h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .web-hero__content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .web-hero__content {
    padding: 10px;
  }
}

/* -----------------------------text and para --------------- */
.webdev-center {
  padding: 80px 20px;
  text-align: center;
  background: #e7e7fc;
}

.webdev-center__content {
  max-width: 1000px;
  margin: 0 auto;
}

.webdev-center__title {
  font-size: 36px;
  color: #273698;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

/* UNDERLINE EFFECT */
.webdev-center__title::after {
  content: "";
  width: 25%;
  height: 4px;
  background: linear-gradient(190deg, #3021a3, #b6074a);
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

.webdev-center__desc {
  font-size: 18px;
  color: #2d2c2c;
  line-height: 1.6;
}
/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .webdev-center {
    padding: 70px 15px;
  }

  .webdev-center__content {
    max-width: 850px;
  }

  .webdev-center__title {
    font-size: 32px;
  }

  .webdev-center__desc {
    font-size: 17px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .webdev-center {
    overflow-x: hidden;
    padding: 60px 12px;
  }

  .webdev-center__content {
    max-width: 90%;
  }

  .webdev-center__title {
    font-size: 28px;
  }

  .webdev-center__desc {
    font-size: 16px;
    line-height: 1.7;
  }

  .webdev-center__title::after {
    width: 25%;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .webdev-center {
    padding: 50px 10px;
  }

  .webdev-center__title {
    font-size: 23px;
    line-height: 1.3;
  }

  .webdev-center__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .webdev-center__title::after {
    width: 40%;
  }
}

/* -------------------------- what we do section ------------------------------ */
/* SECTION */
.what {
  padding: 80px 10%;
  background: #b5caf3;
}

/* CONTAINER */
.what-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

/* IMAGE */
.what-img img {
  width: 100%;
  height:50%;
  border-radius: 15px;
}

/* TEXT */
.what-text h2 {
  font-size: 36px;
  color: #1e2a78;
  margin-bottom: 20px;
  position: relative;
}

/* UNDERLINE */
.what-text h2::after {
  content: "";
  width: 20%;
  height: 4px;
  background: linear-gradient(190deg, #3021a3, #b6074a);
  position: absolute;
  left: 10%;
  bottom: -10px;
}

.what-text p {
  font-size: 18px;
  color: #191818;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .what {
    padding: 70px 6%;
  }

  .what-container {
    gap: 30px;
  }

  .what-text h2 {
    font-size: 32px;
  }

  .what-text p {
    font-size: 17px;
  }

  .what-text h2::after {
    width: 25%;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .what {
    overflow-x: hidden;
    padding: 60px 5%;
  }

  .what-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .what-img img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .what-text h2 {
    font-size: 28px;
  }

  .what-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .what-text h2::after {
    left: 50%;
    border-radius:10px;
    transform: translateX(-50%);
    width: 17%;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    -ms-border-radius:10px;
    -o-border-radius:10px;
}
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .what {
    padding: 50px 4%;
  }

  .what-text h2 {
    font-size: 25px;
  }

  .what-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .what-img img {
    width: 100%;
    border-radius: 10px;
  }

  .what-text h2::after {
    width: 30%;
  }
}



/* -----------------------------services cards code---------------------------- */
 
.services {
  padding: 80px 10%;
  background: #e7e7fc;
  overflow: hidden;
}

/* HEADER */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.services-header h2 {
  font-size: 36px;
  color: #1e2a78;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

/* UNDERLINE */
.services-header h2::after {
  content: "";
  width: 30%;
  height: 4px;
  background: linear-gradient(190deg,#b6074a , #1f1378);
  position: absolute;
  left: 50%;
  bottom: -10px;
  border-radius:10px;
  transform: translateX(-50%);
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
  -ms-border-radius:10px;
  -o-border-radius:10px;
}

.services-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

 
.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* CONTAINER */
.services-container {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 25s linear infinite;
}

/* CARD */
.card {
  min-width: 260px;
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 15px;
  border: 1px solid #eee;
  transition: 0.3s;
}

/* ICON */
.icon {
  width: 90px;
  height: 90px;
  background: #1f1fb0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: 0.3s;
}

.icon i {
  font-size: 40px;
  font-weight:600;
  color: #f7f7f9;
}
/* TEXT */
.card h3 {
  font-size: 16px;
  font-weight: 500;
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card:hover .icon {
  background: linear-gradient(190deg,#dc1d66 , #1f1378);
  transform: scale(1.1);
}

/* MARQUEE ANIMATION */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* PAUSE ON HOVER */
.marquee:hover .services-container {
  animation-play-state: paused;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .services {
    padding: 70px 6%;
  }

  .services-header h2 {
    font-size: 32px;
  }

  .services-header p {
    font-size: 17px;
  }

  .card {
    min-width: 240px;
    padding: 35px 18px;
  }

  .icon {
    width: 80px;
    height: 80px;
  }

  .icon i {
    font-size: 34px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .services {
    padding: 60px 5%;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .services-header h2 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 16px;
    line-height: 1.6;
  }

  .card {
    min-width: 220px;
    padding: 30px 15px;
  }

  .icon {
    width: 70px;
    height: 70px;
  }

  .icon i {
    font-size: 30px;
  }

  /* slow animation for better mobile experience */
  .services-container {
    animation-duration: 30s;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .services {
    padding: 50px 4%;
  }

  .services-header h2 {
    font-size: 23px;
  }
.services-header h2::after{
  width:30%;
}
  .services-header p {
    font-size: 15px;
  }

  .card {
    min-width: 250px;
    padding: 25px 12px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .icon i {
    font-size: 26px;
  }

  .card h3 {
    font-size: 16px;
  }

  /* reduce animation speed for mobile */
  .services-container {
    animation-duration: 35s;
  }
}


/* ---------------------------- wide card code -------------------- */
 
/* SECTION */
.why-site {
  padding: 80px 10%;
  background: #e7e7fc;
}
/* HEADER */
.why-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

/* HEADING */
.why-header h2 {
  font-size: 36px;
  color: #1e2a78;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* GRADIENT UNDERLINE */
.why-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40%;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2325ae, #f240a5);
  transform: translateX(-50%);
}

/* SUBHEADING */
.why-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}
/* CONTAINER (CENTERED) */
.why-container {
  display: flex;
  justify-content: center;
}

/* CARDS WRAPPER */
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
}

/* SINGLE CARD */
.why-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid #3242ba;

  transition: 0.3s;
}

/* ICON */
.why-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #303cab;

  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  color: #6c3bff;
  font-size: 18px;
}

/* TEXT */
.why-card p {
  font-size: 18px;
  color: #1116ac;
  font-weight: 500;
  margin: 0;
}

/* HOVER EFFECT */
.why-card:hover {
  background:
        radial-gradient(circle at top left, rgba(60, 75, 159, 0.2), transparent 40%),
        radial-gradient(circle at bottom right, rgba(209, 9, 76, 0.9), transparent 87%),
        #3838a5;
}

.why-card:hover p {
  color: #fff;
}

.why-card:hover .why-icon {
  background: #fff;
}

/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .why-site {
    padding: 70px 6%;
  }

  .why-header h2 {
    font-size: 32px;
  }

  .why-header p {
    font-size: 17px;
  }

  .why-cards {
    width: 90%;
  }

  .why-card {
    padding: 14px 18px;
  }

  .why-card p {
    font-size: 17px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .why-site {
    padding: 60px 5%;
  }

  .why-header h2 {
    font-size: 28px;
  }

  .why-header p {
    font-size: 16px;
    line-height: 1.6;
  }

  .why-cards {
    width: 100%;
  }

  .why-card {
    padding: 14px 16px;
    border-radius: 35px;
  }

  .why-card p {
    font-size: 15px;
  }

  .why-icon {
    width: 40px;
    height: 40px;
  }

  .why-icon i {
    font-size: 16px;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .why-site {
    padding: 50px 4%;
  }

  .why-header h2 {
    font-size: 23px;
  }

  .why-header p {
    font-size: 16px;
  }

  .why-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 21px 15px;
    border-radius: 25px;
  }

  .why-card p {
    font-size: 15px;
  }

  .why-icon {
    width: 38px;
    height: 38px;
  }

  .why-icon i {
    font-size: 17px;
  }
}