/* MyUniera – main styles. Brand: navy #1B2F7A, gold #D4A017, light backgrounds. */
:root {
	--navy: #1b2f7a;
	--navy-dark: #12215a;
	--gold: #d4a017;
	--gold-light: #fbf3dc;
	--bg: #ffffff;
	--bg-alt: #f5f8ff;
	--text: #2b3445;
	--muted: #667085;
	--border: #e4e9f5;
	--green: #25d366;
	--radius: 14px;
	--shadow: 0 8px 30px rgba(27, 47, 122, .08);
	--font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-head: 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(800px, 92%); }
.screen-reader-text, .hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; background: #fff; padding: 8px 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: .97rem; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b98a0e; color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; color: var(--gold); }

/* Top bar & header */
.topbar { background: var(--navy); color: #dfe5ff; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; margin-left: 18px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img, .custom-logo { width: 60px; height: auto; }
.site-header .brand img, .site-header .custom-logo { width: auto; height: 80px; max-width: 220px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); }
.brand-text small { color: var(--gold); font-weight: 600; font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav .menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav .menu a { font-weight: 500; color: var(--text); padding: 6px 0; position: relative; }
.main-nav .menu a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: .25s; }
.main-nav .menu a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }
.main-nav .current-menu-item > a { color: var(--navy); }
.main-nav .sub-menu { display: none; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: .3s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 55%, var(--gold-light) 100%); padding: 70px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(212,160,23,.08); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; position: relative; }
.badge { display: inline-block; background: var(--gold-light); color: #8a6508; font-weight: 600; font-size: .85rem; padding: 6px 16px; border-radius: 50px; margin-bottom: 18px; border: 1px solid #f0dc9e; }
.hero h1 { font-family: var(--font-head); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 34px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

/* Enquiry form */
.enquiry-card { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 20px 50px rgba(27,47,122,.12); border-top: 5px solid var(--gold); }
.enquiry-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.enquiry-sub { color: var(--muted); font-size: .9rem; }
.enquiry-form label { display: block; margin-bottom: 13px; }
.enquiry-form label span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 5px; }
.enquiry-form input, .enquiry-form select, .search-form input[type=search] { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; font-size: .95rem; background: #fbfcff; transition: border-color .2s; }
.enquiry-form input:focus, .enquiry-form select:focus { outline: none; border-color: var(--navy); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.form-msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-size: .9rem; }
.form-msg.success { background: #e7f8ee; color: #146c3a; }
.form-msg.error { background: #fdecec; color: #a12222; }

/* Trust strip */
.trust-strip { background: var(--navy); color: #fff; padding: 20px 0; }
.trust-strip .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.trust-strip p { margin: 0; color: #c8d0f0; font-size: .9rem; }
.trust-strip ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.trust-strip li { font-weight: 700; letter-spacing: 1px; color: var(--gold); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: .25s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3dbf2; }
.card p { color: var(--muted); font-size: .94rem; flex: 1; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold-light); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 16px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pill { background: var(--bg-alt); color: var(--navy); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; }
.meta { display: flex; gap: 14px; font-size: .82rem; color: var(--navy); font-weight: 500; margin-bottom: 12px; }
.course-card dl { margin: 0 0 18px; border-top: 1px dashed var(--border); padding-top: 12px; }
.course-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; padding: 4px 0; }
.course-card dt { color: var(--muted); }
.course-card dd { margin: 0; font-weight: 600; text-align: right; }
.card-actions { display: flex; gap: 10px; }
.filter-bar { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter { border: 1.5px solid var(--border); background: #fff; padding: 9px 22px; border-radius: 50px; font: inherit; font-weight: 500; cursor: pointer; color: var(--text); }
.filter.active, .filter:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Features & steps */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--border); }
.feature > span { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .93rem; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { text-align: center; position: relative; padding: 0 10px; }
.steps b { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.4rem; box-shadow: 0 0 0 8px var(--gold-light); }
.steps p { color: var(--muted); font-size: .92rem; }

/* Universities */
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.uni-mark { width: 100%; height: 90px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #2f48a8); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 18px; }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: var(--gold-light); color: #8a6508; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.uni-card .btn { align-self: flex-start; }
.note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 30px; }
.table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; }
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.compare-table td:first-child { font-weight: 600; color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

/* About */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.check-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-list li::before { content: '✔'; color: var(--gold); font-weight: 700; margin-right: 8px; }
.about-visual { background: var(--bg-alt); border-radius: 24px; padding: 40px; text-align: center; }
.about-visual img { margin: 0 auto; }
.tagline { font-family: var(--font-head); color: var(--gold); font-size: 1.4rem; margin: 14px 0 0; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, #eef2ff, #fff 60%, var(--gold-light)); padding: 60px 0 50px; text-align: center; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-head); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto 14px; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs span { margin: 0 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 24px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--bg-alt); border-radius: 12px; padding: 16px 20px; color: var(--text); border: 1px solid var(--border); }
a.contact-card:hover { border-color: var(--gold); color: var(--text); }
.contact-card > span { font-size: 1.6rem; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card small { color: var(--muted); font-size: .9rem; }

/* Blog */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.post-card { padding: 0; overflow: hidden; }
.post-thumb { display: block; aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { display: grid; place-items: center; height: 100%; font-size: 3rem; background: linear-gradient(135deg, #eef2ff, var(--gold-light)); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 a { color: var(--navy); }
.post-date { font-size: .8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sidebar .widget { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.widget-title { font-size: 1.05rem; }
.widget-cta { background: var(--navy) !important; color: #dfe5ff; }
.widget-cta h3 { color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form .search-submit { background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; font: inherit; }
.entry-content { font-size: 1.03rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: 10px 20px; background: var(--gold-light); border-radius: 0 10px 10px 0; }
.featured-image { margin-bottom: 26px; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--bg-alt); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 10px; margin: 30px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; font-weight: 600; }
.post-tags a { display: inline-block; background: var(--bg-alt); padding: 3px 12px; border-radius: 50px; font-size: .8rem; margin: 0 4px 4px 0; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); }
.pagination .current { background: var(--navy); color: #fff; }
.comments-area { margin-top: 40px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 10px; border: 1.5px solid var(--border); border-radius: 10px; font: inherit; }
.comment-form .submit { background: var(--navy); color: #fff; border: 0; padding: 12px 24px; border-radius: 50px; cursor: pointer; font: inherit; }
.notfound { text-align: center; }
.notfound h1 { font-size: 6rem; color: var(--gold); margin: 0; }

/* CTA band & footer */
.cta-band { background: linear-gradient(120deg, var(--navy), #2f48a8); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #c8d0f0; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #0e1a48; color: #b7c0e0; padding: 60px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img, .footer-brand .custom-logo { width: auto; height: 100px; max-width: 220px; object-fit: contain; background: #fff; border-radius: 14px; padding: 10px 14px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.site-footer h4 { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #dfe5ff; }
.site-footer a:hover { color: var(--gold); }
.footer-menu, .footer-contact, .site-footer .menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li, .footer-contact li, .site-footer .menu li { padding: 4px 0; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #34437a; background: rgba(255,255,255,.06); color: #fff; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.social a svg { width: 18px; height: 18px; display: block; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid #23306a; margin-top: 46px; padding: 20px 0; font-size: .82rem; text-align: center; }
.footer-bottom p { margin: 0; }
.disclaimer { display: block; color: #7c88b5; margin-top: 4px; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 200; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
.sticky, .bypostauthor, .gallery-caption { }

/* Responsive */
@media (max-width: 1024px) {
	.card-grid, .uni-grid { grid-template-columns: repeat(2, 1fr); }
	.feature-grid, .steps { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.blog-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.menu-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 4% 20px; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,.06); display: none; }
	.main-nav.open { display: flex; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
	.nav-cta { margin-top: 14px; }
	.hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
	.hero { padding: 46px 0 56px; }
	.topbar-inner > span:first-child { display: none; }
	.topbar-inner { justify-content: center; }
}
@media (max-width: 640px) {
	.card-grid, .card-grid.two, .uni-grid, .feature-grid, .feature-grid.three, .steps, .footer-grid { grid-template-columns: 1fr; }
	.form-row, .check-list { grid-template-columns: 1fr; }
	.section { padding: 56px 0; }
	.topbar a { margin-left: 10px; font-size: .78rem; }
	.brand-text small { display: none; }
	.site-header .brand img, .site-header .custom-logo { height: 60px; }
	.cta-inner { text-align: center; justify-content: center; }
}

/* Visually hidden text (kept for screen readers and SEO) */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }

/* Compact hero: fits in one screen on desktop/laptop */
@media (min-width: 1025px) {
	.hero { padding: 36px 0 40px; }
	.hero-actions { margin: 16px 0 20px; }
	.hero-stats strong { font-size: 1.5rem; }
	.hero .enquiry-card { padding: 20px 24px; }
}
