/*-----------------Blog-------------------------------*/
 /* NEW BLOG CARD DESIGN */

 
        .blog1 {
            background: url('images/googleblog.png') center/cover no-repeat;
            
            
        }
                .blog3 {
            background: url('images/blogsmm.jpg') center/cover no-repeat;
        }

                .blog2 {
            background: url('images/blogseo.jpg') center/cover no-repeat;

        }

        #blog-page {
            font-family: "Poppins", sans-serif;
            background: #f8f9fa;
            line-height: 1.8;
        }
                .blog-banner {
                    color: #000000;
            height: 380px;
            display: flex;
            align-items: center;          
            padding: 50px;
            position: relative;
        }
.blog-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee;
  padding: 20px;
  background: #fafafa;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Image styling like your sample */
.blog-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 20px;
}

/* Title center aligned */
.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 12px;
}

/* Description center aligned */
.blog-card p {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

/* Read More Button (Black Rounded Pill) */
.cta {
  display: inline-block;
  padding: 12px 28px;
  background:#000000 !important;
  color: #fff !important;
  border-radius: 40px;
  font-weight: 600;
  border:none;
  transition: 0.3s;

}
.cta1{
display: inline-block;
  padding: 12px 28px;
  background:#b0d7ef !important;
  color: #000000 !important;
  font-weight: 600;
  transition: 0.3s;

}

.cta:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border:1px solid black;
}


    .blog-meta {
      font-size: 0.9rem;
      color: #666;
    }






 .blog-banner::after {
            content: "";
            position: absolute;
            inset: 0;
            box-shadow: 2px 2px 5px 2px rgb(226, 226, 226);
        }
        .blog-banner h1 {
            z-index: 2;
            font-size: 42px;
            font-weight: 700;
        }
        .blog-content {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            margin-top: -80px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        }
        .blog-content h2 {
            margin-top: 30px;
            font-size: 26px;
            font-weight: 600;
        }
        .blog-content p, .blog-content li {
            font-size: 17px;
            margin-bottom: 16px;
        }


         /* Contact Icons */
    .contact-info i {
        font-size: 22px;
        color: #3a7cd9;
        margin-right: 10px;
    }

    .btn-submit {
        background:#3a7cd9;;
        color:#fff;
        padding:10px 28px;
        width: 100%;
    }
        .btn-submit:hover {
        background:#0069fc;;
        color:#000000;

    }



    
    /* Responsive Fixes */
    @media (max-width: 767px) {
        nav.navbar {
            padding: 15px !important;
        }
        nav img {
            width: 150px;
        }
        .btn-submit {
            width: 100%;
        }
        iframe {
            height: 300px !important;
        }
    }

    @media (max-width: 576px) {
        section {
            padding: 20px 10px !important;
        }
    }



      
        /* ========== PROJECT CARD RESPONSIVENESS FIX ========== */

    /* Make card use flex layout so button stays bottom-aligned */
    .project-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .project-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;     /* Forces consistent shape without distortion */
        object-fit: cover;       /* Prevent image stretching */
        display: block;
        border-bottom: 1px solid #eee;
    }

    /* Mobile: make it slightly taller for better visibility */
    @media (max-width: 576px) {
        .project-img {
            aspect-ratio: 16/12;
        }
    }
    .project-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    /* Adjust text */
    .project-title {
        font-size: 18px;
    }

    .project-industry {
        font-size: 13px;
    }

    .project-desc {
        font-size: 14px;
        flex-grow: 1;
    }

    /* Make "Read More" button align bottom on all devices */
    .project-card .btn {
        margin-top: auto;
    }

    /* Smaller fonts for mobile */
    @media (max-width: 576px) {
        .project-title {
            font-size: 16px;
        }
        .project-industry,
        .project-desc {
            font-size: 13px;
        }
    }

    /* Tablet size improvements */
    @media (max-width: 768px) {
        .project-img {
            height: 180px;
        }
        .project-desc {
            font-size: 14px;
        }
    }


        .section-title { font-size: 32px; font-weight: 700; }
    .highlight-box { background: #ffffff; border-radius: 12px; padding: 25px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
    .result-item { font-size: 18px; margin-bottom: 10px; }