/*========================================= FEATURED BLOG =========================================*/
.featured-blog {
  position: relative;
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
  z-index: 1;
}
/*============================== BACKGROUND ==============================*/
.fb-shape {
  position: absolute;
  border-radius: 50%;
  animation: fbFloat 8s ease-in-out infinite;
}
.fb-shape1 {
  width: 280px;
  height: 280px;
  background: rgba(251, 2, 34, 0.06);
  top: -120px;
  left: -100px;
  filter: blur(5px);
}
.fb-shape2 {
  width: 220px;
  height: 220px;
  background: rgba(26, 26, 77, 0.05);
  right: -80px;
  bottom: -70px;
  filter: blur(5px);
  animation-duration: 10s;
}
.fb-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 8%;
  top: 80px;
  opacity: 0.15;
  background-image: radial-gradient(#fb0222 2px, transparent 2px);
  background-size: 18px 18px;
  animation: rotateDots 20s linear infinite;
}
/*============================== IMAGE ==============================*/
.featured-blog-image {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}
.featured-blog-image img {
  width: 100%;
  display: block;
  transition: 0.6s;
  animation: imageFloat 5s ease-in-out infinite;
}
.featured-blog-image:hover img {
  transform: scale(1.08);
}
/* overlay */
.featured-blog-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 77, 0.1),
    transparent,
    rgba(251, 2, 34, 0.12)
  );
  z-index: 2;
}
/* shine */
.featured-blog-image::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 30%;
  height: 320%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(25deg);
  animation: shineMove 6s linear infinite;
  z-index: 3;
}
/*============================== FEATURED BADGE ==============================*/
.featured-label {
  position: absolute;
  left: 25px;
  top: 25px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1a1a4d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  z-index: 5;
  animation: pulseBadge 2.5s infinite;
}
.featured-label i {
  color: #fb0222;
  font-size: 18px;
}
/*============================== CONTENT ==============================*/
.featured-blog .section-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #1a1a4d;
}
.featured-blog .section-title span {
  color: #fb0222;
}
.featured-blog .section-subtitle {
  font-size: 17px;
  line-height: 1.9;
  color: #666;
  max-width: 95%;
  margin-bottom: 30px;
}
/*===================================== BLOG META =====================================*/
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 35px 0;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid rgba(26, 26, 77, 0.08);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a4d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.35s;
}
.blog-meta span i {
  font-size: 17px;
  color: #fb0222;
  transition: 0.35s;
}
.blog-meta span:hover {
  transform: translateY(-6px);
  border-color: #fb0222;
  box-shadow: 0 18px 35px rgba(251, 2, 34, 0.12);
}
.blog-meta span:hover i {
  transform: rotate(-15deg) scale(1.15);
}
/*===================================== BUTTON =====================================*/
.blog-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: #fb0222;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  overflow: hidden;
  transition: 0.35s;
  box-shadow: 0 18px 35px rgba(251, 2, 34, 0.18);
}
.blog-btn i {
  transition: 0.35s;
}
.blog-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-25deg);
  transition: 0.7s;
}
.blog-btn:hover {
  background: #1a1a4d;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(26, 26, 77, 0.22);
}
.blog-btn:hover::before {
  left: 150%;
}
.blog-btn:hover i {
  transform: translateX(6px);
}
/*===================================== LEFT IMAGE DECORATION =====================================*/
.featured-blog-image::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 3px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  right: -45px;
  bottom: -45px;
  animation: rotateBorder 15s linear infinite;
  z-index: 4;
}
/*===================================== FLOATING BORDER =====================================*/
.featured-blog-image {
  position: relative;
}
.featured-blog-image::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  z-index: 3;
  pointer-events: none;
}
/*===================================== ANIMATIONS =====================================*/
@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes shineMove {
  0% {
    left: -40%;
  }
  100% {
    left: 150%;
  }
}
@keyframes pulseBadge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
@keyframes fbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}
@keyframes rotateBorder {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotateDots {
  100% {
    transform: rotate(360deg);
  }
}
/*========================================= LATEST BLOG SECTION =========================================*/
.latest-blog-section {
  position: relative;
  padding: 110px 0;
  background: #f8faff;
  overflow: hidden;
}
/* Floating Shapes */
.latest-blog-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(251, 2, 34, 0.05);
  top: -140px;
  left: -120px;
  animation: floatBlob 8s ease-in-out infinite;
}
.latest-blog-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(26, 26, 77, 0.05);
  right: -90px;
  bottom: -80px;
  animation: floatBlob 10s ease-in-out infinite;
}
/*======================== BLOG CARD ========================*/
.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: 0.45s;
  height: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}
