/* Blog & Resources — MentorMinds */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Poppins:wght@400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-light: #FF8A33;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--light);
}
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--orange); color: var(--white); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 50px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.br-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--ff);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: var(--orange);
  border-radius: 50px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right .social-links { display: flex; gap: 10px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--orange); }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button {
  border: none; cursor: pointer; padding: 3px 12px;
  font-family: var(--ff); font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.7); background: transparent;
}
.lang-switch button.active { background: var(--orange); color: var(--white); border-radius: 50px; }
.nav-bar {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.header.scrolled .nav-bar { height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px;
}
.logo-text span:first-child { color: var(--navy); font-weight: 700; font-size: 24px; }
.logo-text span:last-child { color: var(--orange); font-weight: 700; font-size: 24px; }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 8px 12px;
  font-family: var(--ff); font-size: 14px; font-weight: 500; color: var(--navy);
  border-radius: 8px; transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px); min-width: 230px;
  background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 10px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 100;
}
.nav-menu > li:hover > .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 10px;
}
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp {
  width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.btn-cta {
  padding: 10px 22px; background: var(--orange); color: var(--white);
  font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px;
  border: 2px solid var(--orange); transition: var(--transition);
}
.btn-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: none; background: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu {
  display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw;
  height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px;
  overflow-y: auto; transition: right .35s ease; box-shadow: -8px 0 30px rgba(0,0,0,.12);
}
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }
.mobile-menu .mobile-nav > li > a.active { color: var(--orange); }

/* SECTION 1 — Page Header */
.br-page-header {
  background: var(--light);
  padding: 140px 24px 56px;
  text-align: center;
  border-bottom: 1px solid rgba(10, 31, 68, 0.06);
}
.br-page-header h1 {
  font-family: var(--ff);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.br-page-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.br-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 31, 68, 0.08);
}
.br-search input {
  flex: 1; border: none; background: transparent;
  font-size: 15px; color: var(--navy); min-width: 0;
}
.br-search input::placeholder { color: var(--text-muted); }
.br-search-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--white); border: none;
  cursor: pointer; font-size: 16px; flex-shrink: 0;
  transition: var(--transition);
}
.br-search-btn:hover {
  background: var(--orange-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* SECTION 2 — Featured */
.br-featured-wrap {
  padding: 48px 0 24px;
  background: var(--white);
}
.br-featured {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(10, 31, 68, 0.12);
}
.br-featured-content {
  background: var(--navy);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.br-badge-featured {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.br-featured-content h2 {
  font-family: var(--ff);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}
.br-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.br-meta i { color: var(--orange); margin-right: 6px; }
.br-featured-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-read-featured {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 14px 28px; background: var(--orange); color: var(--white);
  font-family: var(--ff); font-size: 15px; font-weight: 600;
  border-radius: 50px; transition: var(--transition);
}
.btn-read-featured:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}
.br-featured-visual {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.br-featured-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2) 0%, transparent 50%);
}
.br-featured-illus {
  position: relative; z-index: 1;
  text-align: center; color: var(--white);
}
.br-featured-illus i {
  font-size: clamp(64px, 10vw, 96px);
  margin-bottom: 16px;
  opacity: 0.95;
  display: block;
}
.br-featured-illus span {
  font-family: var(--ff);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.5px;
}

/* SECTION 3 — Articles */
.br-articles-section {
  padding: 56px 0 80px;
  background: var(--light);
}
.br-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 36px;
}
.br-filter {
  padding: 10px 20px;
  font-family: var(--ff); font-size: 13px; font-weight: 600;
  color: var(--navy); background: var(--white);
  border: 2px solid rgba(10, 31, 68, 0.1);
  border-radius: 50px; cursor: pointer; transition: var(--transition);
}
.br-filter:hover { border-color: var(--orange); color: var(--orange); }
.br-filter.active {
  background: var(--orange); color: var(--white); border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}
