/*
Theme Name: learnshala-child
Author: Learnshala
Author URI: https://learnshala.in/about-learnshala
Description: Learnshala child theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: learnshala-child
Template: astra
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap&display=swap');

:root {
    /* Brand Logo Colors */
    --p-brand: #046bd2;
    --p-brand-dark: #004da3;
    --p-brand-soft: #eef6ff;
    
    --s-brand: #EF5B0C;
    --s-brand-dark: #cc4e0a;
    --s-brand-soft: #fff4ee;
    
    --t-main: #0f172a;
    --t-muted: #64748b;
    --bg-base: #ffffff;
    --bg-offset: #f8fafc;
    --white: #ffffff;
    --border-light: #f1f5f9;
    --border-base: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --radius-full: 100px;
    --radius-lg: 32px;
    --radius-md: 18px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(4, 107, 210, 0.15);
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* --- RESET & GLOBAL --- */
#lsp-premium-engine {
    font-family: var(--font-sans);
    color: var(--t-main);
    background: var(--bg-base);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.lsp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.lsp-section { padding: 90px 0; }
.lsp-bg-light { background: var(--bg-offset); }
.lsp-text-primary { color: var(--p-brand); }
.lsp-text-secondary { color: var(--s-brand); }
.lsp-text-gradient {
    background: linear-gradient(90deg, var(--p-brand), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-float { animation: float 6s infinite ease-in-out; }
.animate-float-delayed { animation: float 5s infinite ease-in-out 1.5s; }

/* --- HERO: High Conversion & Screen Fit --- */
.lsp-hero {
    position: relative;
    padding: 60px 0; 
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #eef6ff 0%, #ffffff 50%);
    overflow: hidden;
}

.lsp-hero-mesh {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--p-brand) 0.5px, transparent 0.5px);
    background-size: 32px 32px;
    opacity: 0.05;
    pointer-events: none;
}

.lsp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.lsp-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--s-brand-soft);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--s-brand);
    margin-bottom: 16px;
}

.lsp-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 8px #10b981; }
.lsp-badge-text { font-size: 12px; font-weight: 700; color: var(--s-brand); letter-spacing: 0.5px; }

.lsp-hero-title {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 20px;
}

.lsp-hero-para {
    font-size: 18px;
    line-height: 1.5;
    color: var(--t-muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.lsp-hero-btns { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap;
}

.lsp-btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.lsp-btn-primary { background: var(--p-brand); color: var(--white); box-shadow: 0 15px 30px rgba(4, 107, 210, 0.2); }
.lsp-btn-primary:hover { background: var(--p-brand-dark); transform: translateY(-3px); }

.lsp-btn-outline { border: 2px solid var(--border-base); color: var(--t-main); background: var(--white); }
.lsp-btn-outline:hover { border-color: var(--p-brand); color: var(--p-brand); }

.lsp-hero-trust {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-base);
}

.lsp-trust-val { font-size: 24px; font-weight: 800; color: var(--p-brand); line-height: 1; }
.lsp-trust-lab { font-size: 13px; color: var(--t-muted); font-weight: 500; margin-top: 2px; }
.lsp-trust-sep { width: 1px; height: 30px; background: var(--border-base); }

.lsp-image-wrapper { position: relative; max-width: 540px; margin-left: auto; }
.lsp-hero-img { width: 100%; height: auto; border-radius: var(--radius-lg); position: relative; z-index: 2; box-shadow: var(--shadow-premium); }
.lsp-main-img-aura {
    position: absolute;
    inset: -15%;
    background: radial-gradient(circle, rgba(4, 107, 210, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.lsp-floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.4);
}
.lsp-card-top { top: 10px; left: -20px; }
.lsp-card-bottom { bottom: 40px; right: -20px; }

.lsp-f-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.icon-blue { background: var(--p-brand-soft); color: var(--p-brand); }
.icon-orange { background: var(--s-brand-soft); color: var(--s-brand); }

/* --- BENTO GRID --- */
.lsp-section-head { text-align: center; margin-bottom: 60px; max-width: 800px; margin: 0 auto 60px auto; }
.lsp-h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px; }
.lsp-eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--p-brand); letter-spacing: 2px; display: block; margin-bottom: 12px; }
.lsp-sec-sub { font-size: 18px; color: var(--t-muted); line-height: 1.5; }

.lsp-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(260px, auto);
    gap: 24px;
}
.lsp-bento-item { background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-base); transition: 0.4s; overflow: hidden; }
.lsp-bento-item:hover { transform: translateY(-6px); border-color: var(--p-brand); box-shadow: var(--shadow-premium); }
.lsp-bento-hero { grid-row: span 2; background: var(--p-brand-soft); border: none; }
.lsp-bento-wide { grid-column: span 2; }
.lsp-bento-icon { font-size: 36px; margin-bottom: 24px; display: block; }
.lsp-bento-item h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.lsp-bento-item p { color: var(--t-muted); line-height: 1.6; font-size: 15px; }
.lsp-bento-list { margin-top: 20px; padding-left: 18px; color: var(--p-brand); font-weight: 700; list-style-type: square; }

