/* ===== Future Education - v2 overrides (loaded after site.css) =====
   Smaller fonts / tighter spacing, two-row header, uniform coloured university cards,
   new home sections, footer columns. */

/* ---------- global: smaller type, tighter spacing ---------- */
body { font-size: 13px; line-height: 1.55; }
h1 { font-size: 26px; } h2 { font-size: 22px; } h3 { font-size: 18px; } h4 { font-size: 15px; } h5 { font-size: 13.5px; }
.section { padding: 34px 0; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head .kicker { font-size: 10.5px; margin-bottom: 3px; }
.section-head h2 { font-size: 22px; margin-bottom: 6px; }
.section-head p { font-size: 12.5px; margin-bottom: 0; }
.mt30 { margin-top: 18px; }
.btn { font-size: 12.5px; }
.btn-lg { font-size: 14px; padding: 9px 22px; }
.btn-primary-fe { padding: 7px 20px; }
.btn-outline-fe { padding: 5px 18px; }

/* ---------- ROW 1: brand bar (logo + name + address, small) ---------- */
.brandbar { background: #fff; border-bottom: 1px solid #e8eef5; padding: 6px 0; }
.brandbar-in { display: flex; align-items: center; flex-wrap: wrap; }
.bb-brand { display: flex; align-items: center; color: var(--navy); font-weight: 700; font-size: 16px; margin-right: 18px; }
.bb-brand:hover { color: var(--navy); }
.bb-logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; line-height: 30px; font-size: 15px; margin-right: 8px; }
.bb-logo-img { height: 32px; width: auto; margin-right: 8px; }
.bb-name { font-size: 16px; letter-spacing: .2px; }
.bb-address { font-size: 11px; color: var(--muted); flex: 1; line-height: 1.3; }
.bb-address .fa { color: var(--accent); margin-right: 3px; }
.bb-right { margin-left: auto; font-size: 11.5px; white-space: nowrap; }
.bb-right a { color: var(--navy-2); margin-left: 14px; }
.bb-right a:hover { color: var(--accent-2); }
@media (max-width: 767px) { .brandbar { padding: 5px 0; } .bb-name { font-size: 15px; } }

/* ---------- ROW 2: menu ---------- */
.fe-menu { min-height: 38px; background: var(--navy); box-shadow: 0 2px 8px rgba(11,42,74,.15); }
.fe-menu .navbar-nav > li > a { padding: 9px 11px; font-size: 12.5px; color: #fff; font-weight: 500; }
.fe-menu .navbar-nav > li > a:hover, .fe-menu .navbar-nav > li.open > a, .fe-menu .navbar-nav > li > a:focus { color: #ffc89c; background: rgba(255,255,255,.08); }
.fe-menu .nav-cta { padding: 5px 0 0 6px; }
.fe-menu .nav-cta > a.btn { padding: 5px 14px !important; color: #fff; font-size: 12px; }
.fe-menu .nav-cta > a.btn:hover { background: var(--accent-2); }
.fe-menu .navbar-toggle { border-color: rgba(255,255,255,.5); margin: 5px 0; padding: 7px 9px; }
.fe-menu .navbar-toggle .icon-bar { background: #fff; }
.fe-menu .menu-label { color: #fff; margin: 8px 10px; }
.fe-menu .dropdown-menu > li > a { font-size: 12.5px; padding: 6px 18px; }
.fe-menu .navbar-collapse { border-color: rgba(255,255,255,.15); }
@media (max-width: 767px) {
    .fe-menu .navbar-nav { margin: 0 -15px; }
    .fe-menu .navbar-nav > li > a { padding: 9px 15px; }
    .fe-menu .dropdown-menu { background: #0f3358; box-shadow: none; }
    .fe-menu .dropdown-menu > li > a { color: #dbe8f6; }
    .fe-menu .nav-cta { padding: 8px 15px; }
}

/* ---------- hero / stats a bit tighter ---------- */
.hero { padding: 24px 0 22px; }
.hero-carousel .item, .slide-overlay { min-height: 330px; }
.slide-overlay { padding: 40px 30px 56px; }
.slide-overlay h1 { font-size: 26px; margin-bottom: 8px; }
.slide-overlay p { font-size: 13.5px; margin-bottom: 14px; }
.hero-points li { font-size: 12.5px; }
.enq-box { padding: 18px; }
.enq-title { font-size: 17px; }
.enq-sub { font-size: 12px; margin-bottom: 10px; }
.enq-box .form-control { height: 36px; font-size: 13px; }
.stats-band { padding: 16px 0 2px; }
.stat .num { font-size: 26px; }
.stat .lbl { font-size: 11px; }
.ticker { padding: 6px 0; }
.ticker-track a { font-size: 12.5px; }
.page-head { padding: 22px 0 6px; }
.page-head h1 { font-size: 24px; }

/* ---------- cards: smaller + fixed size ---------- */
.course-card { height: 208px; padding: 16px; margin-bottom: 16px; }
.course-card h4 { font-size: 14.5px; }
.course-card p { font-size: 12px; max-height: 54px; }
.cc-icon, .sc-icon { width: 40px; height: 40px; line-height: 40px; font-size: 18px; margin-bottom: 8px; }
.service-card { height: 168px; padding: 16px; margin-bottom: 16px; }
.service-card h4 { font-size: 14.5px; }
.service-card p { font-size: 12px; }
.country-card { height: 170px; padding: 16px; margin-bottom: 16px; }
.country-card h4 { font-size: 15px; }
.country-card p { font-size: 12px; }

/* ---------- Why choose us ---------- */
.why-card { background: #fff; border-radius: 12px; padding: 16px 14px; margin-bottom: 16px; height: 150px; border: 1px solid #e6edf5; border-top: 4px solid var(--navy-2); overflow: hidden; transition: all .25s; }
.why-card:hover { box-shadow: 0 10px 24px rgba(11,42,74,.12); transform: translateY(-3px); }
.why-card .wc-ic { display: inline-block; width: 34px; height: 34px; border-radius: 50%; color: #fff; text-align: center; line-height: 34px; font-size: 15px; margin-bottom: 6px; }
.why-card h5 { margin: 0 0 4px; font-size: 13.5px; }
.why-card p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.why-c0 { border-top-color: #123c68; } .why-c0 .wc-ic { background: #123c68; }
.why-c1 { border-top-color: #12a4a0; } .why-c1 .wc-ic { background: #12a4a0; }
.why-c2 { border-top-color: #ff7a1a; } .why-c2 .wc-ic { background: #ff7a1a; }
.why-c3 { border-top-color: #7b3fa0; } .why-c3 .wc-ic { background: #7b3fa0; }

/* ---------- university / college cards (uniform size, coloured per card) ---------- */
.uni-card { --uc: #123c68; --uc2: #1b5a96; display: flex; flex-direction: column; height: 312px; background: #fff; border: 1px solid #e3eaf3; border-top: 4px solid var(--uc); border-radius: 12px; overflow: hidden; margin-bottom: 16px; transition: all .25s; }
.uni-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(11,42,74,.16); }
.uc-top { height: 74px; flex: 0 0 74px; background: linear-gradient(135deg, var(--uc), var(--uc2)); background-size: cover; background-position: center; color: rgba(255,255,255,.9); text-align: center; line-height: 74px; font-size: 32px; position: relative; }
.uc-top .uc-type { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,.95); color: var(--uc); font-size: 10px; font-weight: 600; line-height: 1; padding: 4px 8px; border-radius: 10px; }
.uc-body { flex: 1 1 auto; padding: 9px 12px 4px; min-height: 0; overflow: hidden; }
.uc-name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; height: 34px; margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.uc-loc { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.uc-loc .fa { color: var(--uc); }
.uc-rows { list-style: none; margin: 0; padding: 0; font-size: 11.5px; }
.uc-rows li { display: flex; justify-content: space-between; border-bottom: 1px dashed #e8eef5; padding: 2px 0; line-height: 1.35; }
.uc-rows li span { color: var(--muted); flex: 0 0 auto; margin-right: 6px; }
.uc-rows li b { color: var(--text); font-weight: 600; text-align: right; }
.uc-rows li.uc-best { display: block; border-bottom: 0; }
.uc-rows li.uc-best span { display: block; margin: 0; }
.uc-rows li.uc-best b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; height: 31px; color: var(--uc); }
.naac-badge { display: inline-block; background: var(--uc); color: #fff !important; border-radius: 9px; padding: 0 7px; font-size: 10.5px; line-height: 16px; }
.naac-na { color: #8895a3 !important; font-weight: 400 !important; }
.uc-actions { flex: 0 0 38px; display: flex; padding: 0 12px 10px; }
.uc-actions a { flex: 1; text-align: center; font-size: 11.5px; font-weight: 600; border-radius: 16px; padding: 5px 0; line-height: 18px; }
.uc-actions .uc-btn-d { border: 1.5px solid var(--uc); color: var(--uc); margin-right: 6px; }
.uc-actions .uc-btn-d:hover { background: var(--uc); color: #fff; }
.uc-actions .uc-btn-a { background: var(--accent); color: #fff; border: 1.5px solid var(--accent); }
.uc-actions .uc-btn-a:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

.uc-c0 { --uc:#123c68; --uc2:#1b5a96; } .uc-c1 { --uc:#0f8f8b; --uc2:#35c2bc; } .uc-c2 { --uc:#e8650a; --uc2:#ff9a4d; }
.uc-c3 { --uc:#7b3fa0; --uc2:#a86fcc; } .uc-c4 { --uc:#2e8b3d; --uc2:#5bbf6a; } .uc-c5 { --uc:#c0392b; --uc2:#e8705f; }
.uc-c6 { --uc:#2c6fd6; --uc2:#5c9bf0; } .uc-c7 { --uc:#b9770e; --uc2:#e6a935; }

/* course sections on the home page */
.cs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; border-left: 5px solid var(--navy-2); padding-left: 10px; }
.cs-head h3 { margin: 0; font-size: 17px; }
.cs-head small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.cs-head a.cs-all { font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--accent-2); }
.cs-sec.cs-alt { background: var(--light); }
.cs-sec { padding: 26px 0 10px; }

/* universities page filter */
.filter-bar .form-control { height: 36px; font-size: 12.5px; }
.uni-note { font-size: 11.5px; color: var(--muted); }

/* counselling / mock test pages */
.svc-tile { display: block; background: #fff; border: 1px solid #e3eaf3; border-left: 4px solid var(--uc, #123c68); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; height: 92px; overflow: hidden; color: var(--text); transition: all .2s; }
.svc-tile:hover { box-shadow: 0 8px 20px rgba(11,42,74,.12); color: var(--text); transform: translateY(-2px); }
.svc-tile h5 { margin: 0 0 3px; font-size: 13.5px; color: var(--uc, #123c68); }
.svc-tile h5 .fa { margin-right: 5px; }
.svc-tile p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.svc-tile.on { box-shadow: 0 0 0 2px var(--uc, #123c68); }

/* ---------- footer ---------- */
.site-footer { padding-top: 30px; font-size: 12.5px; }
.site-footer h5 { font-size: 14px; margin-bottom: 9px; }
.site-footer .foot-brand { font-size: 18px; }
.site-footer p { font-size: 12px; }
.foot-links li { margin-bottom: 4px; font-size: 12.5px; }
.foot-contact li { margin-bottom: 6px; font-size: 12.5px; }
.foot-cols { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; }
.foot-bottom { margin-top: 18px; padding: 10px 0; font-size: 12px; }
.foot-social a { width: 30px; height: 30px; line-height: 30px; }
