/**
* LearnShare – Frontend Style
* Design: Emerald Green / Clean Modern
*/

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --primary:       #2d8a5f;
    --primary-dark:  #1e6b49;
    --primary-light: #3daf7a;
    --primary-pale:  #e8f7f0;
    --accent:        #5cc896;
    --text-dark:     #1a1a2e;
    --text-mid:      #555;
    --text-light:    #888;
    --border:        #e8e8e8;
    --white:         #fff;
    --footer-bg:     #0f1923;
    --font:          'Roboto', sans-serif;
    --radius-sm:     10px;
    --radius:        16px;
    --radius-lg:     24px;
    --shadow:        0 4px 20px rgba(45,138,95,.1);
    scroll-behavior: smooth;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 { margin: 0; }
ul { list-style: none; padding: 0; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── UTILITIES ── */
.section-padding { padding-top: 80px; }
.mb-60 { margin-bottom: 24px; }

/* ── SECTION TITLE ── */
.title-area {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}
.title-area h1 { display: none; }
.title-area .section-tag {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.title-area h3 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.title-area p {
    max-width: 600px;
    margin: auto;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
}

/******** 1. HEADER AREA
***************************************************************/
.header-area {
    background: #fff;
    padding: 14px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: box-shadow .3s;
}
.active-bg {
    box-shadow: 0 2px 16px rgba(0,0,0,.13) !important;
}
/* logo */
.logo img {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.small-device-show img { height: 40px; }

/* nav */
.primary-menu { display: flex; }
.primary-menu li { margin-right: 28px; }
.primary-menu li a {
    color: var(--text-dark) !important;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    transition: color .2s;
}
.primary-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width .3s;
}
.primary-menu li a:hover { color: var(--primary) !important; }
.primary-menu li a:hover::after { width: 100%; }
.primary-menu a.active::after { width: 100%; }
.primary-menu .nav-link { padding: 0; display: inline-block; }

/* header buttons */
.header-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.header-btn a { font-size: 15px; font-weight: 600; display: inline-block; white-space: nowrap; }
.login-btn { color: var(--text-dark) !important; margin-right: 6px; white-space: nowrap; }
.login-btn:hover { color: var(--primary) !important; }
.signUp-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 700;
    transition: background .2s;
    white-space: nowrap;
}
.signUp-btn:hover { background: var(--primary-dark); }

/* hamburger */
.hambargar-bar {
    display: none;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--primary-pale);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 8px;
}
.crose-icon { display: none; cursor: pointer; }
.small-device-show { display: none; }

/* user dropdown */
.user-profile { position: relative; }
.us-btn { background: none; border: none; cursor: pointer; padding: 0; }
.us-btn img {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-pale);
}
.dropmenu-end { right: 0 !important; left: auto !important; min-width: 160px; }
.dropdown-item { font-size: 14px; font-weight: 600; }
.dropdown-item:hover { color: var(--primary); }

