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

.kas-hero {
    background-image: url(/images/kas1.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}
.kas-overlay {
    background: rgba(0,0,0,0.55);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.kas-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.kas-container h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.kas-subtitle {
    max-width: 850px;
    margin: auto;
    font-size: 16px;
    line-height: 1.6;
}

.kas-meta {
    margin: 20px 0;
    font-size: 15px;
}

.kas-meta i {
    color: #ffd54f;
    margin-right: 6px;
}

.enroll-btn {
    display: inline-block;
    margin: 25px 0 40px;
    padding: 14px 26px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 30px;
    font-weight: 600;
}

.enroll-btn i {
    margin-right: 8px;
}

.kas-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.kas-card {
    background: #fff;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.kas-card-title {
    background: linear-gradient(135deg, #0a2c5d, #0e6f64);
    color: #fff;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
}

.kas-card ul {
    padding: 18px 22px;
}

.kas-card ul li {
    margin-bottom: 10px;
    font-size: 14.5px;
}

.collapsible-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 20px;
}

.collapsible {
    background:linear-gradient(135deg, #0a2c5d, #0e6f64);
    color: white;
    cursor: pointer;
    padding: 18px 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.collapsible i {
    transition: transform 0.3s ease;
}

.collapsible:hover {
    background-color: #003974;
}


.collapsible.active i {
    transform: rotate(45deg); 
}


.content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #f7f7f7;
}

.content ul {
    list-style: disc inside;
    padding: 15px 0;
}

.content ul li {
    padding: 8px 0;
}

.section-img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin: 15px 0;
    border-radius: 6px;
}

.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;
}


.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) {

    .kas-hero {
        padding: 30px 15px;
        background-position: center top;
        min-height: 70vh;
        background-size: cover;
        background-image: url(/images/kas1.jpeg); 
    }

    .kas-overlay {
        min-height: 70vh;
        padding: 20px 10px;
    }

    .kas-container h1 {
        font-size: 28px;
    }

    .kas-subtitle {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 10px;
    }

    .kas-meta {
        font-size: 13px;
    }

    .enroll-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .kas-cards {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .kas-card ul li {
        font-size: 13px;
    }

    .collapsible {
        font-size: 1rem;
        padding: 15px;
    }

    .collapsible i {
        font-size: 14px;
    }

    .content ul li {
        font-size: 14px;
        padding: 6px 0;
    }

    .content img,
    .section-img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        margin: 15px 0;
        border-radius: 6px;
    }

    .back-home {
        padding: 8px 12px;
        font-size: 14px;
        top: 15px;
        left: 15px;
    }

    .whatsapp-chat {
        bottom: 80px;
        right: 20px;
        padding: 14px 18px;
    }

    .footer-wrap {
        padding: 40px 15px;
        gap: 25px;
    }

    .footer-brand h2 {
        font-size: 22px;
    }

    .footer-links h4, .footer-contact h4 {
        font-size: 15px;
    }

    .footer-links a, .footer-contact p {
        font-size: 13px;
    }

    .footer-cta {
        padding: 10px 26px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .kas-hero {
        min-height: 60vh;
        background-position: center top;
        padding: 20px 10px;
        background-size: cover;
    }

    .kas-container h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .kas-subtitle {
        font-size: 12px;
        line-height: 1.4;
    }

    .kas-meta {
        font-size: 12px;
    }

    .enroll-btn {
        font-size: 13px;
        padding: 10px 18px;
    }

    .kas-cards {
        gap: 15px;
    }

    .kas-card ul li {
        font-size: 12px;
    }

    .collapsible {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .collapsible i {
        font-size: 12px;
    }

    .content ul li {
        font-size: 13px;
    }

    .content img,
    .section-img {
        width: 100%;
        height: auto;
        margin: 10px 0;
        border-radius: 4px;
    }

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

    .whatsapp-chat {
        bottom: 70px;
        right: 15px;
        padding: 12px;
        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-links ul,
.footer-links .sub-courses {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 0;
    margin: 0;
}
  .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;
  }
}

