/* ==========================================================================
   EduProPath Engineering (https://engineering.edupropath.com/) — Wix Studio Aesthetic Theme
   Palette: Royal Slate (#0f172a), Electric Indigo (#4f46e5), Violet (#7c3aed), Emerald (#10b981)
   ========================================================================== */
:root {
    --ep-bg: #f8fafc;
    --ep-surface: #ffffff;
    --ep-slate-900: #0f172a;
    --ep-slate-800: #1e293b;
    --ep-slate-700: #334155;
    --ep-slate-600: #475569;
    --ep-slate-200: #e2e8f0;
    --ep-indigo-600: #4f46e5;
    --ep-indigo-700: #4338ca;
    --ep-violet-600: #7c3aed;
    --ep-emerald-600: #059669;
    --ep-emerald-500: #10b981;
    --ep-amber-500: #f59e0b;
    --ep-radius-lg: 18px;
    --ep-radius-md: 12px;
    --ep-radius-pill: 999px;
    --ep-shadow-soft: 0 12px 34px -8px rgba(15, 23, 42, 0.08);
    --ep-shadow-hover: 0 20px 42px -10px rgba(79, 70, 229, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; color: var(--ep-slate-800); background: var(--ep-bg); line-height: 1.68; }
body { margin: 0; padding: 0; overflow-x: hidden; background: radial-gradient(circle at 15% 0%, rgba(99, 102, 241, 0.07), transparent 38%), radial-gradient(circle at 85% 8%, rgba(16, 185, 129, 0.06), transparent 35%), var(--ep-bg); }
a { color: var(--ep-indigo-600); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--ep-violet-600); }
img { max-width: 100%; height: auto; display: block; }

.ep-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Top Ribbon */
.ep-top-ribbon { background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); color: #f8fafc; font-size: 0.84rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ep-ribbon-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ep-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ep-emerald-500); margin-right: 6px; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25); }
.ep-ribbon-right { display: flex; align-items: center; gap: 10px; }
.ep-ribbon-link { color: #e2e8f0; font-weight: 600; }
.ep-ribbon-link:hover { color: #34d399; }
.ep-ribbon-btn { background: linear-gradient(135deg, var(--ep-emerald-500), var(--ep-emerald-600)); color: #fff; border: none; border-radius: 999px; padding: 4px 13px; font-size: 0.79rem; font-weight: 700; cursor: pointer; }
.ep-sep { opacity: 0.35; }

/* Wix Studio Style Floating Navigation */
.ep-wix-header { padding: 16px 0 10px; position: relative; z-index: 1000; }
.ep-wix-nav-shell { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(18px); border: 1px solid rgba(79, 70, 229, 0.15); border-radius: 999px; padding: 10px 18px 10px 22px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--ep-shadow-soft); }
.ep-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ep-slate-900); }
.ep-brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--ep-indigo-600), var(--ep-violet-600)); color: #fff; font-weight: 800; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.32); }
.ep-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.ep-brand-text strong { font-size: 1.16rem; letter-spacing: -0.02em; color: var(--ep-slate-900); }
.ep-brand-text small { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ep-indigo-600); }

