/*Blog start*/
.blog-card {
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%; /* ensures equal height */
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.blog-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.blog-content {
  padding: 18px 20px;
  flex: 1;
}
.blog-content .meta {
  font-size: 13px;
  margin-bottom: 10px;
  color: #777;
}
.blog-content .meta span {
  margin-right: 12px;
}
.blog-content .meta i {
  margin-right: 4px;
  color: #ff5a5f;
}
.blog-content .title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
  flex-grow: 1;
}
.blog-content .title a {
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* force title to max 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-content .title a:hover {
  color: #ff5a5f;
}
.read-more-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  background: #ff5a5f;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.read-more-btn:hover {
  background: #e14c4f;
}
/*blog end*/
/*popup star*/
    .popup{
        position: fixed;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.9);
        height: 100%;
        width: 100%;
        z-index: 100;
        display: none;
    }
    .popup i{
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 40px;
        font-weight: bolder;
        cursor :pointer;
        z-index: 100;
    }
    .cim{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 5px solid #fff;
        border-radius: 5px;
        width: 750px;
        object-fit: cover;
    }
    @media (max-width:768px){
        .cim{
            width: 95%;
        }
    }

/*popup end*/
/* what we do */
.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: center;
  width: 100%;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(6px);
}
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.service-card .img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .img-wrap img {
  transform: scale(1.15);
}
/* Gradient overlay */
.service-card .img-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity .5s ease;
}
.service-card:hover .img-wrap::after {
  opacity: 1;
}

.service-content {
  padding: 20px;
  position: relative;
  z-index: 2;
}
.service-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 0;
  color: #222;
  transition: color 0.3s ease;
}
.service-card:hover .service-content h3 {
  color: #e63946; /* highlight color */
}
.service-content::before {
  content: "";
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: url(https://cdn-icons-png.flaticon.com/128/8881/8881792.png) no-repeat center / 60%, linear-gradient(135deg, #e9dadd, #ff4b2b);
    position: absolute;
    top: -15px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Popup overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup box */
.popup-box {
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  max-width: 80%;
  max-height: 80%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: zoomIn .3s ease;
}

.popup-box img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  display: block;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

/* Animation */
@keyframes zoomIn {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.we-do-row {
    gap:15px;
}
.we-do-row .align-items-stretch{
    padding: 5px;
    background: #c81a1a;
}
@media (min-width: 576px) {
    .we-do-row .col-sm-6{
        max-width: 46%;
    }
}
@media (min-width: 1200px) {
    .we-do-row .col-md-3{
        max-width: 24%;
    }
}
/* what we do end */
@media (max-width: 991.98px) {
    .cta-row{
        flex-wrap: nowrap;
    }
    .cta-row .col-md-4{
        display:none;
    }
}