/******** 2. HERO (BANNAR) AREA
***************************************************************/
.bannar-area {
    background: linear-gradient(135deg, #1e6b49 0%, #2d8a5f 40%, #3daf7a 75%, #5cc896 100%);
    padding: 80px 0 40px;
    overflow: hidden;
    position: relative;
}
.bannar-area .safe-top,
.bannar-area .safe-left { display: none; }

/* hero content */
.bannar-content { padding-top: 0; text-align: center; }
.bannar-content h4 {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.95);
    background: rgba(255,255,255,.18);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.bannar-content h2 {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.bannar-content p {
    color: rgba(255,255,255,.85);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* hero stats */
.ekatoor-user {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.single-user {
    background: rgba(255,255,255,.15);
    border-radius: 14px;
    padding: 12px 22px;
    text-align: center;
    backdrop-filter: blur(4px);
}
.single-user h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}
.single-user span {
    font-size: 13px;
    color: rgba(255,255,255,.8);
    font-weight: 500;
}

/* hero buttons */
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.hero-btn-primary {
    background: #fff;
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    transition: background .2s;
    display: inline-block;
}
.hero-btn-primary:hover { background: var(--primary-pale); color: var(--primary) !important; }
.hero-btn-outline {
    background: rgba(255,255,255,.15);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,.5);
    transition: background .2s;
    display: inline-block;
}
.hero-btn-outline:hover { background: rgba(255,255,255,.28); color: #fff !important; }

/* hero image */
.bananr-right-img {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.bananr-right-img img {
    max-height: 380px;
    width: auto;
    max-width: 100%;
}

/******** 3. FEATURES (SERVICE) AREA
***************************************************************/
.service-area { padding: 80px 0; background: #fff; }

.service-items {
    background: #f9fafb;
    border-radius: var(--radius);
    padding: 24px;
    height: 100%;
    transition: box-shadow .2s, transform .2s, background .2s;
    cursor: default;
}
.service-items:hover {
    box-shadow: 0 8px 28px rgba(45,138,95,.13);
    transform: translateY(-3px);
    background: #fff;
}
.service-icon {
    width: 52px; height: 52px;
    background: var(--primary-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.service-icon i {
    font-size: 22px;
    color: var(--primary);
    margin: 0 !important;
    line-height: 1;
}
.service-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.service-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* see all */
.see-all-btn { text-align: center; margin-top: 36px; }
.see-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
}
.see-btn:hover { background: var(--primary-dark); }

/******** 4. PRICING AREA
***************************************************************/
.pricing-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 20%, #e8f5e9 45%, #e3f2fd 70%, #fff9c4 100%);
}

.pricing-table {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    transition: box-shadow .2s, transform .2s;
}
.pricing-table:hover {
    box-shadow: 0 10px 32px rgba(45,138,95,.15);
    transform: translateY(-3px);
}
.pricing-table.popular { border-color: var(--primary); }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 1;
}

.trail-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}
.pricing-table h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0 4px;
}
.small-text { font-size: 14px; font-weight: 500; color: var(--text-light); }

.color-ff { color: var(--text-mid) !important; }

.pricing-item {
    flex: 1;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin: 12px 0 16px;
}
.pricing-item li {
    font-size: 13px;
    color: var(--text-mid);
    padding: 6px 0;
    border-bottom: 1px solid #f9f9f9;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pricing-item li::before { content: none; }

.subscribe-btn {
    display: block;
    text-align: center;
    margin-top: auto;
    padding: 11px;
    background: var(--primary-pale);
    color: var(--primary) !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.subscribe-btn:hover { background: var(--primary); color: #fff !important; }
.popular .subscribe-btn { background: var(--primary); color: #fff !important; }
.popular .subscribe-btn:hover { background: var(--primary-dark); }

/******** 5. FAQ AREA
***************************************************************/
.faq-area { padding: 80px 0; background: #fff; }

.accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: none !important;
}
.accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark) !important;
    background: #fff !important;
    padding: 18px 22px;
    box-shadow: none !important;
    border-radius: 14px !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    background: var(--primary-pale) !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d8a5f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d8a5f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
    padding: 12px 22px 20px;
    background: #fff;
}
.accordion-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}
.round-bg { border-radius: 14px !important; }

/******** 6. CONTACT / CTA AREA
***************************************************************/
.contact-us-area { padding: 0 0 80px; }

.lan-contact {
    background: linear-gradient(135deg, #1e6b49 0%, #3daf7a 100%);
    border-radius: var(--radius-lg);
    padding: 48px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.contact-left h3 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.35;
}
.contact-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 15px;
    transition: background .2s;
}
.contact-us-btn:hover { background: var(--primary-pale); }
.contact-right { flex-shrink: 0; }
.envolepe-messeage {
    width: 90px; height: 90px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.envolepe-messeage img {
    width: 44px; height: 44px;
    filter: brightness(0) invert(1);
}

/******** 7. FOOTER AREA
***************************************************************/
.footer-area { background: var(--footer-bg); padding: 56px 0 0; }
.footer-top { padding-bottom: 40px; }

.footer-items h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    text-align: center;
}
.footer-items h4::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 2px;
    background: var(--primary);
}
.footer-items p, .footer-desc {
    font-size: 13px;
    color: #aaa;
    line-height: 1.85;
    text-align: center;
}
.footer-logo { margin-bottom: 14px; display: flex; justify-content: center; }
.footer-logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .85;
}
.footer-social-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 20px;
}

