/* ══════════════════════════════════════════
   EduCoach — Home Page CSS
   public/css/home.css
══════════════════════════════════════════ */

:root {
    --navy:    #0a1628;
    --navy2:   #1a3a6b;
    --orange:  #e8651a;
    --orange2: #c0501a;
    --teal:    #0d9488;
    --gold:    #f59e0b;
    --white:   #ffffff;
    --gray50:  #f8fafc;
    --gray100: #f1f5f9;
    --gray200: #e2e8f0;
    --gray400: #94a3b8;
    --gray600: #475569;
    --gray800: #1e293b;
}

:root {
  --primary: #0a3d62;
  --accent: #e55039;
  --gold: #f39c12;
  --light: #f8f9fa;
  --dark: #0d1b2a;
  --text: #2c3e50;
  --muted: #7f8c8d;
  --white: #ffffff;
  --green: #27ae60;
  --transition-smooth: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family: 'Inter', sans-serif;color:var(--text);overflow-x:hidden;}

/* ══════════════════════════════════════════
  Hero section — 
══════════════════════════════════════════ */
/* HERO - dynamic animated background */
.heros{min-height:100vh;background:linear-gradient(135deg,#0a3d62 0%,#1a5276 50%,#0d1b2a 100%);display:flex;align-items:center;position:relative;overflow:hidden;padding-top:68px;}
.heros-bg-pattern{position:absolute;inset:0;overflow:hidden;}
#canvas-bg{position:absolute;inset:0;width:100%;height:100%;}
.heros-blob{position:absolute;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(243,156,18,0.12),transparent 70%);right:-150px;top:50%;transform:translateY(-50%);animation:blobFloat 12s infinite ease-in-out;}
@keyframes blobFloat{0%,100%{transform:translateY(-50%) translateX(0);}50%{transform:translateY(-45%) translateX(-20px);}}
.heros-content{position:relative;z-index:1;padding:60px 5%;max-width:1200px;margin:0 auto;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:120px;align-items:center; justify-content: space-between;}
.heros-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(243,156,18,0.15);border:1px solid rgba(243,156,18,0.4);color:var(--gold);font-size:12px;font-weight:600;padding:6px 16px;border-radius:40px;margin-bottom:24px;letter-spacing:1px;backdrop-filter:blur(4px);}
.heros-badge::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--gold);animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.5;transform:scale(1.2);}}
.heros h1{font-family:'Playfair Display',serif;font-size:56px;font-weight:900;color:white;line-height:1.15;margin-bottom:20px;}
.heros h1 .word{display:inline-block;margin-top: 8px;opacity:0;transform:translateY(50px);animation:wordGlide 0.7s cubic-bezier(0.2,0.9,0.4,1.1) forwards;}
.heros h1 em{font-style:normal;color:var(--gold);position:relative;display:inline-block;}
.heros h1 em::after{content:'';position:absolute;bottom:-9px;left:0;width:0;height:4px;background:var(--gold);border-radius:4px;animation:underlineExpand 0.8s ease 1.5s forwards;}
@keyframes wordGlide{to{opacity:1;transform:translateY(0);}}
@keyframes underlineExpand{to{width:100%;}}
.heros-desc{font-size:17px;color:rgba(255,255,255,0.8);line-height:1.7;margin-bottom:36px;max-width:480px;opacity:0;animation:fadeUp 0.8s ease 1.2s forwards;}
.heros-btns{opacity:0;animation:fadeUp 0.8s ease 1.5s forwards;}
.heros-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px;opacity:0;animation:fadeUp 0.8s ease 1.8s forwards;}
@keyframes fadeUp{from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:translateY(0);}}
.btn-primary{background:linear-gradient(135deg,var(--accent),#c0392b);color:white;padding:9px 18px;border-radius:40px;text-decoration:none;font-weight:600;font-size:15px;transition:var(--transition-smooth);border:none;cursor:pointer;box-shadow:0 6px 14px rgba(229,80,57,0.3);}
.btn-primary:hover{transform:translateY(-3px); border-color:white;box-shadow:0 12px 24px rgba(229,80,57,0.4);}
.btn-outline{background:#43cd66; margin-left: 12px;backdrop-filter:blur(4px);color:white;padding:8px 16px;border-radius:40px;text-decoration:none;font-weight:500;font-size:15px;border:1px solid rgba(255,255,255,0.3);transition:var(--transition-smooth);}
.btn-outline:hover{border-color:white;background:#43cd66;transform:translateY(-2px);}
.stat{text-align:center;padding:20px;background:rgba(255,255,255,0.06);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.12);border-radius:20px;transition:transform 0.3s;}
.stat:hover{transform:translateY(-5px);background:rgba(255,255,255,0.1);}
.stat-num{font-family:'Playfair Display',serif;font-size:36px;font-weight:900;color:var(--gold);}
.stat-label{font-size:12px;color:rgba(255,255,255,0.7);margin-top:6px;letter-spacing:0.5px;}

/* Hero right cards animation */
.heros-right{display:flex;flex-direction:column;gap:14px;}
.course-pill{background:rgba(255,255,255,0.08);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.15);border-radius:16px;padding:16px 20px;display:flex;align-items:center;gap:14px;color:white;font-size:14px;transition:all 0.35s cubic-bezier(0.2,0.9,0.4,1.1);animation:slideInRight 0.6s ease both;}
.course-pill:hover{background:rgba(255,255,255,0.18);transform:translateX(8px) scale(1.02);border-color:rgba(243,156,18,0.5);}
@keyframes slideInRight{from{opacity:0;transform:translateX(40px);}to{opacity:1;transform:translateX(0);}}
.course-pill .icon{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;transition:transform 0.2s;}
.course-pill:hover .icon{transform:scale(1.05);}

/* ── Section Common ── */
.ec-eyebrow {
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--orange); margin-bottom: 0.75rem; display: block;
}
.ec-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 1rem;
}
.ec-heading em { font-style: normal; color: var(--orange); }
.ec-subtext { font-size: 1rem; color: var(--gray600); line-height: 1.7; max-width: 560px; }

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
/* Number aur symbol ek hi line mein rahein */
.ec-stat-num {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 0.35rem;
}