/* --- BRANDS MARQUEE --- */
.lsp-brands { padding: 50px 0; border-bottom: 1px solid var(--border-light); }
.lsp-brand-label { text-align: center; font-size: 12px; font-weight: 800; color: var(--t-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; }
.lsp-marquee { overflow: hidden; white-space: nowrap; position: relative; }
.lsp-marquee-track { display: flex; gap: 80px; width: max-content; animation: marquee 35s linear infinite; }
.lsp-brand-item { font-size: 22px; font-weight: 900; color: #cbd5e1; transition: 0.3s; }
.lsp-brand-item:hover { color: var(--p-brand); cursor: default; }

/* --- TEAM SECTION --- */
.lsp-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lsp-team-card { background: var(--white); padding: 32px; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border-base); transition: 0.4s; }
.lsp-team-card:hover { border-color: var(--s-brand); transform: translateY(-5px); }
.lsp-team-avatar { width: 70px; height: 70px; background: var(--p-brand-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 20px; border: 2px dashed var(--p-brand); }
.lsp-team-info h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.lsp-team-role { color: var(--s-brand); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.lsp-team-desc { font-size: 14px; color: var(--t-muted); line-height: 1.5; }

/* --- COURSE CARDS --- */
.lsp-flex-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.lsp-link-btn { text-decoration: none; color: var(--p-brand); font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.lsp-link-btn:hover { color: var(--p-brand-dark); }
.lsp-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.lsp-course-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--border-base); overflow: hidden; transition: 0.4s; height: 100%; display: flex; flex-direction: column; }
.lsp-course-card:hover { transform: translateY(-8px); border-color: var(--p-brand); box-shadow: var(--shadow-premium); }
.lsp-card-media { position: relative; height: 200px; overflow: hidden; background: #eee; }
.lsp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.lsp-badge-tag { position: absolute; top: 16px; left: 16px; background: var(--s-brand); color: var(--white); padding: 6px 14px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.lsp-card-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.lsp-card-content h3 a { color: var(--t-main); text-decoration: none; font-size: 18px; font-weight: 800; transition: 0.3s; }
.lsp-card-meta { display: flex; align-items: center; gap: 10px; margin: 12px 0 20px; font-size: 13px; font-weight: 600; color: var(--t-muted); }
.lsp-card-action { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-light); padding-top: 18px; }
.lsp-price-tag { font-size: 22px; font-weight: 900; color: var(--p-brand); }
.lsp-btn-pill { background: var(--p-brand-soft); color: var(--p-brand); padding: 8px 18px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 13px; transition: 0.3s; }
.lsp-btn-pill:hover { background: var(--p-brand); color: var(--white); }

/* --- TESTIMONIALS --- */
.lsp-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lsp-testi-item { background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-base); position: relative; }
.lsp-featured-testi { border-color: var(--p-brand); box-shadow: var(--shadow-premium); }
.lsp-quote-icon { font-size: 60px; font-weight: 900; color: var(--p-brand-soft); position: absolute; top: 15px; left: 25px; opacity: 0.5; }
.lsp-testi-text { position: relative; z-index: 2; font-size: 15px; line-height: 1.6; color: var(--t-muted); font-style: italic; margin-bottom: 24px; }
.lsp-testi-footer { display: flex; align-items: center; gap: 14px; }
.lsp-avatar { width: 48px; height: 48px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.lsp-user-info strong { display: block; font-size: 15px; font-weight: 800; }
.lsp-user-info span { font-size: 12px; color: var(--t-muted); }

/* --- CTA SECTION --- */
.lsp-cta-section { padding-bottom: 100px; }
.lsp-cta-container { background: linear-gradient(135deg, var(--p-brand) 0%, var(--p-brand-dark) 100%); border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; color: var(--white); position: relative; overflow: hidden; }
.lsp-cta-content h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.lsp-cta-content p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin: 0 auto; }
.lsp-cta-actions { display: flex; justify-content: center; gap: 16px; }
.lsp-btn-white { background: var(--white); color: var(--p-brand); }
.lsp-btn-outline-white { border: 2px solid rgba(255,255,255,0.3); color: var(--white); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .lsp-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .lsp-hero-para, .lsp-hero-btns, .lsp-hero-trust { margin-left: auto; margin-right: auto; justify-content: center; }
    .lsp-hero-visual { margin: 40px auto 0; }
    .lsp-bento-grid, .lsp-team-grid, .lsp-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .lsp-bento-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
    .lsp-hero-title { font-size: 36px; }
    .lsp-bento-grid, .lsp-team-grid, .lsp-testimonial-grid { grid-template-columns: 1fr; }
    .lsp-bento-wide, .lsp-bento-hero { grid-column: span 1; grid-row: auto; }
    .lsp-hero-btns, .lsp-cta-actions { flex-direction: column; width: 100%; max-width: 300px; }
    .lsp-btn { width: 100%; justify-content: center; }
    .lsp-floating-card { display: none; }
}