/* footer contact list */
.ad-contacts { display: flex; flex-direction: column; align-items: flex-start; }
.ad-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #aaa;
    font-size: 14px;
}
.ad-contacts li i {
    color: var(--primary-light);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.ad-contacts li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
}
.ad-contacts li a { color: #aaa; transition: color .2s; }
.ad-contacts li a:hover { color: var(--primary-light); }
.ad-contacts li p { color: #aaa; font-size: 14px; margin: 0; }
.ad-contacts li.footer-address-item {
    align-items: flex-start;
    text-align: left;
}
.ad-contacts li.footer-address-item span {
    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}
.ad-contacts li.footer-address-item strong {
    color: #ccc;
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* footer map */
.footer-map { width: 100%; }
.footer-map iframe { display: block; width: 100%; border-radius: 8px; }

/* social links */
.footer-social { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.footer-social li a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #1e2c38;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    transition: background .2s, color .2s;
}
.footer-social li a:hover { background: var(--primary); color: #fff; }

/* footer bottom */
.footer-bottom {
    border-top: 1px solid #1e2c38;
    padding: 20px 0;
    margin-top: 8px;
}
.copyright-text p {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin: 0;
}

/******** REGISTER MODAL
***************************************************************/
.register-form-modal .modal-title { font-size: 20px !important; font-weight: 700; }
.reg-modal-form h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.single-form { margin-bottom: 14px; }
.single-form label { font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 5px; display: block; }
.single-form .form-control,
.single-form .form-select { border-radius: var(--radius-sm); font-size: 14px; border-color: #e0e0e0; }
.single-form .form-control:focus,
.single-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,138,95,.12); }
.m-submit-btn {
    width: 100%;
    padding: 12px;
    border-radius: 28px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: background .2s;
    font-family: var(--font);
}
.m-submit-btn:hover { background: var(--primary-dark); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE – MOBILE FIXES
══════════════════════════════════════════════════════ */

/* ── Tablet & small desktop (≤ 991px) ── */
@media (max-width: 991.98px) {

    /* Section spacing */
    .section-padding { padding-top: 52px; }
    .service-area, .pricing-area, .faq-area { padding: 52px 0; }
    .contact-us-area { padding: 0 0 52px; }

    /* Section titles */
    .title-area h3 { font-size: 26px; }

    /* Hamburger */
    .hambargar-bar { display: flex !important; }

    /* Mobile nav overlay */
    .menu-items {
        display: none !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: 100% !important;
        background: #fff;
        z-index: 9999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 24px 40px;
        max-width: none !important;
        flex: none !important;
    }
    .menu-items.menu-open {
        display: flex !important;
    }
    .menu-items .primary-menu {
        flex-direction: column !important;
        align-items: center;
        gap: 4px;
    }
    .menu-items .primary-menu li { margin-right: 0; }
    .menu-items .primary-menu li a { font-size: 18px; padding: 10px 0; display: block; }
    .small-device-show { display: block !important; margin-bottom: 28px; }
    .crose-icon {
        display: block;
        position: absolute;
        top: 18px; right: 20px;
        font-size: 22px;
        color: var(--text-dark);
        z-index: 10000;
    }

    /* Hero */
    .bannar-area { padding: 52px 0 36px; }
    .bannar-content h2 { font-size: 32px; }
    .bannar-content p { max-width: 100%; }
    .bananr-right-img { justify-content: center; margin-top: 28px; }
    .bananr-right-img img { max-height: 260px; }

    /* Contact CTA */
    .lan-contact { padding: 40px 36px; }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767.98px) {

    /* Section spacing */
    .section-padding { padding-top: 40px; }
    .service-area, .pricing-area, .faq-area { padding: 40px 0; }
    .contact-us-area { padding: 0 0 40px; }

    /* Section titles */
    .title-area { margin-bottom: 28px; }
    .title-area h3 { font-size: 22px; }
    .title-area p { font-size: 14px; }

    /* Hero */
    .bannar-area { padding: 40px 0 28px; }
    .bannar-content h2 { font-size: 26px; }
    .bannar-content p { font-size: 14px; }
    .bananr-right-img { display: none; }

    /* Contact CTA */
    .lan-contact {
        flex-direction: column;
        padding: 32px 20px;
        text-align: center;
        gap: 20px;
    }
    .contact-left h3 { font-size: 20px; margin-bottom: 16px; }

    /* Footer */
    .footer-area { padding: 40px 0 0; }
    .footer-top { padding-bottom: 24px; }
    .footer-map iframe { height: 200px; }
    .ad-contacts { width: 100%; }
    .footer-items h4 { font-size: 14px; }

    /* Pricing */
    .pricing-table { margin-bottom: 20px; }
}

/* ── Small mobile (≤ 575px) ── */
@media (max-width: 575.98px) {

    /* Header buttons */
    .login-btn { font-size: 13px; margin-right: 4px; }
    .signUp-btn { font-size: 13px; padding: 8px 14px; }

    .bannar-content h2 { font-size: 22px; }
    .bannar-content p { font-size: 13px; }

    .hero-btn-primary,
    .hero-btn-outline { padding: 10px 20px; font-size: 14px; }

    .single-user { padding: 10px 16px; }
    .single-user h3 { font-size: 20px; }

    .ekatoor-user { gap: 10px; }

    .service-items { padding: 18px; }
    .service-text h3 { font-size: 14px; }

    .accordion-button { font-size: 14px; padding: 14px 16px; }
    .accordion-body { padding: 10px 16px 16px; }

    .lan-contact { border-radius: var(--radius); padding: 28px 16px; }
    .contact-left h3 { font-size: 18px; }

    .footer-social { justify-content: center; }
}