.ec-plus {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 768px) {
    .ec-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ec-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ec-stats {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    padding: 3.5rem 2rem; position: relative; overflow: hidden;
}
.ec-stats::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(232,101,26,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.ec-stats-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; position: relative;
}
.ec-stat-box {
    text-align: center; padding: 1.5rem 1rem; border-radius: 14px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.2s, background 0.2s;
}
.ec-stat-box:hover { transform: translateY(-4px); background: rgba(255,255,255,0.09); }
.ec-stat-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.ec-stat-num { font-size: 2.4rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 0.35rem; display: block; }
.ec-stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.08em; }


./* ══════════════════════════════════════════
   FACULTY SECTION — Updated Premium Design
══════════════════════════════════════════ */

.ec-faculty {
    padding: 5rem 2rem;
    background: #f0f4f8;
    position: relative;
}

.ec-faculty-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ec-faculty-header .ec-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e8651a;
    display: inline-block;
    background: rgba(232, 101, 26, 0.1);
    padding: 6px 24px;
    border-radius: 30px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(232, 101, 26, 0.2);
}

.ec-faculty-header .ec-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0a1628;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.ec-faculty-header .ec-heading em {
    color: #e8651a;
    font-style: normal;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-faculty-header .ec-subtext {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── GRID ─── */
.ec-faculty-grid {
    max-width: 1140px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ─── CARD ─── 3D Elevated */
.ec-faculty-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 12px rgba(10, 22, 40, 0.06),
        0 20px 40px rgba(10, 22, 40, 0.08);
    border: 1px solid rgba(232, 237, 243, 0.8);
    display: flex;
    flex-direction: column;
    min-height: 480px;
    position: relative;
}

.ec-faculty-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 8px 20px rgba(10, 22, 40, 0.08),
        0 40px 80px rgba(10, 22, 40, 0.18);
    border-color: #e8651a;
    border-width: 2px;
}

/* ─── PHOTO ─── */
/* ─── FACULTY PHOTO ─── */
.ec-faculty-photo {
    width: 100%;
    height: 220px;
    background: #0a1628;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ec-faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    background: #0a1628;
    padding: 8px;
}

.ec-faculty-card:hover .ec-faculty-photo img {
    transform: scale(1.05);
}

/*.ec-faculty-card:hover .ec-faculty-photo img {*/
/*    transform: scale(1.06);*/
/*}*/

.ec-fac-initials {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
    font-style: normal;
}

/* ─── TAGS ─── */
.ec-fac-subj-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.ec-fac-exp-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e8651a, #c0501a);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(232, 101, 26, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

/* ─── BODY ─── */
.ec-faculty-body {
    padding: 1.5rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ec-faculty-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ec-faculty-card:hover .ec-faculty-name {
    color: #e8651a;
}

.ec-faculty-subject {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e8651a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.ec-faculty-notes {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ─── CHIPS ─── */
.ec-fac-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ec-fac-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.ec-fac-chip svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.ec-faculty-card:hover .ec-fac-chip {
    background: #fff4ea;
    border-color: rgba(232, 101, 26, 0.25);
    color: #0a1628;
}

.ec-faculty-card:hover .ec-fac-chip svg {
    color: #e8651a;
}

/* ─── STATS ─── */
.ec-fac-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding-top: 0.8rem;
    border-top: 1px solid #eef1f5;
    margin-bottom: 1rem;
}

.ec-fac-stat {
    flex: 1;
}

.ec-fac-stat strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #0a1628;
    line-height: 1.2;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.ec-faculty-card:hover .ec-fac-stat strong {
    color: #e8651a;
}

.ec-fac-stat span {
    font-size: 0.6rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── BUTTON ─── */
.ec-fac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.ec-fac-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-fac-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 101, 26, 0.3);
    color: #fff;
    text-decoration: none;
}

.ec-fac-btn:hover::before {
    opacity: 1;
}

.ec-fac-btn span,
.ec-fac-btn svg {
    position: relative;
    z-index: 1;
}

.ec-fac-btn svg {
    transition: transform 0.3s ease;
}

.ec-fac-btn:hover svg {
    transform: translateX(4px);
}

/* ─── VIEW ALL ─── */
.ec-view-all-wrap {
    text-align: center;
}

.ec-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: #0a1628;
    padding: 0.85rem 2.5rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0a1628;
}

.ec-btn-viewall:hover {
    background: #0a1628;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.2);
    text-decoration: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ec-faculty-grid {
        max-width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .ec-faculty-card {
        min-height: 420px;
    }
    .ec-faculty-photo {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .ec-faculty {
        padding: 3rem 1rem;
    }
    
    .ec-faculty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ec-faculty-photo {
        height: 200px;
    }
    
    .ec-faculty-card {
        min-height: 400px;
    }
    
    .ec-faculty-body {
        padding: 1.2rem;
    }
    
    .ec-faculty-name {
        font-size: 1rem;
    }
    
    .ec-fac-chip {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .ec-btn-viewall {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .ec-faculty-photo {
        height: 170px;
    }
    
    .ec-faculty-card {
        min-height: 360px;
    }
    
    .ec-faculty-body {
        padding: 1rem;
    }
    
    .ec-fac-stats {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .ec-fac-stat {
        min-width: 30%;
    }
}

/* Shared View All Button */
.ec-view-all-wrap { text-align: center; }
.ec-btn-viewall {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; border: 2px solid var(--navy2); color: var(--navy2);
    padding: 0.75rem 2rem; border-radius: 10px;
    font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.2s;
}
.ec-btn-viewall:hover { background: var(--navy2); color: var(--white); }

/* ══════════════════════════════════════════
   TESTIMONIALS — ULTRA PREMIUM
══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   TESTIMONIALS — SHRI RAMAKRISHNA THEME
   Traditional + Premium + Spiritual Feel
══════════════════════════════════════════ */

.ec-testimonials {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fcf9f4 0%, #f5efe8 100%);
    position: relative;
    overflow: hidden;
}

/* Traditional Mandala/Om Glow */
.ec-testimonials::before {
    content: 'ॐ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem;
    color: rgba(232, 101, 26, 0.03);
    font-family: 'Times New Roman', serif;
    pointer-events: none;
    animation: omPulse 8s ease-in-out infinite;
}

@keyframes omPulse {
    0%, 100% { opacity: 0.03; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.06; transform: translate(-50%, -50%) scale(1.05); }
}

/* Warm Glow Orbs - Saffron + Gold */
.ec-testimonials::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 101, 26, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ec-testimonials .glow-orb {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ─── HEADER ─── */
.ec-testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.ec-testimonials-header .ec-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #b8860b;
    display: inline-block;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08), rgba(232, 101, 26, 0.05));
    padding: 8px 28px;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(184, 134, 11, 0.15);
    backdrop-filter: blur(4px);
    position: relative;
}

.ec-testimonials-header .ec-eyebrow::before {
    content: '✦ ';
    color: #d4af37;
}

.ec-testimonials-header .ec-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
}

.ec-testimonials-header .ec-heading em {
    background: linear-gradient(135deg, #e8651a, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
    position: relative;
}

.ec-testimonials-header .ec-heading em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #b8860b, transparent);
    border-radius: 4px;
    opacity: 0.6;
}

.ec-testimonials-header .ec-subtext {
    font-size: 1.05rem;
    color: #6b6b7b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
    font-style: italic;
}

/* ─── ARROWS ─── Traditional Style */
.ec-testi-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    max-width: 1140px;
    margin: 0 auto 1.5rem;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.ec-testi-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #d4c5b0;
    background: rgba(255, 248, 240, 0.7);
    backdrop-filter: blur(8px);
    color: #8b7a5a;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ec-testi-arrow:hover {
    border-color: #e8651a;
    background: linear-gradient(135deg, #e8651a, #d4af37);
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(232, 101, 26, 0.2);
}

/* ─── SCROLL WRAP ─── */
.ec-testimonials-scroll-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 12px 40px 8px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}
.ec-testimonials-grid {
    display: flex !important;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 12px;
    scrollbar-width: none;
    cursor: grab;
}

.ec-testimonials-grid::-webkit-scrollbar {
    display: none;
}

.ec-testimonials-grid:active {
    cursor: grabbing;
}
/* ─── CARD ─── Traditional Premium */
.ec-testi-card {
    background: linear-gradient(145deg, #ffffff, #fdfaf7);
    border-radius: 24px;
    padding: 1.6rem 1.4rem 1.4rem;
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02), 0 8px 32px rgba(10,22,40,0.04), 0 20px 60px rgba(10,22,40,0.02);
    border: 1px solid rgba(212, 197, 176, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* Traditional Border Pattern - Top */
.ec-testi-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #e8651a 10%, 
        #d4af37 30%, 
        #b8860b 50%, 
        #d4af37 70%, 
        #e8651a 90%, 
        transparent 100%
    );
    border-radius: 24px 24px 0 0;
    z-index: 2;
    opacity: 0.8;
}

/* Traditional Floral/Geometric Pattern - Bottom Right Corner */
.ec-testi-card::after {
    content: '✧';
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 1.2rem;
    color: #d4af37;
    opacity: 0.15;
    font-family: serif;
    z-index: 0;
}

/* Card Hover - Traditional Warmth */
.ec-testi-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.02), 0 16px 48px rgba(10,22,40,0.06), 0 40px 80px rgba(232,101,26,0.06);
    border-color: rgba(232,101,26,0.15);
    background: linear-gradient(145deg, #ffffff, #fdf8f2);
}

/* ─── STARS ─── Traditional Gold */
.ec-testi-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.ec-testi-stars svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.ec-testi-stars svg[fill="#f59e0b"] {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.2));
}

