*{ margin:0; padding:0; box-sizing:border-box; font-family: 'Source Sans Pro', sans-serif; }
body{ background:#f5f5f5; color:#333; }

header{
    display:flex; justify-content:space-between; align-items:center;
    padding:15px 8%; background:#ff4b6e; position:sticky; top:0; z-index:1000; height:80px;
}
.logo img{ height:45px; }
nav a{ margin-left:20px; text-decoration:none; color:white; font-size:14px; }
.btn{ background:white; color:#ff4b6e; padding:10px 18px; border-radius:25px; font-weight:600; }
	
nav .btn {
    cursor: pointer;
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
}
.hero-banner{
    width:100%; height:220px;
    background-image:url("https://lightgreen-lark-393207.hostingersite.com/wp-content/uploads/2026/03/banner-06.png");
    background-size:cover; background-position:center;
}
.hero{ max-width:1200px; margin:auto; padding:40px 20px; }
.hero h1{ font-size:36px; margin-bottom:10px; }
.video-box img{ width:100%; border-radius:8px; margin-top:20px; }
.video-box2 img{ width:100%; border-radius:8px; margin-bottom:20px; }

/* ── COURSE INFO ── */
.course-info {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.price-area {
    flex: 1;
    padding: 1.1rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.rating {
    font-size: 11px;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rating::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4b6e;
    flex-shrink: 0;
}
.price-new {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}
.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    gap: 3px;
    border-left: 1px solid #ebebeb;
    text-align: center;
}
.info-title {
    font-size: 28px;
    font-weight: 600;
    color: #111;
    line-height: 1;
}
.info-item:nth-child(3) .info-title {
    font-size: 18px;
}
.info-sub {
    font-size: 10px;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.cta-btn {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #ff4b6e;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin: 0.75rem 1rem;
    transition: background 0.2s ease;
    align-self: center;
    cursor: pointer;
    border: none;
}
.cta-btn:hover { background: #e0354f; }
/* ── FIN COURSE INFO ── */

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-banner img {
    width: 100%;
    display: block;
}
.modal-body {
    padding: 28px 30px 30px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
    max-width: 360px;
}
.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 0 0 0 12px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.modal-close:hover { color: #333; }
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-form label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
    display: block;
}
.modal-form input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    transition: border-color 0.2s;
}
.modal-form input:focus {
    outline: none;
    border-color: #ff4b6e;
}
.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.modal-submit {
    margin-top: 6px;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background: #ff4b6e;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    transition: background 0.2s;
}
.modal-submit:hover { background: #e0354f; }

/* ── ÉXITO ── */
.modal-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    gap: 14px;
}
.modal-success.active { display: flex; }
.modal-body.hidden { display: none; }
.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff0f3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.success-icon svg { width: 28px; height: 28px; }
.modal-success h3 { font-size: 20px; font-weight: 600; color: #111; }
.modal-success p { font-size: 14px; color: #666; line-height: 1.6; }
/* ── FIN MODAL ── */

.container{
    max-width:1200px; margin:auto; padding:1px 20px;
    display:grid; grid-template-columns:2fr 1fr; gap:30px;
}
.card{ background:white; padding:30px; border-radius:12px; margin-bottom:30px; box-shadow:0 2px 10px rgba(0,0,0,0.03); }

.testimonials-section h2{ text-align:left; margin-bottom:30px; }
.testimonials-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-item{ text-align:center; padding:20px; border-radius:10px; background:#fafafa; border:1px solid #eee; }
.testimonial-img{ width:120px; height:120px; margin:0 auto 15px; border-radius:50%; overflow:hidden; border:4px solid #fff; box-shadow:0 4px 10px rgba(0,0,0,0.1); }
.testimonial-img img{ width:100%; height:100%; object-fit:cover; }
.testimonial-text{ font-size:13px; color:#555; font-style:italic; margin-bottom:15px; line-height:1.6; }
.testimonial-name{ font-size:15px; font-weight:600; color:#333; }

.sidebar{ display:flex; flex-direction:column; gap:20px; }
.form-box{ position:sticky; top:100px; z-index:10; }
.section-title{ color:#888; font-size:13px; letter-spacing:1px; margin-bottom:15px; text-transform:uppercase; }
.check-list{ list-style:none; }
.check-list li{ display:flex; align-items:center; margin-bottom:10px; font-size:14px; }
.check-list li span{ color:#ff4b6e; font-weight:bold; margin-right:10px; }

.social-icon{ text-decoration:none !important; font-size:20px; transition:all 0.3s ease; background:transparent !important; display:inline-block; margin-right:15px; }
.icon-light{ color:#ffffff !important; }
.icon-dark{ color:#333333 !important; }
.social-icon:hover{ color:#ff4b6e !important; transform:translateY(-3px); }

.form-box h2{ margin-bottom:15px; font-size:18px; }
.form-box form{ display:flex; flex-direction:column; }
.form-box label{ font-size:12px; margin-top:10px; color:#666; }
.form-box input{ padding:10px; border-radius:6px; border:1px solid #ddd; margin-top:5px; font-size:14px; }
.send{ margin-top:10px; padding:14px; border:none; border-radius:30px; background:#ff4b6e; color:white; font-weight:600; cursor:pointer; font-size:16px; width:100%; transition: background 0.2s; }
.send:hover { background: #e0354f; }

.curriculum-item{ border-bottom:1px solid #eee; }
.curriculum-header{ display:flex; justify-content:space-between; padding:15px 0; cursor:pointer; font-weight:500; }
.curriculum-content{ max-height:0; overflow:hidden; transition:0.3s; color:#666; font-size:14px; }
.curriculum-item.active .curriculum-content{ max-height:120px; padding-bottom:15px; }
.curriculum-item.active .arrow{ transform:rotate(90deg); }
.arrow{ display:inline-block; transition:0.3s; color:#ff4b6e; flex-shrink:0; margin-left:10px; }

.perfil-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:20px; }
.perfil-item h4{ margin:10px 0 5px; font-size:16px; }
.perfil-item p{ font-size:13px; color:#666; line-height:1.5; }

/* --- FOOTER --- */
footer{
    background:#1a1a1a;
    color:white;
    padding:60px 8% 30px;
    margin-top:60px;
}

.footer-container{
    max-width:900px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:30px;
}

.footer-logo{
    height:40px;
    margin-bottom:15px;
}

.footer-desc{
    color:#bbb;
    font-size:14px;
    line-height:1.6;
}

.footer-col h4{
    font-size:14px;
    margin-bottom:10px;
    color:white;
    text-transform:uppercase;
    letter-spacing:1px;
}

.footer-bottom{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #333;
    text-align:center;
    color:#777;
    font-size:12px;
}

/* RESPONSIVE */
@media (max-width:900px){
    .container{ grid-template-columns:1fr; }
    .form-box{ position:relative; top:0; }
    .perfil-grid{ grid-template-columns:1fr; }
    .testimonials-grid{ grid-template-columns:1fr; }
    .footer-container{ grid-template-columns:1fr; gap:30px; }
}
@media (max-width:700px){
    .course-info{ flex-wrap:wrap; }
    .price-area{ width:100%; border-bottom:1px solid #ebebeb; }
    .info-item{ border-left:none; border-top:1px solid #ebebeb; flex:1; }
    .cta-btn{ width:calc(100% - 2rem); justify-content:center; }
    .modal-row{ grid-template-columns:1fr; }
}
@media (max-width:600px){
    .footer-cursos-grid{ grid-template-columns:1fr; }
    .curso-link-full{ grid-column:span 1; }
}



.alert {
  padding: 20px;
  background-color: #f44336; /* Default color (e.g., for danger) */
  color: white;
  margin-bottom: 15px;
  border-radius: 4px;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

.success {
  background-color: #12d48d; /* Green background for success */
}


.failed {
  background-color: #d41212; /* Green background for success */
}


/* CSS Whatsapp Chat */
#whatsapp-chat {
    position: fixed;
    background: #fff;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 1px 15px rgba(32, 33, 36, 0.28);
    bottom: 90px;
    right: 30px;
    overflow: hidden;
    z-index: 99;
    animation-name: showchat;
    animation-duration: 0.5s;
    transform: scale(1);
}
 
a.blantershow-chat {
    /*   background: #009688; */
    background: #fff;
    color: #404040;
    position: fixed;
    display: flex;
    font-weight: 400;
    justify-content: space-between;
    z-index: 98;
    bottom: 25px;
    right: 30px;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 1px 15px rgba(32, 33, 36, 0.28);
    text-decoration: none;
}
 
a.blantershow-chat svg {
    transform: scale(1.2);
    margin: 0 10px 0 0;
}

.head-title {
    text-align: center;
    width: 100%;
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.head-user-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0px;
}
 
.header-chat {
    background: #2c96d2;
    color: #fff;
    padding: 15px 20px;
}
.header-chat h3 {
    margin: 0 0 10px;
}
.header-chat p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
.info-avatar {
    position: relative;
}
.info-avatar img {
    border-radius: 100%;
    width: 55px;
    height: 55px;
    float: left;
    margin: 0 12px 0 0;
    border: 2px solid #fff;
}

.info-chat span {
    display: block;
}
#get-label,
span.chat-label {
    font-size: 12px;
    color: #888;
}
#get-nama,
span.chat-nama {
    margin: 5px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #222;
}
#get-label,
#get-nama {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
span.my-number {
    display: none;
}
.blanter-msg {
color: #444;
    padding: 15px 15px;
    font-size: 12.5px;
    text-align: center;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    background: #fff;
}
textarea#chat-input {
border: none;
    font-family: "Arial", sans-serif;
    width: 100%;
    height: 30px;
    outline: none;
    resize: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}
a#send-it {
    color: #555;
    /*width: 40px;*/
    border: 1 solid white!important;
    /*margin: -5px 0 0 5px;*/
    /*font-weight: 700;*/
    /*padding: 8px;*/
    /*background: #eee;*/
    border-radius: 10px;
}
.first-msg {
    background: #f5f5f5;
    padding: 30px;
    text-align: center;
}
.first-msg span {
    background: #e2e2e2;
    color: #333;
    font-size: 14.2px;
    line-height: 1.7;
    border-radius: 10px;
    padding: 15px 20px;
    display: inline-block;
}
.start-chat .blanter-msg {
    display: flex;
}
#get-number {
    display: none;
}
a.close-chat {
    position: absolute;
    top: 5px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}
@keyframes showhide {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
}
@keyframes showchat {
    from {
        transform: scale(0);
        opacity: 0;
    }
}
@media screen and (max-width: 480px) {
    #whatsapp-chat {
        width: auto;
        left: 5%;
        right: 5%;
        font-size: 80%;
    }
}
.hide {
    display: none;
    animation-name: showhide;
    animation-duration: 1.5s;
    transform: scale(1);
    opacity: 1;
}
.show {
    display: block;
    animation-name: showhide;
    animation-duration: 1.5s;
    transform: scale(1);
    opacity: 1;
}

.btn-primary {
    background-color: #507e91;
    border-color: #507e91;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}
 
.btn-primary:hover {
    background-color: #2f4a55;
    border-color: #2f4a55;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
 
.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
 
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.5);
}




[data-state="error"] { border-color: #E24B4A; }
[data-state="ok"]    { border-color: #639922; }
[data-msg]           { font-size: 12px; min-height: 16px; display: block; }
[data-msg][data-state="error"] { color: #E24B4A; }
[data-msg][data-state="ok"]    { color: #639922; }