* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Segoe UI, sans-serif;
}

body {
    background: #f6faff;
}

.blog-hero {
    background: linear-gradient(135deg, #0a2c5d, #0e6f64);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.blog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.blog-card img,
.blog-card video {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 13px;
    color: #777;
}

.blog-content h2 {
    color: #0a2c5d;
    margin: 10px 0;
}

.blog-content p {
    font-size: 15px;
    line-height: 1.6;
}

.extra-content {
    display: none;
    margin-top: 10px;
}

.back-home {
    display: inline-block;
    margin: 20px;
    padding: 10px 15px;
    background:rgb(5, 120, 158);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
}

.back-home:hover {
    background-color: #92c1f4;
}

.back-home i {
    margin-right: 8px;
}


.toggle-btn {
    display: inline-block;
    margin-top: 10px;
    color: #0e6f64;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-chat {
  position: fixed;
  bottom: 90px;
  right: 25px;
  background: #25d366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
}

.whatsapp-chat i {
  font-size: 20px;
}

.whatsapp-chat:hover {
  background: #1ebe5d;
}


.footer-modern {
    background: linear-gradient(135deg, #0a2c5d, #0e6f64);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    height: 60px;
    background: #ffffff;
    border-bottom-left-radius: 100% 40px;
    border-bottom-right-radius: 100% 40px;
}

.footer-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.footer-brand h2 {
    font-size: 26px;
    color: #2ecc71;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #e0e7f5;
}

.footer-badges {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-badges span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.footer-links h4 {
    font-size: 17px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: #e0e7f5;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
    color: #2ecc71;
    transform: translateX(6px);
}

.footer-links .sub-courses {
    display: block;
    margin-top: 6px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.footer-links .sub-courses a {
    display: block;
    margin-left: 12px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: #f5e0e7;
    text-decoration: none;
}

.footer-links .sub-courses a:hover {
    color: #2ecc71;
    transform: translateX(6px);
}
.footer-links ul,
.footer-links .sub-courses {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0;
    margin: 0;
}


.footer-contact h4 {
    font-size: 17px;
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #e0e7f5;
}

.footer-contact i {
    color: #2ecc71;
    margin-right: 6px;
}

.footer-map h4 {
    color: #fff;
    margin-bottom: 10px;
}

.footer-map iframe {
    border-radius: 10px;
}

.footer-cta {
    display: inline-block;
    margin-top: 48px;
    padding: 12px 32px;
    background: #2ecc71;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-cta:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #d7f8e5;
    color: #0a2c5d;
    transform: translateY(-3px);
}

.footer-copy {
    background: rgba(0, 0, 0, 0.25);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #e0e7f5;
}



/* ================= MOBILE-ONLY CSS ================= */
@media (max-width: 768px) {

    .blog-hero {
        padding: 50px 15px;
    }

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-card img,
    .blog-card video {
        height: 200px;
    }

    .blog-content {
        padding: 18px;
    }

    .blog-content h2 {
        font-size: 20px;
    }

    .blog-content p {
        font-size: 14px;
    }

    .back-home {
    margin: 10px;
    padding: 6px 10px;
    font-size: 12px;
    top: 10px;
    left: 10px;
  }

  .whatsapp-chat {
    bottom: 15px;
    right: 15px;
    padding: 14px;
    border-radius: 50%;
  }

  .whatsapp-chat span {
    display: none;
  }


    .footer-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px 15px;
    align-items: stretch;
  }


  
  .footer-brand h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .footer-brand p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  
  .footer-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
  }

  .footer-badges span {
    display: block;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
  }

  
  .footer-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    padding: 12px 0;
    font-size: 14px;
    border-radius: 25px;
  }

 
  .footer-social {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    gap: 10px;
  }

  .footer-social a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-size: 16px;
    border-radius: 10px;
    margin: 0;
  }

  
  .footer-links-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
  }

  .footer-links,
  .footer-links-container .footer-courses { 
    width: 48%; 
    margin-bottom: 0;
  }

  .footer-links h4,
  .footer-links-container .footer-courses h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-links h3,
  .footer-links-container .footer-courses h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .footer-links a,
  .footer-links .sub-courses a,
  .footer-links-container .footer-courses a {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .footer-links .sub-courses a,
  .footer-links-container .footer-courses .sub-courses a {
    margin-left: 10px;
  }

  
  .footer-contact {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-contact h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-contact p {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-map iframe {
    height: 180px;
    margin-bottom: 15px;
  }

  .footer-copy {
    font-size: 12px;
    padding: 12px;
    text-align: center;
  }

  .footer-wave {
    height: 40px;
  }

}