.ec-testi-card:hover .ec-testi-stars svg[fill="#f59e0b"] {
    animation: starPopGold 0.5s ease forwards;
}

@keyframes starPopGold {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.5) rotate(20deg); }
    60% { transform: scale(0.9) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.ec-testi-stars svg[fill="#f59e0b"]:nth-child(1) { animation-delay: 0s; }
.ec-testi-stars svg[fill="#f59e0b"]:nth-child(2) { animation-delay: 0.05s; }
.ec-testi-stars svg[fill="#f59e0b"]:nth-child(3) { animation-delay: 0.1s; }
.ec-testi-stars svg[fill="#f59e0b"]:nth-child(4) { animation-delay: 0.15s; }
.ec-testi-stars svg[fill="#f59e0b"]:nth-child(5) { animation-delay: 0.2s; }

/* ─── TEXT ─── Traditional Style */
.ec-testi-text {
    font-size: 0.92rem;
    line-height: 1.9;
    color: #2d2d3a;
    font-style: italic;
    margin: 0 0 1.2rem 0;
    padding-left: 4px;
    position: relative;
    z-index: 2;
    flex: 1;
    font-family: 'Georgia', serif;
}

.ec-testi-text::before {
    content: '"';
    font-size: 3.5rem;
    color: #d4af37;
    opacity: 0.12;
    font-family: 'Georgia', serif;
    line-height: 0.6;
    display: block;
    margin-bottom: -10px;
    font-weight: 700;
}

.ec-testi-text::after {
    content: '"';
    font-size: 3.5rem;
    color: #d4af37;
    opacity: 0.08;
    font-family: 'Georgia', serif;
    line-height: 0.6;
    display: inline;
    margin-left: 2px;
}

/* ─── AUTHOR ─── Traditional */
.ec-testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 1.2rem;
    border-top: 2px solid rgba(212, 197, 176, 0.2);
    margin-top: 0.3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.ec-testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8651a, #d4af37, #b8860b);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(232,101,26,0.15);
    border: 2px solid rgba(255, 248, 240, 0.5);
}