.br-no-results {
  text-align: center; color: var(--text-muted);
  padding: 32px; background: var(--white);
  border-radius: 12px; margin-bottom: 24px;
  border: 1px dashed rgba(10, 31, 68, 0.12);
}
.br-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.br-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
  opacity: 1;
  transform: translateY(0);
}
.br-card.is-hidden {
  display: none;
}
.br-card.is-fading {
  opacity: 0;
  transform: translateY(12px);
}
.br-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}
.br-card-thumb {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 48px;
}
.br-thumb-ielts      { background: linear-gradient(135deg, var(--orange), #ff9a4d); }
.br-thumb-abroad     { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.br-thumb-uk         { background: linear-gradient(135deg, #012169, #C8102E); }
.br-thumb-canada     { background: linear-gradient(135deg, #FF0000, #FFFFFF); color: #c00; }
.br-thumb-australia  { background: linear-gradient(135deg, #00008B, #FFCD00); }
.br-thumb-scholarship{ background: linear-gradient(135deg, #B8860B, var(--orange)); }
.br-thumb-life       { background: linear-gradient(135deg, #2D6A4F, var(--navy-light)); }
.br-thumb-visa       { background: linear-gradient(135deg, #1e3a5f, var(--navy)); }

.br-card-body { padding: 22px; }
.br-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.br-card-body h3 {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.br-card-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 14px;
}
.br-dot { opacity: 0.5; }
.br-author {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--navy);
  margin-bottom: 12px;
}
.br-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.br-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.br-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff); font-size: 14px; font-weight: 600;
  color: var(--orange); transition: var(--transition);
}
.br-read-more i { font-size: 12px; transition: transform var(--transition); }
.br-read-more:hover { color: var(--orange-dark); }
.br-read-more:hover i { transform: translateX(4px); }

/* SECTION 4 — Resources */
.br-resources {
  padding: 80px 0;
  background: var(--white);
}
.br-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.br-resource-card {
  background: var(--light);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 16px;
  padding: 28px 26px;
  text-align: center;
  transition: var(--transition);
}
.br-resource-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.br-resource-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--orange);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.15);
}
.br-resource-card h3 {
  font-family: var(--ff);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.br-file-size {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--orange); color: var(--white);
  font-family: var(--ff); font-size: 14px; font-weight: 600;
  border-radius: 50px; transition: var(--transition);
}
.btn-download:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

/* SECTION 5 — Newsletter */
.br-newsletter {
  background: var(--navy);
  padding: 64px 24px;
}
.br-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.br-newsletter-text { flex: 1; min-width: 260px; }
.br-newsletter-text h2 {
  font-family: var(--ff);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.br-newsletter-text h2::after { display: none; }
.br-newsletter-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 420px;
}
.br-newsletter-form {
  display: flex;
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 6px 6px 6px 22px;
}
.br-newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  min-width: 0;
}
.br-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.btn-subscribe {
  padding: 12px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-subscribe:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-heading {
  font-family: var(--ff); font-size: 12px; font-weight: 700;
  color: var(--orange); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  text-align: center; font-size: 13px; color: rgba(255,255,255,.4);
}

/* Responsive */
@media (max-width: 1200px) {
  .br-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-cta { display: none; }
  .br-featured { grid-template-columns: 1fr; }
  .br-featured-visual { min-height: 200px; }
}
@media (max-width: 768px) {
  .br-page-header { padding: 120px 20px 48px; }
  .br-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .br-resources-grid { grid-template-columns: 1fr; }
  .br-newsletter-inner { flex-direction: column; text-align: center; }
  .br-newsletter-text p { margin: 0 auto; }
  .br-newsletter-form { width: 100%; max-width: none; flex-direction: column; border-radius: 16px; padding: 16px; }
  .btn-subscribe { width: 100%; justify-content: center; }
  .br-featured-content { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .top-bar-left span:not(:first-child) { display: none; }
  .br-filters { gap: 8px; }
  .br-filter { padding: 8px 14px; font-size: 12px; }
}
