﻿/* =========================================================
   Edunex – eTutor-like Landing (Reusable CSS)
   Focus: Header/Hero section close to template-kit Home 1
   ========================================================= */

/* Google Fonts should be loaded from the Razor page:
   - Montserrat (headings)
   - Archivo (body)
*/

:root {
    --et-dark: #3A3F60; /* Template header background */
    --et-primary: #7839FF; /* Template CTA purple */
    --et-white: #FFFFFF;
    --et-text: #111318;
    --et-muted: #6C727F;
    --et-border: #E9E9EF;
    --radius-lg: 18px;
    --radius-md: 14px;
    --shadow-lg: 0 24px 60px rgba(15, 18, 30, .18);
    --shadow-md: 0 16px 30px rgba(15, 18, 30, .12);
    --container: 1180px;
}

/* Base */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    color: var(--et-text);
    background: #fff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.et-container {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

/* Top nav (simple, clean, close vibe) */
.et-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 18px 0;
}

.et-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.et-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.et-logo {
    height: 52px;
    width: auto;
}

.et-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .et-nav a {
        color: rgba(255,255,255,.92);
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
        font-size: 14px;
        opacity: .92;
    }

        .et-nav a:hover {
            opacity: 1;
        }

/* Small pills (stats) */
.et-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.et-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.92);
    font-size: 12.5px;
}

    .et-pill b {
        font-weight: 700;
    }

/* =========================================================
   HERO (matches the CSS you provided: bg + overlay earth image)
   ========================================================= */
.et-hero {
    position: relative;
    background-color: var(--et-dark);
    padding: 80px 0 0 0;
    z-index: 2;
    min-height: 100vh; /* close to template */
    overflow: hidden;
}

    /* Overlay image (earth-3866609_1920.png) with opacity like Elementor */
    .et-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("https://kits.focuxtheme.com/etutor/wp-content/uploads/sites/4/2021/11/earth-3866609_1920.png");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        opacity: .29;
        pointer-events: none;
    }

    /* subtle darkening gradient for readability */
    .et-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(58,63,96,.20), rgba(58,63,96,.75));
        pointer-events: none;
    }

.et-hero-inner {
    position: relative;
    z-index: 3;
    padding: 120px 0 70px; /* gives similar vertical rhythm */
}

.et-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
    align-items: center;
    padding-bottom: 10px;
}

.et-hero-kicker {
    font-family: "Montserrat", sans-serif;
    color: rgba(255,255,255,.92);
    font-weight: 500;
    font-size: 32px; /* close to 2em */
    line-height: 1.1;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.et-hero-title {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    font-weight: 500;
    font-size: clamp(42px, 4.4vw, 72px); /* close to 4em on desktop */
    line-height: .9; /* like template */
    margin: 0 0 14px 0;
    letter-spacing: 0;
    text-transform: capitalize;
}

.et-hero-desc {
    margin: 0;
    color: rgba(255,255,255,.69);
    font-size: 16px;
    line-height: 1.6;
    max-width: 62ch;
}

.et-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.et-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
    user-select: none;
    white-space: nowrap;
}

.et-btn-primary {
    background: var(--et-primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(120,57,255,.25);
}

    .et-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 36px rgba(120,57,255,.33);
    }

.et-btn-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.18);
}

    .et-btn-ghost:hover {
        transform: translateY(-1px);
        background: rgba(255,255,255,.16);
    }

/* Right hero visual card (optional, keeps "template feel") */
.et-hero-card {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    overflow: hidden;
}

.et-hero-card-head {
    padding: 18px 18px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.et-hero-card-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
}

.et-hero-card-sub {
    margin: 6px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.5;
}

.et-hero-card-body {
    padding: 16px 18px 18px;
}

.et-hero-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.et-bullet {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.et-bullet-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-weight: 700;
    flex: 0 0 auto;
}

.et-bullet strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    margin-bottom: 3px;
}

.et-bullet p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13.5px;
    line-height: 1.5;
}

/* =========================================================
   Sections (kept simple; you can reuse or extend)
   ========================================================= */
.et-section {
    padding: 54px 0;
}

.et-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.et-section-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
}

.et-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.et-input, .et-select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--et-border);
    background: #fff;
    color: var(--et-text);
    outline: none;
    min-width: 220px;
}

.et-select {
    min-width: 160px;
}

.et-hint {
    color: var(--et-muted);
    font-size: 13px;
}

/* Course cards */
.et-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.et-card {
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.et-cover {
    height: 150px;
    background: #f3f4f7;
    position: relative;
}

    .et-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.et-body {
    padding: 14px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.et-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
}

.et-meta {
    margin: 0;
    color: var(--et-muted);
    font-size: 13px;
    line-height: 1.4;
}

.et-desc {
    margin: 0;
    color: #3a3f4b;
    font-size: 13.5px;
    line-height: 1.55;
    max-height: 62px;
    overflow: hidden;
}

.et-foot {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--et-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.et-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    border: 1px solid var(--et-border);
    background: #fff;
    color: var(--et-muted);
}

    .et-tag.free {
        border-color: rgba(120,57,255,.25);
        color: var(--et-primary);
        background: rgba(120,57,255,.06);
    }

    .et-tag.paid {
        border-color: rgba(58,63,96,.25);
        color: var(--et-dark);
        background: rgba(58,63,96,.06);
    }

.et-price {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: var(--et-text);
}

/* Small buttons inside cards */
.et-mini {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.et-btn-sm {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
}

.et-btn-outline {
    background: #fff;
    color: var(--et-primary);
    border: 1px solid rgba(120,57,255,.30);
}

    .et-btn-outline:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px rgba(120,57,255,.12);
    }

/* Footer */
.et-footer {
    padding: 26px 0 40px;
    border-top: 1px solid var(--et-border);
    color: var(--et-muted);
    font-size: 13px;
}

.et-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* =========================================================
   Modals (reusing your behavior, style aligned)
   ========================================================= */
.et-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.58);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

    .et-modal.show {
        display: flex;
    }

.et-modal-panel {
    width: min(980px, 100%);
    height: min(720px, 100%);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.et-modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--et-border);
    background: #f7f7fb;
}

.et-modal-title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--et-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.et-modal-close {
    border: 1px solid var(--et-border);
    background: #fff;
    color: var(--et-text);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 700;
}

.et-modal-body {
    padding: 16px;
    overflow: auto;
}

/* Form */
.et-formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.et-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.et-label {
    font-size: 13px;
    color: var(--et-muted);
}

.et-field input {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--et-border);
    outline: none;
}

.et-notice {
    margin-top: 12px;
    border: 1px solid var(--et-border);
    background: #f7f7fb;
    border-radius: 12px;
    padding: 12px;
    color: #3a3f4b;
    font-size: 13.5px;
    line-height: 1.55;
}

.et-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .et-hero-inner {
        padding: 110px 0 60px;
    }

    .et-hero-grid {
        grid-template-columns: 1fr;
    }

    .et-hero-kicker {
        font-size: 24px;
    }
}

@media (max-width: 820px) {
    .et-grid {
        grid-template-columns: 1fr;
    }

    .et-input {
        min-width: 100%;
    }

    .et-formgrid {
        grid-template-columns: 1fr;
    }

    .et-topbar {
        position: relative;
        background: var(--et-dark);
    }
}

@media (max-width: 520px) {
    .et-logo {
        height: 46px;
    }

    .et-hero-title {
        line-height: 1.0;
    }
}
.et-summary{
    color:white;
}