.ec-testi-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.ec-testi-card:hover .ec-testi-avatar::after {
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.08);
}

.ec-testi-author-info {
    flex: 1;
}

.ec-testi-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1a1a2e;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.ec-testi-class {
    font-size: 0.75rem;
    color: #8a8a9e;
    font-weight: 500;
}

/* ─── VERIFIED BADGE ─── Traditional */
.ec-testi-verified {
    font-size: 0.6rem;
    color: #8b6914;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(184, 134, 11, 0.08));
    padding: 3px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

.ec-testi-verified span {
    font-size: 0.8rem;
    color: #8b6914;
}

.ec-testi-verified::before {
    content: '✓';
    color: #8b6914;
    font-weight: 900;
}

/* ─── DOTS ─── Traditional */
.ec-testi-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.ec-testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #d4c5b0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.ec-testi-dot.active {
    background: linear-gradient(135deg, #e8651a, #d4af37);
    border-color: #e8651a;
    width: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(232,101,26,0.2);
}

.ec-testi-dot:hover {
    border-color: #e8651a;
    transform: scale(1.1);
}

.ec-testi-dot.active:hover {
    transform: scale(1.02);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ec-testi-card { flex: 0 0 calc((100% - 2rem) / 2); padding: 1.6rem 1.4rem 1.4rem; }
    .ec-testi-arrows { justify-content: center; }
    .ec-testimonials::before { font-size: 15rem; }
}

@media (max-width: 768px) {
    .ec-testimonials { padding: 4rem 1.25rem; }
    .ec-testi-card { min-width: 270px; max-width: 300px; padding: 1.4rem 1.2rem 1.2rem; }
    .ec-testimonials-header .ec-heading { font-size: 1.7rem; }
    .ec-testi-stars svg { width: 16px; height: 16px; }
    .ec-testi-text { font-size: 0.85rem; }
    .ec-testi-avatar { width: 42px; height: 42px; font-size: 0.95rem; }
    .ec-testi-verified { font-size: 0.55rem; padding: 2px 10px; }
    .ec-testimonials::before { font-size: 12rem; }
}

@media (max-width: 480px) {
    .ec-testi-card { min-width: 250px; padding: 1.2rem 1rem 1.2rem; }
    .ec-testi-stars svg { width: 14px; height: 14px; }
    .ec-testi-text { font-size: 0.8rem; }
    .ec-testi-text::before { font-size: 2.5rem; }
    .ec-testi-name { font-size: 0.85rem; }
    .ec-testi-class { font-size: 0.7rem; }
    .ec-testi-avatar { width: 36px; height: 36px; font-size: 0.8rem; }
    .ec-testi-dot { width: 8px; height: 8px; }
    .ec-testi-dot.active { width: 24px; }
    .ec-testimonials::before { font-size: 8rem; }
}

/* ══════════════════════════════════════════
   FREE TEST SECTION
══════════════════════════════════════════ */
.ec-free-test {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    padding: 4rem 2rem; position: relative; overflow: hidden;
}
.ec-free-test::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 15% 50%, rgba(232,101,26,.14) 0%, transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(13,148,136,.1) 0%, transparent 45%);
    pointer-events: none;
}
.ec-free-test-inner {
    max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem;
}
.ec-free-test-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); display: block; margin-bottom: .6rem; }
.ec-free-test-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: .75rem; letter-spacing: -.02em; }
.ec-free-test-title em { font-style: italic; color: var(--orange); }
.ec-free-test-sub { font-size: .95rem; color: rgba(255,255,255,.58); line-height: 1.7; max-width: 520px; }
.ec-free-test-meta { display: flex; gap: 1.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.ec-test-meta-item { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 500; }
.ec-test-meta-item strong { color: #fff; font-weight: 700; }
.ec-free-test-cta {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px; padding: 2rem; text-align: center; min-width: 220px; backdrop-filter: blur(8px);
}
.ec-free-test-cta .test-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.ec-free-test-cta p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; line-height: 1.5; }
.ec-btn-take-test {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    color: #fff; padding: .85rem 1.75rem; border-radius: 10px;
    font-size: .9rem; font-weight: 700; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
    transition: opacity .18s, transform .18s;
    box-shadow: 0 6px 20px rgba(232,101,26,.4); width: 100%;
}
.ec-btn-take-test:hover { opacity: .9; transform: translateY(-2px); color: #fff; }

/* ── Review Modal ── */
.ec-review-modal-wrap { display: none; position: fixed; inset: 0; z-index: 9998; background: rgba(10,22,40,0.7); align-items: center; justify-content: center; padding: 16px; }
.ec-review-modal-wrap.open { display: flex; }
.ec-review-modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 460px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.ec-review-modal-head { background: linear-gradient(135deg, var(--navy), var(--navy2)); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.ec-review-modal-head h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin: 0; }
.ec-review-modal-close { background: rgba(255,255,255,0.1); border: none; color: var(--white); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.ec-review-modal-body { padding: 22px; }
.ec-review-field { margin-bottom: 14px; }
.ec-review-lbl { font-size: 0.76rem; font-weight: 600; color: var(--gray600); display: block; margin-bottom: 5px; }
.ec-review-inp { width: 100%; border: 1px solid var(--gray200); border-radius: 8px; padding: 9px 12px; font-size: 0.85rem; font-family: inherit; box-sizing: border-box; outline: none; transition: border-color 0.2s; }
.ec-review-inp:focus { border-color: var(--orange); }
.ec-review-textarea { resize: vertical; min-height: 80px; }
.ec-star-input { display: flex; flex-direction: row-reverse; gap: 4px; justify-content: flex-end; }
.ec-star-input input { display: none; }
.ec-star-input label { font-size: 1.6rem; color: var(--gray200); cursor: pointer; transition: color 0.15s; }
.ec-star-input input:checked ~ label, .ec-star-input label:hover, .ec-star-input label:hover ~ label { color: var(--gold); }
.ec-review-success { display: none; text-align: center; padding: 1.5rem; }
.ec-review-success .success-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.ec-review-success p { font-size: 0.9rem; color: var(--gray600); }
.ec-btn-submit-review { width: 100%; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: var(--white); border: none; padding: 12px; border-radius: 10px; font-size: 0.92rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: opacity 0.2s; margin-top: 4px; }
.ec-btn-submit-review:hover { opacity: 0.9; }


/* ══════════════════════════════════════════
   ANNOUNCEMENTS TICKER — COMPLETE
══════════════════════════════════════════ */

.ec-ticker-wrap {
    margin-top: 3px;
    background: #e8651a;
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 3px solid #c0501a;
    box-shadow: 0 4px 20px rgba(232,101,26,0.4);
}

.ec-ticker-label {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #0d1f3c;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0 1.2rem 0 1rem;
    height: 100%;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 4px 0 12px rgba(0,0,0,0.3);
}
.ec-ticker-label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 12px solid #0d1f3c;
}

.ec-ticker-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8651a;
    border: 2px solid #fff;
    flex-shrink: 0;
    animation: liveBlink 1.2s ease-in-out infinite;
}
@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.ec-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

.ec-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerScroll 28s linear infinite;
    will-change: transform;
}
.ec-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ec-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 2rem;
    text-decoration: none;
    height: 48px;
    border-right: 1px solid rgba(255,255,255,0.18);
    transition: background 0.2s;
}
.ec-ticker-item:hover {
    background: rgba(0,0,0,0.08);
}
.ec-ticker-item:hover .ec-ticker-title {
    color: #0d1f3c;
}

