/* =========================================================
   EDOPSIN – Nov 2026 update (eu- namespace)
   Hero, course cards, registration form, WhatsApp, Malayalam pages
   ========================================================= */

:root {
    --eu-navy: #00394f;
    --eu-navy-2: #0a2533;
    --eu-accent: #9fd3e6;
    --eu-wa: #25d366;
    --eu-soft: #f3f8fa;
}

/* ---------- Floating WhatsApp ---------- */
.eu-wa-float {
    position: fixed; right: 26px; bottom: 92px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--eu-wa); color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
    transition: transform .25s ease;
}
.eu-wa-float:hover { transform: scale(1.08); }
.eu-wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--eu-wa); animation: euPulse 2s infinite;
}
@keyframes euPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Homepage hero (dark background) ---------- */
.hero-3 .eu-hero-tagline { color: #fff; border-left-color: var(--eu-accent); }
.hero-3 .eu-hero-points li { color: rgba(255, 255, 255, .92); }
.hero-3 .eu-hero-points i { color: var(--eu-accent); }
.hero-3 .eu-btn-row .ed-primary-btn:not(.eu-btn-wa) { background: #fff; color: var(--eu-navy); }
.hero-3 .eu-btn-row .ed-primary-btn:not(.eu-btn-wa):hover { color: #fff; }
.hero-3 .hero-content h1.section-title { color: #fff; }
.eu-hero-tagline {
    display: inline-block; font-weight: 600; color: var(--eu-navy);
    border-left: 4px solid var(--eu-navy); padding: 4px 0 4px 14px; margin: 6px 0 22px;
    font-size: 18px;
}
.eu-hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.eu-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ed-color-heading-primary); }
.eu-hero-points i { color: var(--eu-navy); }
.eu-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.eu-btn-wa { background: var(--eu-wa) !important; }
.eu-btn-wa::before { background: var(--eu-navy) !important; }
.eu-btn-outline {
    background: transparent !important; color: var(--eu-navy) !important;
    border: 2px solid var(--eu-navy);
}
.eu-btn-outline:hover { color: #fff !important; }

/* ---------- Course cards (2-course layout) ---------- */
.eu-course-card {
    background: #fff; border-radius: 18px; overflow: hidden; height: 100%;
    display: flex; flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 57, 79, .10); border: 1px solid #e6eef2;
    transition: transform .3s ease, box-shadow .3s ease;
}
.eu-course-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0, 57, 79, .16); }
.eu-course-card .eu-cc-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.eu-course-card .eu-cc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eu-course-card .eu-cc-tag {
    position: absolute; left: 18px; top: 18px; background: var(--eu-navy); color: #fff;
    font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 30px; letter-spacing: .3px;
}
.eu-course-card .eu-cc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.eu-course-card .eu-cc-label { color: var(--eu-navy); font-weight: 700; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; }
.eu-course-card h3 { font-size: 26px; margin: 6px 0 10px; line-height: 1.25; }
.eu-course-card h3 a { color: inherit; }
.eu-course-card p { margin-bottom: 18px; }
.eu-cc-meta { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px dashed #d5e3ea; }
.eu-cc-meta li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed #d5e3ea; font-size: 15px; }
.eu-cc-meta li span:first-child { color: #5f7480; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.eu-cc-meta li span:first-child i { color: var(--eu-navy); }
.eu-cc-meta li span:last-child { color: var(--ed-color-heading-primary); font-weight: 600; text-align: right; }
.eu-cc-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.eu-cc-actions .eu-ml-link { font-weight: 600; color: var(--eu-navy); text-decoration: underline; font-size: 15px; }

/* dark section variant (homepage) */
.feature-course-2 .eu-course-card { border-color: transparent; }

/* ---------- Registration / enquiry form ---------- */
.eu-form-card {
    background: #fff; border-radius: 18px; padding: 34px 32px;
    box-shadow: 0 20px 50px rgba(0, 57, 79, .12); border-top: 5px solid var(--eu-navy);
}
.eu-form-card h3 { font-size: 26px; margin-bottom: 6px; }
.eu-form-card .eu-form-note { font-size: 14px; color: #5f7480; margin-bottom: 22px; }
.eu-form .eu-field { margin-bottom: 16px; }
.eu-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ed-color-heading-primary); }
.eu-form label .req { color: #d63c3c; }
.eu-form input, .eu-form select, .eu-form textarea {
    width: 100%; height: 50px; border: 1px solid #cfdde4; border-radius: 10px;
    padding: 0 16px; font-size: 15px; background: #fbfdfe; color: #1c2b33;
    transition: border-color .2s, box-shadow .2s;
}
.eu-form select { appearance: auto; }
.eu-form textarea { height: 96px; padding: 12px 16px; resize: vertical; }
.eu-form input:focus, .eu-form select:focus, .eu-form textarea:focus {
    outline: none; border-color: var(--eu-navy); box-shadow: 0 0 0 3px rgba(0, 57, 79, .12); background: #fff;
}
.eu-form .eu-err { display: none; color: #d63c3c; font-size: 13px; margin-top: 4px; }
.eu-form .eu-field.has-error input, .eu-form .eu-field.has-error select { border-color: #d63c3c; }
.eu-form .eu-field.has-error .eu-err { display: block; }
.eu-form button[type="submit"] { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.eu-form .eu-form-foot { font-size: 13px; color: #5f7480; margin: 12px 0 0; text-align: center; }
.eu-form-card .nice-select { display: none !important; } /* keep the native select inside forms */
.eu-form-card select { display: block !important; }

/* ---------- Contact page cards ---------- */
.eu-contact-card {
    background: #fff; border-radius: 18px; padding: 34px 28px; text-align: center; height: 100%;
    box-shadow: 0 15px 40px rgba(0, 57, 79, .08); border: 1px solid #e6eef2;
}
.eu-contact-card .eu-ci {
    width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 32px;
    background: var(--eu-soft); color: var(--eu-navy);
}
.eu-contact-card.eu-wa .eu-ci { background: #e7f9ee; color: #1aa851; }
.eu-contact-card h4 { margin-bottom: 8px; }
.eu-contact-card p { margin-bottom: 18px; }
.eu-contact-card a.eu-big { font-size: 20px; font-weight: 700; color: var(--eu-navy); word-break: break-word; }

/* ---------- Course page: platform strip ---------- */
.eu-info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 30px; }
.eu-info-strip div { background: var(--eu-soft); border-radius: 12px; padding: 16px 18px; }
.eu-info-strip small { display: block; color: #5f7480; font-size: 13px; margin-bottom: 2px; }
.eu-info-strip strong { color: var(--eu-navy); font-size: 16px; }
.eu-lang-switch {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
    background: rgba(255, 255, 255, .12); color: #fff !important; padding: 9px 18px; border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .35); font-weight: 600; font-size: 15px;
}
.eu-lang-switch:hover { background: #fff; color: var(--eu-navy) !important; }

/* =========================================================
   Malayalam landing pages
   ========================================================= */
.eu-ml, .eu-ml p, .eu-ml li, .eu-ml h1, .eu-ml h2, .eu-ml h3, .eu-ml h4, .eu-ml label, .eu-ml a, .eu-ml span, .eu-ml button, .eu-ml input, .eu-ml select {
    font-family: 'Noto Sans Malayalam', 'Outfit', sans-serif;
}
.eu-ml p, .eu-ml li { line-height: 1.75; }
.eu-ml-hero {
    background: linear-gradient(135deg, var(--eu-navy-2) 0%, var(--eu-navy) 100%);
    color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden;
}
.eu-ml-hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
    border-radius: 50%; background: rgba(159, 211, 230, .08);
}
.eu-ml-hero .eu-ml-badge {
    display: inline-block; background: rgba(159, 211, 230, .18); color: var(--eu-accent);
    padding: 7px 16px; border-radius: 30px; font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.eu-ml-hero h1 { color: #fff; font-size: 44px; line-height: 1.3; margin-bottom: 14px; }
.eu-ml-hero h1 small { display: block; font-size: 20px; color: var(--eu-accent); font-weight: 600; margin-top: 8px; }
.eu-ml-hero p.lead { color: rgba(255, 255, 255, .88); font-size: 18px; margin-bottom: 26px; }
.eu-ml-hero .eu-ml-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.eu-ml-hero .eu-ml-facts span {
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    padding: 8px 14px; border-radius: 10px; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: #fff;
}
.eu-ml-hero .eu-ml-facts i { color: var(--eu-accent); }
.eu-ml-hero .eu-ml-img { border-radius: 18px; overflow: hidden; box-shadow: 0 25px 60px rgba(0, 0, 0, .35); }
.eu-ml-hero .eu-ml-img img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.eu-ml-hero .eu-btn-row .ed-primary-btn:not(.eu-btn-wa) { background: #fff; color: var(--eu-navy); }
.eu-ml-hero .eu-btn-row .ed-primary-btn:not(.eu-btn-wa):hover { color: #fff; }
.eu-ml-en { color: rgba(255, 255, 255, .75) !important; font-size: 14px; text-decoration: underline; display: inline-block; margin-top: 18px; }

.eu-ml-sec { padding: 70px 0; }
.eu-ml-sec.alt { background: var(--eu-soft); }
.eu-ml-sec h2 { font-size: 32px; line-height: 1.35; margin-bottom: 12px; }
.eu-ml-sec .eu-ml-kicker { color: var(--eu-navy); font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.eu-ml-goal {
    background: #fff; border-left: 5px solid var(--eu-navy); border-radius: 12px;
    padding: 22px 24px; box-shadow: 0 10px 30px rgba(0, 57, 79, .07); font-size: 17px;
}
.eu-ml-mod {
    background: #fff; border-radius: 16px; padding: 24px 22px; height: 100%;
    border: 1px solid #e3edf2; box-shadow: 0 10px 30px rgba(0, 57, 79, .06);
}
.eu-ml-mod .eu-ml-day {
    display: inline-block; background: var(--eu-navy); color: #fff; font-size: 13px; font-weight: 700;
    padding: 4px 12px; border-radius: 20px; margin-bottom: 10px;
}
.eu-ml-mod h3 { font-size: 21px; line-height: 1.4; margin-bottom: 10px; }
.eu-ml-mod ul { list-style: none; padding: 0; margin: 0; }
.eu-ml-mod li { position: relative; padding-left: 24px; margin-bottom: 6px; font-size: 15.5px; }
.eu-ml-mod li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #1aa851; font-weight: 700; }
.eu-ml-who { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 16px 18px; height: 100%; border: 1px solid #e3edf2; }
.eu-ml-who i { color: var(--eu-navy); font-size: 22px; line-height: 1.4; }
.eu-ml-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 57, 79, .07); }
.eu-ml-table th, .eu-ml-table td { padding: 14px 18px; border-bottom: 1px solid #e3edf2; text-align: left; vertical-align: top; font-size: 16px; }
.eu-ml-table th { width: 38%; color: #5f7480; font-weight: 600; background: #fafcfd; }
.eu-ml-table td { color: var(--ed-color-heading-primary); font-weight: 600; }
.eu-ml-table tr:last-child th, .eu-ml-table tr:last-child td { border-bottom: 0; }
.eu-ml-disclaimer { font-size: 14px; color: #5f7480; font-style: italic; margin-top: 18px; }

/* Sticky mobile CTA bar */
.eu-ml-sticky { display: none; }
@media (max-width: 767px) {
    .eu-ml-sticky {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
        background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); padding: 10px; gap: 10px;
    }
    .eu-ml-sticky a {
        flex: 1; text-align: center; padding: 12px 8px; border-radius: 10px; font-weight: 700; font-size: 15px;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    }
    .eu-ml-sticky .s-reg { background: var(--eu-navy); color: #fff; }
    .eu-ml-sticky .s-wa { background: var(--eu-wa); color: #fff; }
    body.eu-has-sticky { padding-bottom: 72px; }
    body.eu-has-sticky .eu-wa-float { display: none; }
    body.eu-has-sticky #scrollup { bottom: 90px; }

    .eu-ml-hero { padding: 44px 0 40px; }
    .eu-ml-hero h1 { font-size: 30px; }
    .eu-ml-hero h1 small { font-size: 17px; }
    .eu-ml-hero p.lead { font-size: 16px; }
    .eu-ml-sec { padding: 50px 0; }
    .eu-ml-sec h2 { font-size: 25px; }
    .eu-ml-table th, .eu-ml-table td { display: block; width: 100%; padding: 10px 16px; }
    .eu-ml-table th { border-bottom: 0; padding-bottom: 2px; }
}

@media (max-width: 991px) {
    .eu-course-card h3 { font-size: 22px; }
    .eu-form-card { padding: 26px 20px; }
    .eu-wa-float { width: 52px; height: 52px; font-size: 27px; right: 18px; bottom: 84px; }
}
