 /* HERO SECTION */
.dm-hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: url("images/digitalpagehero.jpg") center/cover no-repeat;
  background-attachment: fixed;   
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* OVERLAY */
.dm-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENT */
.dm-hero .content {
  
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 20px;
}

.dm-hero h1 {
  font-size: 55px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.dm-hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e2e8f0;
}


/* =======================
   TABLET (1024px)
======================= */
@media (max-width: 1024px) {
  .dm-hero h1 {
    font-size: 42px;
  }

  .dm-hero p {
    font-size: 17px;
    padding: 0 15px;
  }

  .dm-hero .content {
    max-width: 700px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .dm-hero {
    background-attachment: fixed;  
  }

  .dm-hero h1 {
    font-size: 34px;
  }

  .dm-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .dm-hero .content {
    max-width: 90%;
    padding: 15px;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .dm-hero h1 {
    font-size: 30px;
  }

  .dm-hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  .dm-hero .content {
    max-width: 95%;
    padding: 10px;
  }

  .dm-hero {
    height: 85dvh;  
  }
}

/* ---------------para and image code------------- */
 
.dm-about {
  padding: 80px 10%;
  background: #fff;
  overflow-x: hidden;
}

/* CONTAINER */
.dm-container {
  display: flex;
  align-items: center;
  gap: 50px;
   
  flex-wrap: wrap;
}

/* IMAGE */
.dm-image {
  flex: 1;
  position: relative;
}

.dm-image img {
  width: 100%;

  border-radius: 20px;
  object-fit: cover;
   position: relative;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.dm-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -50px;
  width: 100%;
  height: 100%;
  background: linear-gradient(190deg, #3021a3, #b6074a);
  border-radius: 25px;
  z-index: 0;
}
/* TEXT */
.dm-text {
  flex: 1;
}

.dm-text h2 {
  font-size: 36px;
  color: #251173;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

/* UNDERLINE */
.dm-text h2::after {
  content: "";
  position: absolute;
  left:16%;
  bottom: -8px;
  width: 30%;
  height: 4px;
  background:
        radial-gradient(circle at top left, rgba(60, 75, 159, 0.2), transparent 60%),
        radial-gradient(circle at bottom right, rgba(209, 9, 76, 0.9), transparent 87%),
        #282889;
  border-radius: 10px;
}

.dm-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #413e3e;
}

 /* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .dm-about {
    padding: 70px 6%;
  }

  .dm-container {
    gap: 35px;
  }

  .dm-text h2 {
    font-size: 32px;
  }

  .dm-text p {
    font-size: 17px;
  }

  .dm-text h2::after {
    width: 40%;
    left: 10%;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .dm-about {
    padding: 60px 5%;
  }

  .dm-container {
    flex-direction: column;
    text-align: center;
  }

  .dm-image {
    width: 70%;
  }

  .dm-text {
    width: 100%;
  }

  .dm-text h2 {
    font-size: 28px;
  }
  .dm-text h2::after{
    width:10%;
  }

  .dm-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .dm-text h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
  }

  .dm-image::before {
    left: -20px;
    top: -15px;
  }
}

/* =======================
   MOBILE (580px)
======================= */
@media (max-width: 480px) {
  .dm-about {
    padding: 50px 4%;
  }

  .dm-text h2 {
    font-size: 26px;
  }

  .dm-text p {
    font-size: 16px;
    line-height: 1.7;
  }

  .dm-container {
    gap: 25px;
  }

  .dm-image img {
    border-radius: 15px;
    width:100%;
  }

  .dm-image::before {
   display:none;
  }
}

/* -----------------industries cards code ------------------- */

.industries {
  padding: 80px 10%;
  background: #fff;
  text-align: center;
  overflow-x: hidden;
}
.industries .section-title {
  position: relative;
  display: inline-block;
  color:#271a8b;
}

/* UNDERLINE */
.industries .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 40%;
  height: 4px;
  background: radial-gradient(circle at top left, rgba(60, 75, 159, 0.2), transparent 60%),        radial-gradient(circle at bottom right, rgba(209, 9, 76, 0.9), transparent 87%),        #282889;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
/* GRID */
.industries-cards {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 25px;
 background:#d6d3f3;
 width:100%;
 padding:60px;
 border-radius:15px;
 margin-top: 40px;
 -webkit-border-radius:15px;
 -moz-border-radius:15px;
 -ms-border-radius:15px;
 -o-border-radius:15px;
}

/* CARD */
.industry-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  padding:10px;
  box-shadow: 8px 8px 20px rgba(0,0,0,0.09);
  transition: 0.4s ease;
  position: relative;
    
}

/* IMAGE */
.industry-card img {
  width: 40%;
  height: 100px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* CONTENT */
.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size:20px;
  color: #251173;
}

.card-content p {
  color: #555;
  font-size: 15px;
}

/* HOVER EFFECT */
 

.industry-card:hover img {
  transform: scale(1.1);
}

/* OPTIONAL OVERLAY EFFECT */
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -ms-transition: 2s;
  -o-transition: 2s;
}

.industry-card:hover::after {
  opacity: 1;
}


/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .industries {
    padding: 70px 6%;
  }

  .industries-cards {
    grid-template-columns: repeat(3, 1fr);
    padding: 45px;
    gap: 20px;
  }

  .industries .section-title {
    font-size: 28px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .industries {
    padding: 60px 5%;
  }

  .industries-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 35px;
    gap: 18px;
  }

  .industries .section-title {
    font-size: 27px;
  }

  .industries .section-title::after {
    width: 60%;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 14px;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .industries {
    padding: 50px 4%;
  }

  .industries-cards {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 15px;
  }

  .industries .section-title {
    font-size: 26px;
  }

  .industries .section-title::after {
    width: 50%;
  }

  .industry-card {
    padding: 15px;
  }

  .industry-card img {
    width: 47%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .card-content {
    padding: 15px 10px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 15px;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .industries-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industries-cards {
    grid-template-columns: 1fr;
  }
}


/* ----------------------feature card code------------------------ */
.features {
  padding: 80px 10%;
  background: #e7e7fc;
  text-align: center;
  overflow-x: hidden;
}

/* HEADER */
.section-header h2 {
  font-size: 36px;
  color: #251173;
  margin-bottom: 10px;
  position: relative;
  padding:15px;
  display: inline-block;
}

.section-header p {
  color: #0e0e0e;
  margin-bottom: 40px;
}

/* UNDERLINE */
.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 20%;
  height: 4px;
   background: radial-gradient(circle at top left, rgba(60, 75, 159, 0.2), transparent 60%),        radial-gradient(circle at bottom right, rgba(209, 9, 76, 0.9), transparent 87%),        #282889;
  border-radius: 10px;
}

/* GRID */
.features-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.feature-card {
  background: #fff;
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* TOP BORDER ANIMATION */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
   background: radial-gradient(circle at top left, rgba(60, 75, 159, 0.2), transparent 60%),        radial-gradient(circle at bottom right, rgba(209, 9, 76, 0.9), transparent 87%),        #282889;
  transition: 0.4s ease;
}
 

/* TEXT */
.feature-card h2 {
  margin-bottom: 10px;
  font-size:21px;
  color: #251173;
}

.feature-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

/* HOVER EFFECT */
 
.feature-card:hover::before {
  width: 100%;
}
/* =======================
   LAPTOP / SMALL DESKTOP (1024px)
======================= */
@media (max-width: 1024px) {
  .features {
    padding: 70px 6%;
  }

  .features-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .feature-card {
    padding: 40px 25px;
  }
}

/* =======================
   TABLET (768px)
======================= */
@media (max-width: 768px) {
  .features {
    padding: 60px 5%;
  }

  .features-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .section-header h2::after {
    width: 25%;
  }

  .feature-card {
    padding: 35px 20px;
  }

  .feature-card p {
    font-size: 14px;
  }
}

/* =======================
   MOBILE (480px)
======================= */
@media (max-width: 480px) {
  .features {
    padding: 50px 4%;
  }

  .features-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-header h2 {
    font-size: 24px;
    padding: 10px;
  }

  .section-header p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .section-header h2::after {
    width: 35%;
  }

  .feature-card {
    padding: 30px 18px;
  }

  .feature-card h2 {
    font-size: 19px;
  }

  .feature-card p {
    font-size: 15px;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .features-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-cards {
    grid-template-columns: 1fr;
  }
}