.ec-ticker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0d1f3c;
    flex-shrink: 0;
    box-shadow: 0 0 5px rgba(13,31,60,0.5);
}

.ec-ticker-title {
    font-size: 0.83rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.ec-ticker-date {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    flex-shrink: 0;
    background: rgba(0,0,0,0.15);
    padding: 2px 7px;
    border-radius: 10px;
}

.ec-ticker-sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

.ec-ticker-more {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.1rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0d1f3c;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.1);
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ec-ticker-more:hover {
    background: rgba(0,0,0,0.2);
    color: #fff;
}

/* Responsive */
@media(max-width:900px){
  .hero-content{grid-template-columns:1fr;gap:40px;}
  .hero h1{font-size:40px;}
  .hero-right{display:grid;grid-template-columns:repeat(2,1fr);}
  .services-grid{grid-template-columns:1fr 1fr;}
  .courses-grid{grid-template-columns:1fr 1fr;}
  .stats-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .testimonials-grid{grid-template-columns:1fr;}
  .section-title{font-size:32px;}
}
@media(max-width:600px){
  .services-grid,.courses-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .hero-right{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .hamburger{display:flex;}
  .hero h1{font-size:32px;}
  .hero-stats{grid-template-columns:1fr 1fr 1fr;}
  .stat-num{font-size:28px;}
  .cta-section h2{font-size:32px;}
}
@media (max-width: 640px) {
    .ec-ticker-wrap    { height: 42px; }
    .ec-ticker-label   { padding: 0 0.75rem; font-size: 0.6rem; gap: 5px; }
    .ec-ticker-title   { font-size: 0.76rem; }
    .ec-ticker-more    { padding: 0 0.65rem; font-size: 0.62rem; }
    .ec-ticker-track   { animation-duration: 18s; }
    .ec-ticker-dot     { width: 6px; height: 6px; }
    .ec-ticker-item    { padding: 0 1.2rem; gap: 7px; }
    .ec-ticker-label::after {
        border-top: 21px solid transparent;
        border-bottom: 21px solid transparent;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ec-stats-inner     { grid-template-columns: repeat(2, 1fr); }
    .ec-faculty-grid    { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .ec-courses-grid    { grid-template-columns: repeat(2, 1fr); }
    .ec-free-test-inner { grid-template-columns: 1fr; }
    .ec-free-test-cta   { width: 100%; }
}
@media (max-width: 640px) {
    .ec-stats           { padding: 2.5rem 1.25rem; }
    .ec-stats-inner     { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ec-stat-num        { font-size: 1.8rem; }
    .ec-faculty,
    .ec-courses,
    .ec-testimonials    { padding: 3.5rem 1.25rem; }
    .ec-faculty-grid    { grid-template-columns: 1fr; }
    .ec-courses-grid    { grid-template-columns: 1fr; }
    .ec-testi-card      { min-width: 260px; }
}
@media (max-width: 400px) {
    .ec-stats-inner     { grid-template-columns: 1fr; }
}



.ec-test-list-preview {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 540px;
}
 
.ec-test-preview-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background .2s, border-color .2s;
}
.ec-test-preview-item:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(232,101,26,0.5);
}
 
.ec-test-preview-info {
    flex: 1;
    min-width: 0;
}
 
.ec-test-preview-title {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.ec-test-preview-meta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.ec-test-preview-meta span {
    font-size: .72rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
 
.ec-test-preview-btn {
    background: linear-gradient(135deg, #e8651a, #c0501a);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: opacity .18s, transform .18s;
    flex-shrink: 0;
}
.ec-test-preview-btn:hover {
    opacity: .9;
    transform: translateX(2px);
}
 
@media (max-width: 640px) {
    .ec-test-list-preview { max-width: 100%; }
    .ec-test-preview-title { font-size: .82rem; }
}


/* ══════════════════════════════════════════
   FACULTY — Notes, Chips, Button
══════════════════════════════════════════ */
 
.ec-faculty-notes {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.ec-fac-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1rem;
}
.ec-fac-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ec-fac-chip svg {
    flex-shrink: 0;
    color: #94a3b8;
}
 
.ec-fac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 0.85rem;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    color: #fff;
    padding: 9px 16px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.18s;
    letter-spacing: 0.02em;
}
.ec-fac-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* ─── RESPONSIVE HERO SECTION ─── */

@media (max-width: 992px) {
    .heros-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 100px;
    }

    .heros h1 {
        font-size: 42px;
    }

    .heros-desc {
        margin: 0 auto 30px;
    }

    .heros-stats {
        max-width: 600px;
        margin: 40px auto 0;
    }

    .heros-right {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .heros {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 50px;
    }

    .heros h1 {
        font-size: 32px;
    }

    .heros-badge {
        font-size: 10px;
        padding: 4px 12px;
    }

    .heros-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-outline {
        margin-left: 0;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .heros-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat {
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .stat-num {
        font-size: 28px;
    }

    .stat-label {
        margin-top: 0;
    }

    .course-pill {
        padding: 12px 16px;
    }

    .course-pill strong {
        font-size: 13px;
    }

    .course-pill span {
        font-size: 11px;
    }
}

@media (max-width: 400px) {
    .heros h1 {
        font-size: 28px;
    }
}

/* ══════════════════════════════════════════
   COURSES SECTION — LIGHT PREMIUM STYLE
══════════════════════════════════════════ */

.ec-courses {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    
}

.ec-courses-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ec-courses-header .ec-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e8651a;
    display: inline-block;
    background: rgba(232, 101, 26, 0.1);
    padding: 6px 24px;
    border-radius: 30px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(232, 101, 26, 0.15);
}

.ec-courses-header .ec-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #0a1628;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ec-courses-header .ec-heading em {
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.ec-courses-header .ec-subtext {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── GRID ─── */
.ec-courses-grid {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ─── CARD ─── LIGHT PREMIUM CARD */
.ec-course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 18px rgba(10, 22, 40, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid #e8edf3;
}

.ec-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 22, 40, 0.14);
    border-color: #f3d5b8;
}

/* ─── BANNER ─── */
.ec-course-banner {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
}

.ec-course-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ec-course-card:hover .ec-course-banner img {
    transform: scale(1.08);
}

/* Subtle overlay only at bottom, keeps image bright */
.ec-course-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
                rgba(10, 22, 40, 0) 60%,
                rgba(10, 22, 40, 0.35) 100%);
    pointer-events: none;
}

.ec-course-banner > svg {
    display: none;
}

/* Banner colors without image */
.ec-course-banner.c1 {
    background: linear-gradient(135deg, #1a3a6b, #0a1628) !important;
}
.ec-course-banner.c2 {
    background: linear-gradient(135deg, #0d9488, #064e3b) !important;
}
.ec-course-banner.c3 {
    background: linear-gradient(135deg, #ea580c, #7c2d12) !important;
}
.ec-course-banner.c4 {
    background: linear-gradient(135deg, #6366f1, #312e81) !important;
}
.ec-course-banner.c5 {
    background: linear-gradient(135deg, #d97706, #713f12) !important;
}
.ec-course-banner.c6 {
    background: linear-gradient(135deg, #4f46e5, #1e1b4b) !important;
}

.ec-course-banner .banner-icon {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* ─── FEE BADGE ─── */
.ec-course-fee {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e8651a, #c0501a);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(232, 101, 26, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

/* ─── BODY ─── */
.ec-course-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    /*border:1px solid orange;*/
}

.ec-course-category {
    font-size: 0.65rem;
    font-weight: 700;
    color: #e8651a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: rgba(232, 101, 26, 0.08);
    padding: 4px 12px;
    border-radius: 30px;
    align-self: flex-start;
}

.ec-course-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ec-course-card:hover .ec-course-name {
    color: #e8651a;
}

.ec-course-desc-clamp {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 1rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-course-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── META TAGS ─── */
.crs-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eef1f5;
}

.crs-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #475569;
    font-weight: 600;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ec-course-card:hover .crs-card-meta span {
    background: #fff4ea;
    border-color: rgba(232, 101, 26, 0.25);
    color: #0a1628;
}

.crs-card-meta span svg {
    flex-shrink: 0;
    color: #94a3b8;
}

.ec-course-card:hover .crs-card-meta span svg {
    color: #e8651a;
}

/* ─── VIEW DETAILS BUTTON ─── */
.ec-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    background: #0a1628;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.ec-course-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-course-btn:hover::before {
    opacity: 1;
}

.ec-course-btn span,
.ec-course-btn svg {
    position: relative;
    z-index: 1;
}

.ec-course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 101, 26, 0.3);
    color: #fff;
    text-decoration: none;
}

.ec-course-btn svg {
    transition: transform 0.3s ease;
}

.ec-course-btn:hover svg {
    transform: translateX(4px);
}

.ec-course-body {
    display: flex;
    flex-direction: column;
}

/* ─── VIEW ALL ─── */
.ec-view-all-wrap {
    text-align: center;
    margin-bottom: 2rem;  /* Button ke neeche space */
}

.ec-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #0a1628;
    color: #fff;
    padding: 1rem 2.8rem;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(10, 22, 40, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.ec-btn-viewall::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-btn-viewall span {
    position: relative;
    z-index: 1;
}

.ec-btn-viewall:hover::before {
    opacity: 1;
}

.ec-btn-viewall:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(232, 101, 26, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ec-courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 640px) {
    .ec-courses {
        padding: 3rem 1rem;
    }
    .ec-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .ec-course-banner {
        height: 160px;
    }
    .ec-course-body {
        padding: 1.4rem;
    }
    .ec-course-name {
        font-size: 1.1rem;
    }
    .crs-card-meta span {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .ec-course-fee {
        font-size: 0.75rem;
        padding: 6px 16px;
        top: 12px;
        right: 12px;
    }
    .ec-btn-viewall {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .ec-course-banner {
        height: 140px;
    }
    .ec-course-body {
        padding: 1.2rem;
    }
}
/* ══════════════════════════════════════════
   COURSES SECTION — 3D Elevated Cards (FIXED)
══════════════════════════════════════════ */

.ec-courses {
    padding: 5rem 2rem;
    background: #f0f4f8;
    position: relative;
}

.ec-courses-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ec-courses-header .ec-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e8651a;
    display: inline-block;
    background: rgba(232, 101, 26, 0.1);
    padding: 6px 24px;
    border-radius: 30px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(232, 101, 26, 0.2);
}

.ec-courses-header .ec-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #0a1628;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.ec-courses-header .ec-heading em {
    color: #e8651a;
    font-style: normal;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ec-courses-header .ec-subtext {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── GRID ─── */
.ec-courses-grid {
    max-width: 1140px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ─── CARD ─── 3D ELEVATED (NO DOUBLE BORDER) */
.ec-course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 4px 12px rgba(10, 22, 40, 0.06),
        0 20px 40px rgba(10, 22, 40, 0.08);
    border: 1px solid rgba(232, 237, 243, 0.8);
    display: flex;
    flex-direction: column;
    min-height: 480px;
    position: relative;
}

/* ⭐ Hover - Card uth jaaye + border change */
.ec-course-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 8px 20px rgba(10, 22, 40, 0.08),
        0 40px 80px rgba(10, 22, 40, 0.18);
    border-color: #e8651a;  /* ⭐ Border orange ho jaye */
    border-width: 2px;      /* ⭐ Border thick ho jaye */
}

/* ⭐ `::before` HATAYA — double border khatam */
.ec-course-card::before {
    display: none;
}

/* ─── IMAGE ─── */
.ec-course-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    overflow: hidden;
    flex-shrink: 0;
}

.ec-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ec-course-card:hover .ec-course-image img {
    transform: scale(1.06);
}

.ec-course-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3a6b, #0a1628);
    color: rgba(255, 255, 255, 0.3);
}

/* ─── BADGES ─── */
.ec-course-fee {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e8651a, #c0501a);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(232, 101, 26, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.ec-course-category-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

/* ─── BODY ─── */
.ec-course-body {
    padding: 1.5rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}

.ec-course-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a1628;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ec-course-card:hover .ec-course-name {
    color: #e8651a;
}

.ec-course-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ─── META ─── */
.ec-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eef1f5;
}

.ec-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #475569;
    font-weight: 600;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ec-meta-item svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    color: #94a3b8;
}

.ec-course-card:hover .ec-meta-item {
    background: #fff4ea;
    border-color: rgba(232, 101, 26, 0.25);
    color: #0a1628;
}

.ec-course-card:hover .ec-meta-item svg {
    color: #e8651a;
}

/* ─── BUTTON ─── */
.ec-course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    background: linear-gradient(135deg, #0a1628, #1a3a6b);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.ec-course-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8651a, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ec-course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 101, 26, 0.3);
    color: #fff;
    text-decoration: none;
}

.ec-course-btn:hover::before {
    opacity: 1;
}

.ec-course-btn span,
.ec-course-btn svg {
    position: relative;
    z-index: 1;
}

.ec-course-btn svg {
    transition: transform 0.3s ease;
}

.ec-course-btn:hover svg {
    transform: translateX(4px);
}

/* ─── VIEW ALL ─── */
.ec-view-all-wrap {
    text-align: center;
}

.ec-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: #0a1628;
    padding: 0.85rem 2.5rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0a1628;
}

.ec-btn-viewall:hover {
    background: #0a1628;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 22, 40, 0.2);
    text-decoration: none;
}

/* ─── FORCE HEADING SIZE ─── */
.ec-course-card .ec-course-name,
.ec-course-card h2,
.ec-course-card h3,
.ec-course-card h4,
.ec-course-card h5 {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #0a1628 !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.3 !important;
}

/* ─── HIDE EXTRA HEADINGS ─── */
.ec-courses-grid > h2,
.ec-courses-grid > h3 {
    display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .ec-testi-card { flex: 0 0 calc((100% - 2rem) / 2); padding: 1.6rem 1.4rem 1.4rem; }
    .ec-testi-arrows { justify-content: center; }
    .ec-testimonials::before { font-size: 15rem; }
}

@media (max-width: 768px) {
    .ec-testimonials { padding: 4rem 1.25rem; }
    .ec-testi-card { padding: 1.4rem 1.2rem 1.2rem; }
    .ec-testimonials-header .ec-heading { font-size: 1.7rem; }
    .ec-testi-stars svg { width: 16px; height: 16px; }
    .ec-testi-text { font-size: 0.85rem; }
    .ec-testi-avatar { width: 42px; height: 42px; font-size: 0.95rem; }
    .ec-testi-verified { font-size: 0.55rem; padding: 2px 10px; }
    .ec-testimonials::before { font-size: 12rem; }
}

@media (max-width: 480px) {
    .ec-testi-card { flex: 0 0 100%; padding: 1.2rem 1rem 1.2rem; }
    .ec-testi-stars svg { width: 14px; height: 14px; }
    .ec-testi-text { font-size: 0.8rem; }
    .ec-testi-text::before { font-size: 2.5rem; }
    .ec-testi-name { font-size: 0.85rem; }
    .ec-testi-class { font-size: 0.7rem; }
    .ec-testi-avatar { width: 36px; height: 36px; font-size: 0.8rem; }
    .ec-testi-dot { width: 8px; height: 8px; }
    .ec-testi-dot.active { width: 24px; }
    .ec-testimonials::before { font-size: 8rem; }
}