.ep-wix-nav { display: flex; align-items: center; gap: 18px; }
.ep-wix-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.ep-wix-menu > li { position: relative; }
.ep-menu-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; color: var(--ep-slate-800); font-weight: 600; font-size: 0.91rem; transition: all 0.2s ease; }
.ep-menu-link:hover { background: rgba(79, 70, 229, 0.08); color: var(--ep-indigo-600); }
.ep-menu-highlight { background: rgba(16, 185, 129, 0.11); color: #047857 !important; font-weight: 700; }
.ep-caret { font-size: 0.72rem; opacity: 0.7; }

/* Wix Mega Menu Dropdown */
.ep-mega-panel { position: absolute; top: calc(100% + 10px); left: -120px; width: 920px; background: #ffffff; border: 1px solid rgba(79, 70, 229, 0.16); border-radius: 20px; padding: 24px; box-shadow: 0 26px 58px -12px rgba(15, 23, 42, 0.22); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.22s ease; z-index: 1200; }
.ep-mega-compact { width: 760px; left: -80px; }
.ep-has-mega:hover .ep-mega-panel, .ep-has-mega:focus-within .ep-mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.ep-mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ep-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ep-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ep-mega-col h4 { margin: 0 0 10px; font-size: 0.79rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ep-indigo-600); border-bottom: 1px solid var(--ep-slate-200); padding-bottom: 6px; }
.ep-mega-col a { display: block; padding: 6px 8px; border-radius: 8px; font-size: 0.84rem; color: var(--ep-slate-700); font-weight: 500; }
.ep-mega-col a:hover { background: #f1f5f9; color: var(--ep-indigo-600); transform: translateX(2px); }
.ep-mega-more { margin-top: 6px; font-weight: 700 !important; color: var(--ep-indigo-600) !important; }

.ep-wix-actions { display: flex; align-items: center; gap: 8px; }
.ep-btn-call-nav { padding: 9px 15px; border-radius: 999px; border: 1.5px solid rgba(79, 70, 229, 0.28); color: var(--ep-indigo-700); font-weight: 700; font-size: 0.86rem; }
.ep-btn-cta-nav { padding: 10px 18px; border-radius: 999px; border: none; background: linear-gradient(135deg, var(--ep-indigo-600), var(--ep-violet-600)); color: #fff; font-weight: 700; font-size: 0.86rem; cursor: pointer; box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28); }
.ep-btn-cta-nav:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(79, 70, 229, 0.36); }

.ep-mobile-toggle { display: none; background: none; border: 1px solid var(--ep-slate-200); border-radius: 10px; padding: 8px; cursor: pointer; }
.ep-mobile-toggle span { display: block; width: 20px; height: 2px; background: var(--ep-slate-900); margin: 4px 0; }

/* Main Content & Breadcrumb */
.ep-main-wrap { padding: 16px 0 64px; }
.ep-breadcrumb { font-size: 0.85rem; color: var(--ep-slate-600); margin-bottom: 14px; background: #fff; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--ep-slate-200); }
.ep-breadcrumb a { font-weight: 600; }

h1 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); line-height: 1.24; color: var(--ep-slate-900); margin: 12px 0 18px; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.32rem, 2vw, 1.68rem); color: var(--ep-slate-900); margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(79, 70, 229, 0.14); }
h3 { font-size: 1.18rem; color: var(--ep-slate-800); margin: 22px 0 10px; }

