.hero-banner{
    background: linear-gradient(90deg, #071a3c, #380d0d);
    color:#fff;
    padding:50px 135px;
    margin-top: -30px;
    font-family: 'poppins';
}

.hero-banner h1{
  font-size: 36px;
  font-weight: 400;
  color: #ffffff;
  margin:2px 0;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-banner {
    padding: 50px 30px;   /* Tablet */
  }
  
  .hero-banner h1{
    font-size: 22px;     /* Tablet */
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-banner {
    padding: 50px 30px;   /* Mobile */
  }
  
  .hero-banner h1{
    font-size: 22px;     /* Tablet */
  }
}

.hero-banner p{
  padding-top: 5px;
  max-width:80%;
  color: #ffffff;
  opacity:.9;
  line-height:1.2;
}

.hero-banner .tag {
  font-size:18px;
  color:#FF0000;
  font-weight: 500;
  line-height: 0px;
}

.project-section {
    padding: 40px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* GRID */
.project-grid {
    margin-top: 30px;
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */
.project-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    transition: 0.3s;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    padding: 18px; /* optional: slightly tighter on mobile */
  }
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-title {
    margin-bottom: 10px;
    font-family: 'poppins';
    font-size: 24px;
    font-weight: 550;
}

.project-description {
    color: #555;
    margin-bottom: 15px;
     font-size: 14px;
    font-weight: 400;
    font-family: 'poppins';
}

.project-card a {
    font-family: 'poppins';
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 7px 10px;
    margin: 5px 5px 0 0;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    bottom: 2px;
    transition: 0.3s;
}

/* Colors */
.web-btn {
    background: #397ee6;
}

.android-btn {
    background: #397ee6;
}

.ios-btn {
    background:  #397ee6;
}

/* Hover */
.btn:hover {
    opacity: 0.85;
    background-color:  #e63946;
}
/* ✅ Responsive Design */

/* For tablets (max width 992px) */
@media (max-width: 992px) {
    .project-section {
        margin: 0 60px;
    }

    .section-title {
        font-size: 30px;
    }

    .project-title {
        font-size: 24px;
    }

    .project-description {
        font-size: 15px;
    }
}

/* For mobile devices (max width 768px) */
@media (max-width: 768px) {
    .project-section {
        margin: 0 20px; /* reduce side spacing */
    }

    .section-title {
        font-size: 26px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-description {
        font-size: 14px;
        text-align: left; /* better readability */
    }
}

/* For very small screens (max width 480px) */
@media (max-width: 480px) {
    .project-section {
        margin: 0 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 13px;
        text-align: justify;
    }
}