.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
/* Top Border Animation */
.blog-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: #fb0222;
  transition: 0.45s;
  z-index: 5;
}
.blog-card:hover::before {
  width: 100%;
}
/*========================= IMAGE =========================*/
.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  display: block;
}
.blog-large .blog-img {
  height: 380px;
}
.blog-small .blog-img {
  height: 185px;
}
.blog-mini .blog-img {
  height: 220px;
}
.blog-card:hover img {
  transform: scale(1.1);
}
/* Overlay */
.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: 0.45s;
}
.blog-card:hover .blog-img::after {
  opacity: 1;
}
/*======================== CATEGORY ========================*/
.blog-category {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 8px 18px;
  background: #fb0222;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(251, 2, 34, 0.3);
}
.navy {
  background: #1a1a4d;
}
.blog-category.marketing {
  background: #ff8a00;
}
/*========================================= BLOG CONTENT =========================================*/
.blog-content {
  padding: 28px;
  position: relative;
  background: #fff;
}
.blog-large .blog-content {
  padding: 35px;
}
.blog-small .blog-content {
  padding: 22px;
}
.blog-mini .blog-content {
  padding: 24px;
}
/*========================== META INFO ==========================*/
.blog-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
}
.blog-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.35s;
}
.blog-info span i {
  color: #fb0222;
  font-size: 15px;
}
.blog-card:hover .blog-info span {
  color: #1a1a4d;
}
/*========================== HEADINGS ==========================*/
.blog-large h3 {
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  color: #1a1a4d;
  margin-bottom: 16px;
  transition: 0.35s;
}
.blog-small h4 {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  color: #1a1a4d;
  margin: 0;
  transition: 0.35s;
}
.blog-mini h5 {
  font-size: 21px;
  line-height: 1.5;
  font-weight: 700;
  color: #1a1a4d;
  margin-bottom: 18px;
  transition: 0.35s;
}
.blog-card:hover h3,
.blog-card:hover h4,
.blog-card:hover h5 {
  color: #fb0222;
}
/*========================== PARAGRAPH ==========================*/
.blog-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 25px;
}
/*========================== READ MORE ==========================*/
.blog-content a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: #1a1a4d;
  position: relative;
  transition: 0.35s;
}
.blog-content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #fb0222;
  transition: 0.35s;
}
.blog-content a:hover {
  color: #fb0222;
}
.blog-content a:hover::after {
  width: 100%;
}
.blog-content a i {
  transition: 0.35s;
}
.blog-content a:hover i {
  transform: translateX(8px);
}
/*========================================= VIEW ALL BUTTON =========================================*/
.blog-view-btn {
  padding: 16px 38px;
  background: #fb0222;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  box-shadow: 0 15px 35px rgba(251, 2, 34, 0.22);
}
.blog-view-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-25deg);
  transition: 0.7s;
}
.blog-view-btn:hover {
  background: #1a1a4d;
  color: #fff;
  transform: translateY(-6px);
}
.blog-view-btn:hover::before {
  left: 150%;
}
.blog-view-btn i {
  transition: 0.35s;
}
.blog-view-btn:hover i {
  transform: translateX(6px);
}
/*========================================= CARD DECORATION =========================================*/
.blog-card::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -35%;
  width: 40%;
  height: 300%;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(25deg);
  transition: 0s;
  pointer-events: none;
}
.blog-card:hover::after {
  animation: blogShine 0.9s linear;
}
/*========================================= IMAGE DECORATION =========================================*/
.blog-img {
  position: relative;
}
.blog-img::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(251, 2, 34, 0.1);
  right: -50px;
  bottom: -50px;
  z-index: 2;
  transition: 0.4s;
}
.blog-card:hover .blog-img::before {
  transform: scale(1.3);
  background: rgba(251, 2, 34, 0.18);
}
/*========================================= CARD HOVER EFFECT =========================================*/
.blog-card:hover {
  border-color: rgba(251, 2, 34, 0.18);
}
.blog-card:hover .blog-content {
  background: linear-gradient(180deg, #fff, #fff9fa);
}
/*========================================= SECTION TITLE EFFECT =========================================*/
.latest-blog-section .section-title {
  position: relative;
  display: inline-block;
}
.latest-blog-section .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 80px;
  height: 4px;
  border-radius: 50px;
  background: #fb0222;
}
.latest-blog-section .section-subtitle {
  max-width: 720px;
  margin: 28px auto 0;
  line-height: 1.9;
  font-size: 17px;
  color: #666;
}
/*========================================= KEYFRAMES =========================================*/
@keyframes floatBlob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-22px);
  }
}
@keyframes blogShine {
  0% {
    left: -45%;
  }
  100% {
    left: 160%;
  }
}
/*============================== WORDPRESS FEATURE ==============================*/
.wordpress-feature {
  overflow: hidden;
  border-radius: 28px;
}
.wordpress-feature .blog-img {
  height: 100%;
  min-height: 430px;
}
.wordpress-feature .blog-img img {
  height: 100%;
  object-fit: cover;
}
.wordpress-feature .blog-content {
  padding: 45px;
}
.wordpress-feature h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  color: #1a1a4d;
  margin-bottom: 10px;
  transition: 0.35s;
}
.wordpress-feature:hover h2 {
  color: #fb0222;
}
.wordpress-feature p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 10px;
}