/* AEO Summary Box */
.ep-aeo-box { background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%); border: 1.5px solid rgba(79, 70, 229, 0.25); border-left: 6px solid var(--ep-indigo-600); border-radius: var(--ep-radius-lg); padding: 22px 24px; margin: 18px 0 28px; box-shadow: var(--ep-shadow-soft); }
.ep-aeo-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ep-aeo-badge { background: var(--ep-indigo-600); color: #fff; font-size: 0.74rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.05em; }
.ep-aeo-updated { font-size: 0.8rem; font-weight: 600; color: var(--ep-slate-600); }
.ep-aeo-text { font-size: 1.03rem; font-weight: 500; color: var(--ep-slate-900); margin: 0 0 16px; }
.ep-aeo-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; cursor: pointer; border: none; transition: all 0.2s ease; }
.ep-btn-primary { background: linear-gradient(135deg, var(--ep-indigo-600), var(--ep-violet-600)); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, 0.26); }
.ep-btn-primary:hover { color: #fff; transform: translateY(-1px); }
.ep-btn-whatsapp { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.ep-btn-whatsapp:hover { color: #fff; transform: translateY(-1px); }
.ep-btn-outline { background: #fff; color: var(--ep-indigo-700); border: 1.5px solid var(--ep-indigo-600); }

/* Article Card & Tables */
.ep-article-content { background: #fff; border-radius: 20px; padding: 30px; border: 1px solid var(--ep-slate-200); box-shadow: var(--ep-shadow-soft); }
.ep-college-banner-card { display: grid; grid-template-columns: 340px 1fr; gap: 24px; background: linear-gradient(135deg, #0f172a, #1e1b4b); color: #fff; border-radius: 16px; padding: 20px; margin-bottom: 26px; align-items: center; }
.ep-college-banner-img { border-radius: 12px; border: 2px solid rgba(255,255,255,0.18); width: 100%; height: auto; object-fit: cover; }
.ep-college-banner-meta h2 { color: #fff; border: none; margin: 0 0 8px; padding: 0; font-size: 1.4rem; }
.ep-college-banner-meta p { color: #cbd5e1; margin: 0 0 12px; font-size: 0.94rem; }
.ep-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ep-chip { background: rgba(255,255,255,0.12); color: #e2e8f0; padding: 4px 11px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.ep-chip-emerald { background: rgba(16, 185, 129, 0.22); color: #6ee7b7; }

.ep-table-wrap { overflow-x: auto; margin: 18px 0 26px; border-radius: 12px; border: 1px solid var(--ep-slate-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: #fff; }
thead th { background: linear-gradient(90deg, #0f172a, #1e1b4b); color: #fff; font-weight: 700; text-align: left; padding: 13px 15px; }
tbody td { padding: 12px 15px; border-bottom: 1px solid var(--ep-slate-200); color: var(--ep-slate-800); vertical-align: top; }
tbody tr:nth-child(even) { background: #f8fafc; }
tbody tr:hover { background: #eef2ff; }

/* Homepage Hero & 160 College Cards Grid */
.ep-hero { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%); color: #fff; border-radius: 26px; padding: 42px 36px; margin-bottom: 34px; display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 32px; align-items: center; box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.35); }
.ep-hero h1 { color: #fff; margin-top: 10px; font-size: clamp(1.85rem, 3vw, 2.65rem); }
.ep-hero p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 20px; }
.ep-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ep-hero-badge { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #f8fafc; }
.ep-hero-form-card { background: #fff; color: var(--ep-slate-900); border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.ep-hero-form-card h3 { margin: 0 0 6px; color: var(--ep-slate-900); }

.ep-filter-bar { background: #fff; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--ep-slate-200); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; box-shadow: var(--ep-shadow-soft); }
.ep-search-input { flex: 1; min-width: 260px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--ep-slate-200); font-size: 0.95rem; outline: none; }
.ep-search-input:focus { border-color: var(--ep-indigo-600); box-shadow: 0 0 0 3px rgba(79,70,229,0.12); }
.ep-state-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-tab-btn { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--ep-slate-200); background: #f8fafc; color: var(--ep-slate-700); font-weight: 600; font-size: 0.84rem; cursor: pointer; transition: all 0.2s; }
.ep-tab-btn.active, .ep-tab-btn:hover { background: var(--ep-indigo-600); color: #fff; border-color: var(--ep-indigo-600); }

.ep-college-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; margin-bottom: 42px; }
.ep-college-card { background: #fff; border-radius: 18px; border: 1px solid var(--ep-slate-200); overflow: hidden; box-shadow: var(--ep-shadow-soft); transition: all 0.24s ease; display: flex; flex-direction: column; }
.ep-college-card:hover { transform: translateY(-5px); box-shadow: var(--ep-shadow-hover); border-color: rgba(79, 70, 229, 0.35); }
.ep-card-img-wrap { position: relative; aspect-ratio: 16 / 10; background: #0f172a; overflow: hidden; }
.ep-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.ep-college-card:hover .ep-card-img-wrap img { transform: scale(1.04); }
.ep-card-state-tag { position: absolute; top: 10px; left: 10px; background: rgba(15, 23, 42, 0.86); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 0.73rem; font-weight: 700; }
.ep-card-short-tag { position: absolute; bottom: 10px; right: 10px; background: var(--ep-emerald-500); color: #0f172a; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.ep-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ep-card-title { font-size: 1.05rem; font-weight: 800; color: var(--ep-slate-900); margin: 0 0 6px; line-height: 1.35; }
.ep-card-sub { font-size: 0.82rem; color: var(--ep-slate-600); margin: 0 0 12px; }
.ep-card-metrics { background: #f8fafc; border-radius: 10px; padding: 10px 12px; font-size: 0.81rem; margin-bottom: 12px; border: 1px solid var(--ep-slate-200); }
.ep-card-metrics div { margin-bottom: 4px; }
.ep-card-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 0.78rem; }
.ep-card-links a { background: #eef2ff; color: var(--ep-indigo-700); padding: 4px 9px; border-radius: 6px; font-weight: 600; }
.ep-card-links a:hover { background: var(--ep-indigo-600); color: #fff; }
.ep-card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ep-card-btn { padding: 9px 10px; border-radius: 10px; font-size: 0.81rem; font-weight: 700; text-align: center; cursor: pointer; border: none; }
.ep-card-btn-enquire { background: linear-gradient(135deg, var(--ep-indigo-600), var(--ep-violet-600)); color: #fff; }
.ep-card-btn-view { background: #f1f5f9; color: var(--ep-slate-900); }

/* Right-Side Fixed Floating Dock */
.ep-right-floating-dock { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 9998; display: flex; flex-direction: column; gap: 10px; }
.ep-dock-btn { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.84rem; border: none; cursor: pointer; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28); transition: all 0.2s ease; text-decoration: none; }
.ep-dock-btn:hover { transform: translateX(-4px); color: #fff; }
.ep-dock-form { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.ep-dock-wa { background: linear-gradient(135deg, #10b981, #059669); }
.ep-dock-call { background: linear-gradient(135deg, #0284c7, #2563eb); }
.ep-dock-icon { font-size: 1.05rem; line-height: 1; }

/* Popup Modal */
.ep-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(6px); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ep-modal-card { background: #fff; width: 100%; max-width: 640px; border-radius: 22px; padding: 28px; position: relative; box-shadow: 0 28px 64px rgba(0,0,0,0.38); max-height: 92vh; overflow-y: auto; border: 1px solid rgba(79,70,229,0.2); }
.ep-modal-close { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f1f5f9; color: var(--ep-slate-900); font-size: 1.4rem; cursor: pointer; }
.ep-modal-tag { display: inline-block; background: #eef2ff; color: var(--ep-indigo-600); font-size: 0.73rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.ep-modal-head h3 { margin: 0 0 6px; font-size: 1.28rem; color: var(--ep-slate-900); }
.ep-modal-head p { margin: 0 0 18px; font-size: 0.88rem; color: var(--ep-slate-600); }
.ep-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.ep-form-group { display: flex; flex-direction: column; gap: 5px; }
.ep-form-group label { font-size: 0.8rem; font-weight: 700; color: var(--ep-slate-700); }
.ep-form-group input, .ep-form-group select { padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--ep-slate-200); font-size: 0.9rem; width: 100%; }
.ep-phone-input-group { display: grid; grid-template-columns: 135px 1fr; gap: 6px; }
.ep-btn-submit-full { width: 100%; padding: 13px; border-radius: 12px; background: linear-gradient(135deg, var(--ep-indigo-600), var(--ep-violet-600)); color: #fff; font-weight: 800; font-size: 0.96rem; margin-top: 6px; cursor: pointer; border: none; }
.ep-form-status { margin-top: 10px; font-size: 0.88rem; font-weight: 600; }
.ep-form-privacy { margin: 10px 0 0; font-size: 0.78rem; text-align: center; color: var(--ep-slate-600); }

/* FAQ Accordion */
.ep-faq-item { border: 1px solid var(--ep-slate-200); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #f8fafc; }
.ep-faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--ep-indigo-700); }
.ep-faq-item p { margin: 0; font-size: 0.93rem; }

/* Footer */
.ep-footer { background: #0f172a; color: #cbd5e1; padding: 54px 0 28px; margin-top: 48px; }
.ep-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 34px; }
.ep-footer-brand .ep-brand-text strong { color: #fff; }
.ep-footer-about { font-size: 0.88rem; color: #94a3b8; margin: 12px 0 16px; }
.ep-footer-col h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.ep-footer-col ul { list-style: none; padding: 0; margin: 0; }
.ep-footer-col li { margin-bottom: 8px; }
.ep-footer-col a { color: #cbd5e1; font-size: 0.85rem; }
.ep-footer-col a:hover { color: #38bdf8; }
.ep-footer-pill { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--ep-indigo-600); color: #fff !important; font-weight: 700; font-size: 0.82rem; margin-right: 6px; margin-bottom: 6px; }
.ep-pill-wa { background: var(--ep-emerald-600); }
.ep-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.82rem; color: #94a3b8; text-align: center; }

@media (max-width: 992px) {
    .ep-hero, .ep-college-banner-card, .ep-footer-grid { grid-template-columns: 1fr; }
    .ep-mobile-toggle { display: block; }
    .ep-wix-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; background: #fff; border-radius: 20px; padding: 20px; flex-direction: column; align-items: stretch; box-shadow: 0 24px 48px rgba(0,0,0,0.18); }
    .ep-wix-nav.open { display: flex; }
    .ep-wix-menu { flex-direction: column; align-items: stretch; }
    .ep-mega-panel { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 10px 0; border: none; display: none; }
    .ep-has-mega:hover .ep-mega-panel { display: block; }
    .ep-mega-grid { grid-template-columns: 1fr; }
    .ep-form-row { grid-template-columns: 1fr; }
}