.wordpress-feature .blog-img {
  height: 370px;
}
.php-feature .blog-img {
  height: 220px;
}
.php-feature h4 {
  font-size: 24px;
  line-height: 1.4;
  color: #1a1a4d;
  margin-bottom: 15px;
}
.php-feature .blog-content {
  padding: 24px;
}
.php-feature p {
  font-size: 15px;
  line-height: 1.8;
}
.php-feature {
  height: 100%;
}
.wordpress-feature {
  height: 100%;
}

.blog-highlights {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}
.blog-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  font-weight: 500;
}
.blog-highlights li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fb0222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
/*========================= NEWSLETTER =========================*/
.newsletter-section {
  padding: 90px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(251, 2, 34, 0.05);
  border-radius: 50%;
  top: -170px;
  left: -130px;
  animation: floatNews 7s infinite ease-in-out;
}
.newsletter-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(26, 26, 77, 0.05);
  border-radius: 50%;
  right: -100px;
  bottom: -100px;
  animation: floatNews 9s infinite ease-in-out;
}
.newsletter-box {
  background: linear-gradient(135deg, #1a1a4d, #26266e);
  border-radius: 30px;
  padding: 55px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}
.newsletter-box::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  right: -60px;
  top: -60px;
}
.newsletter-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 18px;
}
.newsletter-title span {
  color: #fb0222;
}
.newsletter-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.9;
}
.newsletter-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.newsletter-points span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.newsletter-points i {
  color: #fb0222;
}
/*========================*/
.newsletter-form-box {
  background: #fff;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.newsletter-form-box h5 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a4d;
  margin-bottom: 10px;
}
.newsletter-form-box p {
  color: #666;
  margin-bottom: 25px;
}
.newsletter-form .input-group {
  height: 60px;
  margin-bottom: 18px;
}
.newsletter-form .input-group-text {
  background: #f4f6fb;
  border: none;
  padding: 0 20px;
  font-size: 22px;
  color: #fb0222;
  border-radius: 15px 0 0 15px;
}
.newsletter-form input {
  border: none;
  background: #f4f6fb;
  box-shadow: none;
  font-size: 16px;
}
.newsletter-form button {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 15px;
  background: #fb0222;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: 0.4s;
}
.newsletter-form button:hover {
  background: #1a1a4d;
  transform: translateY(-4px);
}
.newsletter-form button i {
  margin-left: 8px;
  transition: 0.4s;
}
.newsletter-form button:hover i {
  transform: translateX(6px);
}
/*========================*/
@keyframes floatNews {
  50% {
    transform: translateY(-18px);
  }
}
/*==========================================Responsive=============================================*/
@media (max-width: 991px) {
  .featured-blog {
    padding: 80px 0;
  }
  .featured-blog .section-title {
    font-size: 40px;
  }
  .featured-blog-image {
    margin-bottom: 40px;
  }
  .blog-meta {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .featured-blog {
    text-align: center;
  }
  .featured-blog .section-title {
    font-size: 34px;
  }
  .featured-blog .section-subtitle {
    max-width: 100%;
  }
  .blog-meta {
    justify-content: center;
    gap: 12px;
  }
  .blog-btn {
    width: 100%;
    justify-content: center;
  }
  .featured-label {
    left: 15px;
    top: 15px;
    padding: 10px 16px;
    font-size: 13px;
  }
  .fb-shape,
  .fb-dots {
    display: none;
  }
}
@media (max-width: 576px) {
  .featured-blog {
    padding: 70px 0;
  }
  .featured-blog .section-title {
    font-size: 30px;
  }
  .featured-blog-image {
    border-radius: 18px;
  }
  .featured-blog-image::after {
    display: none;
  }
  .blog-meta span {
    width: 100%;
    justify-content: center;
  }
  .blog-btn {
    padding: 14px 22px;
    font-size: 15px;
  }
}
@media (max-width: 991px) {
  .latest-blog-section {
    padding: 90px 0;
  }
  .blog-large .blog-img {
    height: 300px;
  }
  .blog-small .blog-img {
    height: 240px;
  }
  .blog-mini .blog-img {
    height: 220px;
  }
  .blog-large h3 {
    font-size: 26px;
  }
  .blog-small h4 {
    font-size: 21px;
  }
  .blog-mini h5 {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .latest-blog-section {
    padding: 70px 0;
  }
  .blog-large .blog-img,
  .blog-small .blog-img,
  .blog-mini .blog-img {
    height: 230px;
  }
  .blog-large h3 {
    font-size: 24px;
  }
  .blog-small h4 {
    font-size: 20px;
  }
  .blog-mini h5 {
    font-size: 19px;
  }
  .blog-content {
    padding: 22px;
  }
  .blog-view-btn {
    width: 100%;
    justify-content: center;
  }
  .latest-blog-section::before,
  .latest-blog-section::after {
    display: none;
  }
}
@media (max-width: 576px) {
  .blog-large .blog-img,
  .blog-small .blog-img,
  .blog-mini .blog-img {
    height: 210px;
  }
  .blog-large h3 {
    font-size: 22px;
  }
  .blog-small h4 {
    font-size: 19px;
  }
  .blog-mini h5 {
    font-size: 18px;
  }
  .blog-info {
    gap: 10px;
    font-size: 12px;
  }
  .blog-category {
    font-size: 12px;
    padding: 7px 14px;
  }
  .blog-content {
    padding: 18px;
  }
}
@media (max-width: 991px) {
  .wordpress-feature .blog-img {
    min-height: 300px;
  }
  .wordpress-feature h2 {
    font-size: 32px;
  }
  .wordpress-feature .blog-content {
    padding: 30px;
  }
}
@media (max-width: 576px) {
  .wordpress-feature h2 {
    font-size: 26px;
  }
  .wordpress-feature .blog-img {
    min-height: 220px;
  }
}
@media (max-width: 991px) {
  .wordpress-feature .blog-img,
  .php-feature .blog-img {
    height: 280px;
  }
}
@media (max-width: 991px) {
  .newsletter-box {
    padding: 35px;
    text-align: center;
  }
  .newsletter-title {
    font-size: 34px;
  }
  .newsletter-points {
    justify-content: center;
  }
  .newsletter-form-box {
    margin-top: 20px;
  }
}
@media (max-width: 576px) {
  .newsletter-box {
    padding: 28px 20px;
  }
  .newsletter-title {
    font-size: 28px;
  }
  .newsletter-form-box {
    padding: 25px;
  }
  .newsletter-points {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
